|
|
!(function(){var ic=Math.pow;var zc=(mn,en,ie)=>new Promise((ae,Oe)=>{var Re=Ee=>{try{ve(ie.next(Ee))}catch(ke){Oe(ke)}},Ze=Ee=>{try{ve(ie.throw(Ee))}catch(ke){Oe(ke)}},ve=Ee=>Ee.done?ae(Ee.value):Promise.resolve(Ee.value).then(Re,Ze);ve((ie=ie.apply(mn,en)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3081],{18299:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},84249:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},42922:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},90674:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},25877:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},55304:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},63237:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},99569:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},22751:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},38308:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},17663:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},91034:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},72395:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},53978:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ke}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(me,Le){return Oe.createElement(ve.Z,(0,ae.Z)({},me,{ref:Le,icon:Ze}))},ke=Oe.forwardRef(Ee)},71749:function(){"use strict"},30483:function(){"use strict"},71736:function(mn,en){"use strict";en.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39886:function(mn,en){"use strict";en.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var mn={},en="5.0",ie={},ae=null,Oe=!1,Re=!1,Ze=null,ve=!1,Ee=null,ke=null,ye=0;ye<arguments.length;ye++){var me=arguments[ye];if(me!==null)switch(typeof me){case"number":en=me.toFixed(1);break;case"string":me.match(new RegExp("^[0-9]\\.[0-9]+$"))?en=me:Ze=me;break;case"object":typeof me.is3D!="undefined"?ae=me:ie=me;break;case"boolean":Oe=me,Re=!0;break}}ae===null&&(ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ie.material_id!==void 0&&!Re&&(Oe=!0)),Ze!==null&&ie.id===void 0&&(ie.id=Ze);var Le="",mt="",Ie=!1,Xe=null,ot=null,dt=null,nt=!1,Me=null,ut=null,Ut=null,at=null,ht=null;ie.height!==void 0&&(ie.height=Math.round(ie.height)),ie.width!==void 0&&(ie.width=Math.round(ie.width));var we=function(rt){return parseFloat(rt)>4?parseFloat(rt):5};mn.setHTML5Codebase=function(rt,ft){ke=rt,wt(rt,ft)},mn.setJavaCodebase=mn.setJavaCodebaseVersion=mn.isCompiledInstalled=mn.setPreCompiledScriptPath=mn.setPreCompiledResourcePath=function(){},mn.setHTML5CodebaseVersion=function(rt,ft){var Wt=parseFloat(rt);if(Wt!==NaN&&Wt<5){console.log("The GeoGebra HTML5 codebase version "+Wt+" is deprecated. Using version latest instead.");return}Ee=rt,Ce(rt,ft)},mn.getHTML5CodebaseVersion=function(){return ot},mn.getParameters=function(){return ie},mn.setFontsCSSURL=function(rt){at=rt},mn.setGiacJSURL=function(rt){},mn.setJNLPFile=function(rt){Le=rt},mn.setJNLPBaseDir=function(rt){},mn.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ft="auto",Wt=ie.id,qt,Xt=!1,Ht=0;Ht<arguments.length;Ht++){var un=arguments[Ht];typeof un=="string"?(un=un.toLowerCase(),un.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ft=un:Wt=arguments[Ht]):typeof un=="boolean"?Xt=un:un instanceof HTMLElement&&(qt=un)}kn();function kn(){if(!ve){setTimeout(kn,200);return}ft=tr(ft);var yn=qt||document.getElementById(Wt);if(!yn){console.log("possibly bug on ajax loading? ");return}if(mn.removeExistingApplet(yn,!1),ie.width===void 0&&yn.clientWidth&&(ie.width=yn.clientWidth),ie.height===void 0&&yn.clientHeight&&(ie.height=yn.clientHeight),!(ie.width&&ie.height)&&ft==="html5"&&(delete ie.width,delete ie.height),Xe=ft,ft==="screenshot")lt(yn,ie);else{var Fe=!1;ie.hasOwnProperty("playButton")&&ie.playButton||ie.hasOwnProperty("clickToLoad")&&ie.clickToLoad?Fe=!0:ie.hasOwnProperty("playButtonAutoDecide")&&ie.playButtonAutoDecide&&(Fe=(!he()||rt())&&je()),Fe?(Xe="screenshot",Dt(yn,ie,Xt,ft)):St(yn,ie,Xt)}}};function he(){try{return window.self!==window.top}catch(rt){return!0}}function je(){return ie.hasOwnProperty("screenshotGenerator")&&ie.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}mn.getViews=function(){return ae},mn.isJavaInstalled=function(){return!1};var Ve=function(rt){var ft=function(Ht){var un=JSON.parse(Ht),kn=function(ce){return ce.type=="G"||ce.type=="E"},yn=un.elements?un.elements.filter(kn)[0]:un;if(!yn||!yn.url){Wt();return}ie.fileName=yn.url,Ge(yn.settings||{}),ae.is3D=!0;var Fe="https://www.geogebra.org/images/";mn.setPreviewImage(Me||yn.previewUrl,Fe+"GeoGebra_loading.png",Fe+"applet_play.png"),rt()},Wt=function(){ie.onError&&ie.onError(),An("Error: Fetching material (id "+ie.material_id+") failed.",ie)},qt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Xt="/materials/"+ie.material_id+"?scope=basic";qe("https://"+qt+"/api/proxy.php?path="+encodeURIComponent(Xt),ft,Wt)};function Ge(rt){var ft=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Wt){rt[Wt]=!!rt[Wt]}),ft.forEach(function(Wt){ie[Wt]===void 0&&rt[Wt]!==void 0&&(ie[Wt]=rt[Wt])}),ie.showToolBarHelp===void 0&&(ie.showToolBarHelp=ie.showToolBar)}function qe(rt,ft,Wt){var qt=new XMLHttpRequest;qt.open("GET",rt),qt.onload=function(){ft(qt.responseText)},qt.onerror=Wt,qt.send()}mn.isHTML5Installed=function(){return!0},mn.getLoadedAppletType=function(){return Xe},mn.setPreviewImage=function(rt,ft,Wt){Me=rt,ut=ft,Ut=Wt},mn.removeExistingApplet=function(rt,ft){var Wt;typeof rt=="string"&&(rt=document.getElementById(rt)),Xe=null;var qt=null;for(Wt=0;Wt<rt.childNodes.length;Wt++){var Xt=rt.childNodes[Wt],Ht=Xt.className;Ht==="applet_screenshot"?ft?(Xt.style.display="block",Xe="screenshot"):Xt.style.display="none":Ht!=="applet_scaler prerender"&&(rt.removeChild(Xt),qt=Ht&&Ht.indexOf("appletParameters")!=-1?Xt.id:null,Wt--)}var un=ie.id!==void 0?ie.id:qt,kn=window[un];kn&&typeof kn.getBase64=="function"&&(kn.remove(),window[un]=null)},mn.refreshHitPoints=function(){if(we(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var rt=mn.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},mn.startAnimation=function(){var rt=mn.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},mn.stopAnimation=function(){var rt=mn.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},mn.getAppletObject=function(){var rt=ie.id!==void 0?ie.id:"ggbApplet";return window[rt]},mn.resize=function(){};var Ye=function(rt,ft,Wt){var qt=document.createElement("param");qt.setAttribute("name",ft),qt.setAttribute("value",Wt),rt.appendChild(qt)},We=function(rt){return rt&&rt!=="false"},St=function(rt,ft,Wt){we(ot)<=4.2&&(Wt=!0);var qt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ot||ggbHTML5LoadedCodebaseIsWebSimple&&!nt)&&(qt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xt=document.createElement("div");Xt.classList.add("appletParameters","notranslate");var Ht=ft.width,un=ft.height;if(ft.disableAutoScale=ft.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ft.disableAutoScale,ft.width!==void 0)if(we(ot)<=4.4)We(ft.showToolBar)&&(ft.height-=7),We(ft.showAlgebraInput)&&(ft.height-=37),ft.width<605&&We(ft.showToolBar)&&(ft.width=605,Ht=605);else{var kn=100;(We(ft.showToolBar)||We(ft.showMenuBar))&&(ft.hasOwnProperty("customToolBar")&&(ft.customToolbar=ft.customToolBar),kn=We(ft.showMenuBar)?245:155),Ht<kn&&(ft.width=kn,Ht=kn)}Xt.style.border="none",Xt.style.display="inline-block";for(var yn in ft)ft.hasOwnProperty(yn)&&yn!=="appletOnLoad"&&Xt.setAttribute("data-param-"+yn,ft[yn]);at&&Xt.setAttribute("data-param-fontscssurl",at),mn.resize=function(){GGBAppletUtils.responsiveResize(rt,ft)},window.addEventListener("resize",function($t){mn.resize()});var Fe=typeof ft.appletOnLoad=="function"?ft.appletOnLoad:function(){};if(!Wt&&ft.width!==void 0){ft.hasOwnProperty("showSplash")||Xt.setAttribute("data-param-showSplash","false");var ce=rt.querySelector(".applet_scaler.prerender"),ue=ce!==null;if(ue)var pe=ce.querySelector(".ggb_preview");else{var pe=Kn(Ht,un,ft.borderColor,!1);ce=document.createElement("div"),ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.style.width=Ht+"px",ce.style.height=un+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ce,"66%"),we(ot)>=5?(ft.appletOnLoad=function($t){var gr=rt.querySelector(".ggb_preview");gr&&gr.parentNode.removeChild(gr),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ce),window.GGBT_wsf_view&&$(window).trigger("resize"),Fe($t)},ue||ce.appendChild(pe)):Xt.appendChild(pe),ce.appendChild(Xt),ue||rt.appendChild(ce),setTimeout(function(){mn.resize()},1)}else{var de=document.createElement("div");de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.appendChild(Xt),rt.appendChild(de),ft.appletOnLoad=function($t){mn.resize(),Fe($t)}}function le($t,gr){gr&&typeof gr.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($t,gr.appletOnLoad):renderGGBElement($t),An("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gr)}function De($t,gr){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$t,params:gr}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kr){le(kr.article,kr.params)}),html5AppletsToProcess=null)},we(ot)<5&&($t.className+=" geogebraweb")):le($t,gr)}if(qt){scriptLoadStarted=!0;for(var Ke=0;Ke<Xt.childNodes.length;Ke++){var Et=Xt.childNodes[Ke].tagName;Et==="TABLE"&&(Xt.removeChild(Xt.childNodes[Ke]),Ke--)}if(ggbHTML5LoadedScript!==null){var Yt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Yt!=null&&Yt.parentNode.removeChild(Yt)}var Kt=document.createElement("script"),nn=function(){De(Xt,ft)};Kt.src=mt+dt,ggbHTML5LoadedCodebaseIsWebSimple=nt,ggbHTML5LoadedCodebaseVersion=ot,ggbHTML5LoadedScript=Kt.src,An("GeoGebra HTML5 codebase loaded: '"+mt+"'.",ft),!ke&&(!Ee||Ee=="5.0")?(nt?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),nn()):mt.requirejs?__webpack_require__.e(12).then(function(){var $t=[__webpack_require__(12)];nn.apply(null,$t)}.bind(this)).catch(__webpack_require__.oe):(Kt.onload=nn,rt.appendChild(Kt))}else De(Xt,ft);ft.height=un,ft.width=Ht},lt=function(rt,ft,Wt){var qt=Kn(ft.width,ft.height,ft.borderColor,Wt),Xt=document.createElement("div");Xt.style.position="relative",Xt.style.display="block",Xt.style.width=ft.width+"px",Xt.style.height=ft.height+"px",Xt.className="applet_screenshot applet_scaler"+(Wt?" applet_screenshot_play":""),Xt.appendChild(qt);var Ht=GGBAppletUtils.getScale(ft,rt,Wt);Wt?(rt.appendChild(pn()),window.GGBT_wsf_view||(rt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Xt,"66%"),rt.appendChild(Xt),Ht!==1&&!isNaN(Ht)&&(GGBAppletUtils.scaleElement(Xt,Ht),Xt.style.width=ft.width+"px",Xt.style.height=ft.height+"px",Xt.parentNode.style.width=ft.width*Ht+"px",Xt.parentNode.style.height=ft.height*Ht+"px"),mn.resize=function(){zt(rt,qt,Xt,Wt)},window.addEventListener("resize",function(un){mn.resize()}),mn.resize()};function zt(rt,ft,Wt,qt){if(rt.contains(ft)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(rt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(rt)}var Xt=GGBAppletUtils.getScale(ie,rt,qt);Wt.parentNode!==null&&(!isNaN(Xt)&&Xt!==1?(GGBAppletUtils.scaleElement(Wt,Xt),Wt.parentNode.style.width=ie.width*Xt+"px",Wt.parentNode.style.height=ie.height*Xt+"px"):(GGBAppletUtils.scaleElement(Wt,1),Wt.parentNode.style.width=ie.width+"px",Wt.parentNode.style.height=ie.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(rt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}mn.onExitFullscreen=function(rt,ft){ft.appendChild(rt)};var Dt=function(rt,ft,Wt,qt){lt(rt,ft,!0);for(var Xt=function(){var kn=[];for(un=0;un<rt.childNodes.length;un++)kn.push(rt.childNodes[un]);if(window.GGBT_wsf_view){var yn=window.GGBT_wsf_view.renderFullScreen(rt,ft.id),Fe=document.getElementById("fullscreencontainer"),ce=jQuery(rt).find(".fullscreencontent");ce.length>0?(yn.remove(),ce.attr("id","fullscreencontent").show(),jQuery(Fe).append(ce),window.dispatchEvent(new Event("resize"))):St(yn,ft,!1),window.GGBT_wsf_view.launchFullScreen(Fe)}else Xe=qt,St(rt,ft,!1);if(!window.GGBT_wsf_view)for(un=0;un<kn.length;un++)rt.removeChild(kn[un])},Ht=rt.getElementsByClassName("ggb_preview_play"),un=0;un<Ht.length;un++)Ht[un].addEventListener("click",Xt,!1),Ht[un].addEventListener("ontouchstart",Xt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(rt),je()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},pn=function(){var rt=document.createElement("div");if(rt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ft='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Wt=document.createElement("style");Wt.styleSheet?Wt.styleSheet.cssText=ft:Wt.appendChild(document.createTextNode(ft)),document.getElementsByTagName("head")[0].appendChild(Wt)}return rt},Kn=function(rt,ft,Wt,qt){var Xt=document.createElement("div");Xt.className="ggb_preview",Xt.style.position="absolute",Xt.style.zIndex="90",Xt.style.width=rt-2+"px",Xt.style.height=ft-2+"px",Xt.style.top="0px",Xt.style.left="0px",Xt.style.overflow="hidden",Xt.style.backgroundColor="white";var Ht="lightgrey";Wt!==void 0&&(Wt==="none"?Ht="transparent":Ht=Wt),Xt.style.border="1px solid "+Ht;var un=document.createElement("img");if(un.style.position="relative",un.style.zIndex="1000",un.style.top="-1px",un.style.left="-1px",Me!==null&&un.setAttribute("src",Me),un.style.opacity=.7,ut!==null){var kn,yn,Fe;if(!qt){kn=document.createElement("img"),kn.style.position="absolute",kn.style.zIndex="1001",kn.style.opacity=1,un.style.opacity=.3,yn=360,yn>rt/4*3&&(yn=rt/4*3),Fe=yn/5.8,kn.setAttribute("src",ut),kn.setAttribute("width",yn),kn.setAttribute("height",Fe);var ce=(rt-yn)/2,ue=(ft-Fe)/2;kn.style.left=ce+"px",kn.style.top=ue+"px",Xt.appendChild(kn)}}return Xt.appendChild(un),Xt},tr=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Ce=function(rt,ft){if(ot=rt,ft){wt(ot,!0);return}var Wt=!Oe;if(Wt){var qt=we(ot);!isNaN(qt)&&qt<4.4&&(Wt=!1)}var Xt,Ht;window.location.protocol.substr(0,4)==="http"?Xt=window.location.protocol:Xt="http:";var un=ot.indexOf("//");un>0?Ht=ot:un===0?Ht=Xt+ot:Ht="https://www.geogebra.org/apps/5.2.814.0/";for(var kn in it)if(ot.slice(it[kn].length*-1)===it[kn]||ot.slice((it[kn].length+1)*-1)===it[kn]+"/"){wt(Ht,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Wt&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!We(ie.showToolBar)&&!We(ie.showMenuBar)&&!We(ie.showAlgebraInput)&&!We(ie.enableRightClick)&&(!ie.appName||ie.appName=="classic")?Ht+="webSimple/":Ht+="web3d/",wt(Ht,!1)},wt=function(rt,ft){if(rt.requirejs){mt=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),mt=rt,ft===null&&(ft=rt.indexOf("http")===-1),Ie=ft,dt="web.nocache.js",nt=!1;var Wt=mt.split("/");Wt.length>1&&(!ft&&Wt[Wt.length-2]==="webSimple"?(dt="webSimple.nocache.js",nt=!0):it.indexOf(Wt[Wt.length-2])>=0&&(dt=Wt[Wt.length-2]+".nocache.js")),Wt=rt.split("/"),ot=Wt[Wt.length-3],ot.substr(0,4)==="test"?ot=ot.substr(4,1)+"."+ot.substr(5,1):(ot.substr(0,3)==="war"||ot.substr(0,4)==="beta")&&(ot="5.0");var qt=parseFloat(ot);qt!==NaN&&qt<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+qt+" is deprecated. Using version latest instead."),Ce("5.0",ft))},An=function(rt,ft){window.console&&window.console.log&&(!ft||typeof ft.showLogging=="undefined"||ft.showLogging&&ft.showLogging!=="false")&&console.log(rt)};ie.material_id!==void 0?Ve(Tt):Tt();function Tt(){var rt=en;Ee!==null?rt=Ee:parseFloat(rt)<5&&(rt="5.0"),Ce(rt,!1),ke!==null&&wt(ke,Ie),ve=!0}return mn},GGBAppletUtils=function(){"use strict";function mn(){return window.GGBT_wsf_edit!==void 0}function en(ve,Ee){Ee!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+Ee+","+Ee+")",ve.style.webkitTransform="scale("+Ee+","+Ee+")",ve.style.maxWidth="initial",ve.querySelector(".ggb_preview")!==null&&(ve.querySelector(".ggb_preview").style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ve.style.transform="none",ve.style.webkitTransform="none")}function ie(ve,Ee,ke,ye,me,Le){var mt=null;if(Le!=null&&Le!="")for(var Ie=ve.parentNode;Ie!=null;)if((" "+Ie.className+" ").indexOf(" "+Le+" ")>-1){mt=Ie;break}else Ie=Ie.parentNode;var Xe=0,ot=0,dt=0,nt=0,Me=0,ut=0,Ut=0;if(mt)Xe=mt.offsetWidth,ot=Math.max(ye?mt.offsetWidth:0,mt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),ot=Math.min(window.innerHeight,document.documentElement.clientHeight),dt=Xe):(Xe=window.innerWidth,ot=window.innerHeight,dt=window.innerWidth),ve){var at=ve.getBoundingClientRect();at.left>0&&at.left<=Xe&&(me===void 0||!me)&&(document.dir==="rtl"?(Me=Xe-at.width-at.left,ut=dt<=480?10:30):(ut=at.left,Me=dt<=480?10:30),nt=ut+Me)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ht=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(nt=40,Ut=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(nt=0,Ut=40)}}return ve&&((ke===void 0||!ke)&&Ee>0&&Ee+nt<Xe?Xe=Ee:Xe-=nt,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ke===void 0||!ke)&&(ot-=Ut)),{width:Xe,height:ot}}function ae(ve,Ee,ke,ye,me){if(ve.isScreenshoGenerator)return 1;var Le=ye!==void 0&&ye,mt=ve.noScaleMargin!=null&&ve.noScaleMargin,Ie=function(ht){return ht&&ht!=="false"},Xe=Ie(ve.autoHeight),ot=ie(Ee,ve.width,ke,Xe,Le&&window.GGBT_wsf_view||mt,me),dt=parseInt(ot.width),nt=ve.width,Me=ve.height;if(nt===void 0){var ut=Ee.querySelector(".appletParameters");ut&&(nt=ut.offsetWidth,Me=ut.offsetHeight)}var Ut=dt/nt,at=Le?1:ot.height/Me;return ke!==void 0&&!ke&&(Ut=Math.min(1,Ut),at=Math.min(1,at)),Math.min(Ut,at)}function Oe(ve,Ee,ke){var ye=1,me,Le=!1;if(ve.hasOwnProperty("allowUpscale")&&(Le=ve.allowUpscale),ve.hasOwnProperty("scale")&&(ye=parseFloat(ve.scale),(isNaN(ye)||ye===null||ye===0)&&(ye=1),ye>1&&(Le=!0)),Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))me=ae(ve,Ee,Le,ke,ve.scaleContainerClass);else return ye;return Le&&(!ve.hasOwnProperty("scale")||ye===1)?me:Math.min(ye,me)}function Re(ve){var Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),ke=Math.min(window.innerHeight,document.documentElement.clientHeight),ye=ve.getBoundingClientRect(),me=(Ee-ye.width)/2,Le=(ke-ye.height)/2;Le<0&&(Le=0),ve.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(me<40?ve.style.left="40px":ve.style.left=me+"px",ve.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?ve.style.top="40px":ve.style.top=Le+"px",ve.style.left=me+"px")}function Ze(ve,Ee){var ke=ve.querySelector(".appletParameters");if(ke){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ee.id!==ke.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(ke.parentElement&&/fullscreen/.test(ke.parentElement.className))return;var ye=Oe(Ee,ve);mn()&&ke.setAttribute("data-param-scale",ye);for(var me=null,Le=0;Le<ve.childNodes.length;Le++)if(ve.childNodes[Le].className!==void 0&&ve.childNodes[Le].className.match(/^applet_scaler/)){me=ve.childNodes[Le];break}if(me!==null&&me.querySelector(".noscale")!==null)return;var mt=Ee.id!==void 0?Ee.id:"ggbApplet",Ie=window[mt];(Ie==null||!Ie.recalculateEnvironments)&&me!==null&&!me.className.match(/fullscreen/)&&(me.parentNode.style.transform="",!isNaN(ye)&&ye!==1?(me.parentNode.style.width=Ee.width*ye+"px",me.parentNode.style.height=Ee.height*ye+"px",en(me,ye)):(en(me,1),me.parentNode.style.width=Ee.width+"px",me.parentNode.style.height=Ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Re(ve),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ke).parents(".content-added-content"))}}return{responsiveResize:Ze,isFlexibleWorksheetEditor:mn,positionCenter:Re,getScale:Oe,scaleElement:en}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var mn=n.location.search;return mn.indexOf(J)!=-1||mn.indexOf(K)!=-1}function q(mn,en){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(mn){var en=s[L].bindings;s[L].bindings=function(){for(var ie=en?en():{},ae=mn[webModule.__softPermutationId],Oe=O;Oe<ae.length;Oe++){var Re=ae[Oe];ie[Re[O]]=Re[P]}return ie}};var t;function u(){return v(),t}function v(){if(!t){var mn=o.createElement(Q);if(mn.id=L,mn.style.cssText=R+S,mn.tabIndex=-1,o.body.appendChild(mn),t=mn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var en=document.compatMode==U?V:W;t.write(en+X),t.close()}}}function w(mn){function en(ae){function Oe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Re=Oe();if(Re){ae();return}function Ze(){if(!Re){if(!Oe())return;Re=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,Ze,!1),ve&&clearInterval(ve)}}o.addEventListener&&o.addEventListener(Z,Ze,!1);var ve=setInterval(function(){Ze()},$)}function ie(ae){var Oe=u(),Re=Oe.body,Ze=Oe.createElement(_);Ze.language=ab,Ze.crossOrigin=W,Ze.src=ae,webModule.__errFn&&(Ze.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),Re.appendChild(Ze)}en(function(){ie(mn)})}webModule.__startLoadingFragment=function(mn){return C(mn)},webModule.__installRunAsyncCode=function(mn){var en=u(),ie=en.body,ae=en.createElement(_);ae.language=ab,ae.text=mn,ie.appendChild(ae),ie.removeChild(ae)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(mn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(mn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(mn){var en=c[mn];return en==null?null:en},r=d,webModule.__errFn=e}function B(){function mn(ve){var Ee=ve.lastIndexOf(rb);Ee==-1&&(Ee=ve.length);var ke=ve.indexOf(sb);ke==-1&&(ke=ve.length);var ye=ve.lastIndexOf(tb,Math.min(ke,Ee));return ye>=O?ve.substring(O,ye+P):W}function en(ve){if(!ve.match(/^\w+:\/\//)){var Ee=o.createElement(ub);Ee.src=ve+vb,ve=mn(Ee.src)}return ve}function ie(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function ae(){for(var ve=o.getElementsByTagName(_),Ee=O;Ee<ve.length;++Ee)if(ve[Ee].src.indexOf(xb)!=-1)return mn(ve[Ee].src);return W}function Oe(){var ve=o.getElementsByTagName(yb);return ve.length>O?ve[ve.length-P].href:W}function Re(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var Ze=ie();return Ze==W&&(Ze=ae()),Ze==W&&(Ze=Oe()),Ze==W&&Re()&&(Ze=mn(o.location.href)),Ze=en(Ze),Ze}function C(mn){return mn.match(/^\//)||mn.match(/^[a-zA-Z]+:\/\//)?mn:webModule.__moduleBase+mn}function D(){var mn=[],en=O,ie=[],ae=[];function Oe(ve){var Ee=ae[ve](),ke=ie[ve];if(Ee in ke)return Ee;var ye=[];for(var me in ke)ye[ke[me]]=me;throw r&&r(ve,ye,Ee),null}if(__gwt_isKnownPropertyValue=function(ve,Ee){return Ee in ie[ve]},webModule.__getPropMap=function(){var ve={};for(var Ee in ie)ie.hasOwnProperty(Ee)&&(ve[Ee]=Oe(Ee));return ve},webModule.__computePropValue=Oe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Re;try{Re=Cb;var Ze=Re.indexOf(Db);Ze!=-1&&(en=parseInt(Re.substring(Ze+P),$),Re=Re.substring(O,Ze))}catch(ve){}return webModule.__softPermutationId=en,C(Re+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(mn,en,ie){"use strict";ie.d(en,{Ax:function(){return Ze},Ds:function(){return ve},KI:function(){return ke},SI:function(){return Re},f1:function(){return Oe}});var ae=ie(11320);function Oe(ye){let me=!0;if(ye.length>0){for(let Le=0;Le<ye.length;Le++)if(ye[Le].compile_success==0||!ye[Le].compile_success){me=!1;break}}else me=!1;return me}function Re(ye,me=""){let Le=[];for(let mt=0;mt<ye.length;mt++){let Ie=ye[mt],Xe=me?`${me}/${Ie.name}`:`${Ie.name}`;Le.push({title:Ie.name,type:Ie.type,isLeaf:Ie.type!=="tree",key:Xe})}return Le}function Ze(ye,me,Le){for(let mt=0;mt<ye.length;mt++){let Ie=ye[mt];if(Ie.key===me){Ie.children=Le;break}Ie.children&&Ze(Ie.children,me,Le)}return ye}function ve(ye,me,Le){let mt;return function(){let Ie=this,Xe=arguments,ot=function(){mt=null,Le||ye.apply(Ie,Xe)},dt=Le&&!mt;clearTimeout(mt),mt=setTimeout(ot,me),dt&&ye.apply(Ie,Xe)}}const Ee=!0,ke=ae.Z.API_SERVER},63205:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return mt}});var ae=ie(67294),Oe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Re=ie(94184),Ze=ie.n(Re),ve=ie(57953),Ee=ie(15979),ke=ie(33170),ye=ie(28706),me=(Ie,Xe,ot)=>new Promise((dt,nt)=>{var Me=at=>{try{Ut(ot.next(at))}catch(ht){nt(ht)}},ut=at=>{try{Ut(ot.throw(at))}catch(ht){nt(ht)}},Ut=at=>at.done?dt(at.value):Promise.resolve(at.value).then(Me,ut);Ut((ot=ot.apply(Ie,Xe)).next())}),mt=({data:Ie,className:Xe,fullWidth:ot,style:dt={},onClose:nt,onOk:Me,showFullTools:ut,noAssociationId:Ut})=>{const at=(0,ae.useRef)(null),ht=(0,ae.useRef)(null),we=(0,ae.useRef)(null),he=(0,ae.useRef)(null),[je,Ve]=(0,ae.useState)(!1),[Ge,qe]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{we.current||(we.current=document.createElement("style"),document.head.appendChild(we.current)),Ie!=null&&Ie.visible?(document.body.setAttribute("data-custom","y-hidden"),we.current.innerHTML=" html { overflow-y: hidden; }",Ie!=null&&Ie.src&&Ye()):(document.body.removeAttribute("data-custom"),we.current&&(document.head.removeChild(we.current),we.current=null))},[Ie==null?void 0:Ie.visible]);const Ye=()=>me(void 0,null,function*(){Ve(!0),qe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Dt=yield(0,ye.ZJ)(Ie==null?void 0:Ie.src);at.current.src="",at.current.src=Dt,at.current.onload=function(){zt()},Ve(!1),qe("")}),We=()=>{document.body.removeAttribute("data-custom"),we.current.innerHTML=" ",nt()},St=Dt=>me(void 0,null,function*(){Ve(!0),qe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const pn=yield(0,ke.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ie.title,file:Dt.dataUrl}});pn!=null&&pn.id&&!Ut?(yield(0,ke.ZP)(`/api/attachments/${Ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:pn==null?void 0:pn.id,settings:JSON.stringify(Dt.state)}})).status===0&&Me():pn!=null&&pn.id&&Me(pn),document.body.removeAttribute("data-custom"),we.current.innerHTML=" ",Ve(!1),qe("")}),lt=()=>{const Dt=document.querySelector('a[href="https://markerjs.com/"]');Dt&&Dt.parentNode&&(Dt.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Kn=>{const tr=document.querySelector(Kn.name);tr&&tr.setAttribute("title",Kn.title)})},zt=()=>{ht.current=new Ee.hP(at.current),ht.current.targetRoot=he.current,ht.current.addEventListener("render",St),ht.current.addEventListener("beforeclose",We),ut&&(ht.current.availableMarkerTypes=ht.current.ALL_MARKER_TYPES,ht.current.uiStyleSettings.redoButtonVisible=!0,ht.current.uiStyleSettings.notesButtonVisible=!0,ht.current.uiStyleSettings.zoomButtonVisible=!0,ht.current.uiStyleSettings.zoomOutButtonVisible=!0,ht.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ht.current.uiStyleSettings,ht.current.show(),Ie!=null&&Ie.snapshotData&&ht.current.restoreState(Ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),lt()},300)};return ae.createElement(ae.Fragment,null,(Ie==null?void 0:Ie.visible)&&ae.createElement(ve.Z,{spinning:je,tip:Ge,style:{position:"absolute"}},ae.createElement("div",{ref:he,className:Ze()(Oe.imageDimensions,Xe,ot?Oe.fullWidth:""),style:dt},ae.createElement("img",{className:Oe.img,ref:at}))))}},36527:function(mn,en,ie){"use strict";var ae=ie(67294),Oe=ie(71230),Re=ie(15746),Ze=ie(66368),ve=ie(71577),Ee=ie(35598),ke=ie(71736),ye=ie(84279),me=ie(67294);const Le=(0,ae.forwardRef)(({callback:mt,showSaveButton:Ie,value:Xe=""},ot)=>{const dt=(0,ae.useRef)(),nt=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Me=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
|
y=b + r\\text{sin}\\theta \r
|
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
P_{n}=n! \\\\ \r
|
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
|
\\end{array}`}]}]}],ut=ht=>{dt.current.setValue(dt.current.getValue()+" "+ht.value+" ")},Ut=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:me.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},nt.map((ht,we)=>me.createElement(Re.Z,{flex:"110px",className:ke.Z.item},me.createElement("div",null,me.createElement(Ee.Z,{value:`$$${ht.value}$$`}),ht.name),me.createElement("div",{className:ke.Z.children},ht.children.map((he,je)=>me.createElement("div",{key:je},me.createElement("h1",null,he.name),me.createElement(Oe.Z,{gutter:[10,10]},he.data.map((Ve,Ge)=>me.createElement(Re.Z,{key:Ge,onClick:()=>ut(Ve),className:ke.Z.diamond},me.createElement(Ee.Z,{value:"`$$"+Ve.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:me.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},Me.map((ht,we)=>me.createElement(Re.Z,{flex:"110px",className:ke.Z.item},me.createElement("div",null,me.createElement(Ee.Z,{value:"`$$"+ht.value+"$$`"}),ht.name),me.createElement("div",{className:ke.Z.children},ht.children.map((he,je)=>me.createElement("div",{key:je},he.name&&me.createElement("h1",null,he.name),me.createElement(Oe.Z,{gutter:[10,10]},he.data.map((Ve,Ge)=>me.createElement(Re.Z,{key:Ge,onClick:()=>ut(Ve),className:ke.Z.diamond},me.createElement(Ee.Z,{value:"`$$"+Ve.value+"$$`"}))))))))))}],at=()=>{var ht=document.createElement("div");ht.innerHTML=dt.current.getValue();var we=ht.innerText;return mt&&mt(we),we};return(0,ae.useImperativeHandle)(ot,()=>({getData:at})),me.createElement("div",{className:ke.Z.mathWrap},me.createElement(Ze.default,{defaultActiveKey:"1",items:Ut}),me.createElement("math-field",{locale:"zh_cn",className:ke.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:dt,style:{width:800,marginTop:30,fontSize:18}},Xe||""),Ie&&me.createElement("div",{className:ke.Z.button},me.createElement(ve.ZP,{size:"large",onClick:at,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});en.Z=Le},39717:function(mn,en,ie){"use strict";ie.d(en,{Q:function(){return Ee}});var ae=ie(67294),Oe=ie(11713),Re=ie(78045),Ze=ie(31795),ve=ie(67294),Ee=(ye=>(ye[ye.Number=1]="Number",ye[ye.Percent=2]="Percent",ye))(Ee||{});const ke=({value:ye,onChange:me,disabled:Le,hidePercentOption:mt=!1,percentType:Ie="select"})=>{const Xe=(0,ae.useMemo)(()=>mt?1:2,[mt]),[ot,dt]=(0,ae.useState)(Xe);console.log(ot);const nt=ut=>ye.type===1?`${ut}\u5206`:`${ut}%`,Me=(0,ae.useCallback)(ut=>{if(ot===1){const Ut=ut.replace("\u5206","");return isNaN(parseInt(Ut,10))?0:Ut}else return ut.replace("%","")},[ot]);return(0,ae.useEffect)(()=>{dt(ye.type)},[ye]),ve.createElement("div",{style:{display:"flex",alignItems:"center"}},Ie=="select"&&ve.createElement(Oe.default,{size:"large",onChange:ut=>{dt(ut),me({type:ut,inputValue:ut===1?5:20})},value:ot||Xe,style:{width:100},options:mt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Le}),Ie=="radio"&&ve.createElement(Re.ZP.Group,{size:"large",onChange:ut=>{const Ut=ut.target.value;dt(Ut),me({type:Ut,inputValue:Ut===1?5:20})},value:ot||Xe,disabled:Le},!mt&&ve.createElement(Re.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),ve.createElement(Re.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ie=="radio"&&ve.createElement("div",{style:{marginRight:"10px",color:"#000000"}},ye.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),ve.createElement(Ze.Z,{size:"large",disabled:Le,value:ye.inputValue,style:{width:"120px"},parser:Me,addonAfter:ye.type===1?"\u5206":"%",max:ot===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:ut=>{me({type:ot,inputValue:ut})}}),Ie=="radio"&&ye.type==2&&ve.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};en.Z=ke},96332:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(67294),Oe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Re=ie(14446),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ee=(me,Le,mt)=>new Promise((Ie,Xe)=>{var ot=Me=>{try{nt(mt.next(Me))}catch(ut){Xe(ut)}},dt=Me=>{try{nt(mt.throw(Me))}catch(ut){Xe(ut)}},nt=Me=>Me.done?Ie(Me.value):Promise.resolve(Me.value).then(ot,dt);nt((mt=mt.apply(me,Le)).next())}),ye=({type:me,resdata:Le,onok:mt,oktext:Ie,okloading:Xe})=>{const[ot,dt]=(0,ae.useState)(!1),{can_copy_list:nt,can_copy_num:Me,challenge_type:ut,course_data_list:Ut,no_copy_list:at,no_copy_num:ht,no_use_list:we,no_use_num:he,repeat_shixun_num:je,student_count:Ve,total_num:Ge,use_num:qe}=Le;let Ye=Me>0||me==="exercise";(0,ae.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&dt(!0)},[Le]),console.log("---11",Xe),(0,ae.useEffect)(()=>{Xe||dt(!1)},[Xe]);const We=()=>{if(me==="exercise"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(me==="exercise"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixun"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="subject"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ae.createElement("span",{className:Oe.orangeColor},Ve)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ae.createElement("span",{className:Oe.orangeColor},qe)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="exercisepush")return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(me==="shixunpush"&&ut===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(me==="shixunpush"&&ut===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:Oe.orangeColor},Ve),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ae.createElement("span",{className:Oe.orangeColor},qe),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},St=()=>{if(me==="exercise"||me==="subject"||me==="exercisepush"||me==="shixunpush")return ae.createElement("div",{style:{marginTop:20}},ht>0&&ae.createElement("div",null,ae.createElement("span",{className:Oe.flex},ae.createElement("img",{src:ve,style:{width:14}}),ae.createElement("span",{className:Oe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Oe.statusbody},me==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:Oe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(me==="subject"||me==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ye&&ae.createElement("span",{className:Oe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),me==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ye&&ae.createElement("span",{className:Oe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),ae.createElement("div",null,at==null?void 0:at.map((lt,zt)=>ae.createElement("a",{href:`/shixuns/${lt.identifier}/challenges`,target:"_blank"},"\u300A",lt==null?void 0:lt.name,"\u300B",zt+1!==ht&&"\u3001"))))),Me>0&&ae.createElement("div",{style:{marginTop:20}},ae.createElement("span",{className:Oe.flex},ae.createElement("img",{src:Ze,style:{width:14}}),ae.createElement("span",{className:Oe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:Oe.statusbody},me==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(me==="subject"||me==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),me==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),ae.createElement("div",null,nt==null?void 0:nt.map((lt,zt)=>ae.createElement("a",{href:`/shixuns/${lt.identifier}/challenges`,target:"_blank"},"\u300A",lt==null?void 0:lt.name,"\u300B",zt+1!==Me&&"\u3001"))))));if(me==="shixun")return ae.createElement("div",{style:{marginTop:20}},Me>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return ae.createElement(Re.default,{open:ot,onCancel:()=>{dt(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ye&&"none"}},zIndex:1003,confirmLoading:Xe,okText:Ye?Ie:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ee(void 0,null,function*(){Ye?yield mt([...nt,...we]):dt(!1)})},ae.createElement("div",{style:{maxHeight:600,overflow:"auto"}},We(),St()))}},57444:function(mn,en,ie){"use strict";ie.d(en,{h:function(){return ht}});var ae=ie(67294),Oe=ie(11713),Re=ie(22150),Ze=ie(71577),ve=ie(4631),Ee=ie.n(ve),ke=ie(71749),ye=ie(30483),me=Object.defineProperty,Le=Object.defineProperties,mt=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,dt=(we,he,je)=>he in we?me(we,he,{enumerable:!0,configurable:!0,writable:!0,value:je}):we[he]=je,nt=(we,he)=>{for(var je in he||(he={}))Xe.call(he,je)&&dt(we,je,he[je]);if(Ie)for(var je of Ie(he))ot.call(he,je)&&dt(we,je,he[je]);return we},Me=(we,he)=>Le(we,mt(he));const ut=Oe.default.Option,Ut={labelCol:{span:4},wrapperCol:{span:20}},at={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};en.Z=({callback:we,onCancel:he})=>{const[je,Ve]=(0,ae.useState)("python");function Ge(Ye){Ve(at[Ye][1])}function qe(Ye){we(Ye)}return ae.createElement(Re.default,Me(nt({},Ut),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:qe,style:{width:500}}),ae.createElement(Re.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(Oe.default,{getPopupContainer:Ye=>Ye.parentNode,onChange:Ge},Object.keys(at).map(Ye=>ae.createElement(ut,{key:Ye,value:Ye},at[Ye][0])))),ae.createElement(Re.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(ht,{mode:je})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ze.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function ht({value:we,onChange:he,mode:je,options:Ve={}}){const Ge=(0,ae.useRef)(),[qe,Ye]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(qe){let We=function(St){const lt=St.getValue();he&&he(lt)};return qe.on("change",We),()=>{qe.off("change",We)}}},[qe,he]),(0,ae.useEffect)(()=>{qe&&qe.setOption("mode",je)},[qe,je]),(0,ae.useEffect)(()=>{qe&&(we!==qe.getValue()||we==="")&&setTimeout(()=>{qe.setValue(we||"")},300)},[qe,we]),(0,ae.useEffect)(()=>{if(Ge.current&&!qe){const We=Ee().fromTextArea(Ge.current,nt({mode:je,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ve));Ye(We)}},[Ge.current,qe]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Ge}))}},91304:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ir}});var ae=ie(67294),Oe=ie(4631),Re=ie.n(Oe),Ze=ie(91033),ve=ie(71749),Ee=ie(57341),ke=ie(82801),ye=ie(88386),me=ie(49047),Le=ie(80785),mt=ie(35598),Ie=({value:Xn="",className:pt,showTextOnly:At,showLines:Mt,style:fn={}})=>{const $e=(0,ae.useMemo)(()=>"",[Xn]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:$e}}))},Xe=ie(67294),ot=Object.defineProperty,dt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,at=(Xn,pt,At)=>pt in Xn?ot(Xn,pt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Xn[pt]=At,ht=(Xn,pt)=>{for(var At in pt||(pt={}))ut.call(pt,At)&&at(Xn,At,pt[At]);if(Me)for(var At of Me(pt))Ut.call(pt,At)&&at(Xn,At,pt[At]);return Xn},we=(Xn,pt)=>dt(Xn,nt(pt));let he=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function je({onActionCallback:Xn,title:pt,icon:At,actionName:Mt,className:fn="",children:$e}){function Ft(){Xn(Mt)}return Xe.createElement("a",{title:pt,className:fn,onClick:Ft},Xe.createElement("i",{className:`${At}`}),$e)}var Ve=({watch:Xn,showNullButton:pt,showNullProgramButton:At,onActionCallback:Mt,fullScreen:fn,insertTemp:$e,hidetoolBar:Ft,extraUse:on})=>{const _t=[...he,{title:`${Xn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Xn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Xe.createElement("ul",{className:"markdown-toolbar-container"},!Ft&&_t.map((En,Sn)=>Xe.createElement("li",{key:Sn},En.actionName?Xe.createElement(je,we(ht({},En),{onActionCallback:Mt})):Xe.createElement("span",{className:"v-line"}))),pt?Xe.createElement("li",null,Xe.createElement(je,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,At?Xe.createElement(Xe.Fragment,null,Xe.createElement("li",null,Xe.createElement(je,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Xe.createElement("li",null,Xe.createElement(je,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$e&&Xe.createElement("li",null,Xe.createElement(je,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$e}`,onActionCallback:Mt},Xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),on&&Xe.createElement("li",null,on),Xe.createElement("li",{className:"btn-full-screen"},Xe.createElement(je,{icon:`${fn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:fn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Mt})))},Ge=ie(76621),qe=ie(22150),Ye=ie(69677),We=ie(71577),St=Object.defineProperty,lt=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,tr=(Xn,pt,At)=>pt in Xn?St(Xn,pt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Xn[pt]=At,it=(Xn,pt)=>{for(var At in pt||(pt={}))pn.call(pt,At)&&tr(Xn,At,pt[At]);if(Dt)for(var At of Dt(pt))Kn.call(pt,At)&&tr(Xn,At,pt[At]);return Xn},Ce=(Xn,pt)=>lt(Xn,zt(pt));const wt={labelCol:{span:4},wrapperCol:{span:20}};var An=({callback:Xn,onCancel:pt})=>{function At(Mt){Xn(Mt)}return ae.createElement(qe.default,Ce(it({},wt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:At,style:{width:500}}),ae.createElement(qe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(Ye.default,null)),ae.createElement(qe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(Ye.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(We.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(We.ZP,{type:"ghost",onClick:pt},"\u53D6\u6D88")))},Tt=ie(57444),rt=ie(70859),ft=ie(14446),Wt=ie(71230),qt=ie(63205),Xt=ie(67294),Ht=({callback:Xn,onCancel:pt})=>{const At=document.createElement("canvas"),Mt=At.getContext("2d");At.width=1e3,At.height=800,Mt.fillStyle="#ffffff",Mt.fillRect(0,0,At.width,At.height);const fn=At.toDataURL("image/png");return Xt.createElement(ft.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Xt.createElement(Wt.Z,{style:{height:"100vh"}},Xt.createElement(qt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:fn,visible:!0,title:String(Date.now())},onOk:$e=>{Xn({src:$e.url})},onClose:pt})))},un=ie(72565),kn=ie(15746),yn=ie(2453),Fe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=ie(67294),pe=(0,ae.forwardRef)(({onCancel:Xn,editImgId:pt,callback:At},Mt)=>{let fn=(0,ae.useRef)(),$e=(0,ae.useRef)(),Ft=(0,ae.useRef)(),on=(0,ae.useRef)(!1);const _t=(0,ae.useRef)(!1);console.log("ref:",Mt);const[En,Sn]=(0,ae.useState)(0),[Bn,Qr]=(0,ae.useState)("100vh");return(0,ae.useEffect)(()=>{Sn(1);try{indexedDB.databases().then(Lr=>{Lr.forEach(Sr=>indexedDB.deleteDatabase(Sr.name))})}catch(Lr){}},[]),(0,ae.useImperativeHandle)(Mt,()=>({setHeight:Qr})),ce.createElement("div",{ref:_t,className:"body-overflow-initial"},ce.createElement(un.Z,{width:"100vw",height:Bn,footer:null,closable:!0,placement:"bottom",open:!!En,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Fe.drawerWrap}`,onClose:()=>{window.saveDrawData(Lr=>{At({src:`/api/attachments/${Lr}`,id:Lr})})},title:ce.createElement(Wt.Z,{align:"middle"},ce.createElement(kn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(kn.Z,{onClick:()=>{Qr(Bn==="60px"?"100vh":"60px")}},ce.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ce.createElement(kn.Z,{onClick:()=>{window.saveDrawData(Lr=>{if(Lr===null){yn.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}yn.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),At({src:`/api/attachments/${Lr}`,id:Lr,disabledClose:!0})})}},ce.createElement(We.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ce.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${pt||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:$e})))}),de=ie(11320),le=ie(78045),De=ie(31795);const Ke=le.ZP.Group,Et={margin:"0 8px"};var Yt=({callback:Xn,onCancel:pt})=>{function At(Mt){Xn(Mt)}return ae.createElement(qe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:At},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Et},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Et},"\u884C\u6570"),ae.createElement(qe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(De.Z,null)),ae.createElement("span",{style:Et},"\u5217\u6570"),ae.createElement(qe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(De.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Et},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(qe.default.Item,{name:"align"},ae.createElement(Ke,null,ae.createElement(le.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(le.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(le.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(le.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(We.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(We.ZP,{type:"ghost",onClick:pt},"\u53D6\u6D88")))},Kt=ie(47897),nn=ie(61016),$t=ie.n(nn),kr=(0,ae.forwardRef)(({use3d:Xn,width:pt,height:At,callback:Mt,showSaveButton:fn},$e)=>{const Ft=(0,ae.useRef)(),on=(0,ae.useRef)(),[_t,En]=(0,ae.useState)(!1),Sn=(0,ae.useRef)({id:Ft,appName:"graphing",width:pt||1e3,height:At||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{on.current=new($t())(Sn.current,!0),window.onload=function(){on.current.inject("applet_container")}},[]);const Bn=()=>{var Qr=window.ggbApplet.getPNGBase64(1,!0,72);return Mt&&Mt(Qr),Qr};return(0,ae.useEffect)(()=>{Sn.current.appName=_t?"3D":"graphing",on.current.inject("applet_container")},[_t]),(0,ae.useEffect)(()=>{En(Xn)},[Xn]),(0,ae.useImperativeHandle)($e,()=>({getImgData:Bn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ft}),ae.createElement(Wt.Z,{align:"middle"},ae.createElement(kn.Z,{flex:1},ae.createElement(Kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_t,onChange:Qr=>En(Qr)})),ae.createElement(kn.Z,null,ae.createElement(We.ZP,{size:"large",onClick:Bn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),rn=ie(36527),gn=ie(25934);const hr="link",Er="upload-image",yt="add-flowchart",It="draw-image",$n="add-flowchart",Qn="code-block",wr="add-table",_r="------------",ei={default:_r,left:`:${_r}`,center:`:${_r}:`,right:`${_r}:`};var Xr=ie(99914),ri=(Xn,pt,At)=>new Promise((Mt,fn)=>{var $e=_t=>{try{on(At.next(_t))}catch(En){fn(En)}},Ft=_t=>{try{on(At.throw(_t))}catch(En){fn(En)}},on=_t=>_t.done?Mt(_t.value):Promise.resolve(_t.value).then($e,Ft);on((At=At.apply(Xn,pt)).next())});function fi(){}let Cr=0;const yi=1e4,Gi="\u2581",oi="@\u2581\u2581@",ea="@\u2581@",Di=`
|
|
|
**\u6A21\u677F\u6807\u9898**
|
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Ot=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Nt(Xn){return/^\d+$/.test(Xn)?`${Xn}px`:Xn}const bn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",rr={[bn+"-B"]:"bold",[bn+"-I"]:"italic"},Fn={[hr]:"\u6DFB\u52A0\u94FE\u63A5",[Qn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Er]:"\u6DFB\u52A0\u56FE\u7247",[It]:"\u6DFB\u52A0\u753B\u56FE",[yt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[wr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ir=({defaultValue:Xn="",onChange:pt,width:At="100%",height:Mt=400,miniToolbar:fn=!1,isFocus:$e=!1,watch:Ft,insertTemp:on,mode:_t="markdown",id:En="markdown-editor-id",showResizeBar:Sn=!1,noStorage:Bn=!1,showNullButton:Qr=!1,showNullProgramButton:Lr=!1,hidetoolBar:Sr=!1,fullScreen:jr=!1,onBlur:zr,onCMBeforeChange:Rt,onFullScreen:kt,className:jt="",disablePaste:zn=!1,disabled:lr=!1,disabledFill:Hn=!1,placeholder:_n="",values:Gn="",extraUse:or,onAddBlank:Kr})=>{const[Ln,Fi]=(0,ae.useState)(null),[pi,ha]=(0,ae.useState)(Xn),[ra,Qi]=(0,ae.useState)(Ft),[Ca,Xi]=(0,ae.useState)(jr),[Ri,sa]=(0,ae.useState)(""),[Da,ki]=(0,ae.useState)(0),[Ji,Ea]=(0,ae.useState)(Mt),[_a,Oa]=(0,ae.useState)(!1),Oi=(0,ae.useRef)((0,gn.Z)()),Qt=(0,ae.useRef)(!1),Zt=(0,ae.useRef)(),[Mn,jn]=(0,ae.useState)(0),[sr,Yr]=(0,ae.useState)(0),si=(0,ae.useRef)(),mi=(0,ae.useRef)(),Ci=(0,ae.useRef)(),gi=(0,ae.useRef)(),Ti=(0,ae.useRef)(),qi=(0,ae.useRef)(),li=()=>ri(void 0,null,function*(){var er;const Wn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Oi.current}});(er=Wn==null?void 0:Wn.attachments)!=null&&er.length&&(console.log("cm:",Ln,si),Wn.attachments.map(ur=>{ur.content_type.indexOf("image")>-1?Ln.replaceSelection(``):ur.content_type.indexOf("video")>-1?Ln.replaceSelection(`<video width="100%" controls src="${de.Z.API_SERVER}/api/attachments/${data.id}"></video>`):ur.content_type.indexOf("pdf")>-1?Ln.replaceSelection(`<a href="${de.Z.API_SERVER}/api/attachments/${ur.id}?type=${ur.content_type}&disposition=inline" target="_blank">${ur.name}</a>`):Ln.replaceSelection(`[${ur.name}](${de.Z.API_SERVER}/api/attachments/${ur.id}?type=${ur.content_type})`)}))});(0,ae.useEffect)(()=>{const er=window.scrollY||window.pageYOffset;ha(Gn),Ln==null||Ln.setValue(Gn),window.scrollTo(0,er)},[Gn]),(0,ae.useEffect)(()=>{kt==null||kt(Ca)},[Ca]),(0,ae.useEffect)(()=>{if(si.current){let er=function(ur,mr){var Vr;if(zn){mr.preventDefault();return}const Dr=mr.clipboardData;if(Dr){const Mr=Dr.types.toString(),Tr=Dr.items;if(Mr==="Files"||Dr.types.indexOf("Files")>-1){if(mr.preventDefault(),_t=="stex")return;try{let Or=Tr[1];((Vr=Tr[0])==null?void 0:Vr.kind)==="file"&&(Or=Tr[0]);const qr=Or.getAsFile(),Ue=qr.name.split(".").pop();(0,rt.I)(qr,tt=>{var tn,Pt,xn;tt.id?((tn=qr==null?void 0:qr.type)==null?void 0:tn.indexOf("image"))>-1?Wn.replaceSelection(`<img width="100%" src="/api/attachments/${tt.id}?type=${tt.content_type})" alt="" />`):((Pt=qr==null?void 0:qr.type)==null?void 0:Pt.indexOf("video"))>-1?Wn.replaceSelection(`<video width="100%" controls src="/api/attachments/${tt.id}"></video>`):((xn=qr==null?void 0:qr.type)==null?void 0:xn.indexOf("pdf"))>-1?Wn.replaceSelection(`<a href="/api/attachments/${tt.id}?type=${qr.type}&disposition=inline" target="_blank">${qr.name}</a>`):Ot.includes(Ue)?Wn.replaceSelection(`<a href="/api/attachments/${tt.id}?type=office&disposition=inline" target="_blank">${qr.name}</a>`):Wn.replaceSelection(`[${qr.name}](/api/attachments/${tt.id}?type=${tt.content_type})`):(tt==null?void 0:tt.status)===401&&(yn.ZP.warning((tt==null?void 0:tt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Or){yn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Wn=Re().fromTextArea(si.current,{mode:_t,lineNumbers:!fn,lineWrapping:!0,value:Xn,autoCloseTags:!Lr,autoCloseBrackets:!0});return Wn.on("keyup",function(ur,mr){mr.keyCode===8&&(ur.getValue()==""?Wn.setOption("placeholder",_n):Wn.setOption("placeholder",null))}),Wn.on("keydown",function(ur,mr){if(mr.keyCode===8){var Vr=ia(ur);Vr&&mr.preventDefault()}}),$e&&Wn.focus(),Wn.on("paste",er),Wn.on("dragleave",function(ur,mr){mi.current.classList.remove("mouse-hover-md")}),lr&&Wn.on("beforeChange",function(ur,mr){(mr.origin==="paste"||mr.origin==="+input")&&mr.cancel()}),Fi(Wn),()=>{Wn.off("paste",er)}}},[]);const Vi=(0,ae.useCallback)(()=>{if(mi.current)try{}catch(er){console.log(er,"---- to set md editor body height")}},[Ji,mi,Ca]);(0,ae.useEffect)(()=>{function er(){let Wn=new Ze.Z(ur=>{for(let mr of ur)(mr.target.offsetHeight>0||mr.target.offsetWidth>0)&&(Vi(),Ln.setSize("100%","100%"),Ln.refresh())});return Wn.observe(si.current.parentElement),Wn}if(Ln){const Wn=er();return()=>{var ur,mr;(ur=si.current)!=null&&ur.parentElement&&Wn.unobserve((mr=si.current)==null?void 0:mr.parentElement)}}},[Ln,Vi]),(0,ae.useEffect)(()=>{if(Ln){let er=[];for(const[Wn,ur]of Object.entries(rr)){let mr={[Wn]:()=>{ta(ur)}};er.push(mr),Ln.addKeyMap(mr)}return Zt.current=setInterval(()=>{Qt.current&&li()},4e3),()=>{clearInterval(Zt.current);for(let Wn of er)Ln.removeKeyMap(Wn)}}},[Ln]),(0,ae.useEffect)(()=>{jr!==Ca&&Xi(jr)},[jr]),(0,Xr.Z)(()=>{if(!Bn&&Da>0){let er=new Date().getTime(),Wn=window.sessionStorage.getItem(En);er>=Da+yi&&(!Wn||Wn!==pi)&&(window.sessionStorage.setItem(En,pi),Oa(!0))}},yi),(0,ae.useEffect)(()=>{Qi(Ft)},[Ln,Ft]),(0,ae.useEffect)(()=>{Ln&&$e&&Ln.focus()},[Ln,$e]),(0,ae.useEffect)(()=>{if(ra&&Ln){let er=function(ur){let mr=ur.target;if(gi.current){let Vr=mr.scrollTop/mr.scrollHeight;gi.current.scrollTop=gi.current.scrollHeight*Vr}};const Wn=Ln.getScrollerElement();return Wn.addEventListener("scroll",er),()=>{Wn.removeEventListener("scroll",er)}}},[Ln,ra]),(0,ae.useEffect)(()=>{if(Ln&&Rt){let er=function(Wn,ur){Rt(Wn,ur)};return Ln.on("beforeChange",er),()=>{Ln.off("beforeChange",er)}}},[Ln,Rt]),(0,ae.useEffect)(()=>{if(Ln&&zr){let er=function(){zr(Ln.getValue())};return Ln.on("blur",er),()=>{Ln.off("blur",er)}}},[Ln,zr]);function ia(er,Wn){var ur=er.getDoc(),mr=ur.getCursor(),Vr=ur.getLine(mr.line),Dr=Vr.charAt(mr.ch-1),Mr=Vr.lastIndexOf("@\u2581@",mr.ch),Tr=Vr.lastIndexOf("@\u2581\u2581@",mr.ch),Or=Mr>Tr?Mr:Tr,qr=Mr>Tr?3:4;if(oi.indexOf(Dr)===-1)return null;if(console.log("change1:",Wn,er,Vr,mr,Or,Mr,Tr,Dr),Or>=0&&mr.ch-Or<5){var Ue=Or+qr;return ur.replaceRange("",{line:mr.line,ch:Or},{line:mr.line,ch:Ue}),{line:mr.line,ch:Ue}}return null}(0,ae.useEffect)(()=>{if(Ln){let er=function(Wn,ur){const mr=Wn.getValue();ha(mr),ki(new Date().getTime()),Wn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),pt&&(Lr?pt(mr,Tn(mr)):pt(mr))};return Ln.on("change",er),()=>{Ln.off("change",er)}}},[Ln,pt]),(0,ae.useEffect)(()=>{if(Ln)if(Xn==null)Ln.setValue(""),ha("");else{const er=window.scrollY||window.pageYOffset;Xn!==Ln.getValue()&&(Ln.setValue(Xn),ha(Xn),Ln.setCursor(lr?1:Ln.lineCount(),0),window.scrollTo(0,er))}},[Ln,Xn]);const ta=(0,ae.useCallback)(er=>{const Wn=Ln.getCursor(),ur=Ln.getSelection();let mr=ur.split(`
|
|
|
`);switch(er){case"bold":return Ln.replaceSelection("**"+ur+"**"),ur===""&&Ln.setCursor(Wn.line,Wn.ch+2),Ln.focus();case"italic":return Ln.replaceSelection("*"+ur+"*"),ur===""&&Ln.setCursor(Wn.line,Wn.ch+1),Ln.focus();case"code":return Ln.replaceSelection("`"+ur+"`"),ur===""&&Ln.setCursor(Wn.line,Wn.ch+1),Ln.focus();case"inline-latex":return sa("inline-latex"),Ln.focus();case"latex":return Ln.replaceSelection("```latex\n"+ur+"\n```"),Ln.setCursor(Wn.line+1,ur.length+1),Ln.focus();case"line-break":return Ln.replaceSelection(`<br/>
|
|
|
`),Ln.focus();case"list-ul":return ur===""?Ln.replaceSelection("- "+ur):Ln.replaceSelection(mr.map(Vr=>Vr===""?"":`- ${Vr}`).join(`
|
|
|
`)),Ln.focus();case"list-ol":return ur===""?Ln.replaceSelection("1. "+ur):Ln.replaceSelection(mr.map((Vr,Dr)=>Vr===""?"":`${Dr+1}. ${Vr}`).join(`
|
|
|
`)),Ln.focus();case"add-null-ch":Kr==null||Kr();return;case"add-signal":return ur===""&&Ln.setCursor(Wn.line,Wn.ch),Ln.replaceSelection(ea),Ln.focus();case"add-multiple":return ur===""&&Ln.setCursor(Wn.line,Wn.ch),Ln.replaceSelection(oi),Ln.focus();case"inster-template-1":return ur===""&&Ln.setCursor(Wn.line,Wn.ch),Ln.replaceSelection(Di),Ln.focus();case"eraser":return Ln.setValue(""),Ln.focus();case"trigger-watch":return Qi(!ra),Ln.focus();case"trigger-full-screen":return Xi(!Ca),Ln.focus();case hr:sa(hr);return;case Qn:sa(Qn);return;case Er:sa(Er);return;case It:sa(It);return;case"maths-latex":sa("maths-latex");return;case yt:Ti.current="",sessionStorage.removeItem("file_id"),sa(yt);return;case wr:sa(wr);return;default:throw new Error}},[Ln,ra,Ca]),ze=(0,ae.useCallback)((er,Wn)=>{var ur,mr,Vr,Dr,Mr,Tr;sa("");const{src:Or,alt:qr,id:Ue}=er||{};switch(Ri){case hr:const{title:Zn,link:Jn}=er;return Ln.replaceSelection(`[${Zn}](${Jn})`),Ln.focus();case Qn:const{language:yr,content:xt}=er;return Ln.replaceSelection(["```"+yr,xt,"```"].join(`
|
|
|
`)),Ln.focus();case"maths-latex":for(var tt=atob(er),tn=new Uint8Array(tt.length),Pt=0;Pt<tt.length;Pt++)tn[Pt]=tt.charCodeAt(Pt);var xn=new Blob([tn],{type:"image/png"});(0,rt.I)(xn,xr=>{xr.id?Ln.replaceSelection(``):(xr==null?void 0:xr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ln.replaceSelection("`$$"+er+"$$`");break;case $n:if(!Ue)return;Ln.focus(),Ln.getValue().indexOf(Or)===-1?Ln.replaceSelection(`<center><img id="${Ue}" width="80%" src="${Or}" class="draw-flowchart" alt="${qr||""}" /></center>`):document.getElementById(Ue).src=de.Z.API_SERVER+Or+"?t="+Date.now();try{setTimeout(()=>{zr(Ln.getValue())},100)}catch(xr){}break;case Er:case It:const ct=Wn,Lt=(Vr=(mr=(ur=ct==null?void 0:ct.name)==null?void 0:ur.split("."))==null?void 0:mr.pop)==null?void 0:Vr.call(mr);return((Dr=ct==null?void 0:ct.type)==null?void 0:Dr.indexOf("image"))>-1||!(ct!=null&&ct.type)?ct!=null&&ct.align||ct!=null&&ct.width?Ln.replaceSelection(`<p style="text-align:${ct.align||"initial"}"><img width="${ct.width?ct.width+"%":"initial"}" src="${Or}" alt="${qr||""}" /></p>`):Ln.replaceSelection(`<img width="100%" src="${Or}" alt="${qr||""}" />`):((Mr=ct==null?void 0:ct.type)==null?void 0:Mr.indexOf("video"))>-1?Ln.replaceSelection(`<video width="100%" controls src="${Or}"></video>`):((Tr=ct==null?void 0:ct.type)==null?void 0:Tr.indexOf("pdf"))>-1?Ln.replaceSelection(`<a href="${Or}?type=${ct.type}&disposition=inline" target="_blank">${ct.name}</a>`):Ot.includes(Lt)?Ln.replaceSelection(`<a href="${Or}?type=office&disposition=inline" target="_blank">${ct.name}</a>`):Ln.replaceSelection(`[${ct.name}](${Or})`),Ln.focus();case wr:const{row:dn,col:qn,align:In}=er;let wn=`
|
|
|
`;for(let xr=0;xr<dn;xr++){let pr=[],Pr=[];for(let dr=0;dr<qn;dr++)xr===1&&Pr.push(ei[In]),pr.push(" ");xr===1&&(wn+=`| ${Pr.join(" | ")} |
|
|
|
`),wn+=`| ${pr.join(qn===1?"":" | ")} |
|
|
|
`}return Ln.replaceSelection(wn+`
|
|
|
`),Ln.focus();default:throw new Error}},[Ln,Ri]),Je=(0,ae.useMemo)(()=>{switch(Ri){case hr:return ae.createElement(An,{callback:ze,onCancel:et});case Qn:return ae.createElement(Tt.Z,{callback:ze,onCancel:et});case Er:return ae.createElement(rt.Z,{callback:ze,onCancel:et});case yt:return ae.createElement(pe,{editImgId:Ti.current,callback:ze,onCancel:et});case wr:return ae.createElement(Yt,{callback:ze,onCancel:et});case"maths-latex":return ae.createElement(kr,{showSaveButton:!0,callback:ze});case"inline-latex":return ae.createElement(rn.Z,{showSaveButton:!0,callback:ze});default:return null}},[Ri]);function et(){sa("")}(0,ae.useEffect)(()=>{if(Ci.current){let er=function(Mr){Vr=!0,Dr=Mr.pageY},Wn=function(){Vr=!1},ur=function(Mr){if(Vr){let Tr=Mr.pageY-Dr;Tr<0&&(Tr=0),Tr>300&&(Tr=300);let Or=Mt+Tr+"px";Ea(Or)}},mr=Ci.current,Vr=!1,Dr=0;return mr.addEventListener("mousedown",er),document.addEventListener("mousemove",ur),document.addEventListener("mouseup",Wn),()=>{mr.removeEventListener("mousedown",er),document.removeEventListener("mousemove",ur),document.removeEventListener("mouseup",Wn)}}},[Ln,Ci]),(0,ae.useEffect)(()=>{Ea(Mt)},[Mt]);const st=Nt(At),Ct=Nt(Ji),Bt={width:st,height:Ct},Jt=(0,ae.useMemo)(()=>{if(Da){let er=new Date(Da),Wn=er.getHours(),ur=er.getMinutes(),mr=er.getSeconds();return Wn=Wn<10?"0"+Wn:Wn,ur=ur<10?"0"+ur:ur,mr=mr<10?"0"+mr:mr,`${Wn}:${ur}:${mr}`}return 0},[Da]),Tn=er=>{const Wn=[];if(Lr){let ur=-1;er=er.replace(/(@▁▁@|@▁@)/g,function(mr,Vr,Dr){Wn.push({multiLine:mr!==ea})})}return Wn};function Nn(){window.sessionStorage.removeItem(En),Oa(!1),ki(0)}function Fr(){Oa(!1),ki(0),Ln.setValue(window.sessionStorage.getItem(En))}(0,ae.useEffect)(()=>{Fn[Ri]&&Ri!==It&&Ri!==yt&&setTimeout(()=>{const er=document.getElementsByClassName("markdown-popup-form")[0],Wn=window.innerWidth/2-er.offsetWidth/2,ur=window.innerHeight/2-er.offsetHeight/2;jn(Wn),Yr(ur)},0)},[Ri]);const Jr=er=>{er.preventDefault();const Wn=er.clientX-Mn,ur=er.clientY-sr;document.body.onmousemove=mr=>{let Vr=mr.clientX-Wn,Dr=mr.clientY-ur;const Mr=document.getElementsByClassName("markdown-popup-form")[0],Tr=window.innerWidth-Mr.offsetWidth,Or=window.innerHeight-Mr.offsetHeight;Vr=Math.max(0,Math.min(Vr,Tr)),Dr=Math.max(0,Math.min(Dr,Or)),Ar(mr.clientX,mr.clientY,Wn,ur)&&(jn(Vr),Yr(Dr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ar=(er,Wn,ur,mr)=>{const Vr=document.body.clientHeight,Dr=document.body.clientWidth;return er<20&&ur>er||er>Dr-20&&ur<er||Wn<20&&mr>Wn||Wn>Vr-20&&mr<Wn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:mi},ae.createElement("div",{className:`markdown-editor-container ${jt} ${ra?"on-preview":""} ${fn?"mini":""} ${Ca?"full-screen":""}`,style:Bt},ae.createElement(Ve,{insertTemp:on,watch:ra,fullScreen:Ca,showNullButton:Qr,showNullProgramButton:Lr,onActionCallback:ta,hidetoolBar:Sr,extraUse:or}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:si,placeholder:_n})),ra?ae.createElement("div",{ref:gi,className:"preview-container"},_t==="stex"&&ae.createElement(Ie,{value:pi}),_t!=="stex"&&ae.createElement(mt.Z,{edit:!0,disabledFill:Hn,showProgramFill:Lr,value:pi,openEditor:er=>{var Wn;Ti.current=er,(Wn=qi.current)==null||Wn.setHeight("100vh"),setTimeout(()=>{sa("add-flowchart")},150)}})):null))),Sn?ae.createElement("a",{ref:Ci,className:"editor-resize"}):null,Ri===It&&ae.createElement(Ht,{callback:ze,onCancel:et}),Ri===yt&&ae.createElement(pe,{ref:qi,editImgId:Ti.current,callback:ze,onCancel:et}),ae.createElement(Ge.Z,null,Fn[Ri]&&Ri!==It&&Ri!==yt?ae.createElement(ft.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Mn,top:sr},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Jr},Fn[Ri]),open:!0,onCancel:et,footer:null,destroyOnClose:!0,width:Ri===yt?"1200px":null,height:Ri===yt?"80vh":null,className:"markdown-popup-form"},Je):null))}},70859:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return je},I:function(){return Ge}});var ae=ie(22150),Oe=ie(2453),Re=ie(69677),Ze=ie(93421),ve=ie(31795),Ee=ie(78045),ke=ie(71577),ye=ie(15476),me=ie(67294),Le=ie(52262),mt=ie(67294),Ie=Object.defineProperty,Xe=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ut=(qe,Ye,We)=>Ye in qe?Ie(qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:We}):qe[Ye]=We,Ut=(qe,Ye)=>{for(var We in Ye||(Ye={}))nt.call(Ye,We)&&ut(qe,We,Ye[We]);if(dt)for(var We of dt(Ye))Me.call(Ye,We)&&ut(qe,We,Ye[We]);return qe},at=(qe,Ye)=>Xe(qe,ot(Ye));const{useForm:ht}=ae.default,we={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}};var je=({callback:qe,onCancel:Ye})=>{const[We]=ht();let St=(0,me.useRef)();function lt(pn){St.current.width=We.getFieldValue("width"),St.current.align=We.getFieldValue("align"),qe(pn,St.current)}function zt(pn,Kn){if(pn.status===-1){Oe.ZP.error(pn.message);return}We.setFieldsValue({src:`/api/attachments/${pn.id}`,type:Kn.type})}function Dt(pn){let Kn=pn.target.files[0];St.current=Kn,Ge(Kn,zt)}return mt.createElement(ae.default,at(Ut({form:We},he),{className:"upload-image-panel",onFinish:lt,style:{width:470,overflow:"hidden"}}),mt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},mt.createElement("div",{className:"flex-container"},mt.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},mt.createElement(Re.default,{style:we})),mt.createElement(Ve,{onFileChange:Dt}))),mt.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},mt.createElement(Re.default,{style:{width:264}})),mt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},mt.createElement(Ze.Z,null,mt.createElement(ae.default.Item,{name:"width",style:{margin:0}},mt.createElement(ve.Z,{style:{width:264}})),mt.createElement("span",{className:"ml8"},"%"))),mt.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},mt.createElement(Ee.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),mt.createElement("aside",null,mt.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},mt.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),mt.createElement(ke.ZP,{type:"default",onClick:Ye},"\u53D6\u6D88"))))};function Ve({onFileChange:qe}){return mt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",mt.createElement("input",{type:"file",onChange:qe}))}function Ge(qe,Ye){if(!qe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.bg)())throw Oe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let We=new FormData;We.append("editormd-image-file",qe),We.append("file_param_name","editormd-image-file"),We.append("byxhr","true");var St=new window.XMLHttpRequest;St.withCredentials=!0,St.addEventListener("load",function(lt){Ye(JSON.parse(lt.target.responseText),qe)},!1),St.addEventListener("error",function(lt){console.error(lt)},!1),St.open("POST",`${ye.KI}/api/attachments.json`),St.send(We)}},76621:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Re}});var ae=ie(67294),Oe=ie(73935);class Re extends ae.Component{constructor(ve){super(ve);const Ee=window.document;this.node=Ee.createElement("div"),Ee.body.appendChild(this.node)}render(){const{children:ve}=this.props;return(0,Oe.createPortal)(ve,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(mn,en,ie){"use strict";ie.d(en,{i:function(){return he},Z:function(){return Ve}});var ae={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},Oe=ie(57953),Re=ie(83062),Ze=ie(38703),ve=ie(94184),Ee=ie.n(ve),ke=ie(28706),ye=ie(26194),me=ie(52262),Le=ie(79005),mt=ie(20345),Ie=ie(77882),Xe=ie(31081),ot=ie(75309),dt=ie(71979),nt=ie(47558),Me=ie(60345),ut=ie(66832),Ut=ie(96593),at=ie(19664),ht=ie(91833),we=ie(67294);const he=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Le,swimg:mt},{name:"101\u8BA1\u5212",ptimg:Ie,swimg:Xe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ot,swimg:dt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:nt,swimg:Me},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ut,swimg:Ut},{name:"\u519B\u961F\u4E00\u6D41",ptimg:at,swimg:ht}];var Ve=({className:Ge,dataSource:qe=[],col:Ye=4,right:We,bottom:St=23,precision:lt=0,wrapWidth:zt=1200,trackEventItems:Dt,loading:pn,onRemove:Kn=()=>{},isCurrent:tr=!0,showAlias:it=!1,showProgress:Ce=!1})=>{const wt=Math.floor((zt-(Ye-1)*We)/Ye),An=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Tt=>(window.ENV==="build"&&(Tt.ptimg=`/react/build${Tt.ptimg}`,Tt.swimg=`/react/build${Tt.swimg}`),Tt));return we.createElement(Oe.Z,{spinning:pn},we.createElement("div",{className:Ee()(ae.list,Ge)},!!(qe!=null&&qe.length)&&(qe==null?void 0:qe.map((Tt,rt)=>{var ft,Wt,qt,Xt,Ht,un;const{name:kn,id:yn,identifier:Fe,featured:ce,school_name:ue,image_url:pe,excellent:de,is_plan:le}=Tt;return we.createElement("div",{key:yn,className:tr&&Ce?ae.wrapisCurrent:ae.wrap,style:{width:wt,marginRight:(1+rt)%Ye===0?0:We+lt,marginBottom:St}},we.createElement("a",{className:ae.li,onClick:De=>{De.preventDefault(),De.stopPropagation(),Dt&&(0,ke.L9)([Dt]),(0,ke.xg)(`/paths/${Fe}`)}},we.createElement("div",{className:ae.img},we.createElement("img",{className:ae.cover,src:`${pe}`}),tr&&(0,me.bg)()&&(Tt==null?void 0:Tt.studying)&&we.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:De=>{De.stopPropagation(),Kn(Tt)}},we.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),we.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ft=Tt==null?void 0:Tt.subject_tags)==null?void 0:ft.map((De,Ke)=>{var Et,Yt;if(Ke===0){const nn=(Et=An.find($t=>$t.name==De))==null?void 0:Et.swimg;return we.createElement("img",{className:ae.sign,src:nn,style:{left:"-4px"}})}const Kt=(Yt=An.find(nn=>nn.name==De))==null?void 0:Yt.ptimg;return we.createElement("img",{className:ae.sign,src:Kt,style:{left:`${48+52*(Ke-1)+2*Ke}px`}})}),we.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Tt==null?void 0:Tt.excellent)&&we.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),we.createElement("div",{className:ae.name},we.createElement(Re.Z,{title:it&&(Tt!=null&&Tt.excellent_alias_name)?we.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${kn}`,we.createElement("br",null),we.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Tt==null?void 0:Tt.excellent_alias_name}`)):kn},we.createElement("span",{className:ae.e},it&&(Tt==null?void 0:Tt.excellent_alias_name)||kn))),tr&&Ce&&((Wt=Tt==null?void 0:Tt.progress)==null?void 0:Wt.all_score)!=0&&we.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},we.createElement(Ze.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((qt=Tt==null?void 0:Tt.progress)==null?void 0:qt.my_score)/((Xt=Tt==null?void 0:Tt.progress)==null?void 0:Xt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ht=Tt==null?void 0:Tt.progress)==null?void 0:Ht.my_score,"/",(un=Tt==null?void 0:Tt.progress)==null?void 0:un.all_score),(!tr||!Ce)&&we.createElement("div",{className:ae.tags},we.createElement("div",null,we.createElement(Re.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),we.createElement("span",null,Tt.stages_count))),we.createElement(Re.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},we.createElement("span",null,we.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),we.createElement("span",null,Tt.members_count)))))))})),!qe.length&&we.createElement(ye.Z,null)))}},80150:function(mn,en,ie){"use strict";ie.d(en,{jL:function(){return ve},w9:function(){return Fn},vv:function(){return Ft},dN:function(){return At},QD:function(){return jn},cQ:function(){return Ke.Z},vg:function(){return Ot},Oz:function(){return Cr},op:function(){return _a},O5:function(){return Tn},_b:function(){return gi},t7:function(){return St},tT:function(){return Dt},Gi:function(){return kt},YG:function(){return Sn},Ed:function(){return zr},kT:function(){return Lr},qp:function(){return Me},Um:function(){return he},K3:function(){return at},vr:function(){return si},qE:function(){return Qt},Je:function(){return tr},wb:function(){return un},rC:function(){return De},lB:function(){return Fe},cq:function(){return Gn},kO:function(){return Fi},tp:function(){return Ge},Si:function(){return Jr},k8:function(){return yr},Du:function(){return Mr}});var ae=ie(67294),Oe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpH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p+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ve=({dataSource:xt=[],img:ct,imgWidth:Lt=346,title:dn,sunTitle:qn,bannerExtraContent:In})=>ae.createElement("div",{className:Oe.banner},ae.createElement("div",{className:Oe.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,dn),ae.createElement("span",null,qn)),xt.length>0&&ae.createElement("div",{className:Oe.btns},xt.map((wn,xr)=>ae.createElement("div",{key:xr,onClick:wn.click},wn.name,wn.sign?ae.createElement("img",{src:Re,width:39}):null))),In),ct&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:ct,width:Lt}))),Ee={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ke=ie(94184),ye=ie.n(ke),me=ie(96486),Le=Object.defineProperty,mt=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,ot=(xt,ct,Lt)=>ct in xt?Le(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,dt=(xt,ct)=>{for(var Lt in ct||(ct={}))Ie.call(ct,Lt)&&ot(xt,Lt,ct[Lt]);if(mt)for(var Lt of mt(ct))Xe.call(ct,Lt)&&ot(xt,Lt,ct[Lt]);return xt},Me=({dataSource:xt=[],value:ct,onChange:Lt,onTitleChange:dn,className:qn,title:In,titleWidth:wn=41,style:xr={},fontColor:pr="#6A7283",showCount:Pr,classNameActive:dr,styleItem:Vn={}})=>{const[Hr,ni]=(0,ae.useState)(0),[Wr,Nr]=(0,ae.useState)(!1),Gr=(0,ae.useRef)(null),Li=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var xi;xt.length!==0&&(((xi=Gr==null?void 0:Gr.current)==null?void 0:xi.clientHeight)>97?ni(1):ni(0)),xt.length===0&&ni(0),Nr(!1)},[xt]),ae.createElement("div",{className:ye()(Ee.row,qn),style:xr},ae.createElement("div",{onClick:(0,me.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:wn,marginTop:Wr?12:4},className:`${Ee.title} ${dn?"current":""}`},In),ae.createElement("div",{className:Wr?`${Ee.tagsWrap} ${Ee.tagsBorderWrap}`:Ee.tagsWrap},ae.createElement("div",{className:Ee.bar,ref:Li,style:Hr>0?{height:Hr===1?97:"auto",overflow:Hr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:Ee.tag,ref:Gr},xt==null?void 0:xt.map(xi=>ae.createElement("span",{onClick:()=>Lt(xi.id),key:xi.id,style:dt(dt({color:pr},Vn),(xi==null?void 0:xi.style)||{}),className:ct===xi.id?ye()(dr||Ee.active,xi.classNameActive):""},ae.createElement("span",{title:xi.name,className:Ee.name},xi.name),!!Pr&&ae.createElement("span",{className:Ee.num},xi.count))))),!!Hr&&ae.createElement(ae.Fragment,null,Hr===1?ae.createElement("div",{onClick:()=>{var xi;ni(2),((xi=Gr==null?void 0:Gr.current)==null?void 0:xi.clientHeight)>245?Nr(!0):Nr(!1)},className:Ee.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Li.current.scrollTop=0,ni(1),Nr(!1)},className:Ee.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ut={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},at=({dataSource:xt=[],value:ct,onChange:Lt,onTitleChange:dn,className:qn,title:In,titleWidth:wn=41,style:xr={},fontColor:pr="#6A7283",showCount:Pr,expand:dr=!0})=>{const[Vn,Hr]=(0,ae.useState)(0),[ni,Wr]=(0,ae.useState)(!1),Nr=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),[Li,xi]=(0,ae.useState)(dr);return ae.createElement("div",{className:ye()(ut.row,qn),style:xr},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,me.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:wn,marginTop:ni?12:4},className:`${ut.title} ${dn?"current":""}`},In),ae.createElement("i",{className:`iconfont ${Li?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Li?8:10},onClick:()=>xi(!Li)})),Li&&ae.createElement("div",{className:ni?`${ut.tagsWrap} ${ut.tagsBorderWrap}`:ut.tagsWrap},ae.createElement("div",{className:ut.fenge}),ae.createElement("div",{className:ut.bar,ref:Gr},ae.createElement("div",{className:ut.tag,ref:Nr},xt==null?void 0:xt.map(Ei=>ae.createElement("span",{onClick:()=>Lt(Ei.id),key:Ei.id,style:{color:pr},className:ct===Ei.id?ut.active:""},ae.createElement("span",{title:Ei.name,className:ut.name},Ei.name),!!Pr&&ae.createElement("span",{className:ut.num},Ei.count)))))))},ht={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},he=({dataSource:xt=[],value:ct,onChange:Lt,onTitleChange:dn,className:qn,title:In,titleWidth:wn=41,style:xr={},fontColor:pr="#fff",showCount:Pr,expand:dr=!0})=>{const[Vn,Hr]=(0,ae.useState)(0),[ni,Wr]=(0,ae.useState)(!1),Nr=(0,ae.useRef)(null),Gr=(0,ae.useRef)(null),[Li,xi]=(0,ae.useState)(dr);return ae.createElement("div",{className:ye()(ht.row,qn),style:xr},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,me.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:wn},className:`${ht.title} ${dn?"current":""}`},In),ae.createElement("i",{className:`iconfont ${Li?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Li?"#00DDC7":"#037F74",fontSize:Li?10:12},onClick:()=>xi(!Li)})),Li&&ae.createElement("div",{className:ni?`${ht.tagsWrap} ${ht.tagsBorderWrap}`:ht.tagsWrap},ae.createElement("div",{className:ht.bar,ref:Gr},ae.createElement("div",{className:ht.tag,ref:Nr},xt==null?void 0:xt.map(Ei=>ae.createElement("span",{onClick:()=>Lt(Ei.id),key:Ei.id,style:{color:pr},className:ct===Ei.id?ht.active:""},ae.createElement("span",{title:Ei.name,className:ht.name},Ei.name),!!Pr&&ae.createElement("span",{className:ht.num},Ei.count)))))))},je={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Ge=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={}})=>ae.createElement("div",{style:qn,className:ye()(je.tabs,dn)},xt.map(In=>ae.createElement("span",{onClick:()=>Lt(In.id),className:ct===In.id?je.active:"",key:In.id},In.name))),qe={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ye=ie(69677),St=({dataSource:xt=[],value:ct="",onChange:Lt,onInputChange:dn=()=>{},className:qn,style:In={},placeholder:wn,allowClear:xr=!1})=>{var pr;const[Pr,dr]=(0,ae.useState)(""),[Vn,Hr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Nr;let Gr=ct;(Nr=JSON.stringify(ct))!=null&&Nr.includes("{")&&(dr(ct.id),Gr=ct.value||"");try{Hr(decodeURIComponent(Gr||""))}catch(Li){Hr(decodeURIComponent(Gr||""))}},[ct]);const ni=()=>{Lt(encodeURIComponent(Vn),Pr||null)},Wr=Nr=>{Nr!==Pr&&(dr(Nr),Lt(encodeURIComponent(Vn),Nr))};return ae.createElement("div",{className:ye()(qe.input,qn),style:In},!!xt.length&&ae.createElement("div",{className:qe.dropdown},ae.createElement("div",{className:qe.text},(pr=xt.find(Nr=>Nr.id===Pr))==null?void 0:pr.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:qe.b1}),ae.createElement("b",{className:qe.b2})),ae.createElement("div",{className:qe.menu},xt.map((Nr,Gr)=>ae.createElement("div",{key:Gr,onClick:()=>Wr(Nr.id)},Nr.name)))),ae.createElement(Ye.default,{onPressEnter:ni,value:Vn,onChange:Nr=>{Hr(Nr.target.value),dn(encodeURIComponent(Nr.target.value),Pr||null)},bordered:!1,placeholder:wn}),ae.createElement("i",{onClick:ni,className:"iconfont icon-sousuo9 font14 pl10 current"}))},lt={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Dt=({dataSource:xt=[],value:ct="",onChange:Lt,onInputChange:dn=()=>{},className:qn,style:In={},placeholder:wn,allowClear:xr=!1})=>{var pr;const[Pr,dr]=(0,ae.useState)(""),[Vn,Hr]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Nr;let Gr=ct;(Nr=JSON.stringify(ct))!=null&&Nr.includes("{")&&(dr(ct.id),Gr=ct.value||"");try{Hr(decodeURIComponent(Gr||""))}catch(Li){Hr(decodeURIComponent(Gr||""))}},[ct]);const ni=()=>{Lt(encodeURIComponent(Vn),Pr||null)},Wr=Nr=>{Nr!==Pr&&(dr(Nr),Lt(encodeURIComponent(Vn),Nr))};return ae.createElement("div",{className:ye()(lt.input,qn),style:In},!!xt.length&&ae.createElement("div",{className:lt.dropdown},ae.createElement("div",{className:lt.text},(pr=xt.find(Nr=>Nr.id===Pr))==null?void 0:pr.name,ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ae.createElement("div",{className:lt.menu},xt.map((Nr,Gr)=>ae.createElement("div",{key:Gr,onClick:()=>Wr(Nr.id)},Nr.name)))),ae.createElement(Ye.default,{onPressEnter:ni,value:Vn,onChange:Nr=>{Hr(Nr.target.value),dn(encodeURIComponent(Nr.target.value),Pr||null)},bordered:!1,placeholder:wn}),ae.createElement("i",{onClick:ni,className:"iconfont icon-sousuo9 font14 pl10 current"}))},pn={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},tr=({value:xt,onChange:ct,className:Lt,total:dn,pageSize:qn,style:In={}})=>{const wn=xt<2,xr=xt>=Math.ceil(dn/qn);return dn<=qn?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:ye()(pn.quickPager,Lt),style:In},ae.createElement("div",{onClick:()=>{wn||ct(xt-1,"prev")},className:wn?pn.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{xr||ct(xt+1,"next")},className:xr?pn.disabled:""},"\u4E0B\u4E00\u9875"))},it={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Ce=ie(57953),wt=ie(83062),An=ie(12604),Tt=ie(11320),rt=ie(28706),ft=ie(96908),Wt=ie(57177),qt=ie(81378),Xt=ie(26194),un=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr})=>{const Pr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:pr},ae.createElement("div",{className:ye()(it.list,xt)},!!ct.length&&ct.map((dr,Vn)=>{const{name:Hr,id:ni,identifier:Wr,power:Nr,cover_image_id:Gr,pic:Li}=dr;return ae.createElement("div",{className:it.wrap,key:ni,style:{width:Pr,marginRight:(1+Vn)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Wr}/challenges`,className:it.li,onClick:xi=>{xi.preventDefault(),xr&&(0,rt.L9)([xr]),Nr&&(0,rt.xg)(`/shixuns/${Wr}/challenges`)}},ae.createElement("div",{className:it.img},ae.createElement("img",{className:it.cover,src:`${Li}`}),dr.is_jupyter&&ae.createElement("img",{className:it.sign,src:ft}),dr.is_jupyter_lab&&ae.createElement("img",{className:it.sign,src:Wt}),dr.is_unity_3d&&ae.createElement("img",{className:it.sign,src:qt})),ae.createElement("div",{className:it.name},ae.createElement(wt.Z,{title:Hr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:it.e},Hr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:it.tags},ae.createElement(wt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,dr.challenges_count))),!!dr.myshixuns_count&&ae.createElement(wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,dr.myshixuns_count))),ae.createElement(wt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,dr.level))),ae.createElement("div",{className:it.rate},ae.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:dr.score_info}),ae.createElement("span",null,"\xA0",dr.score_info?`${dr.score_info}\u5206`:"5\u5206")))),!Nr&&ae.createElement("div",{className:it.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ct.length&&ae.createElement(Xt.Z,null)))},kn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Fe=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,wrapClassName:xr,trackEventItems:pr,loading:Pr})=>{const dr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:Pr},ae.createElement("div",{className:ye()(kn.list,xt)},!!ct.length&&ct.map((Vn,Hr)=>{const{name:ni,id:Wr,identifier:Nr,power:Gr,cover_image_id:Li,pic:xi}=Vn;return ae.createElement("div",{className:ye()(kn.wrap,xr),key:Wr,style:{width:dr,marginRight:(1+Hr)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Nr}/challenges`,className:kn.li,onClick:Ei=>{Ei.preventDefault(),pr&&(0,rt.L9)([pr]),Gr&&(0,rt.xg)(`/shixuns/${Nr}/challenges`)}},ae.createElement("img",{src:ie(79633),className:kn.titleBg}),ae.createElement("div",{className:kn.name},ae.createElement(wt.Z,{title:ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:kn.e},ni||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:kn.img},ae.createElement("img",{className:kn.cover,src:Li?`${Tt.Z.API_SERVER}/api/attachments/${Li}`:`${Tt.Z.IMG_SERVER+xi}`}),Vn.is_jupyter&&ae.createElement("div",{className:kn.bq},"Jupyter"),Vn.is_jupyter_lab&&ae.createElement("div",{className:kn.bq},"JupyterLab"),Vn.is_unity_3d&&ae.createElement("div",{className:kn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ae.createElement("div",{className:"mt20 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:kn.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:kn.value},Vn.myshixuns_count)),ae.createElement("div",null,ae.createElement("span",{className:kn.text},"\u56F0\u96BE\u7B49\u7EA7"),ae.createElement("span",{className:kn.value},Vn.level))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:kn.text},"\u5173\u5361\u6570"),ae.createElement("span",{className:kn.value},Vn.challenges_count)),ae.createElement("div",{className:kn.rate},ae.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Vn.score_info}),ae.createElement("span",{className:kn.value,style:{color:"#FF9C00"}},"\xA0",Vn.score_info?`${Vn.score_info}\u5206`:"5\u5206"))))),!Gr&&ae.createElement("div",{className:kn.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ct.length&&ae.createElement(Xt.Z,null)))},ce={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"t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F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",De=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr,wrapClassName:Pr,imgClassName:dr})=>{const Vn=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:pr},ae.createElement("div",{className:ye()(ce.list,xt)},!!ct.length&&ct.map((Hr,ni)=>{const{name:Wr,id:Nr,identifier:Gr,power:Li,cover_image_id:xi,pic:Ei}=Hr;return ae.createElement("div",{className:ye()(ce.wrap,Pr),key:Nr,style:{width:Vn,marginRight:(1+ni)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Gr}/challenges`,className:ce.li,onClick:$i=>{$i.preventDefault(),xr&&(0,rt.L9)([xr]),Li&&(0,rt.xg)(`/shixuns/${Gr}/challenges`)}},ae.createElement("div",{className:ye()(ce.img,dr)},ae.createElement("img",{className:ce.cover,src:xi?`${Tt.Z.API_SERVER}/api/attachments/${xi}`:`${Tt.Z.IMG_SERVER+Ei}`}),Hr.is_jupyter&&ae.createElement("img",{className:ce.sign,src:ue}),Hr.is_jupyter_lab&&ae.createElement("img",{className:ce.sign,src:pe}),Hr.is_unity_3d&&ae.createElement("img",{className:ce.sign,src:de})),ae.createElement("div",{className:ce.name},ae.createElement(wt.Z,{title:Wr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:ce.e},Wr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:ce.tags},ae.createElement(wt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,Hr.challenges_count))),!!Hr.myshixuns_count&&ae.createElement(wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,Hr.myshixuns_count))),ae.createElement(wt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,Hr.level))),ae.createElement("div",{className:ce.rate},ae.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Hr.score_info}),ae.createElement("span",null,"\xA0",Hr.score_info?`${Hr.score_info}\u5206`:"5\u5206")))),!Li&&ae.createElement("div",{className:ce.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ct.length&&ae.createElement(Xt.Z,null)))},Ke=ie(5476),Et={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Yt=ie(79005),Kt=ie(20345),nn=ie(77882),$t=ie(31081),gr=ie(75309),kr=ie(71979),rn=ie(47558),gn=ie(60345),hr=ie(66832),Er=ie(96593),yt=ie(19664),It=ie(91833),$n=Object.defineProperty,Qn=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,ei=(xt,ct,Lt)=>ct in xt?$n(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,Xr=(xt,ct)=>{for(var Lt in ct||(ct={}))wr.call(ct,Lt)&&ei(xt,Lt,ct[Lt]);if(Qn)for(var Lt of Qn(ct))_r.call(ct,Lt)&&ei(xt,Lt,ct[Lt]);return xt};const ri=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Yt,swimg:Kt},{name:"101\u8BA1\u5212",ptimg:nn,swimg:$t},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:gr,swimg:kr},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:rn,swimg:gn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:hr,swimg:Er},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:It}];var Cr=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr,wrapClassName:Pr,imgClassName:dr,isArrow:Vn=!1,imgStyle:Hr={}})=>{const ni=Math.floor((wn-(Lt-1)*dn)/Lt),[Wr,Nr]=(0,ae.useState)(),[Gr,Li]=(0,ae.useState)(),xi=$i=>Nr($i),Ei=()=>Nr(-1);return ae.createElement(Ce.Z,{spinning:pr},ae.createElement("div",{className:ye()(Et.list,xt)},!!(ct!=null&&ct.length)&&(ct==null?void 0:ct.map(($i,Aa)=>{var _i;const{name:la,id:Ai,identifier:Ki,featured:ua,school_name:pa,image_url:ao,excellent:no,is_plan:ro}=$i;return ae.createElement("div",{key:Ai,className:ye()(Et.wrap,Pr),style:{width:ni,marginRight:(1+Aa)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{target:"_blank",href:`/paths/${Ki}`,className:Et.li,onClick:Ha=>{Ha.preventDefault(),xr&&(0,rt.L9)([xr]),(0,rt.xg)(`/paths/${Ki}`)}},ae.createElement("img",{src:ie(39057),className:Et.titleBg}),ae.createElement("div",{className:Et.name},ae.createElement(wt.Z,{title:la},ae.createElement("span",{className:Et.e,style:{color:Vn&&Wr===Aa?"#145DFF":"#000000"},onMouseEnter:()=>{xi(Aa)},onMouseLeave:Ei},la))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:ye()(Et.img,dr)},ae.createElement("img",{className:Et.cover,style:Xr({},Hr),src:`${Tt.Z.IMG_SERVER+ao}`}),(_i=$i==null?void 0:$i.subject_tags)==null?void 0:_i.map((Ha,wa)=>{var Wi,co;if(wa===0){const Bi=(Wi=ri.find(ma=>ma.name==Ha))==null?void 0:Wi.swimg;return ae.createElement("img",{className:Et.sign,src:Bi,style:{left:"-4px"}})}const aa=(co=ri.find(Bi=>Bi.name==Ha))==null?void 0:co.ptimg;return ae.createElement("img",{className:Et.sign,src:aa,style:{left:`${48+52*(wa-1)+2*wa}px`}})}),ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},($i==null?void 0:$i.excellent)&&ae.createElement("div",{className:Et.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Et.text},"\u7AE0\u8282\u6570"),ae.createElement("span",{className:Et.value},$i.stages_count)),ae.createElement("div",null,ae.createElement("span",{className:Et.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Et.value},$i.members_count))))))})),!ct.length&&ae.createElement(Xt.Z,null)))},yi={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Gi=ie(52262),oi=ie(67294);const ea=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Yt,swimg:Kt},{name:"101\u8BA1\u5212",ptimg:nn,swimg:$t},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:gr,swimg:kr},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:rn,swimg:gn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:hr,swimg:Er},{name:"\u519B\u961F\u4E00\u6D41",ptimg:yt,swimg:It}];var Ot=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr,onRemove:Pr=()=>{},isCurrent:dr=!0,showAlias:Vn=!1,wrapClassName:Hr,imgClassName:ni})=>{const Wr=Math.floor((wn-(Lt-1)*dn)/Lt),Nr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Gr=>(window.ENV==="build"&&(Gr.ptimg=`/react/build${Gr.ptimg}`,Gr.swimg=`/react/build${Gr.swimg}`),Gr));return oi.createElement(Ce.Z,{spinning:pr},oi.createElement("div",{className:ye()(yi.list,xt)},!!(ct!=null&&ct.length)&&(ct==null?void 0:ct.map((Gr,Li)=>{var xi;const{name:Ei,id:$i,identifier:Aa,featured:_i,school_name:la,image_url:Ai,excellent:Ki,is_plan:ua}=Gr;return oi.createElement("div",{key:$i,className:ye()(yi.wrap,Hr),style:{width:Wr,marginRight:(1+Li)%Lt===0?0:dn+In,marginBottom:qn}},oi.createElement("a",{className:yi.li,onClick:pa=>{pa.preventDefault(),pa.stopPropagation(),xr&&(0,rt.L9)([xr]),(0,rt.xg)(`/paths/${Aa}`)}},oi.createElement("div",{className:ye()(yi.img,ni)},oi.createElement("img",{className:yi.cover,src:`${Tt.Z.IMG_SERVER+Ai}`}),dr&&(0,Gi.bg)()&&(Gr==null?void 0:Gr.studying)&&oi.createElement("div",{className:`${yi.movebq} user-path-items`,onClick:pa=>{pa.stopPropagation(),Pr(Gr)}},oi.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oi.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xi=Gr==null?void 0:Gr.subject_tags)==null?void 0:xi.map((pa,ao)=>{var no,ro;if(ao===0){const wa=(no=Nr.find(Wi=>Wi.name==pa))==null?void 0:no.swimg;return oi.createElement("img",{className:yi.sign,src:wa,style:{left:"-4px"}})}const Ha=(ro=Nr.find(wa=>wa.name==pa))==null?void 0:ro.ptimg;return oi.createElement("img",{className:yi.sign,src:Ha,style:{left:`${48+52*(ao-1)+2*ao}px`}})}),oi.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Gr==null?void 0:Gr.excellent)&&oi.createElement("div",{className:yi.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oi.createElement("div",{className:yi.name},oi.createElement(wt.Z,{title:Vn&&(Gr!=null&&Gr.excellent_alias_name)?oi.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ei}`,oi.createElement("br",null),oi.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Gr==null?void 0:Gr.excellent_alias_name}`)):Ei},oi.createElement("span",{className:yi.e},Vn&&(Gr==null?void 0:Gr.excellent_alias_name)||Ei))),oi.createElement("div",{className:yi.tags},oi.createElement("div",null,oi.createElement(wt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oi.createElement("span",null,oi.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oi.createElement("span",null,Gr.stages_count))),oi.createElement(wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oi.createElement("span",null,oi.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oi.createElement("span",null,Gr.members_count)))))))})),!ct.length&&oi.createElement(Xt.Z,null)))},Nt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},cn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012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Qylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",bn=ie(67294),Fn=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,trackEventItems:xr,loading:pr})=>{const Pr=Math.floor((wn-(Lt-1)*dn)/Lt);return bn.createElement(Ce.Z,{spinning:pr},bn.createElement("div",{className:ye()(Nt.list,xt)},!!ct.length&&ct.map((dr,Vn)=>{const{subject_identifier:Hr,id:ni,identifier:Wr,power:Nr}=dr,Gr=dr.is_public!=0&&dr.is_public;return bn.createElement("div",{className:Nt.wrap,key:ni,style:{width:Pr,marginRight:(1+Vn)%Lt===0?0:dn+In,marginBottom:qn}},bn.createElement("a",{className:Nt.li,onClick:Li=>{Li.preventDefault(),xr&&(0,rt.L9)([xr]),(0,rt.xg)(dr.first_category_url)}},bn.createElement("div",{className:Nt.top},bn.createElement(wt.Z,{title:dr.name},bn.createElement("div",{className:Nt.name},dr.name)),bn.createElement("img",{className:Nt.img,src:Tt.Z.IMG_SERVER+"/images/"+dr.avatar_url}),bn.createElement("div",{className:Nt.text,title:dr.creator},dr.creator),Hr&&bn.createElement("div",{className:Nt.btns},bn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),bn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Gr&&bn.createElement("div",{className:Nt.sign},"\u516C\u5F00")),bn.createElement("div",{className:Nt.bottom},dr.visits>0&&bn.createElement(wt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-liulanyan"}),bn.createElement("span",null,dr.visits))),dr.course_members_count>0&&bn.createElement(wt.Z,{title:"\u6210\u5458",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-chengyuan"}),dr.course_members_count)),dr.tasks_count>0&&bn.createElement(wt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},bn.createElement("span",null,bn.createElement("i",{className:"iconfont icon-zuoye"}),dr.tasks_count)),dr.is_end?bn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):bn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!dr.is_accessible&&bn.createElement("div",{className:Nt.lockWrap},bn.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),bn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ct.length&&bn.createElement(Xt.Z,null)))},ir={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Xn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78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RZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",At=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,wrapClassName:xr,trackEventItems:pr,loading:Pr})=>{const dr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:Pr},ae.createElement("div",{className:ye()(ir.list,xt)},!!ct.length&&ct.map((Vn,Hr)=>{const{subject_identifier:ni,id:Wr,identifier:Nr,power:Gr}=Vn,Li=Vn.is_public!=0&&Vn.is_public;return ae.createElement("div",{className:ye()(`${ir.wrap} ${Vn.is_accessible?"":ir.warpStyle}`,xr),key:Wr,style:{width:dr,marginRight:(1+Hr)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{className:ir.li,onClick:xi=>{xi.preventDefault(),pr&&(0,rt.L9)([pr]),(0,rt.xg)(Vn.first_category_url)}},ae.createElement("div",{className:ir.creator},ae.createElement("img",{className:ir.img,src:Tt.Z.IMG_SERVER+"/images/"+Vn.avatar_url}),ae.createElement("div",{className:ir.text,title:Vn.creator},Vn.creator)),ae.createElement("div",{className:ir.top},ae.createElement(wt.Z,{title:Vn.name},ae.createElement("div",{className:ir.name},Vn.name)),Li&&ae.createElement("div",{className:ir.sign},"\u516C\u5F00")),ae.createElement("div",{className:ir.middle},ae.createElement("div",{className:ir.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:ir.value},(Vn==null?void 0:Vn.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u6210\u5458"),ae.createElement("span",{className:ir.value},(Vn==null?void 0:Vn.course_members_count)||0))),ae.createElement("div",{className:ir.row},ae.createElement("div",null,ae.createElement("span",{className:ir.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:ir.value},(Vn==null?void 0:Vn.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:ir.text},"\u72B6\u6001"),Vn.is_end?ae.createElement("span",{className:ir.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:ir.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ni&&ae.createElement("div",{className:ir.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Vn.is_accessible&&ae.createElement("div",{className:ir.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ct.length&&ae.createElement(Xt.Z,null)))},Mt={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},fn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/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pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ft=({className:xt,dataSource:ct=[],col:Lt=4,right:dn,bottom:qn=23,precision:In=0,wrapWidth:wn=1200,wrapClassName:xr,trackEventItems:pr,loading:Pr})=>{const dr=Math.floor((wn-(Lt-1)*dn)/Lt);return ae.createElement(Ce.Z,{spinning:Pr},ae.createElement("div",{className:ye()(Mt.list,xt)},!!ct.length&&ct.map((Vn,Hr)=>{const{subject_identifier:ni,id:Wr,identifier:Nr,power:Gr}=Vn,Li=Vn.is_public!=0&&Vn.is_public;return ae.createElement("div",{className:ye()(`${Mt.wrap} ${Vn.is_accessible?"":Mt.warpStyle}`,xr),key:Wr,style:{width:dr,marginRight:(1+Hr)%Lt===0?0:dn+In,marginBottom:qn}},ae.createElement("a",{className:Mt.li,onClick:xi=>{xi.preventDefault(),pr&&(0,rt.L9)([pr]),(0,rt.xg)(Vn.first_category_url)}},ae.createElement("div",{className:Mt.creator},ae.createElement("img",{className:Mt.img,src:Tt.Z.IMG_SERVER+"/images/"+Vn.avatar_url}),ae.createElement("div",{className:Mt.text,title:Vn.creator},Vn.creator)),ae.createElement("div",{className:Mt.top},ae.createElement(wt.Z,{title:Vn.name},ae.createElement("div",{className:Mt.name},Vn.name)),Li&&ae.createElement("div",{className:Mt.sign})),ae.createElement("div",{className:Mt.middle},ae.createElement("div",{className:Mt.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:Mt.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:Mt.value},(Vn==null?void 0:Vn.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:Mt.text},"\u6210\u5458"),ae.createElement("span",{className:Mt.value},(Vn==null?void 0:Vn.course_members_count)||0))),ae.createElement("div",{className:Mt.row},ae.createElement("div",null,ae.createElement("span",{className:Mt.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:Mt.value},(Vn==null?void 0:Vn.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:Mt.text},"\u72B6\u6001"),Vn.is_end?ae.createElement("span",{className:Mt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:Mt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ni&&ae.createElement("div",{className:Mt.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Vn.is_accessible&&ae.createElement("div",{className:Mt.lockWrap},ae.createElement("img",{src:`${Tt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ct.length&&ae.createElement(Xt.Z,null)))},on={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},_t=ie(35973),Sn=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={},tabBarExtraContent:In})=>ae.createElement("div",{className:ye()(on.tabs,dn),style:qn},ae.createElement("div",{className:on.tabsWrap},xt.map((wn,xr)=>ae.createElement("aside",{className:on.tab,onClick:()=>{Lt(wn.id),wn.link&&_t.history.push(wn.link)},key:xr},ae.createElement("div",{className:ct===wn.id?on.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement(wt.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",ae.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),ae.createElement("div",{className:on.tabBar},In)),Bn={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Lr=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={},tabBarExtraContent:In})=>ae.createElement("div",{className:ye()(Bn.tabs,dn),style:qn},ae.createElement("div",{className:Bn.tabsWrap},xt.map((wn,xr)=>ae.createElement("aside",{className:Bn.tab,onClick:()=>{Lt(wn.id),wn.link&&_t.history.push(wn.link)},key:xr},ae.createElement("div",{className:ct===wn.id?Bn.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement(wt.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",ae.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),ae.createElement("div",{className:Bn.tabBar},In)),Sr={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},zr=({dataSource:xt=[],value:ct,onChange:Lt,className:dn,style:qn={},tabBarExtraContent:In})=>ae.createElement("div",{className:ye()(Sr.tabs,dn),style:qn},ae.createElement("div",{className:Sr.tabsWrap},xt.map((wn,xr)=>ae.createElement("aside",{className:`${Sr.tab} ${ct===wn.id?Sr.active:""}`,onClick:()=>{Lt(wn.id),wn.link&&_t.history.push(wn.link)},key:xr},ae.createElement("div",null,wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&ae.createElement(wt.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",ae.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),ae.createElement("div",{className:Sr.tabBar},In)),kt=({className:xt,style:ct={},children:Lt})=>ae.createElement("div",{className:ye()(xt),style:ct},Lt),jt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},zn=ie(85418),lr=ie(68508);const Hn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Gn=({sortValue:xt,dropValue:ct,className:Lt,onSort:dn,onDrop:qn,dataSource:In=Hn})=>{var wn;return ae.createElement("div",{className:ye()(jt.orderWrap,Lt)},ae.createElement(zn.Z,{dropdownRender:()=>ae.createElement(lr.default,null,In.map((xr,pr)=>ae.createElement(lr.default.Item,{key:pr,onClick:()=>qn(xr.id)},xr.name)))},ae.createElement("span",{className:jt.orderTextWrap},(wn=In.find(xr=>ct===xr.id))==null?void 0:wn.name)),ae.createElement("span",{className:jt.orderIconWrap},ae.createElement("span",{className:jt.orderAsc},ae.createElement("i",{className:xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-up font12 ${jt.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")})),ae.createElement("span",{className:jt.orderDesc},ae.createElement("i",{className:xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer} ${jt.active}`:`iconfont icon-sanjiaoxing-down font12 ${jt.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")}))))},or={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Kr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Fi=({sortValue:xt,dropValue:ct,className:Lt,onSort:dn,onDrop:qn,dataSource:In=Kr})=>{var wn;return ae.createElement("div",{className:ye()(or.orderWrap,Lt)},ae.createElement(zn.Z,{dropdownRender:()=>ae.createElement(lr.default,null,In.map((xr,pr)=>ae.createElement(lr.default.Item,{key:pr,onClick:()=>qn(xr.id)},xr.name)))},ae.createElement("span",{className:or.orderTextWrap},(wn=In.find(xr=>ct===xr.id))==null?void 0:wn.name)),ae.createElement("span",{className:or.orderIconWrap},ae.createElement("span",{className:or.orderAsc},ae.createElement("i",{className:xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${or.cursorPointer} ${or.active}`:`iconfont icon-sanjiaoxing-up font12 ${or.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")})),ae.createElement("span",{className:or.orderDesc},ae.createElement("i",{className:xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${or.cursorPointer} ${or.active}`:`iconfont icon-sanjiaoxing-down font12 ${or.cursorPointer}`,onClick:()=>dn(xt==="asc"?"desc":"asc")}))))},pi={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},ha=ie(71577),ra=ie(52810),Qi=Object.defineProperty,Ca=Object.getOwnPropertySymbols,Xi=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,sa=(xt,ct,Lt)=>ct in xt?Qi(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,Da=(xt,ct)=>{for(var Lt in ct||(ct={}))Xi.call(ct,Lt)&&sa(xt,Lt,ct[Lt]);if(Ca)for(var Lt of Ca(ct))Ri.call(ct,Lt)&&sa(xt,Lt,ct[Lt]);return xt},ki=(xt,ct)=>{var Lt={};for(var dn in xt)Xi.call(xt,dn)&&ct.indexOf(dn)<0&&(Lt[dn]=xt[dn]);if(xt!=null&&Ca)for(var dn of Ca(xt))ct.indexOf(dn)<0&&Ri.call(xt,dn)&&(Lt[dn]=xt[dn]);return Lt},Ji=(xt,ct,Lt)=>new Promise((dn,qn)=>{var In=pr=>{try{xr(Lt.next(pr))}catch(Pr){qn(Pr)}},wn=pr=>{try{xr(Lt.throw(pr))}catch(Pr){qn(Pr)}},xr=pr=>pr.done?dn(pr.value):Promise.resolve(pr.value).then(In,wn);xr((Lt=Lt.apply(xt,ct)).next())}),_a=xt=>{var ct=xt,{className:Lt,style:dn,children:qn,loading:In=!1,openLoading:wn,onClick:xr=()=>{},size:pr="middle",shape:Pr="round",theme:dr}=ct,Vn=ki(ct,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Hr,ni]=(0,ae.useState)(!1),Wr=(0,ae.useMemo)(()=>{switch(dr){case ra.Fy.THEMEONE:return pi.ThemeOne;case ra.Fy.DEFAULT:default:return pi.btn}},[dr]);return ae.createElement(ha.ZP,Da({onClick:(0,me.throttle)(Nr=>Ji(void 0,null,function*(){wn&&ni(!0);try{yield xr(Nr)}catch(Gr){console.log("error",Gr)}wn&&ni(!1)}),2e3,{leading:!0,trailing:!1}),className:ye()(Wr,pi[`${pr}-${Pr}`],Lt),style:dn,size:pr,shape:Pr,loading:Hr||In},Vn),qn)},Oa={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Qt=({className:xt,style:ct,children:Lt=null,onClick:dn,title:qn})=>ae.createElement("div",{className:ye()(Oa.head,xt),style:ct},ae.createElement("span",{className:"primary-hover",onClick:dn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:qn},qn),ae.createElement("div",{className:Oa.node},Lt)),Zt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},jn=({confirmShow:xt=!0,confirmTitle:ct,confirmClick:Lt,cancelShow:dn=!0,cancelTitle:qn,cancelClick:In,className:wn,style:xr,confirmLoading:pr=!1})=>ae.createElement("div",{className:ye()(Zt.btns,wn),style:xr},xt&&ae.createElement(ha.ZP,{loading:pr,onClick:Lt,type:"primary",className:Zt.confirm},ct),dn&&ae.createElement(ha.ZP,{onClick:In,className:Zt.cancel},qn)),sr={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},si=({className:xt,style:ct={},LeftContent:Lt,children:dn,RightContent:qn})=>ae.createElement("div",{className:ye()(sr.fixedBottom,xt),style:ct},ae.createElement("div",{className:sr.wrap},ae.createElement("div",{className:sr.left},Lt),ae.createElement("div",{className:sr.center},dn),ae.createElement("div",{className:sr.right},qn))),mi={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},gi=({className:xt,style:ct={},dataSource:Lt=[]})=>ae.createElement("div",{className:ye()(mi.crumbs,xt),style:ct},Lt.map((dn,qn)=>qn<Lt.length-1?ae.createElement(ae.Fragment,{key:qn},dn.path||dn.onClick?ae.createElement("span",{className:mi.hover,onClick:dn!=null&&dn.onClick?dn.onClick:()=>_t.history.push(dn.path)},dn.name):ae.createElement("span",null,dn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:qn,style:{color:"#5F6368"}},dn.name))),Ti=ie(55054),qi=Object.defineProperty,li=Object.defineProperties,Vi=Object.getOwnPropertyDescriptors,ia=Object.getOwnPropertySymbols,ta=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Je=(xt,ct,Lt)=>ct in xt?qi(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,et=(xt,ct)=>{for(var Lt in ct||(ct={}))ta.call(ct,Lt)&&Je(xt,Lt,ct[Lt]);if(ia)for(var Lt of ia(ct))ze.call(ct,Lt)&&Je(xt,Lt,ct[Lt]);return xt},st=(xt,ct)=>li(xt,Vi(ct)),Ct=(xt,ct)=>{var Lt={};for(var dn in xt)ta.call(xt,dn)&&ct.indexOf(dn)<0&&(Lt[dn]=xt[dn]);if(xt!=null&&ia)for(var dn of ia(xt))ct.indexOf(dn)<0&&ze.call(xt,dn)&&(Lt[dn]=xt[dn]);return Lt};const{Countdown:Bt}=Ti.default;var Tn=xt=>{var ct=xt,{onChange:Lt}=ct,dn=Ct(ct,["onChange"]);const[qn,In]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof qn=="number"&&qn>=0&&Lt(qn)},[qn]);const wn=xr=>{const pr=Math.floor(xr/1e3);In(pr)};return ae.createElement(Bt,st(et({},dn),{onChange:wn}))},Nn={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Jr=({DataProps:xt,className:ct,style:Lt={}})=>{var dn;return ae.createElement("div",{className:ye()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Nn.ClassRoomItem,ct),style:Lt,onClick:()=>{(0,rt.xg)(xt==null?void 0:xt.first_category_url)}},ae.createElement("div",{className:"flex flex-col item-center"},ae.createElement("img",{src:`${(dn=Tt.Z)==null?void 0:dn.IMG_SERVER}/images/${xt==null?void 0:xt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(xt==null?void 0:xt.subject_identifier)&&ae.createElement("div",{className:"mt-40px"},ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(xt!=null&&xt.is_public)&&ae.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ae.createElement("span",{className:ye()("text-16px font-medium",Nn.TitleDom)},xt==null?void 0:xt.name)),ae.createElement("div",{className:"c-grey-333 font-medium"},xt==null?void 0:xt.creator),ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",xt==null?void 0:xt.course_members_count),ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",xt==null?void 0:xt.tasks_count),xt!=null&&xt.is_end?ae.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ar=Object.defineProperty,er=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,mr=(xt,ct,Lt)=>ct in xt?Ar(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,Vr=(xt,ct)=>{for(var Lt in ct||(ct={}))Wn.call(ct,Lt)&&mr(xt,Lt,ct[Lt]);if(er)for(var Lt of er(ct))ur.call(ct,Lt)&&mr(xt,Lt,ct[Lt]);return xt},Mr=({DataProps:xt=[],selectValue:ct,onChange:Lt,className:dn,style:qn={},extra:In,classNameItem:wn,styleItem:xr={},barHidden:pr})=>{const[Pr,dr]=(0,ae.useState)();return(0,ae.useEffect)(()=>{dr(Array.isArray(ct)?ct:[ct])},[ct]),ae.createElement("div",{className:ye()("flex px-20px py-10px gap-40px",dn),style:Vr({borderBottom:"1px solid #D3F0FF"},qn)},xt==null?void 0:xt.map(Vn=>ae.createElement("div",{key:Vn==null?void 0:Vn.id,className:ye()("flex item-center justify-center current c-grey-333 text-16 relative",wn,Vn==null?void 0:Vn.className),style:Vr(Vr({color:Pr!=null&&Pr.includes(Vn==null?void 0:Vn.id)?"#1890FF":"",minWidth:88},xr),(Vn==null?void 0:Vn.style)||{}),onClick:Hr=>{Lt==null||Lt({domEvent:Hr,item:Vn}),Vn!=null&&Vn.link&&_t.history.push(Vn==null?void 0:Vn.link)}},Vn==null?void 0:Vn.name,!pr&&(Pr==null?void 0:Pr.includes(Vn==null?void 0:Vn.id))&&ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ae.createElement("div",{className:"ml-auto"},In))},Tr=Object.defineProperty,Or=Object.defineProperties,qr=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,Pt=(xt,ct,Lt)=>ct in xt?Tr(xt,ct,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):xt[ct]=Lt,xn=(xt,ct)=>{for(var Lt in ct||(ct={}))tt.call(ct,Lt)&&Pt(xt,Lt,ct[Lt]);if(Ue)for(var Lt of Ue(ct))tn.call(ct,Lt)&&Pt(xt,Lt,ct[Lt]);return xt},Zn=(xt,ct)=>Or(xt,qr(ct)),yr=({value:xt,onChange:ct,onInputChange:Lt,className:dn,style:qn={},InputProps:In})=>{const[wn,xr]=(0,ae.useState)(xt);return ae.createElement("div",{className:ye()("flex item-center rounded-full px-10px py-2px",dn),style:xn({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},qn)},ae.createElement(Ye.default,Zn(xn({bordered:!1},In),{onChange:pr=>{xr(pr.target.value),Lt==null||Lt(encodeURIComponent(pr.target.value))},onPressEnter:pr=>{ct==null||ct({domEvent:pr,item:{value:wn}})}})),ae.createElement("img",{className:"h-22px current",src:ie(25365),height:22,onClick:pr=>{ct==null||ct({domEvent:pr,item:{value:wn}})}}))}},99914:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(Re,Ze){const ve=(0,ae.useRef)();(0,ae.useEffect)(()=>{ve.current=Re}),(0,ae.useEffect)(()=>{function Ee(){ve.current()}if(Ze!==null){let ke=setInterval(Ee,Ze);return()=>clearInterval(ke)}},[Ze])}},17998:function(mn,en,ie){"use strict";ie.d(en,{Q8:function(){return Ce},d0:function(){return wt},w6:function(){return it}});var ae=ie(67294),Oe=ie(34336),Re=ie(11713),Ze=ie(2453),ve=ie(14446),Ee=ie(78045),ke=ie(71230),ye=ie(15746),me=ie(83062),Le=ie(84567),mt=ie(71577),Ie=ie(27484),Xe=ie.n(Ie),ot=ie(52262),dt=ie(33170),nt=ie(96486),Me=ie.n(nt),ut=ie(28706),Ut=ie(39886),at=ie(35973),ht=ie(39717),we=ie(78207),he=ie(92882),je=ie(96332),Ve=ie(93686),Ge=ie(67294),qe=Object.defineProperty,Ye=Object.defineProperties,We=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Dt=(ft,Wt,qt)=>Wt in ft?qe(ft,Wt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):ft[Wt]=qt,pn=(ft,Wt)=>{for(var qt in Wt||(Wt={}))lt.call(Wt,qt)&&Dt(ft,qt,Wt[qt]);if(St)for(var qt of St(Wt))zt.call(Wt,qt)&&Dt(ft,qt,Wt[qt]);return ft},Kn=(ft,Wt)=>Ye(ft,We(Wt)),tr=(ft,Wt,qt)=>new Promise((Xt,Ht)=>{var un=Fe=>{try{yn(qt.next(Fe))}catch(ce){Ht(ce)}},kn=Fe=>{try{yn(qt.throw(Fe))}catch(ce){Ht(ce)}},yn=Fe=>Fe.done?Xt(Fe.value):Promise.resolve(Fe.value).then(un,kn);yn((qt=qt.apply(ft,Wt)).next())});function it(ft,Wt){const qt=[];for(let Xt=ft;Xt<Wt;Xt++)qt.push(Xt);return qt}const Ce=(ft,Wt,qt)=>{const Xt=ft<Xe()().startOf("day"),Ht=ft>Xe()(Wt).endOf("day"),un=ft<Xe()(qt).startOf("day");return Wt?qt?Xe()()<=Xe()(qt)?un||Ht:Xt||Ht:ft&&Xt||Ht:qt&&Xe()()<=Xe()(qt)?un:Xt},wt=(ft,Wt)=>{const qt=parseInt(Xe()(ft).format("HH")),Xt=parseInt(Xe()().format("HH")),Ht=parseInt(Xe()().format("mm"));if(!ft)return{disabledHours:()=>it(0,Xt),disabledMinutes:()=>it(0,Ht)};if(Wt){const un=parseInt(Xe()(Wt).format("HH")),kn=parseInt(Xe()(Wt).format("mm"));return Xe()(ft).isSame(Xe()(Wt),"day")?{disabledHours:()=>it(0,un),disabledMinutes:()=>qt<=un?it(0,kn):[]}:void 0}if(Xe()(ft).isSame(Xe()(),"day"))return{disabledHours:()=>it(0,Xt),disabledMinutes:()=>Xe()(ft).isSame(Xe()(),"hour")&&qt<=Xt?it(0,Ht):[]}},{RangePicker:An}=Oe.default,{Option:Tt}=Re.default,rt=({shixunHomeworks:ft,loading:Wt,dispatch:qt,classroomList:Xt,user:Ht})=>{var un,kn,yn,Fe,ce,ue,pe,de,le;const De=(0,at.useParams)(),{workSetting:Ke,workList:Et,shixunWorkList:Yt,headerInfo:Kt,changeData:nn}=ft,[$t,gr]=(0,ae.useState)(!1),[kr,rn]=(0,ae.useState)(!1);let[gn,hr]=(0,ae.useState)([]),[Er,yt]=(0,ae.useState)([]),[It,$n]=(0,ae.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:ht.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[Qn,wr]=(0,ae.useState)({}),[_r,ei]=(0,ae.useState)({});(0,ae.useEffect)(()=>()=>{hr([])},[]),(0,ae.useEffect)(()=>{gr(!(0,ot.GJ)())},[(0,ot.GJ)()]);const Xr=()=>{qt({type:"shixunHomeworks/getWorkSetting",payload:pn({},De)})};(0,ae.useEffect)(()=>{if(!(Ke!=null&&Ke.course_id))return;Object.keys(It).map(function(cn){It[cn]=Ke[cn]}),(!It.allow_late||!It.unified_late)&&(It.late_penalty=20,It.penalty_type=ht.Q.Percent),It.unified_setting||(It.unified_late=!1,It.unified_anonymous_comment=!1,It.unified_anonymous_appeal=!1),gn=JSON.parse(JSON.stringify(Ke.group_settings.map(cn=>Kn(pn({},cn),{group_name:[cn.group_name]})).filter(cn=>cn.publish_time!==null))),Er=JSON.parse(JSON.stringify(Ke.allow_late_settings.map(cn=>Kn(pn({},cn),{group_name:[cn.group_name]})).filter(cn=>cn.late_time!==null))),$n(pn({},It));const Nt=(0,ut.QE)((gn==null?void 0:gn.length)>0?gn:[]);hr([...Nt]),(Er==null?void 0:Er.length)<=0?yt([{penalty_type:ht.Q.Percent,late_penalty:20}]):yt([...Er])},[Ke]);const ri=()=>tr(void 0,null,function*(){var Nt,cn;if(((Nt=Ht==null?void 0:Ht.userInfo)==null?void 0:Nt.user_status)===2){(0,we.Rd)();return}const bn=JSON.parse(JSON.stringify(It));if(bn.challenge_settings.filter(Fn=>!Fn.hide),bn.categoryId=De.categoryId,(cn=bn.challenge_settings)!=null&&cn.every(Fn=>!Fn.checked)){Ze.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(gn),!It.unified_setting)gn=gn==null?void 0:gn.map(Fn=>{var ir;if(!Fn.publish_time||!Fn.end_time)throw Ze.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Fn.group_name)throw Ze.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Fn.group_name=typeof(Fn==null?void 0:Fn.group_name)=="string"?[Fn==null?void 0:Fn.group_name]:Fn==null?void 0:Fn.group_name,Fn.group_id=(ir=Ke.group_settings)==null?void 0:ir.filter(Xn=>{var pt;return(pt=Fn==null?void 0:Fn.group_name)==null?void 0:pt.includes(Xn.group_name)}).map(Xn=>Xn.group_id||Xn.id).toString().split(","),Fn});else if(!It.publish_time||!It.end_time)throw Ze.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(bn.group_settings=gn,It.allow_late)if(It.unified_late){if(It.late_penalty===null||It.late_penalty===void 0||It.late_penalty<0||It.late_penalty>100)throw Ze.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!It.late_time)throw Ze.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else Er=Er==null?void 0:Er.map(Fn=>{var ir,Xn;if(Fn.late_penalty===null||Fn.late_penalty===void 0||Fn.late_penalty<0||Fn.late_penalty>100)throw Ze.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Fn.late_time)throw Ze.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Fn.group_name)throw Ze.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Fn.group_name=typeof(Fn==null?void 0:Fn.group_name)=="string"?[Fn==null?void 0:Fn.group_name]:Fn==null?void 0:Fn.group_name,Fn.group_id=(Xn=(ir=Fn==null?void 0:Fn.group_name)==null?void 0:ir.map(pt=>{var At,Mt;let fn=(Mt=(At=Ke.group_settings)==null?void 0:At.filter($e=>($e==null?void 0:$e.group_name)===pt))==null?void 0:Mt[0];return fn==null?void 0:fn.group_id}))==null?void 0:Xn.toString().split(","),Fn}),bn.allow_late_settings=Er;let rr=yield(0,Ve.Tr)({homework_common_ids:[parseInt(De.categoryId)],course_id:De.coursesId,type:"homework_common"});(rr==null?void 0:rr.student_count)===0?fi(bn):(ei(bn),wr(rr))}),fi=Nt=>{var cn;if(Nt.total_score===null){Ze.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Nt!=null&&Nt.work_efficiency&&Nt.eff_score===null){Ze.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const bn=Nt.challenge_settings.reduce((ir,Xn)=>ir+Number(Xn.challenge_score),0);if((bn==null?void 0:bn.toFixed(10))!==((cn=Nt.total_score-Nt.eff_score)==null?void 0:cn.toFixed(10))){Ze.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Nt.total_score}\u5206`);return}const rr={shixun_evaluation:Nt.shixun_evaluation,challenge_settings:Nt.challenge_settings};let Fn=()=>{var ir;const Xn=()=>tr(void 0,null,function*(){rn(!0),(yield(0,dt.ZP)(`/api/homework_commons/${De.categoryId}/publish_setting.json`,{method:"post",body:pn({},Nt)})).status===0&&(Ze.ZP.success("\u66F4\u65B0\u6210\u529F"),Xr(),qt({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:pn({},De)})),rn(!1)});!(0,nt.isEqual)(nn,rr)&&!((ir=Kt==null?void 0:Kt.homework_status)!=null&&ir.includes("\u672A\u53D1\u5E03"))?ve.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Xn}):Xn()};Ke!=null&&Ke.high_resources_consume&&!(Ke!=null&&Ke.high_resources_consume_permission)?qt({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:De.coursesId,type:"shixun",type_id:De.categoryId,name:Ke.homework_name,fn:()=>{Fn()}}}):Fn()},Cr=(Nt,cn,bn="group_id")=>{var rr;return cn?cn.find(Fn=>Fn[bn]===Nt):(rr=Ke==null?void 0:Ke.group_settings)==null?void 0:rr.find(Fn=>Fn.group_id[0]===Nt)},yi=(Ke==null?void 0:Ke.allow_late)||(Ke==null?void 0:Ke.anonymous_comment),Gi=Nt=>{var cn,bn;const rr=Cr(Nt,Ke==null?void 0:Ke.allow_late_settings,"id"),Fn=Cr(Nt,Ke==null?void 0:Ke.anonymous_comment_settings),ir=Cr(Nt);return(Ke==null?void 0:Ke.allow_late)&&rr&&Xe()(rr==null?void 0:rr.late_time)<=Xe()()||(Ke==null?void 0:Ke.anonymous_comment)&&Fn&&(Fn==null?void 0:Fn.evaluation_start)!==null||((bn=(Xe()(ir==null?void 0:ir.end_time)<=Xe()()&&((cn=Ke==null?void 0:Ke.allow_late_settings)==null?void 0:cn.filter(Xn=>Xn.group_id.includes(Nt))))[0])==null?void 0:bn.late_time)!=null},oi=(0,ae.useMemo)(()=>(Ke==null?void 0:Ke.allow_late)||(Ke==null?void 0:Ke.all_group_late),[Ke,Kt]),ea=Ke==null?void 0:Ke.anonymous_comment,Di=Nt=>{if(!Nt)return!1;const cn=Cr(Nt,Ke==null?void 0:Ke.anonymous_comment_settings);return(Ke==null?void 0:Ke.anonymous_comment)&&cn&&(cn==null?void 0:cn.evaluation_start)!==null},Ot=(Nt,cn)=>{var bn,rr,Fn;qt({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Nt,index:cn,rangePickerDisabled:$t||(Xe()()<=Xe()((rr=Cr((bn=Nt==null?void 0:Nt.group_id)==null?void 0:bn[0]))==null?void 0:rr.publish_time)?!1:[!0,Gi((Fn=Nt==null?void 0:Nt.group_id)==null?void 0:Fn[0])]),disabledDate:Ke==null?void 0:Ke.course_end_date}})};return Ge.createElement("section",{className:Ut.Z.form},Ge.createElement("div",{className:Ut.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ge.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),Ge.createElement("div",null,Ge.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ge.createElement(Ee.ZP.Group,{disabled:$t||!((un=Kt==null?void 0:Kt.homework_status)!=null&&un.includes("\u672A\u53D1\u5E03"))||(0,ot.Rm)()&&!((kn=Xt.AssistantObject.practice)!=null&&kn.can_publish),value:It.unified_setting,onChange:Nt=>{var cn;if(!((cn=Kt==null?void 0:Kt.homework_status)!=null&&cn.includes("\u672A\u53D1\u5E03"))){Ze.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(It.unified_setting=!It.unified_setting,It.unified_setting||(It.unified_late=!1,yt([{late_penalty:5}])),$n(Object.assign({},It)),It.unified_setting===!1&&gn==""){hr(gn.concat({}));return}It.unified_setting&&(hr([]),yt([{late_penalty:5}]))}},Ge.createElement(Ee.ZP,{value:!0,disabled:$t||!(Ke!=null&&Ke.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ge.createElement(Ee.ZP,{disabled:$t||!((yn=Ke==null?void 0:Ke.group_settings)!=null&&yn.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Fe=Ke==null?void 0:Ke.group_settings)==null?void 0:Fe.length)===0&&Ge.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),It.unified_setting&&Ge.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ge.createElement(ke.Z,{align:"middle"},Ge.createElement(ye.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ge.createElement(ye.Z,{className:"ml10"},Ge.createElement(Oe.default,{size:"large",disabled:$t||!((ce=Kt==null?void 0:Kt.homework_status)!=null&&ce.includes("\u672A\u53D1\u5E03")||(ue=Kt==null?void 0:Kt.homework_status)!=null&&ue.includes("\u672A\u5F00\u59CB"))||(0,ot.Rm)()&&!((pe=Xt.AssistantObject.practice)!=null&&pe.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:Nt=>Ce(Nt,Ke==null?void 0:Ke.course_end_date),disabledTime:Nt=>wt(Nt),value:It.publish_time?Xe()(It.publish_time):"",onChange:(Nt,cn)=>{It.publish_time=cn,(It.end_time==""||!It.end_time)&&It.unified_setting&&(It.end_time=Xe()(Nt).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),$n(Object.assign({},It))}}))),Ge.createElement(ke.Z,{align:"middle",className:"pl30"},Ge.createElement(ye.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ge.createElement(ye.Z,{className:"ml10"},Ge.createElement(Oe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Xe()((0,ut.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(Ke==null?void 0:Ke.allow_late)&&(Ke==null?void 0:Ke.homework_status.includes("\u5DF2\u622A\u6B62"))||$t||(Ke==null?void 0:Ke.allow_late)&&Xe()()>=Xe()(Ke==null?void 0:Ke.end_time)||(0,ot.Rm)()&&!((de=Xt.AssistantObject.practice)!=null&&de.can_publish),disabledDate:Nt=>Ce(Nt,Ke==null?void 0:Ke.course_end_date,It.publish_time),disabledTime:Nt=>wt(Nt,It.publish_time),value:It.end_time?Xe()(It.end_time):"",onChange:(Nt,cn)=>{It.end_time=cn,$n(Object.assign({},It))}})))),!It.unified_setting&&(gn==null?void 0:gn.length)>0&&Ge.createElement(ke.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},gn&&gn.map(function(Nt,cn){var bn,rr,Fn,ir,Xn,pt,At;return Ge.createElement(ye.Z,{span:24,key:cn},Ge.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:cn==(gn==null?void 0:gn.length)-1?"0px":"10px"}},Ge.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",cn+1),Ge.createElement(Re.default,{disabled:$t||((bn=Kt==null?void 0:Kt.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03")&&Nt.id||Xe()()<Xe()(Nt==null?void 0:Nt.publish_time)?!1:!!(Nt!=null&&Nt.publish_time))||(0,ot.Rm)()&&!((rr=Xt.AssistantObject.practice)!=null&&rr.can_publish),mode:"multiple",className:Ut.Z.multiple_select,style:{width:"250px"},value:Nt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Mt=>{var fn;if((0,ot.Rm)()&&!((fn=Xt.AssistantObject.practice)!=null&&fn.can_publish)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}gn[cn].group_name=Mt,gn[cn].group_id=Nt.group_id;const $e=(0,nt.flattenDeep)(gn.map(on=>on.group_name)),Ft=Er.map(on=>{let _t=(on==null?void 0:on.group_name)||[];return Kn(pn({},on),{group_name:(0,nt.remove)(_t,En=>$e.includes(En))})});yt(Ft),hr(gn.slice())},maxTagCount:4,maxTagPlaceholder:Mt=>Ge.createElement("div",{style:{cursor:"pointer"},onClick:()=>Ot(Nt,cn)},"+",Mt==null?void 0:Mt.length)},Ke.group_settings&&Ke.group_settings.map(function(Mt){if(!gn.map($e=>$e.group_name).flat().includes(Mt.group_name))return Ge.createElement(Tt,{value:Mt.group_name,key:Mt.id},Mt.group_name)})),Ge.createElement("div",{className:"ml20"},Ge.createElement(An,{size:"large",ranges:{\u6B64\u523B:[Nt.publish_time?Xe()(Nt.publish_time):Xe()(),Xe()()]},allowClear:!1,disabled:$t||(Xe()()<=Xe()((ir=Cr((Fn=Nt==null?void 0:Nt.group_id)==null?void 0:Fn[0]))==null?void 0:ir.publish_time)?!1:[!0,Gi((Xn=Nt==null?void 0:Nt.group_id)==null?void 0:Xn[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Mt=>Ce(Mt,Ke==null?void 0:Ke.course_end_date),disabledTime:Mt=>wt(Mt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Xe()((0,ut.U6)(),"HH:mm"),Xe()((0,ut.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Nt.publish_time&&[Xe()(Nt.publish_time),Nt.end_time?Xe()(Nt.end_time):void 0],onChange:(Mt,fn)=>{var $e;if((0,ot.Rm)()&&!(($e=Xt.AssistantObject.practice)!=null&&$e.can_publish)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}gn[cn].publish_time=fn[0],!Nt.end_time&&fn[0]?gn[cn].end_time=Xe()(fn[0]).add(7,"days"):gn[cn].end_time=fn[1],hr([...gn])},onCalendarChange:(Mt,fn,$e)=>{if(fn!=null&&fn[0]&&!fn[1]){const Ft=Xe()(fn[0]).add(7,"days");gn[cn].publish_time=fn[0],gn[cn].end_time=Ft,hr([...gn])}}})),!$t&&Ge.createElement("div",{style:{display:"flex",width:"50px"}},((pt=Nt==null?void 0:Nt.group_id)==null?void 0:pt.length)>1&&Ge.createElement(me.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ge.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Ot(Nt,cn)})),gn.length<((At=Ke==null?void 0:Ke.group_settings)==null?void 0:At.length)&&Ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Mt;if((0,ot.Rm)()&&!((Mt=Xt.AssistantObject.practice)!=null&&Mt.can_publish)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}hr(gn.concat({}))}}),((Nt==null?void 0:Nt.publish_time)&&Xe()()<Xe()(Nt==null?void 0:Nt.publish_time)||!(Nt!=null&&Nt.publish_time))&&cn!=0&&Ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Mt=(0,nt.cloneDeep)(Er);Mt.forEach((fn,$e)=>{fn.group_name&&(fn.group_name=fn.group_name.filter(Ft=>{var on;return!((on=gn[cn].group_name)!=null&&on.includes(Ft))}))}),gn=gn.filter((fn,$e)=>cn!==$e),yt(Mt),hr(gn.slice()),setTimeout(()=>hr(gn.slice()),10)}}))))}))),Ge.createElement(ke.Z,null,Ge.createElement(ye.Z,null,Ge.createElement("div",{className:Ut.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ge.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),Ge.createElement(ye.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ge.createElement(Le.default,{checked:It.allow_late,disabled:$t||oi,onChange:Nt=>{var cn;if((0,ot.Rm)()&&!((cn=Xt.AssistantObject.practice)!=null&&cn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nt.target.checked&&ve.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ge.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ge.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Ge.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ge.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),It.allow_late=!It.allow_late,Er==""&&yt([{late_penalty:5}]),$n(Object.assign({},It))}},Ge.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(It==null?void 0:It.allow_late)&&Ge.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ge.createElement("div",{style:{display:"flex"}},Ge.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ge.createElement(Ee.ZP.Group,{style:{marginLeft:"20px"},disabled:$t||(Ke==null?void 0:Ke.anonymous_comment)||(Ke==null?void 0:Ke.allow_late),value:It.unified_late,onChange:Nt=>{var cn;if((0,ot.Rm)()&&!((cn=Xt.AssistantObject.practice)!=null&&cn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}It.unified_late=Nt.target.value,Er==""&&!Nt.target.value&&yt([{penalty_type:ht.Q.Percent,late_penalty:20}]),$n(pn({},It))}},(It==null?void 0:It.unified_setting)&&Ge.createElement(Ee.ZP,{value:!0,disabled:!(Ke!=null&&Ke.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((le=Ke==null?void 0:Ke.group_settings)==null?void 0:le.length)>0&&Ge.createElement(Ee.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),It!=null&&It.unified_late?Ge.createElement(Ge.Fragment,null,Ge.createElement(ke.Z,{align:"middle",style:{marginTop:"10px"}},Ge.createElement(ye.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ge.createElement(ye.Z,{className:"ml20"},Ge.createElement(ht.Z,{disabled:$t||ea,value:{type:It.penalty_type,inputValue:It.late_penalty},onChange:Nt=>{var cn;if((0,ot.Rm)()&&!((cn=Xt.AssistantObject.practice)!=null&&cn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$n(Kn(pn({},It),{late_penalty:Nt.inputValue,penalty_type:Nt.type}))}})),Ge.createElement(ye.Z,{flex:"1",className:"ml5"},Ge.createElement("span",{className:"c-grey-c ml10"},It.penalty_type===ht.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),Ge.createElement(ke.Z,{align:"middle",style:{marginTop:"15px"}},Ge.createElement(ye.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ge.createElement(ye.Z,{className:"ml20"},Ge.createElement(Oe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Xe()((0,ut.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:$t||ea,value:It.late_time?Xe()(It.late_time):"",disabledDate:Nt=>Ce(Nt,Ke==null?void 0:Ke.course_end_date),onChange:(Nt,cn)=>{var bn;if((0,ot.Rm)()&&!((bn=Xt.AssistantObject.practice)!=null&&bn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}It.late_time=cn,$n(Object.assign({},It))}})))):Er.map(function(Nt,cn){var bn;return Ge.createElement(ye.Z,{span:24,key:cn},Ge.createElement(ke.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ge.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",cn+1),Ge.createElement(Re.default,{disabled:$t||!((bn=Kt==null?void 0:Kt.homework_status)!=null&&bn.includes("\u672A\u53D1\u5E03"))&&Nt.id||(Ke==null?void 0:Ke.anonymous_comment),mode:"multiple",className:Ut.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Nt.group_name=="string"?[Nt.group_name]:Nt.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:rr=>{var Fn;if((0,ot.Rm)()&&!((Fn=Xt.AssistantObject.practice)!=null&&Fn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Er[cn].group_name=rr,Er[cn].group_id=Nt.group_id,yt(Er.slice())}},Ke.group_settings&&Ke.group_settings.map(function(rr){const Fn=Er.map(Xn=>Xn.group_name).flat(),ir=gn.map(Xn=>Xn.group_name).flat();if(It!=null&&It.unified_setting){if(!Fn.includes(rr.group_name))return Ge.createElement(Tt,{value:rr.group_name,key:rr.id},rr.group_name)}else if(ir.includes(rr.group_name)&&!Fn.includes(rr.group_name))return Ge.createElement(Tt,{value:rr.group_name,key:rr.id},rr.group_name)})),Ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ge.createElement(ht.Z,{disabled:$t||Di(Nt.id),value:{type:Nt.penalty_type,inputValue:Nt.late_penalty},onChange:rr=>{var Fn;if((0,ot.Rm)()&&!((Fn=Xt.AssistantObject.practice)!=null&&Fn.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Er[cn].late_penalty=rr.inputValue,Er[cn].penalty_type=rr.type,yt([...Er])}}),Ge.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ge.createElement(Oe.default,{size:"large",disabled:$t||Di(Nt.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Xe()((0,ut.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:rr=>Ce(rr,Ke==null?void 0:Ke.course_end_date),format:"YYYY-MM-DD HH:mm",value:Nt!=null&&Nt.late_time?Xe()(Nt.late_time):void 0,onChange:(rr,Fn)=>{var ir;if((0,ot.Rm)()&&!((ir=Xt.AssistantObject.practice)!=null&&ir.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Er[cn].late_time=Fn,yt([...Er])}}),!$t&&Ge.createElement("div",{style:{display:"flex",width:"50px"}},Ge.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var rr;if((0,ot.Rm)()&&!((rr=Xt.AssistantObject.practice)!=null&&rr.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yt(Er.concat({penalty_type:ht.Q.Percent,late_penalty:20}))}}),cn>0&&!Nt.id&&Ge.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var rr;if((0,ot.Rm)()&&!((rr=Xt.AssistantObject.practice)!=null&&rr.can_late)){Ze.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Er=Er.filter((Fn,ir)=>cn!==ir),yt(Er.slice()),setTimeout(()=>yt(Er.slice()),10)}}))))})),!$t&&Ge.createElement(Ge.Fragment,null,Ge.createElement(mt.ZP,{type:"primary",size:"large",loading:kr,style:{width:"138px",marginTop:"30px"},onClick:()=>ri()},"\u4FDD\u5B58")),Ge.createElement(he.Z,{onConfirm:(Nt,cn)=>{gn.splice(Nt,0,...cn),gn.splice(Nt+cn.length,1);const bn=(0,ut.QE)([...gn]);hr([...bn])}}),Ge.createElement(je.Z,{resdata:Qn,type:"shixun",okloading:kr,oktext:(Qn==null?void 0:Qn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Nt=>tr(void 0,null,function*(){rn(!0);let cn=yield(0,dt.ZP)(`/api/courses/${De.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(De.categoryId)]}});rn(!1),(cn==null?void 0:cn.status)===0&&fi(_r)})}))};en.ZP=(0,at.connect)(({shixunHomeworks:ft,classroomList:Wt,loading:qt,user:Xt})=>({shixunHomeworks:ft,classroomList:Wt,loading:qt.effects,user:Xt}))(rt)},92882:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return nt}});var ae=ie(67294),Oe=ie(35973),Re=ie(34336),Ze=ie(14446),ve=ie(69677),Ee=ie(71230),ke=ie(15746),ye={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},me=ie(27484),Le=ie.n(me),mt=ie(28706),Ie=ie(26194),Xe=ie(67294);const{RangePicker:ot}=Re.default,dt=({dispatch:Me,classroomList:ut,onConfirm:Ut})=>{const[at,ht]=(0,ae.useState)([]),[we,he]=(0,ae.useState)([]),[je,Ve]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Ye;if(ut.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let We=ut.actionTabs.data;console.log("data",We);let St=(Ye=We==null?void 0:We.group_name)==null?void 0:Ye.map((lt,zt)=>{var Dt;return{group_id:We==null?void 0:We.group_id[zt],group_name:We==null?void 0:We.group_name[zt],is_admin:We==null?void 0:We.is_admin,end_time:We==null?void 0:We.end_time,publish_time:Array.isArray(We==null?void 0:We.publish_time)?(Dt=We==null?void 0:We.publish_time)==null?void 0:Dt[0]:We==null?void 0:We.publish_time}});St&&(ht([...St]),he([...St]))}},[ut.actionTabs]);const Ge=()=>{Me({type:"classroomList/setActionTabs",payload:{}}),Ve("")},qe=Ye=>{if(Ye){const We=we==null?void 0:we.filter(St=>{var lt,zt;return(zt=(lt=St==null?void 0:St.group_name)==null?void 0:lt.toLowerCase())==null?void 0:zt.includes(Ye==null?void 0:Ye.toLowerCase())});ht(We)}else ht(we)};return Xe.createElement(Ze.default,{width:980,title:Xe.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Xe.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Xe.createElement("span",{className:ye.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Xe.createElement(ve.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:je,onChange:Ye=>{Ve(Ye.target.value.trim()),qe(Ye.target.value.trim())}})),centered:!0,maskClosable:!1,open:ut.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ge(),onOk:()=>{var Ye;Ut((Ye=ut.actionTabs)==null?void 0:Ye.index,we),Ge()}},Xe.createElement("div",{className:ye.modal_con},Xe.createElement(Ee.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(at==null?void 0:at.length)>0?at.map(function(Ye,We){var St,lt;return Xe.createElement(ke.Z,{span:24,key:We},Xe.createElement(Ee.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:We==(at==null?void 0:at.length)-1?"0px":"10px"}},Xe.createElement("div",{className:ye.multiple_select,title:Ye.group_name},Ye.group_name),Xe.createElement("div",{className:"ml20"},Xe.createElement(ot,{size:"large",ranges:{\u6B64\u523B:[Ye.publish_time?Le()(Ye.publish_time):Le()(),Le()()]},allowClear:!1,disabled:(St=ut.actionTabs)==null?void 0:St.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:zt=>{var Dt;return(0,mt.Q8)(zt,(Dt=ut.actionTabs)==null?void 0:Dt.disabledDate)},disabledTime:zt=>(0,mt.d0)(zt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Le()((0,mt.U6)(),"HH:mm"),Le()((0,mt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Ye.publish_time&&[Le()(Ye.publish_time),Ye.end_time?Le()(Ye.end_time):void 0],onChange:(zt,Dt)=>{at[We].publish_time=Dt[0],at[We].end_time=Dt[1],ht([...at]),we.forEach(pn=>{pn.group_id===Ye.group_id&&(pn.publish_time=Dt[0],pn.end_time=Dt[1])}),he([...we])}})),(lt=ut.actionTabs)!=null&<.rangePickerDisabled?Xe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Xe.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{at.splice(We,1),ht([...at]),we.forEach((zt,Dt)=>{zt.group_id===Ye.group_id&&we.splice(Dt,1)}),he([...we])}})))}):Xe.createElement(Ie.Z,null))))};var nt=(0,Oe.connect)(({classroomList:Me})=>({classroomList:Me}))(dt)},74648:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ve}});var ae=ie(67294),Oe=ie(2453),Re=ie(59810),Ze=ie(14446),ve=ie(71230),Ee=ie(34336),ke={flex_box_center:"flex_box_center___cQ5Sl",flex_space_between:"flex_space_between___BU1Wl",flex_box_vertical_center:"flex_box_vertical_center___jBfz4",flex_box_center_end:"flex_box_center_end___mFYce",flex_box_column:"flex_box_column___jBfuW",wrap:"wrap___npJKs",label:"label___mSlLf"},ye=ie(11320),me=ie(35973),Le=ie(80150),mt=ie(33170),Ie=ie(28706),Xe=ie(91304),ot=ie(27484),dt=ie.n(ot),nt=ie(17998),Me=Object.defineProperty,ut=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,ht=(Ge,qe,Ye)=>qe in Ge?Me(Ge,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ge[qe]=Ye,we=(Ge,qe)=>{for(var Ye in qe||(qe={}))Ut.call(qe,Ye)&&ht(Ge,Ye,qe[Ye]);if(ut)for(var Ye of ut(qe))at.call(qe,Ye)&&ht(Ge,Ye,qe[Ye]);return Ge},he=(Ge,qe,Ye)=>new Promise((We,St)=>{var lt=pn=>{try{Dt(Ye.next(pn))}catch(Kn){St(Kn)}},zt=pn=>{try{Dt(Ye.throw(pn))}catch(Kn){St(Kn)}},Dt=pn=>pn.done?We(pn.value):Promise.resolve(pn.value).then(lt,zt);Dt((Ye=Ye.apply(Ge,qe)).next())}),Ve=({visible:Ge,data:qe,onClose:Ye=()=>{},onSuccess:We=()=>{}})=>{const[St,lt]=(0,ae.useState)([]),[zt,Dt]=(0,ae.useState)(""),[pn,Kn]=(0,ae.useState)(""),[tr,it]=(0,ae.useState)(""),[Ce,wt]=(0,ae.useState)(!1),An=(0,me.useParams)();(0,ae.useEffect)(()=>{var yn;Ge&&(it((qe==null?void 0:qe.description)||""),Dt((qe==null?void 0:qe.start_at)||""),Kn((qe==null?void 0:qe.end_at)||""),lt(((yn=qe==null?void 0:qe.attachments)==null?void 0:yn.map(Fe=>({name:Fe.name||Fe.title,status:"done",response:{id:Fe.id}})))||[]))},[Ge]);const Tt={multiple:!0,withCredentials:!0,fileList:St,beforeUpload:yn=>yn.size/1024/1024>150?(Oe.ZP.error(`\u300A${yn.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),Re.default.LIST_IGNORE):!0,action:`${ye.Z.API_SERVER}/api/attachments.json`,onChange(yn){lt((0,Ie.uD)(yn))}},rt=()=>he(void 0,null,function*(){if(!zt||!pn){Oe.ZP.warning(`\u8BF7\u9009\u62E9${Xt}`);return}wt(!0),console.log(St,"fileList");const yn=yield(0,mt.ZP)(`/api/graduations/${An.id}/graduation_stages/${qe.id}.json`,{method:"put",body:{start_at:zt,end_at:pn,description:tr,attachment_ids:St.map(Fe=>{var ce;return(ce=Fe==null?void 0:Fe.response)==null?void 0:ce.id})}});if((yn==null?void 0:yn.status)===0){Oe.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,me.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:An==null?void 0:An.id}}),We();return}wt(!1)});console.log(qe,"data");const ft=[{name:"\u5B66\u751F\u9009\u9898",key:"student_selection",timeName:"\u5B66\u751F\u9009\u9898\u8D77\u6B62\u65F6\u95F4",width:460,text:"\u5728\u6B64\u65F6\u95F4\u5185\uFF0C\u5B66\u751F\u53EF\u81EA\u52A9\u64CD\u4F5C\u9009\u9898\u548C\u66F4\u6539\u9009\u9898"},{name:"\u4EFB\u52A1\u4E66",key:"tasks",width:460,timeName:"\u4EFB\u52A1\u4E66\u8D77\u6B62\u65F6\u95F4",text:""},{name:"\u5F00\u9898\u62A5\u544A",key:"opening_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F00\u9898\u62A5\u544A\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u4E2D\u671F\u68C0\u67E5",key:"midterm_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u4E2D\u671F\u68C0\u67E5\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u8BBA\u6587",key:"thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u8BBA\u6587\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u7B54\u8FA9",key:"final_defense",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u7B54\u8FA9\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u8BBA\u6587\u5B9A\u7A3F",key:"final_thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u8BBA\u6587\u5B9A\u7A3F\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u5F52\u6863",key:"archives",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F52\u6863\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"}],Wt=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],qt=St.some(yn=>!(yn!=null&&yn.response)),{timeName:Xt,text:Ht,width:un,key:kn}=(ft==null?void 0:ft.find(yn=>yn.key===(qe==null?void 0:qe.clazz)))||{};return ae.createElement(Ze.default,{centered:!0,destroyOnClose:!0,confirmLoading:Ce,okButtonProps:{disabled:qt},onCancel:Ye,onOk:rt,open:Ge,title:`${qe.name}\u8BBE\u7F6E`,width:un,afterClose:()=>{lt([]),Dt(""),it(""),Kn(""),wt(!1)},okText:"\u4FDD\u5B58\u8BBE\u7F6E",cancelText:"\u53D6\u6D88"},ae.createElement("div",{className:ke.wrap},ae.createElement("div",{className:ke.label},ae.createElement("span",null,"*"),Xt),ae.createElement(ve.Z,{align:"middle",className:Wt.includes(kn)?"mb20":""},ae.createElement(Ee.default,{format:"YYYY-MM-DD HH:mm",value:zt?dt()(zt):"",disabledDate:yn=>(0,nt.Q8)(yn,"",qe==null?void 0:qe.disabled_time),disabledTime:yn=>(0,nt.d0)(yn,qe==null?void 0:qe.disabled_time),showTime:{format:"HH:mm"},onChange:(yn,Fe)=>{Dt(Fe)}}),ae.createElement("span",{className:"ml10 mr10"},"\u81F3"),ae.createElement(Ee.default,{format:"YYYY-MM-DD HH:mm",value:pn?dt()(pn):"",disabledDate:yn=>(0,nt.Q8)(yn,"",qe==null?void 0:qe.disabled_time),disabledTime:yn=>(0,nt.d0)(yn,qe==null?void 0:qe.disabled_time),showTime:{format:"HH:mm"},onChange:(yn,Fe)=>{Kn(Fe)}}),ae.createElement("span",{className:`${kn==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},Ht)),Wt.includes(kn)&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:ke.label},"\u9636\u6BB5\u63CF\u8FF0"),ae.createElement(Xe.Z,{height:140,defaultValue:tr,onChange:yn=>{it(yn)}}),ae.createElement(Re.default,we({},Tt),ae.createElement(ve.Z,{align:"middle",className:"mt10"},ae.createElement(Le.op,{style:{borderRadius:2}},ae.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),ae.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:yn=>{yn.stopPropagation()}},"\u4E0A\u4F20\u6B64\u9636\u6BB5\u7684\u6587\u6863\u6A21\u7248\u3001\u6279\u9605\u8981\u6C42\u7B49\u6587\u6863\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M"))))))}},78207:function(mn,en,ie){"use strict";ie.d(en,{rX:function(){return ht},pW:function(){return we},gy:function(){return he},xY:function(){return at},O5:function(){return Ut},tJ:function(){return ot},o1:function(){return dt},Rd:function(){return ut}});var ae=ie(35973),Oe=ie(14446),Re=ie(96074),Ze=ie(2453),ve=ie(52262),Ee=ie(28706),ke=ie(55304),ye=ie(25510),me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6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2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Le=ie.p+"static/newqrcode.a8740efb.png",mt=ie(32637),Ie=ie(67294),Xe=(je,Ve,Ge)=>new Promise((qe,Ye)=>{var We=zt=>{try{lt(Ge.next(zt))}catch(Dt){Ye(Dt)}},St=zt=>{try{lt(Ge.throw(zt))}catch(Dt){Ye(Dt)}},lt=zt=>zt.done?qe(zt.value):Promise.resolve(zt.value).then(We,St);lt((Ge=Ge.apply(je,Ve)).next())});const ot=(je,Ve=!1)=>!!(dt(je)&&nt(Ve)),dt=je=>(0,ve.bg)()?!0:(je({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),nt=(je=!1)=>{var Ve;const{user:Ge}=(0,ae.getDvaApp)()._store.getState();return(Ve=Ge.userInfo)!=null&&Ve.profile_completed?!0:(Oe.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ee.xg)("/account/profile/edit"),Me()}}),!1)},Me=()=>{Oe.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},ut=()=>{Oe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ie.createElement("div",{style:{textAlign:"center"}},Ie.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Ie.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:mt}),Ie.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Ut=()=>{var je;const{user:Ve}=(0,ae.getDvaApp)()._store.getState();return(je=Ve.userInfo)!=null&&je.professional_certification?!0:(Oe.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ie.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ee.xg)("/account/certification")}}),!1)},at=()=>(0,ve.V9)()?!0:(Oe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ie.createElement("div",{className:"tc",style:{marginLeft:-38}},Ie.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ie.createElement("img",{src:Le,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ht=(je,Ve)=>je?!0:(Oe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ie.createElement("div",null,Ie.createElement("p",null,Ve||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Ie.createElement("div",{style:{marginLeft:"110px"}},Ie.createElement("img",{src:me,width:200}),Ie.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ee.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),we=je=>{Oe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ie.createElement("div",null,Ie.createElement("div",null,Ie.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Ie.createElement(Re.Z,null),Ie.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ie.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Ie.createElement("a",null,je),"\u5929\u3002"),Ie.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ie.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Ie.createElement("div",{style:{textAlign:"center",marginTop:30}},Ie.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ye,alt:"\u4E8C\u7EF4\u7801",width:160})))})},he=(je,Ve="")=>{const{shixunsDetail:{detail:Ge}}=(0,ae.getDvaApp)()._store.getState();if((Ge==null?void 0:Ge.public)===2||(Ge==null?void 0:Ge.public)===1||(Ge==null?void 0:Ge.shixun_status)===3){let qe="";return(Ge==null?void 0:Ge.public)===2&&(qe="\u5DF2\u516C\u5F00"),(Ge==null?void 0:Ge.public)===1&&(qe="\u5F85\u5BA1\u6838"),(Ge==null?void 0:Ge.shixun_status)===3&&(qe="\u5DF2\u5173\u95ED"),Oe.default.info({centered:!0,icon:Ie.createElement(ke.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ie.createElement("div",{className:"tc",style:{marginLeft:-38}},Ie.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ie.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",qe,"\uFF0C",Ve,"\u3002"),Ie.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ie.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:ye,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ge==null?void 0:Ge.shixun_status)===2?(Oe.default.confirm({centered:!0,icon:Ie.createElement(ke.Z,null),title:"\u63D0\u793A",content:Ie.createElement("div",null,Ie.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ve,"\u3002"),Ie.createElement("br",null),Ie.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Oe.default.confirm({width:440,centered:!0,icon:Ie.createElement(ke.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Xe(void 0,null,function*(){(yield je({type:"shixunsDetail/cancelRelease",payload:{id:Ge==null?void 0:Ge.identifier}})).status!==401&&(Ze.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),je({type:"shixunsDetail/getShixunsDetail",payload:{id:Ge==null?void 0:Ge.identifier}}),je({type:"practiceSetting/getCommonData",payload:{id:Ge==null?void 0:Ge.identifier}}))})})}}),!0):!1}},57838:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(){const[,Re]=ae.useReducer(Ze=>Ze+1,0);return Re}},9708:function(mn,en,ie){"use strict";ie.d(en,{F:function(){return ve},Z:function(){return Ze}});var ae=ie(94184),Oe=ie.n(ae);const Re=null;function Ze(Ee,ke,ye){return Oe()({[`${Ee}-status-success`]:ke==="success",[`${Ee}-status-warning`]:ke==="warning",[`${Ee}-status-error`]:ke==="error",[`${Ee}-status-validating`]:ke==="validating",[`${Ee}-has-feedback`]:ye})}const ve=(Ee,ke)=>ke||Ee},84567:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return je}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(95860),Ze=ie(67294),ve=ie(53124),Ee=ie(98866),ke=ie(65223),me=Ze.createContext(null),Le=ie(63185),mt=ie(45353),Ie=ie(92429),Xe=function(Ve,Ge){var qe={};for(var Ye in Ve)Object.prototype.hasOwnProperty.call(Ve,Ye)&&Ge.indexOf(Ye)<0&&(qe[Ye]=Ve[Ye]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ye=Object.getOwnPropertySymbols(Ve);We<Ye.length;We++)Ge.indexOf(Ye[We])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ye[We])&&(qe[Ye[We]]=Ve[Ye[We]]);return qe};const ot=(Ve,Ge)=>{var qe;const{prefixCls:Ye,className:We,rootClassName:St,children:lt,indeterminate:zt=!1,style:Dt,onMouseEnter:pn,onMouseLeave:Kn,skipGroup:tr=!1,disabled:it}=Ve,Ce=Xe(Ve,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:wt,direction:An,checkbox:Tt}=Ze.useContext(ve.E_),rt=Ze.useContext(me),{isFormItemInput:ft}=Ze.useContext(ke.aM),Wt=Ze.useContext(Ee.Z),qt=(qe=(rt==null?void 0:rt.disabled)||it)!==null&&qe!==void 0?qe:Wt,Xt=Ze.useRef(Ce.value);Ze.useEffect(()=>{rt==null||rt.registerValue(Ce.value)},[]),Ze.useEffect(()=>{if(!tr)return Ce.value!==Xt.current&&(rt==null||rt.cancelValue(Xt.current),rt==null||rt.registerValue(Ce.value),Xt.current=Ce.value),()=>rt==null?void 0:rt.cancelValue(Ce.value)},[Ce.value]);const Ht=wt("checkbox",Ye),[un,kn]=(0,Le.ZP)(Ht),yn=Object.assign({},Ce);rt&&!tr&&(yn.onChange=function(){Ce.onChange&&Ce.onChange.apply(Ce,arguments),rt.toggleOption&&rt.toggleOption({label:lt,value:Ce.value})},yn.name=rt.name,yn.checked=rt.value.includes(Ce.value));const Fe=Oe()(`${Ht}-wrapper`,{[`${Ht}-rtl`]:An==="rtl",[`${Ht}-wrapper-checked`]:yn.checked,[`${Ht}-wrapper-disabled`]:qt,[`${Ht}-wrapper-in-form-item`]:ft},Tt==null?void 0:Tt.className,We,St,kn),ce=Oe()({[`${Ht}-indeterminate`]:zt},Ie.A,kn),ue=zt?"mixed":void 0;return un(Ze.createElement(mt.Z,{component:"Checkbox",disabled:qt},Ze.createElement("label",{className:Fe,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Dt),onMouseEnter:pn,onMouseLeave:Kn},Ze.createElement(Re.Z,Object.assign({"aria-checked":ue},yn,{prefixCls:Ht,className:ce,disabled:qt,ref:Ge})),lt!==void 0&&Ze.createElement("span",null,lt))))};var nt=Ze.forwardRef(ot),Me=ie(74902),ut=ie(10366),Ut=function(Ve,Ge){var qe={};for(var Ye in Ve)Object.prototype.hasOwnProperty.call(Ve,Ye)&&Ge.indexOf(Ye)<0&&(qe[Ye]=Ve[Ye]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ye=Object.getOwnPropertySymbols(Ve);We<Ye.length;We++)Ge.indexOf(Ye[We])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Ye[We])&&(qe[Ye[We]]=Ve[Ye[We]]);return qe};const at=(Ve,Ge)=>{const{defaultValue:qe,children:Ye,options:We=[],prefixCls:St,className:lt,rootClassName:zt,style:Dt,onChange:pn}=Ve,Kn=Ut(Ve,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:tr,direction:it}=Ze.useContext(ve.E_),[Ce,wt]=Ze.useState(Kn.value||qe||[]),[An,Tt]=Ze.useState([]);Ze.useEffect(()=>{"value"in Kn&&wt(Kn.value||[])},[Kn.value]);const rt=Ze.useMemo(()=>We.map(pe=>typeof pe=="string"||typeof pe=="number"?{label:pe,value:pe}:pe),[We]),ft=pe=>{Tt(de=>de.filter(le=>le!==pe))},Wt=pe=>{Tt(de=>[].concat((0,Me.Z)(de),[pe]))},qt=pe=>{const de=Ce.indexOf(pe.value),le=(0,Me.Z)(Ce);de===-1?le.push(pe.value):le.splice(de,1),"value"in Kn||wt(le),pn==null||pn(le.filter(De=>An.includes(De)).sort((De,Ke)=>{const Et=rt.findIndex(Kt=>Kt.value===De),Yt=rt.findIndex(Kt=>Kt.value===Ke);return Et-Yt}))},Xt=tr("checkbox",St),Ht=`${Xt}-group`,[un,kn]=(0,Le.ZP)(Xt),yn=(0,ut.Z)(Kn,["value","disabled"]),Fe=We.length?rt.map(pe=>Ze.createElement(nt,{prefixCls:Xt,key:pe.value.toString(),disabled:"disabled"in pe?pe.disabled:Kn.disabled,value:pe.value,checked:Ce.includes(pe.value),onChange:pe.onChange,className:`${Ht}-item`,style:pe.style,title:pe.title},pe.label)):Ye,ce={toggleOption:qt,value:Ce,disabled:Kn.disabled,name:Kn.name,registerValue:Wt,cancelValue:ft},ue=Oe()(Ht,{[`${Ht}-rtl`]:it==="rtl"},lt,zt,kn);return un(Ze.createElement("div",Object.assign({className:ue,style:Dt},yn,{ref:Ge}),Ze.createElement(me.Provider,{value:ce},Fe)))},ht=Ze.forwardRef(at);var we=Ze.memo(ht);const he=nt;he.Group=we,he.__ANT_CHECKBOX=!0;var je=he},63185:function(mn,en,ie){"use strict";ie.d(en,{C2:function(){return ve}});var ae=ie(14747),Oe=ie(45503),Re=ie(67968);const Ze=Ee=>{const{checkboxCls:ke}=Ee,ye=`${ke}-wrapper`;return[{[`${ke}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(Ee)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ee.marginXS,[`> ${Ee.antCls}-row`]:{flex:1}}),[ye]:Object.assign(Object.assign({},(0,ae.Wf)(Ee)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ye}`]:{marginInlineStart:0},[`&${ye}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ke]:Object.assign(Object.assign({},(0,ae.Wf)(Ee)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ee.borderRadiusSM,alignSelf:"center",[`${ke}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ke}-inner`]:Object.assign({},(0,ae.oN)(Ee))},[`${ke}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ee.checkboxSize,height:Ee.checkboxSize,direction:"ltr",backgroundColor:Ee.colorBgContainer,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ee.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ee.checkboxSize/14*5,height:Ee.checkboxSize/14*8,border:`${Ee.lineWidthBold}px solid ${Ee.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ee.motionDurationFast} ${Ee.motionEaseInBack}, opacity ${Ee.motionDurationFast}`}},"& + span":{paddingInlineStart:Ee.paddingXS,paddingInlineEnd:Ee.paddingXS}})},{[`
|
|
|
${ye}:not(${ye}-disabled),
|
|
|
${ke}:not(${ke}-disabled)
|
|
|
`]:{[`&:hover ${ke}-inner`]:{borderColor:Ee.colorPrimary}},[`${ye}:not(${ye}-disabled)`]:{[`&:hover ${ke}-checked:not(${ke}-disabled) ${ke}-inner`]:{backgroundColor:Ee.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ke}-checked:not(${ke}-disabled):after`]:{borderColor:Ee.colorPrimaryHover}}},{[`${ke}-checked`]:{[`${ke}-inner`]:{backgroundColor:Ee.colorPrimary,borderColor:Ee.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ee.motionDurationMid} ${Ee.motionEaseOutBack} ${Ee.motionDurationFast}`}}},[`
|
|
|
${ye}-checked:not(${ye}-disabled),
|
|
|
${ke}-checked:not(${ke}-disabled)
|
|
|
`]:{[`&:hover ${ke}-inner`]:{backgroundColor:Ee.colorPrimaryHover,borderColor:"transparent"}}},{[ke]:{"&-indeterminate":{[`${ke}-inner`]:{backgroundColor:Ee.colorBgContainer,borderColor:Ee.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ee.fontSizeLG/2,height:Ee.fontSizeLG/2,backgroundColor:Ee.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ye}-disabled`]:{cursor:"not-allowed"},[`${ke}-disabled`]:{[`&, ${ke}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ke}-inner`]:{background:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,"&:after":{borderColor:Ee.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ee.colorTextDisabled},[`&${ke}-indeterminate ${ke}-inner::after`]:{background:Ee.colorTextDisabled}}}]};function ve(Ee,ke){const ye=(0,Oe.TS)(ke,{checkboxCls:`.${Ee}`,checkboxSize:ke.controlInteractiveSize});return[Ze(ye)]}en.ZP=(0,Re.Z)("Checkbox",(Ee,ke)=>{let{prefixCls:ye}=ke;return[ve(ye,Ee)]})},88258:function(mn,en,ie){"use strict";var ae=ie(67294),Oe=ie(53124),Re=ie(32983);const Ze=ve=>{const{componentName:Ee}=ve,{getPrefixCls:ke}=(0,ae.useContext)(Oe.E_),ye=ke("empty");switch(Ee){case"Table":case"List":return ae.createElement(Re.Z,{image:Re.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ae.createElement(Re.Z,{image:Re.Z.PRESENTED_IMAGE_SIMPLE,className:`${ye}-small`});default:return ae.createElement(Re.Z,null)}};en.Z=Ze},34336:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return ja}});var ae=ie(97909),Oe=ie.n(ae),Re=ie(68291),Ze=ie(33088),ve=ie.n(Ze),Ee=ie(26850),ke=ie.n(Ee),ye=ie(23082),me=ie.n(ye),Le=ie(99873),mt=ie.n(Le),Ie=ie(86625),Xe=ie.n(Ie),ot=ie(40618),dt=ie.n(ot);Oe().extend(dt()),Oe().extend(Xe()),Oe().extend(ve()),Oe().extend(ke()),Oe().extend(me()),Oe().extend(mt()),Oe().extend(function(be,Be){var Pe=Be.prototype,gt=Pe.format;Pe.format=function(vn){var ln=(vn||"").replace("Wo","wo");return gt.bind(this)(ln)}});var nt={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Me=function(Be){var Pe=nt[Be];return Pe||Be.split("_")[0]},ut=function(){(0,Re.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Ut={getNow:function(){return Oe()()},getFixedDate:function(Be){return Oe()(Be,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Be){return Be.endOf("month")},getWeekDay:function(Be){var Pe=Be.locale("en");return Pe.weekday()+Pe.localeData().firstDayOfWeek()},getYear:function(Be){return Be.year()},getMonth:function(Be){return Be.month()},getDate:function(Be){return Be.date()},getHour:function(Be){return Be.hour()},getMinute:function(Be){return Be.minute()},getSecond:function(Be){return Be.second()},addYear:function(Be,Pe){return Be.add(Pe,"year")},addMonth:function(Be,Pe){return Be.add(Pe,"month")},addDate:function(Be,Pe){return Be.add(Pe,"day")},setYear:function(Be,Pe){return Be.year(Pe)},setMonth:function(Be,Pe){return Be.month(Pe)},setDate:function(Be,Pe){return Be.date(Pe)},setHour:function(Be,Pe){return Be.hour(Pe)},setMinute:function(Be,Pe){return Be.minute(Pe)},setSecond:function(Be,Pe){return Be.second(Pe)},isAfter:function(Be,Pe){return Be.isAfter(Pe)},isValidate:function(Be){return Be.isValid()},locale:{getWeekFirstDay:function(Be){return Oe()().locale(Me(Be)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Be,Pe){return Pe.locale(Me(Be)).weekday(0)},getWeek:function(Be,Pe){return Pe.locale(Me(Be)).week()},getShortWeekDays:function(Be){return Oe()().locale(Me(Be)).localeData().weekdaysMin()},getShortMonths:function(Be){return Oe()().locale(Me(Be)).localeData().monthsShort()},format:function(Be,Pe,gt){return Pe.locale(Me(Be)).format(gt)},parse:function(Be,Pe,gt){for(var vt=Me(Be),vn=0;vn<gt.length;vn+=1){var ln=gt[vn],Un=Pe;if(ln.includes("wo")||ln.includes("Wo")){for(var Cn=Un.split("-")[0],hn=Un.split("-")[1],nr=Oe()(Cn,"YYYY").startOf("year").locale(vt),Dn=0;Dn<=52;Dn+=1){var Pn=nr.add(Dn,"week");if(Pn.format("Wo")===hn)return Pn}return ut(),null}var vr=Oe()(Un,ln,!0).locale(vt);if(vr.isValid())return vr}return Pe&&ut(),null}}},at=Ut,ht=ie(8745),we=ie(87462),he=ie(67294),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Ve=je,Ge=ie(74643),qe=function(Be,Pe){return he.createElement(Ge.Z,(0,we.Z)({},Be,{ref:Pe,icon:Ve}))},Ye=he.forwardRef(qe),We={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},St=We,lt=function(Be,Pe){return he.createElement(Ge.Z,(0,we.Z)({},Be,{ref:Pe,icon:St}))},zt=he.forwardRef(lt),Dt=ie(16646),pn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Kn=pn,tr=function(Be,Pe){return he.createElement(Ge.Z,(0,we.Z)({},Be,{ref:Pe,icon:Kn}))},it=he.forwardRef(tr),Ce=ie(94184),wt=ie.n(Ce),An=ie(15671),Tt=ie(43144),rt=ie(97326),ft=ie(60136),Wt=ie(51630),qt=ie(4942),Xt=ie(1413),Ht=ie(97685),un=ie(5663),kn=ie(1337),yn=ie(92739),Fe=ie(7699),ce=10,ue=ce*10,pe=7;function de(be,Be){if(!be&&!Be)return!0;if(!be||!Be)return!1}function le(be,Be,Pe){var gt=de(Be,Pe);if(typeof gt=="boolean")return gt;var vt=Math.floor(be.getYear(Be)/10),vn=Math.floor(be.getYear(Pe)/10);return vt===vn}function De(be,Be,Pe){var gt=de(Be,Pe);return typeof gt=="boolean"?gt:be.getYear(Be)===be.getYear(Pe)}function Ke(be,Be){var Pe=Math.floor(be.getMonth(Be)/3);return Pe+1}function Et(be,Be,Pe){var gt=de(Be,Pe);return typeof gt=="boolean"?gt:De(be,Be,Pe)&&Ke(be,Be)===Ke(be,Pe)}function Yt(be,Be,Pe){var gt=de(Be,Pe);return typeof gt=="boolean"?gt:De(be,Be,Pe)&&be.getMonth(Be)===be.getMonth(Pe)}function Kt(be,Be,Pe){var gt=de(Be,Pe);return typeof gt=="boolean"?gt:be.getYear(Be)===be.getYear(Pe)&&be.getMonth(Be)===be.getMonth(Pe)&&be.getDate(Be)===be.getDate(Pe)}function nn(be,Be,Pe){var gt=de(Be,Pe);return typeof gt=="boolean"?gt:be.getHour(Be)===be.getHour(Pe)&&be.getMinute(Be)===be.getMinute(Pe)&&be.getSecond(Be)===be.getSecond(Pe)}function $t(be,Be,Pe,gt){var vt=de(Pe,gt);return typeof vt=="boolean"?vt:De(be,Pe,gt)&&be.locale.getWeek(Be,Pe)===be.locale.getWeek(Be,gt)}function gr(be,Be,Pe){return Kt(be,Be,Pe)&&nn(be,Be,Pe)}function kr(be,Be,Pe,gt){return!Be||!Pe||!gt?!1:!Kt(be,Be,gt)&&!Kt(be,Pe,gt)&&be.isAfter(gt,Be)&&be.isAfter(Pe,gt)}function rn(be,Be,Pe){var gt=Be.locale.getWeekFirstDay(be),vt=Be.setDate(Pe,1),vn=Be.getWeekDay(vt),ln=Be.addDate(vt,gt-vn);return Be.getMonth(ln)===Be.getMonth(Pe)&&Be.getDate(ln)>1&&(ln=Be.addDate(ln,-7)),ln}function gn(be,Be,Pe){var gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Be){case"year":return Pe.addYear(be,gt*10);case"quarter":case"month":return Pe.addYear(be,gt);default:return Pe.addMonth(be,gt)}}function hr(be,Be){var Pe=Be.generateConfig,gt=Be.locale,vt=Be.format;return typeof vt=="function"?vt(be):Pe.locale.format(gt.locale,be,vt)}function Er(be,Be){var Pe=Be.generateConfig,gt=Be.locale,vt=Be.formatList;return!be||typeof vt[0]=="function"?null:Pe.locale.parse(gt.locale,be,vt)}function yt(be){var Be=be.cellDate,Pe=be.mode,gt=be.disabledDate,vt=be.generateConfig;if(!gt)return!1;var vn=function(br,Rn,fr){for(var Rr=Rn;Rr<=fr;){var Ur=void 0;switch(br){case"date":{if(Ur=vt.setDate(Be,Rr),!gt(Ur))return!1;break}case"month":{if(Ur=vt.setMonth(Be,Rr),!yt({cellDate:Ur,mode:"month",generateConfig:vt,disabledDate:gt}))return!1;break}case"year":{if(Ur=vt.setYear(Be,Rr),!yt({cellDate:Ur,mode:"year",generateConfig:vt,disabledDate:gt}))return!1;break}}Rr+=1}return!0};switch(Pe){case"date":case"week":return gt(Be);case"month":{var ln=1,Un=vt.getDate(vt.getEndDate(Be));return vn("date",ln,Un)}case"quarter":{var Cn=Math.floor(vt.getMonth(Be)/3)*3,hn=Cn+2;return vn("month",Cn,hn)}case"year":return vn("month",0,11);case"decade":{var nr=vt.getYear(Be),Dn=Math.floor(nr/ce)*ce,Pn=Dn+ce-1;return vn("year",Dn,Pn)}}}function It(be,Be){var Pe=Be.formatList,gt=Be.generateConfig,vt=Be.locale;return(0,yn.Z)(function(){if(!be)return[[""],""];for(var vn="",ln=[],Un=0;Un<Pe.length;Un+=1){var Cn=Pe[Un],hn=hr(be,{generateConfig:gt,locale:vt,format:Cn});ln.push(hn),Un===0&&(vn=hn)}return[ln,vn]},[be,Pe,vt],function(vn,ln){return!gr(gt,vn[0],ln[0])||!(0,Fe.Z)(vn[1],ln[1],!0)||!(0,Fe.Z)(vn[2],ln[2],!0)})}function $n(be,Be){var Pe=Be.formatList,gt=Be.generateConfig,vt=Be.locale,vn=(0,he.useState)(null),ln=(0,Ht.Z)(vn,2),Un=ln[0],Cn=ln[1],hn=(0,he.useRef)(null);function nr(fr){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(hn.current),Rr){Cn(fr);return}hn.current=requestAnimationFrame(function(){Cn(fr)})}var Dn=It(Un,{formatList:Pe,generateConfig:gt,locale:vt}),Pn=(0,Ht.Z)(Dn,2),vr=Pn[1];function br(fr){nr(fr)}function Rn(){var fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;nr(null,fr)}return(0,he.useEffect)(function(){Rn(!0)},[be]),(0,he.useEffect)(function(){return function(){return cancelAnimationFrame(hn.current)}},[]),[vr,br,Rn]}var Qn=ie(92389),wr=ie(96523),_r=ie(74902),ei=ie(48130),Xr=new Map;function ri(be,Be){var Pe;function gt(){(0,ei.Z)(be)?Be():Pe=(0,wr.Z)(function(){gt()})}return gt(),function(){wr.Z.cancel(Pe)}}function fi(be,Be,Pe){if(Xr.get(be)&&cancelAnimationFrame(Xr.get(be)),Pe<=0){Xr.set(be,requestAnimationFrame(function(){be.scrollTop=Be}));return}var gt=Be-be.scrollTop,vt=gt/Pe*10;Xr.set(be,requestAnimationFrame(function(){be.scrollTop+=vt,be.scrollTop!==Be&&fi(be,Be,Pe-10)}))}function Cr(be,Be){var Pe=Be.onLeftRight,gt=Be.onCtrlLeftRight,vt=Be.onUpDown,vn=Be.onPageUpDown,ln=Be.onEnter,Un=be.which,Cn=be.ctrlKey,hn=be.metaKey;switch(Un){case Qn.Z.LEFT:if(Cn||hn){if(gt)return gt(-1),!0}else if(Pe)return Pe(-1),!0;break;case Qn.Z.RIGHT:if(Cn||hn){if(gt)return gt(1),!0}else if(Pe)return Pe(1),!0;break;case Qn.Z.UP:if(vt)return vt(-1),!0;break;case Qn.Z.DOWN:if(vt)return vt(1),!0;break;case Qn.Z.PAGE_UP:if(vn)return vn(-1),!0;break;case Qn.Z.PAGE_DOWN:if(vn)return vn(1),!0;break;case Qn.Z.ENTER:if(ln)return ln(),!0;break}return!1}function yi(be,Be,Pe,gt){var vt=be;if(!vt)switch(Be){case"time":vt=gt?"hh:mm:ss a":"HH:mm:ss";break;case"week":vt="gggg-wo";break;case"month":vt="YYYY-MM";break;case"quarter":vt="YYYY-[Q]Q";break;case"year":vt="YYYY";break;default:vt=Pe?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return vt}function Gi(be,Be,Pe){var gt=be==="time"?8:10,vt=typeof Be=="function"?Be(Pe.getNow()).length:Be.length;return Math.max(gt,vt)+2}var oi=null,ea=new Set;function Di(be){return!oi&&typeof window!="undefined"&&window.addEventListener&&(oi=function(Pe){(0,_r.Z)(ea).forEach(function(gt){gt(Pe)})},window.addEventListener("mousedown",oi)),ea.add(be),function(){ea.delete(be),ea.size===0&&(window.removeEventListener("mousedown",oi),oi=null)}}function Ot(be){var Be=be.target;if(be.composed&&Be.shadowRoot){var Pe;return((Pe=be.composedPath)===null||Pe===void 0?void 0:Pe.call(be)[0])||Be}return Be}var Nt=function(Be){return Be==="month"||Be==="date"?"year":Be},cn=function(Be){return Be==="date"?"month":Be},bn=function(Be){return Be==="month"||Be==="date"?"quarter":Be},rr=function(Be){return Be==="date"?"week":Be},Fn={year:Nt,month:cn,quarter:bn,week:rr,time:null,date:null};function ir(be,Be){return be.some(function(Pe){return Pe&&Pe.contains(Be)})}function Xn(be){var Be=be.open,Pe=be.value,gt=be.isClickOutside,vt=be.triggerOpen,vn=be.forwardKeyDown,ln=be.onKeyDown,Un=be.blurToCancel,Cn=be.onSubmit,hn=be.onCancel,nr=be.onFocus,Dn=be.onBlur,Pn=be.changeOnBlur,vr=(0,he.useState)(!1),br=(0,Ht.Z)(vr,2),Rn=br[0],fr=br[1],Rr=(0,he.useState)(!1),Ur=(0,Ht.Z)(Rr,2),ii=Ur[0],bi=Ur[1],Pi=(0,he.useRef)(!1),Si=(0,he.useRef)(!1),ui=(0,he.useRef)(!1),va={onMouseDown:function(){fr(!0),vt(!0)},onKeyDown:function(Ka){var Ya=function(){ui.current=!0};if(ln(Ka,Ya),!ui.current){switch(Ka.which){case Qn.Z.ENTER:{Be?Cn()!==!1&&fr(!0):vt(!0),Ka.preventDefault();return}case Qn.Z.TAB:{Rn&&Be&&!Ka.shiftKey?(fr(!1),Ka.preventDefault()):!Rn&&Be&&!vn(Ka)&&Ka.shiftKey&&(fr(!0),Ka.preventDefault());return}case Qn.Z.ESC:{fr(!0),hn();return}}!Be&&![Qn.Z.SHIFT].includes(Ka.which)?vt(!0):Rn||vn(Ka)}},onFocus:function(Ka){fr(!0),bi(!0),nr&&nr(Ka)},onBlur:function(Ka){if(Pi.current||!gt(document.activeElement)){Pi.current=!1;return}Un?setTimeout(function(){for(var Ya=document,La=Ya.activeElement;La&&La.shadowRoot;)La=La.shadowRoot.activeElement;gt(La)&&hn()},0):Be&&(vt(!1),Si.current&&Cn()),bi(!1),Dn==null||Dn(Ka)}};return(0,he.useEffect)(function(){Si.current=!1},[Be]),(0,he.useEffect)(function(){Si.current=!0},[Pe]),(0,he.useEffect)(function(){return Di(function(ca){var Ka=Ot(ca),Ya=gt(Ka);Be&&(Ya?!Pn&&(!ii||Ya)&&vt(!1):(Pi.current=!0,(0,wr.Z)(function(){Pi.current=!1})))})}),[va,{focused:ii,typing:Rn}]}function pt(be,Be){return he.useMemo(function(){return be||(Be?((0,Re.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Be).map(function(Pe){var gt=(0,Ht.Z)(Pe,2),vt=gt[0],vn=gt[1];return{label:vt,value:vn}})):[])},[be,Be])}var At=ie(14075);function Mt(be){var Be=be.valueTexts,Pe=be.onTextChange,gt=he.useState(""),vt=(0,Ht.Z)(gt,2),vn=vt[0],ln=vt[1],Un=he.useRef([]);Un.current=Be;function Cn(nr){ln(nr),Pe(nr)}function hn(){ln(Un.current[0])}return(0,At.Z)(function(){Be.every(function(nr){return nr!==vn})&&hn()},[Be.join("||")]),[vn,Cn,hn]}var fn=he.createContext({}),$e=fn,Ft=ie(71002);function on(be){var Be=be.cellRender,Pe=be.monthCellRender,gt=be.dateRender,vt=he.useMemo(function(){if(Be)return Be;if(!(!Pe&&!gt))return function(vn,ln){var Un=vn;return gt&&ln.type==="date"?gt(Un,ln.today):Pe&&ln.type==="month"?Pe(Un,ln.locale):ln.originNode}},[Be,Pe,gt]);return vt}function _t(be,Be){for(var Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",gt=String(be);gt.length<Be;)gt="".concat(Pe).concat(be);return gt}var En=function(){for(var Be=arguments.length,Pe=new Array(Be),gt=0;gt<Be;gt++)Pe[gt]=arguments[gt];return Pe};function Sn(be){return be==null?[]:Array.isArray(be)?be:[be]}function Bn(be,Be){return be?be[Be]:null}function Qr(be,Be,Pe){var gt=[Bn(be,0),Bn(be,1)];return gt[Pe]=typeof Be=="function"?Be(gt[Pe]):Be,!gt[0]&&!gt[1]?null:gt}function Lr(be){return typeof be=="function"?be():be}function Sr(be){var Be=be.cellPrefixCls,Pe=be.generateConfig,gt=be.rangedValue,vt=be.hoverRangedValue,vn=be.isInView,ln=be.isSameCell,Un=be.offsetCell,Cn=be.today,hn=be.value;function nr(Dn){var Pn,vr=Un(Dn,-1),br=Un(Dn,1),Rn=Bn(gt,0),fr=Bn(gt,1),Rr=Bn(vt,0),Ur=Bn(vt,1),ii=kr(Pe,Rr,Ur,Dn);function bi(Ka){return ln(Rn,Ka)}function Pi(Ka){return ln(fr,Ka)}var Si=ln(Rr,Dn),ui=ln(Ur,Dn),va=(ii||ui)&&(!vn(vr)||Pi(vr)),ca=(ii||Si)&&(!vn(br)||bi(br));return Pn={},(0,qt.Z)(Pn,"".concat(Be,"-in-view"),vn(Dn)),(0,qt.Z)(Pn,"".concat(Be,"-in-range"),kr(Pe,Rn,fr,Dn)),(0,qt.Z)(Pn,"".concat(Be,"-range-start"),bi(Dn)),(0,qt.Z)(Pn,"".concat(Be,"-range-end"),Pi(Dn)),(0,qt.Z)(Pn,"".concat(Be,"-range-start-single"),bi(Dn)&&!fr),(0,qt.Z)(Pn,"".concat(Be,"-range-end-single"),Pi(Dn)&&!Rn),(0,qt.Z)(Pn,"".concat(Be,"-range-start-near-hover"),bi(Dn)&&(ln(vr,Rr)||kr(Pe,Rr,Ur,vr))),(0,qt.Z)(Pn,"".concat(Be,"-range-end-near-hover"),Pi(Dn)&&(ln(br,Ur)||kr(Pe,Rr,Ur,br))),(0,qt.Z)(Pn,"".concat(Be,"-range-hover"),ii),(0,qt.Z)(Pn,"".concat(Be,"-range-hover-start"),Si),(0,qt.Z)(Pn,"".concat(Be,"-range-hover-end"),ui),(0,qt.Z)(Pn,"".concat(Be,"-range-hover-edge-start"),va),(0,qt.Z)(Pn,"".concat(Be,"-range-hover-edge-end"),ca),(0,qt.Z)(Pn,"".concat(Be,"-range-hover-edge-start-near-range"),va&&ln(vr,fr)),(0,qt.Z)(Pn,"".concat(Be,"-range-hover-edge-end-near-range"),ca&&ln(br,Rn)),(0,qt.Z)(Pn,"".concat(Be,"-today"),ln(Cn,Dn)),(0,qt.Z)(Pn,"".concat(Be,"-selected"),ln(hn,Dn)),Pn}return nr}var jr=he.createContext({}),zr=jr;function Rt(be,Be,Pe,gt,vt){var vn=be.setHour(Be,Pe);return vn=be.setMinute(vn,gt),vn=be.setSecond(vn,vt),vn}function kt(be,Be,Pe){if(!Pe)return Be;var gt=Be;return gt=be.setHour(gt,be.getHour(Pe)),gt=be.setMinute(gt,be.getMinute(Pe)),gt=be.setSecond(gt,be.getSecond(Pe)),gt}function jt(be,Be,Pe,gt,vt,vn){var ln=Math.floor(be/gt)*gt;if(ln<be)return[ln,60-vt,60-vn];var Un=Math.floor(Be/vt)*vt;if(Un<Be)return[ln,Un,60-vn];var Cn=Math.floor(Pe/vn)*vn;return[ln,Un,Cn]}function zn(be,Be){var Pe=be.getYear(Be),gt=be.getMonth(Be)+1,vt=be.getEndDate(be.getFixedDate("".concat(Pe,"-").concat(gt,"-01"))),vn=be.getDate(vt),ln=gt<10?"0".concat(gt):"".concat(gt);return"".concat(Pe,"-").concat(ln,"-").concat(vn)}function lr(be){for(var Be=be.prefixCls,Pe=be.disabledDate,gt=be.onSelect,vt=be.picker,vn=be.rowNum,ln=be.colNum,Un=be.prefixColumn,Cn=be.rowClassName,hn=be.baseDate,nr=be.getCellClassName,Dn=be.getCellText,Pn=be.getCellNode,vr=be.getCellDate,br=be.generateConfig,Rn=be.titleCell,fr=be.headerCells,Rr=he.useContext($e),Ur=Rr.onDateMouseEnter,ii=Rr.onDateMouseLeave,bi=Rr.mode,Pi="".concat(Be,"-cell"),Si=[],ui=0;ui<vn;ui+=1){for(var va=[],ca=void 0,Ka=function(){var oa,Ra=ui*ln+Ya,Fa=vr(hn,Ra),ya=yt({cellDate:Fa,mode:bi,disabledDate:Pe,generateConfig:br});Ya===0&&(ca=Fa,Un&&va.push(Un(ca)));var Ia=Rn&&Rn(Fa),za=he.createElement("div",{className:"".concat(Pi,"-inner")},Dn(Fa));va.push(he.createElement("td",{key:Ya,title:Ia,className:wt()(Pi,(0,Xt.Z)((oa={},(0,qt.Z)(oa,"".concat(Pi,"-disabled"),ya),(0,qt.Z)(oa,"".concat(Pi,"-start"),Dn(Fa)===1||vt==="year"&&Number(Ia)%10===0),(0,qt.Z)(oa,"".concat(Pi,"-end"),Ia===zn(br,Fa)||vt==="year"&&Number(Ia)%10===9),oa),nr(Fa))),onClick:function(){ya||gt(Fa)},onMouseEnter:function(){!ya&&Ur&&Ur(Fa)},onMouseLeave:function(){!ya&&ii&&ii(Fa)}},Pn?Pn(Fa,za):za))},Ya=0;Ya<ln;Ya+=1)Ka();Si.push(he.createElement("tr",{key:ui,className:Cn&&Cn(ca)},va))}return he.createElement("div",{className:"".concat(Be,"-body")},he.createElement("table",{className:"".concat(Be,"-content")},fr&&he.createElement("thead",null,he.createElement("tr",null,fr)),he.createElement("tbody",null,Si)))}function Hn(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.prefixColumn,vt=be.locale,vn=be.rowCount,ln=be.viewDate,Un=be.value,Cn=be.cellRender,hn=be.isSameCell,nr=he.useContext(zr),Dn=nr.rangedValue,Pn=nr.hoverRangedValue,vr=rn(vt.locale,Pe,ln),br="".concat(Be,"-cell"),Rn=Pe.locale.getWeekFirstDay(vt.locale),fr=Pe.getNow(),Rr=[],Ur=vt.shortWeekDays||(Pe.locale.getShortWeekDays?Pe.locale.getShortWeekDays(vt.locale):[]);gt&&Rr.push(he.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var ii=0;ii<pe;ii+=1)Rr.push(he.createElement("th",{key:ii},Ur[(ii+Rn)%pe]));var bi=Sr({cellPrefixCls:br,today:fr,value:Un,generateConfig:Pe,rangedValue:gt?null:Dn,hoverRangedValue:gt?null:Pn,isSameCell:hn||function(Si,ui){return Kt(Pe,Si,ui)},isInView:function(ui){return Yt(Pe,ui,ln)},offsetCell:function(ui,va){return Pe.addDate(ui,va)}}),Pi=Cn?function(Si,ui){return Cn(Si,{originNode:ui,today:fr,type:"date",locale:vt})}:void 0;return he.createElement(lr,(0,we.Z)({},be,{rowNum:vn,colNum:pe,baseDate:vr,getCellNode:Pi,getCellText:Pe.getDate,getCellClassName:bi,getCellDate:Pe.addDate,titleCell:function(ui){return hr(ui,{locale:vt,format:"YYYY-MM-DD",generateConfig:Pe})},headerCells:Rr}))}var _n=Hn,Gn={visibility:"hidden"};function or(be){var Be=be.prefixCls,Pe=be.prevIcon,gt=Pe===void 0?"\u2039":Pe,vt=be.nextIcon,vn=vt===void 0?"\u203A":vt,ln=be.superPrevIcon,Un=ln===void 0?"\xAB":ln,Cn=be.superNextIcon,hn=Cn===void 0?"\xBB":Cn,nr=be.onSuperPrev,Dn=be.onSuperNext,Pn=be.onPrev,vr=be.onNext,br=be.children,Rn=he.useContext($e),fr=Rn.hideNextBtn,Rr=Rn.hidePrevBtn;return he.createElement("div",{className:Be},nr&&he.createElement("button",{type:"button",onClick:nr,tabIndex:-1,className:"".concat(Be,"-super-prev-btn"),style:Rr?Gn:{}},Un),Pn&&he.createElement("button",{type:"button",onClick:Pn,tabIndex:-1,className:"".concat(Be,"-prev-btn"),style:Rr?Gn:{}},gt),he.createElement("div",{className:"".concat(Be,"-view")},br),vr&&he.createElement("button",{type:"button",onClick:vr,tabIndex:-1,className:"".concat(Be,"-next-btn"),style:fr?Gn:{}},vn),Dn&&he.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(Be,"-super-next-btn"),style:fr?Gn:{}},hn))}var Kr=or;function Ln(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.locale,vt=be.viewDate,vn=be.onNextMonth,ln=be.onPrevMonth,Un=be.onNextYear,Cn=be.onPrevYear,hn=be.onYearClick,nr=be.onMonthClick,Dn=he.useContext($e),Pn=Dn.hideHeader;if(Pn)return null;var vr="".concat(Be,"-header"),br=gt.shortMonths||(Pe.locale.getShortMonths?Pe.locale.getShortMonths(gt.locale):[]),Rn=Pe.getMonth(vt),fr=he.createElement("button",{type:"button",key:"year",onClick:hn,tabIndex:-1,className:"".concat(Be,"-year-btn")},hr(vt,{locale:gt,format:gt.yearFormat,generateConfig:Pe})),Rr=he.createElement("button",{type:"button",key:"month",onClick:nr,tabIndex:-1,className:"".concat(Be,"-month-btn")},gt.monthFormat?hr(vt,{locale:gt,format:gt.monthFormat,generateConfig:Pe}):br[Rn]),Ur=gt.monthBeforeYear?[Rr,fr]:[fr,Rr];return he.createElement(Kr,(0,we.Z)({},be,{prefixCls:vr,onSuperPrev:Cn,onPrev:ln,onNext:vn,onSuperNext:Un}),Ur)}var Fi=Ln,pi=6;function ha(be){var Be=be.prefixCls,Pe=be.panelName,gt=Pe===void 0?"date":Pe,vt=be.keyboardConfig,vn=be.active,ln=be.operationRef,Un=be.generateConfig,Cn=be.value,hn=be.viewDate,nr=be.onViewDateChange,Dn=be.onPanelChange,Pn=be.onSelect,vr="".concat(Be,"-").concat(gt,"-panel");ln.current={onKeyDown:function(Rr){return Cr(Rr,(0,Xt.Z)({onLeftRight:function(ii){Pn(Un.addDate(Cn||hn,ii),"key")},onCtrlLeftRight:function(ii){Pn(Un.addYear(Cn||hn,ii),"key")},onUpDown:function(ii){Pn(Un.addDate(Cn||hn,ii*pe),"key")},onPageUpDown:function(ii){Pn(Un.addMonth(Cn||hn,ii),"key")}},vt))}};var br=function(Rr){var Ur=Un.addYear(hn,Rr);nr(Ur),Dn(null,Ur)},Rn=function(Rr){var Ur=Un.addMonth(hn,Rr);nr(Ur),Dn(null,Ur)};return he.createElement("div",{className:wt()(vr,(0,qt.Z)({},"".concat(vr,"-active"),vn))},he.createElement(Fi,(0,we.Z)({},be,{prefixCls:Be,value:Cn,viewDate:hn,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Rn(-1)},onNextMonth:function(){Rn(1)},onMonthClick:function(){Dn("month",hn)},onYearClick:function(){Dn("year",hn)}})),he.createElement(_n,(0,we.Z)({},be,{onSelect:function(Rr){return Pn(Rr,"mouse")},prefixCls:Be,value:Cn,viewDate:hn,rowCount:pi})))}var ra=ha;function Qi(be){var Be=he.useContext($e),Pe=Be.hideHeader;if(Pe)return null;var gt=be.prefixCls,vt=be.generateConfig,vn=be.locale,ln=be.value,Un=be.format,Cn="".concat(gt,"-header");return he.createElement(Kr,{prefixCls:Cn},ln?hr(ln,{locale:vn,format:Un,generateConfig:vt}):"\xA0")}var Ca=Qi;function Xi(be){var Be=be.value,Pe=be.generateConfig,gt=be.disabledMinutes,vt=be.disabledSeconds,vn=be.minutes,ln=be.seconds,Un=be.use12Hours,Cn=function(nr,Dn,Pn,vr){var br=Pe.getNow(),Rn=Be||br,fr=Dn<0?Pe.getHour(br):Dn,Rr=Pn<0?Pe.getMinute(br):Pn,Ur=vr<0?Pe.getSecond(br):vr,ii=gt&>(fr);if(ii!=null&&ii.includes(Rr)){var bi=vn.find(function(ui){return!ii.includes(ui.value)});if(bi)Rr=bi.value;else return null}var Pi=vt&&vt(fr,Rr);if(Pi!=null&&Pi.includes(Ur)){var Si=ln.find(function(ui){return!Pi.includes(ui.value)});if(Si)Ur=Si.value;else return null}return Rn=Rt(Pe,Rn,!Un||!nr?fr:fr+12,Rr,Ur),Rn};return Cn}function Ri(be){var Be=be.prefixCls,Pe=be.units,gt=be.onSelect,vt=be.value,vn=be.active,ln=be.hideDisabledOptions,Un=be.info,Cn=be.type,hn="".concat(Be,"-cell"),nr=he.useContext($e),Dn=nr.open,Pn=(0,he.useRef)(null),vr=(0,he.useRef)(new Map),br=(0,he.useRef)();return(0,he.useLayoutEffect)(function(){var Rn=vr.current.get(vt);Rn&&Dn!==!1&&fi(Pn.current,Rn.offsetTop,120)},[vt]),(0,he.useLayoutEffect)(function(){if(Dn){var Rn=vr.current.get(vt);Rn&&(br.current=ri(Rn,function(){fi(Pn.current,Rn.offsetTop,0)}))}return function(){var fr;(fr=br.current)===null||fr===void 0||fr.call(br)}},[Dn]),he.createElement("ul",{className:wt()("".concat(Be,"-column"),(0,qt.Z)({},"".concat(Be,"-column-active"),vn)),ref:Pn,style:{position:"relative"}},Pe.map(function(Rn){var fr;return ln&&Rn.disabled?null:he.createElement("li",{key:Rn.value,ref:function(Ur){vr.current.set(Rn.value,Ur)},className:wt()(hn,(fr={},(0,qt.Z)(fr,"".concat(hn,"-disabled"),Rn.disabled),(0,qt.Z)(fr,"".concat(hn,"-selected"),vt===Rn.value),fr)),onClick:function(){Rn.disabled||gt(Rn.value)}},Un.cellRender?Un.cellRender(Rn.value,{today:Un.today,locale:Un.locale,originNode:he.createElement("div",{className:"".concat(hn,"-inner")},Rn.label),type:"time",subType:Cn}):he.createElement("div",{className:"".concat(hn,"-inner")},Rn.label))}))}var sa=Ri;function Da(be,Be){if(be.length!==Be.length)return!0;for(var Pe=0;Pe<be.length;Pe+=1)if(be[Pe].disabled!==Be[Pe].disabled)return!0;return!1}function ki(be,Be,Pe,gt){for(var vt=[],vn=Pe>=1?Pe|0:1,ln=be;ln<=Be;ln+=vn)vt.push({label:_t(ln,2),value:ln,disabled:(gt||[]).includes(ln)});return vt}function Ji(be){var Be=be.generateConfig,Pe=be.prefixCls,gt=be.operationRef,vt=be.activeColumnIndex,vn=be.value,ln=be.showHour,Un=be.showMinute,Cn=be.showSecond,hn=be.use12Hours,nr=be.hourStep,Dn=nr===void 0?1:nr,Pn=be.minuteStep,vr=Pn===void 0?1:Pn,br=be.secondStep,Rn=br===void 0?1:br,fr=be.disabledHours,Rr=be.disabledMinutes,Ur=be.disabledSeconds,ii=be.disabledTime,bi=be.hideDisabledOptions,Pi=be.onSelect,Si=be.cellRender,ui=be.locale,va=[],ca="".concat(Pe,"-content"),Ka="".concat(Pe,"-time-panel"),Ya,La=vn?Be.getHour(vn):-1,oa=La,Ra=vn?Be.getMinute(vn):-1,Fa=vn?Be.getSecond(vn):-1,ya=Be.getNow(),Ia=he.useMemo(function(){if(ii){var zi=ii(ya);return[zi.disabledHours,zi.disabledMinutes,zi.disabledSeconds]}return[fr,Rr,Ur]},[fr,Rr,Ur,ii,ya]),za=(0,Ht.Z)(Ia,3),uo=za[0],go=za[1],To=za[2],us=ki(0,23,Dn,uo&&uo()),ss=(0,yn.Z)(function(){return us},us,Da);hn&&(Ya=oa>=12,oa%=12);var _o=he.useMemo(function(){if(!hn)return[!1,!1];var zi=[!0,!0];return ss.forEach(function(Qa){var xo=Qa.disabled,Yo=Qa.value;xo||(Yo>=12?zi[1]=!1:zi[0]=!1)}),zi},[hn,ss]),Do=(0,Ht.Z)(_o,2),ps=Do[0],Oo=Do[1],Ma=he.useMemo(function(){return hn?ss.filter(Ya?function(zi){return zi.value>=12}:function(zi){return zi.value<12}).map(function(zi){var Qa=zi.value%12,xo=Qa===0?"12":_t(Qa,2);return(0,Xt.Z)((0,Xt.Z)({},zi),{},{label:xo,value:Qa})}):ss},[hn,Ya,ss]),ba=ki(0,59,vr,go&&go(La)),Bo=ki(0,59,Rn,To&&To(La,Ra)),Ao=Xi({value:vn,generateConfig:Be,disabledMinutes:go,disabledSeconds:To,minutes:ba,seconds:Bo,use12Hours:hn});gt.current={onUpDown:function(Qa){var xo=va[vt];if(xo)for(var Yo=xo.units.findIndex(function(Sl){return Sl.value===xo.value}),Ho=xo.units.length,Zo=1;Zo<Ho;Zo+=1){var Es=xo.units[(Yo+Qa*Zo+Ho)%Ho];if(Es.disabled!==!0){xo.onSelect(Es.value);break}}}};function Ta(zi,Qa,xo,Yo,Ho){zi!==!1&&va.push({node:he.cloneElement(Qa,{prefixCls:Ka,value:xo,active:vt===va.length,onSelect:Ho,units:Yo,hideDisabledOptions:bi}),onSelect:Ho,value:xo,units:Yo})}Ta(ln,he.createElement(sa,{key:"hour",type:"hour",info:{today:ya,locale:ui,cellRender:Si}}),oa,Ma,function(zi){Pi(Ao(Ya,zi,Ra,Fa),"mouse")}),Ta(Un,he.createElement(sa,{key:"minute",type:"minute",info:{today:ya,locale:ui,cellRender:Si}}),Ra,ba,function(zi){Pi(Ao(Ya,oa,zi,Fa),"mouse")}),Ta(Cn,he.createElement(sa,{key:"second",type:"second",info:{today:ya,locale:ui,cellRender:Si}}),Fa,Bo,function(zi){Pi(Ao(Ya,oa,Ra,zi),"mouse")});var $a=-1;return typeof Ya=="boolean"&&($a=Ya?1:0),Ta(hn===!0,he.createElement(sa,{key:"meridiem",type:"meridiem",info:{today:ya,locale:ui,cellRender:Si}}),$a,[{label:"AM",value:0,disabled:ps},{label:"PM",value:1,disabled:Oo}],function(zi){Pi(Ao(!!zi,oa,Ra,Fa),"mouse")}),he.createElement("div",{className:ca},va.map(function(zi){var Qa=zi.node;return Qa}))}var Ea=Ji,_a=function(Be){return Be.filter(function(Pe){return Pe!==!1}).length};function Oa(be){var Be=be.generateConfig,Pe=be.format,gt=Pe===void 0?"HH:mm:ss":Pe,vt=be.prefixCls,vn=be.active,ln=be.operationRef,Un=be.showHour,Cn=be.showMinute,hn=be.showSecond,nr=be.use12Hours,Dn=nr===void 0?!1:nr,Pn=be.onSelect,vr=be.value,br="".concat(vt,"-time-panel"),Rn=he.useRef(),fr=he.useState(-1),Rr=(0,Ht.Z)(fr,2),Ur=Rr[0],ii=Rr[1],bi=_a([Un,Cn,hn,Dn]);return ln.current={onKeyDown:function(Si){return Cr(Si,{onLeftRight:function(va){ii((Ur+va+bi)%bi)},onUpDown:function(va){Ur===-1?ii(0):Rn.current&&Rn.current.onUpDown(va)},onEnter:function(){Pn(vr||Be.getNow(),"key"),ii(-1)}})},onBlur:function(){ii(-1)}},he.createElement("div",{className:wt()(br,(0,qt.Z)({},"".concat(br,"-active"),vn))},he.createElement(Ca,(0,we.Z)({},be,{format:gt,prefixCls:vt})),he.createElement(Ea,(0,we.Z)({},be,{prefixCls:vt,activeColumnIndex:Ur,operationRef:Rn})))}var Oi=Oa,Qt=En("date","time");function Zt(be){var Be=be.prefixCls,Pe=be.operationRef,gt=be.generateConfig,vt=be.value,vn=be.defaultValue,ln=be.disabledTime,Un=be.showTime,Cn=be.onSelect,hn=be.cellRender,nr="".concat(Be,"-datetime-panel"),Dn=he.useState(null),Pn=(0,Ht.Z)(Dn,2),vr=Pn[0],br=Pn[1],Rn=he.useRef({}),fr=he.useRef({}),Rr=(0,Ft.Z)(Un)==="object"?(0,Xt.Z)({},Un):{};function Ur(Si){var ui=Qt.indexOf(vr)+Si,va=Qt[ui]||null;return va}var ii=function(ui){fr.current.onBlur&&fr.current.onBlur(ui),br(null)};Pe.current={onKeyDown:function(ui){if(ui.which===Qn.Z.TAB){var va=Ur(ui.shiftKey?-1:1);return br(va),va&&ui.preventDefault(),!0}if(vr){var ca=vr==="date"?Rn:fr;return ca.current&&ca.current.onKeyDown&&ca.current.onKeyDown(ui),!0}return[Qn.Z.LEFT,Qn.Z.RIGHT,Qn.Z.UP,Qn.Z.DOWN].includes(ui.which)?(br("date"),!0):!1},onBlur:ii,onClose:ii};var bi=function(ui,va){var ca=ui;va==="date"&&!vt&&Rr.defaultValue?(ca=gt.setHour(ca,gt.getHour(Rr.defaultValue)),ca=gt.setMinute(ca,gt.getMinute(Rr.defaultValue)),ca=gt.setSecond(ca,gt.getSecond(Rr.defaultValue))):va==="time"&&!vt&&vn&&(ca=gt.setYear(ca,gt.getYear(vn)),ca=gt.setMonth(ca,gt.getMonth(vn)),ca=gt.setDate(ca,gt.getDate(vn))),Cn&&Cn(ca,"mouse")},Pi=ln?ln(vt||null):{};return he.createElement("div",{className:wt()(nr,(0,qt.Z)({},"".concat(nr,"-active"),vr))},he.createElement(ra,(0,we.Z)({},be,{cellRender:hn,operationRef:Rn,active:vr==="date",onSelect:function(ui){bi(kt(gt,ui,!vt&&(0,Ft.Z)(Un)==="object"?Un.defaultValue:null),"date")}})),he.createElement(Oi,(0,we.Z)({},be,{cellRender:hn?function(Si,ui){return hn(Si,(0,Xt.Z)((0,Xt.Z)({},ui),{},{type:"time"}))}:void 0,format:void 0},Rr,Pi,{disabledTime:null,defaultValue:void 0,operationRef:fr,active:vr==="time",onSelect:function(ui){bi(ui,"time")}})))}var Mn=Zt;function jn(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.viewDate,vt=be.onPrevDecades,vn=be.onNextDecades,ln=he.useContext($e),Un=ln.hideHeader;if(Un)return null;var Cn="".concat(Be,"-header"),hn=Pe.getYear(gt),nr=Math.floor(hn/ue)*ue,Dn=nr+ue-1;return he.createElement(Kr,(0,we.Z)({},be,{prefixCls:Cn,onSuperPrev:vt,onSuperNext:vn}),nr,"-",Dn)}var sr=jn,Yr=3,si=4;function mi(be){var Be=ce-1,Pe=be.prefixCls,gt=be.viewDate,vt=be.generateConfig,vn=be.cellRender,ln=be.locale,Un="".concat(Pe,"-cell"),Cn=vt.getYear(gt),hn=Math.floor(Cn/ce)*ce,nr=Math.floor(Cn/ue)*ue,Dn=nr+ue-1,Pn=vt.setYear(gt,nr-Math.ceil((Yr*si*ce-ue)/2)),vr=function(fr){var Rr,Ur=vt.getYear(fr),ii=Ur+Be;return Rr={},(0,qt.Z)(Rr,"".concat(Un,"-in-view"),nr<=Ur&&ii<=Dn),(0,qt.Z)(Rr,"".concat(Un,"-selected"),Ur===hn),Rr},br=vn?function(Rn,fr){return vn(Rn,{originNode:fr,today:vt.getNow(),type:"decade",locale:ln})}:void 0;return he.createElement(lr,(0,we.Z)({},be,{rowNum:si,colNum:Yr,baseDate:Pn,getCellNode:br,getCellText:function(fr){var Rr=vt.getYear(fr);return"".concat(Rr,"-").concat(Rr+Be)},getCellClassName:vr,getCellDate:function(fr,Rr){return vt.addYear(fr,Rr*ce)}}))}var Ci=mi;function gi(be){var Be=be.prefixCls,Pe=be.onViewDateChange,gt=be.generateConfig,vt=be.viewDate,vn=be.operationRef,ln=be.onSelect,Un=be.onPanelChange,Cn="".concat(Be,"-decade-panel");vn.current={onKeyDown:function(Pn){return Cr(Pn,{onLeftRight:function(br){ln(gt.addYear(vt,br*ce),"key")},onCtrlLeftRight:function(br){ln(gt.addYear(vt,br*ue),"key")},onUpDown:function(br){ln(gt.addYear(vt,br*ce*Yr),"key")},onEnter:function(){Un("year",vt)}})}};var hn=function(Pn){var vr=gt.addYear(vt,Pn*ue);Pe(vr),Un(null,vr)},nr=function(Pn){ln(Pn,"mouse"),Un("year",Pn)};return he.createElement("div",{className:Cn},he.createElement(sr,(0,we.Z)({},be,{prefixCls:Be,onPrevDecades:function(){hn(-1)},onNextDecades:function(){hn(1)}})),he.createElement(Ci,(0,we.Z)({},be,{prefixCls:Be,onSelect:nr})))}var Ti=gi;function qi(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.locale,vt=be.viewDate,vn=be.onNextYear,ln=be.onPrevYear,Un=be.onYearClick,Cn=he.useContext($e),hn=Cn.hideHeader;if(hn)return null;var nr="".concat(Be,"-header");return he.createElement(Kr,(0,we.Z)({},be,{prefixCls:nr,onSuperPrev:ln,onSuperNext:vn}),he.createElement("button",{type:"button",onClick:Un,className:"".concat(Be,"-year-btn")},hr(vt,{locale:gt,format:gt.yearFormat,generateConfig:Pe})))}var li=qi,Vi=3,ia=4;function ta(be){var Be=be.prefixCls,Pe=be.locale,gt=be.value,vt=be.viewDate,vn=be.generateConfig,ln=be.cellRender,Un=he.useContext(zr),Cn=Un.rangedValue,hn=Un.hoverRangedValue,nr="".concat(Be,"-cell"),Dn=Sr({cellPrefixCls:nr,value:gt,generateConfig:vn,rangedValue:Cn,hoverRangedValue:hn,isSameCell:function(fr,Rr){return Yt(vn,fr,Rr)},isInView:function(){return!0},offsetCell:function(fr,Rr){return vn.addMonth(fr,Rr)}}),Pn=Pe.shortMonths||(vn.locale.getShortMonths?vn.locale.getShortMonths(Pe.locale):[]),vr=vn.setMonth(vt,0),br=ln?function(Rn,fr){return ln(Rn,{originNode:fr,locale:Pe,today:vn.getNow(),type:"month"})}:void 0;return he.createElement(lr,(0,we.Z)({},be,{rowNum:ia,colNum:Vi,baseDate:vr,getCellNode:br,getCellText:function(fr){return Pe.monthFormat?hr(fr,{locale:Pe,format:Pe.monthFormat,generateConfig:vn}):Pn[vn.getMonth(fr)]},getCellClassName:Dn,getCellDate:vn.addMonth,titleCell:function(fr){return hr(fr,{locale:Pe,format:"YYYY-MM",generateConfig:vn})}}))}var ze=ta;function Je(be){var Be=be.prefixCls,Pe=be.operationRef,gt=be.onViewDateChange,vt=be.generateConfig,vn=be.value,ln=be.viewDate,Un=be.onPanelChange,Cn=be.onSelect,hn="".concat(Be,"-month-panel");Pe.current={onKeyDown:function(Pn){return Cr(Pn,{onLeftRight:function(br){Cn(vt.addMonth(vn||ln,br),"key")},onCtrlLeftRight:function(br){Cn(vt.addYear(vn||ln,br),"key")},onUpDown:function(br){Cn(vt.addMonth(vn||ln,br*Vi),"key")},onEnter:function(){Un("date",vn||ln)}})}};var nr=function(Pn){var vr=vt.addYear(ln,Pn);gt(vr),Un(null,vr)};return he.createElement("div",{className:hn},he.createElement(li,(0,we.Z)({},be,{prefixCls:Be,onPrevYear:function(){nr(-1)},onNextYear:function(){nr(1)},onYearClick:function(){Un("year",ln)}})),he.createElement(ze,(0,we.Z)({},be,{prefixCls:Be,onSelect:function(Pn){Cn(Pn,"mouse"),Un("date",Pn)}})))}var et=Je;function st(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.locale,vt=be.viewDate,vn=be.onNextYear,ln=be.onPrevYear,Un=be.onYearClick,Cn=he.useContext($e),hn=Cn.hideHeader;if(hn)return null;var nr="".concat(Be,"-header");return he.createElement(Kr,(0,we.Z)({},be,{prefixCls:nr,onSuperPrev:ln,onSuperNext:vn}),he.createElement("button",{type:"button",onClick:Un,className:"".concat(Be,"-year-btn")},hr(vt,{locale:gt,format:gt.yearFormat,generateConfig:Pe})))}var Ct=st,Bt=4,Jt=1;function Tn(be){var Be=be.prefixCls,Pe=be.locale,gt=be.value,vt=be.viewDate,vn=be.generateConfig,ln=be.cellRender,Un=he.useContext(zr),Cn=Un.rangedValue,hn=Un.hoverRangedValue,nr="".concat(Be,"-cell"),Dn=Sr({cellPrefixCls:nr,value:gt,generateConfig:vn,rangedValue:Cn,hoverRangedValue:hn,isSameCell:function(Rn,fr){return Et(vn,Rn,fr)},isInView:function(){return!0},offsetCell:function(Rn,fr){return vn.addMonth(Rn,fr*3)}}),Pn=vn.setDate(vn.setMonth(vt,0),1),vr=ln?function(br,Rn){return ln(br,{originNode:Rn,locale:Pe,today:vn.getNow(),type:"quarter"})}:void 0;return he.createElement(lr,(0,we.Z)({},be,{rowNum:Jt,colNum:Bt,baseDate:Pn,getCellNode:vr,getCellText:function(Rn){return hr(Rn,{locale:Pe,format:Pe.quarterFormat||"[Q]Q",generateConfig:vn})},getCellClassName:Dn,getCellDate:function(Rn,fr){return vn.addMonth(Rn,fr*3)},titleCell:function(Rn){return hr(Rn,{locale:Pe,format:"YYYY-[Q]Q",generateConfig:vn})}}))}var Nn=Tn;function Fr(be){var Be=be.prefixCls,Pe=be.operationRef,gt=be.onViewDateChange,vt=be.generateConfig,vn=be.value,ln=be.viewDate,Un=be.onPanelChange,Cn=be.onSelect,hn="".concat(Be,"-quarter-panel");Pe.current={onKeyDown:function(Pn){return Cr(Pn,{onLeftRight:function(br){Cn(vt.addMonth(vn||ln,br*3),"key")},onCtrlLeftRight:function(br){Cn(vt.addYear(vn||ln,br),"key")},onUpDown:function(br){Cn(vt.addYear(vn||ln,br),"key")}})}};var nr=function(Pn){var vr=vt.addYear(ln,Pn);gt(vr),Un(null,vr)};return he.createElement("div",{className:hn},he.createElement(Ct,(0,we.Z)({},be,{prefixCls:Be,onPrevYear:function(){nr(-1)},onNextYear:function(){nr(1)},onYearClick:function(){Un("year",ln)}})),he.createElement(Nn,(0,we.Z)({},be,{prefixCls:Be,onSelect:function(Pn){Cn(Pn,"mouse")}})))}var Jr=Fr;function Ar(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.locale,vt=be.value,vn=be.disabledDate,ln=be.onSelect,Un=he.useContext(zr),Cn=Un.rangedValue,hn=Un.hoverRangedValue,nr=he.useContext($e),Dn=nr.onDateMouseEnter,Pn=nr.onDateMouseLeave,vr=(hn==null?void 0:hn[0])||(Cn==null?void 0:Cn[0]),br=(hn==null?void 0:hn[1])||(Cn==null?void 0:Cn[1]),Rn="".concat(Be,"-cell"),fr=function(bi){var Pi=yt({cellDate:bi,mode:"week",disabledDate:vn,generateConfig:Pe});return he.createElement("td",{key:"week",className:wt()(Rn,"".concat(Rn,"-week")),onClick:function(){Pi||ln(bi,"mouse")},onMouseEnter:function(){!Pi&&Dn&&Dn(bi)},onMouseLeave:function(){!Pi&&Pn&&Pn(bi)}},he.createElement("div",{className:"".concat(Rn,"-inner")},Pe.locale.getWeek(gt.locale,bi)))},Rr="".concat(Be,"-week-panel-row"),Ur=function(bi){var Pi,Si=$t(Pe,gt.locale,vr,bi),ui=$t(Pe,gt.locale,br,bi);return wt()(Rr,(Pi={},(0,qt.Z)(Pi,"".concat(Rr,"-selected"),!Cn&&$t(Pe,gt.locale,vt,bi)),(0,qt.Z)(Pi,"".concat(Rr,"-range-start"),Si),(0,qt.Z)(Pi,"".concat(Rr,"-range-end"),ui),(0,qt.Z)(Pi,"".concat(Rr,"-range-hover"),!Si&&!ui&&kr(Pe,vr,br,bi)),Pi))};return he.createElement(ra,(0,we.Z)({},be,{panelName:"week",prefixColumn:fr,rowClassName:Ur,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var er=Ar,Wn=10;function ur(be){var Be=be.prefixCls,Pe=be.generateConfig,gt=be.viewDate,vt=be.onPrevDecade,vn=be.onNextDecade,ln=be.onDecadeClick,Un=he.useContext($e),Cn=Un.hideHeader;if(Cn)return null;var hn="".concat(Be,"-header"),nr=Pe.getYear(gt),Dn=Math.floor(nr/Wn)*Wn,Pn=Dn+Wn-1;return he.createElement(Kr,(0,we.Z)({},be,{prefixCls:hn,onSuperPrev:vt,onSuperNext:vn}),he.createElement("button",{type:"button",onClick:ln,className:"".concat(Be,"-decade-btn")},Dn,"-",Pn))}var mr=ur,Vr=3,Dr=4;function Mr(be){var Be=be.prefixCls,Pe=be.value,gt=be.viewDate,vt=be.locale,vn=be.generateConfig,ln=be.cellRender,Un=he.useContext(zr),Cn=Un.rangedValue,hn=Un.hoverRangedValue,nr="".concat(Be,"-cell"),Dn=vn.getYear(gt),Pn=Math.floor(Dn/Wn)*Wn,vr=Pn+Wn-1,br=vn.setYear(gt,Pn-Math.ceil((Vr*Dr-Wn)/2)),Rn=vn.getNow(),fr=function(bi){var Pi=vn.getYear(bi);return Pn<=Pi&&Pi<=vr},Rr=Sr({cellPrefixCls:nr,value:Pe,generateConfig:vn,rangedValue:Cn,hoverRangedValue:hn,isSameCell:function(bi,Pi){return De(vn,bi,Pi)},isInView:fr,offsetCell:function(bi,Pi){return vn.addYear(bi,Pi)}}),Ur=ln?function(ii,bi){return ln(ii,{originNode:bi,today:Rn,type:"year",locale:vt})}:void 0;return he.createElement(lr,(0,we.Z)({},be,{rowNum:Dr,colNum:Vr,baseDate:br,getCellNode:Ur,getCellText:vn.getYear,getCellClassName:Rr,getCellDate:vn.addYear,titleCell:function(bi){return hr(bi,{locale:vt,format:"YYYY",generateConfig:vn})}}))}var Tr=Mr;function Or(be){var Be=be.prefixCls,Pe=be.operationRef,gt=be.onViewDateChange,vt=be.generateConfig,vn=be.value,ln=be.viewDate,Un=be.sourceMode,Cn=be.onSelect,hn=be.onPanelChange,nr="".concat(Be,"-year-panel");Pe.current={onKeyDown:function(vr){return Cr(vr,{onLeftRight:function(Rn){Cn(vt.addYear(vn||ln,Rn),"key")},onCtrlLeftRight:function(Rn){Cn(vt.addYear(vn||ln,Rn*Wn),"key")},onUpDown:function(Rn){Cn(vt.addYear(vn||ln,Rn*Vr),"key")},onEnter:function(){hn(Un==="date"?"date":"month",vn||ln)}})}};var Dn=function(vr){var br=vt.addYear(ln,vr*10);gt(br),hn(null,br)};return he.createElement("div",{className:nr},he.createElement(mr,(0,we.Z)({},be,{prefixCls:Be,onPrevDecade:function(){Dn(-1)},onNextDecade:function(){Dn(1)},onDecadeClick:function(){hn("decade",ln)}})),he.createElement(Tr,(0,we.Z)({},be,{prefixCls:Be,onSelect:function(vr){hn(Un==="date"?"date":"month",vr),Cn(vr,"mouse")}})))}var qr=Or;function Ue(be,Be,Pe){return Pe?he.createElement("div",{className:"".concat(be,"-footer-extra")},Pe(Be)):null}function tt(be){var Be=be.prefixCls,Pe=be.components,gt=Pe===void 0?{}:Pe,vt=be.needConfirmButton,vn=be.onNow,ln=be.onOk,Un=be.okDisabled,Cn=be.showNow,hn=be.locale,nr,Dn;if(vt){var Pn=gt.button||"button";vn&&Cn!==!1&&(nr=he.createElement("li",{className:"".concat(Be,"-now")},he.createElement("a",{className:"".concat(Be,"-now-btn"),onClick:vn},hn.now))),Dn=vt&&he.createElement("li",{className:"".concat(Be,"-ok")},he.createElement(Pn,{disabled:Un,onClick:ln},hn.ok))}return!nr&&!Dn?null:he.createElement("ul",{className:"".concat(Be,"-ranges")},nr,Dn)}var tn=["date","month"];function Pt(be){var Be,Pe=be,gt=Pe.prefixCls,vt=gt===void 0?"rc-picker":gt,vn=Pe.className,ln=Pe.style,Un=Pe.locale,Cn=Pe.generateConfig,hn=Pe.value,nr=Pe.defaultValue,Dn=Pe.pickerValue,Pn=Pe.defaultPickerValue,vr=Pe.disabledDate,br=Pe.mode,Rn=Pe.picker,fr=Rn===void 0?"date":Rn,Rr=Pe.tabIndex,Ur=Rr===void 0?0:Rr,ii=Pe.showNow,bi=Pe.showTime,Pi=Pe.showToday,Si=Pe.renderExtraFooter,ui=Pe.hideHeader,va=Pe.onSelect,ca=Pe.onChange,Ka=Pe.onPanelChange,Ya=Pe.onMouseDown,La=Pe.onPickerValueChange,oa=Pe.onOk,Ra=Pe.components,Fa=Pe.direction,ya=Pe.hourStep,Ia=ya===void 0?1:ya,za=Pe.minuteStep,uo=za===void 0?1:za,go=Pe.secondStep,To=go===void 0?1:go,us=Pe.dateRender,ss=Pe.monthCellRender,_o=Pe.cellRender,Do=fr==="date"&&!!bi||fr==="time",ps=24%Ia===0,Oo=60%uo===0,Ma=60%To===0,ba=he.useContext($e),Bo=ba.operationRef,Ao=ba.onSelect,Ta=ba.hideRanges,$a=ba.defaultOpenValue,zi=he.useContext(zr),Qa=zi.inRange,xo=zi.panelPosition,Yo=zi.rangedValue,Ho=zi.hoverRangedValue,Zo=he.useRef({}),Es=he.useRef(!0),Sl=(0,un.Z)(null,{value:hn,defaultValue:nr,postState:function(Zi){return!Zi&&$a&&fr==="time"?$a:Zi}}),al=(0,Ht.Z)(Sl,2),zs=al[0],Bl=al[1],Au=(0,un.Z)(null,{value:Dn,defaultValue:Pn||zs,postState:function(Zi){var eo=Cn.getNow();if(!Zi)return eo;if(!zs&&bi){var ns=(0,Ft.Z)(bi)==="object"?bi.defaultValue:nr;return kt(Cn,Array.isArray(Zi)?Zi[0]:Zi,ns||eo)}return Array.isArray(Zi)?Zi[0]:Zi}}),zl=(0,Ht.Z)(Au,2),Ds=zl[0],dl=zl[1],Hs=function(Zi){dl(Zi),La&&La(Zi)},Hl=function(Zi){var eo=Fn[fr];return eo?eo(Zi):Zi},Ll=(0,un.Z)(function(){return fr==="time"?"time":Hl("date")},{value:br}),Ks=(0,Ht.Z)(Ll,2),cs=Ks[0],Ts=Ks[1];he.useEffect(function(){Ts(fr)},[fr]);var es=he.useState(function(){return cs}),Ys=(0,Ht.Z)(es,2),Qs=Ys[0],ol=Ys[1],fs=function(Zi,eo){var ns=Hl(Zi||cs);ol(cs),Ts(ns),Ka&&(cs!==ns||gr(Cn,Ds,Ds))&&Ka(eo,ns)},Wa=function(Zi,eo){var ns=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(cs===fr||ns)&&(Bl(Zi),va&&va(Zi),Ao&&Ao(Zi,eo),ca&&!gr(Cn,Zi,zs)&&!(vr!=null&&vr(Zi))&&ca(Zi))},ts=function(Zi){if(tn.includes(cs)){var eo,ns,hl=cs==="date";switch(Zi===Qn.Z.PAGE_UP||Zi===Qn.Z.PAGE_DOWN?ns=hl?Cn.addMonth:Cn.addYear:ns=hl?Cn.addDate:Cn.addMonth,Zi){case Qn.Z.LEFT:case Qn.Z.PAGE_UP:eo=ns(Ds,-1);break;case Qn.Z.RIGHT:case Qn.Z.PAGE_DOWN:eo=ns(Ds,1);break;case Qn.Z.UP:case Qn.Z.DOWN:eo=ns(Ds,Number("".concat(Zi===Qn.Z.UP?"-":"").concat(hl?pe:Vi)));break}if(eo)return!(vr!=null&&vr(eo))}return!0},Os=function(Zi){if(Zo.current&&Zo.current.onKeyDown){var eo=!0,ns=Zi.which;if([Qn.Z.LEFT,Qn.Z.RIGHT,Qn.Z.UP,Qn.Z.DOWN,Qn.Z.PAGE_UP,Qn.Z.PAGE_DOWN,Qn.Z.ENTER].includes(ns)&&(Zi.preventDefault(),ns!==Qn.Z.ENTER&&Ur===0&&(eo=ts(ns))),eo)return Zo.current.onKeyDown(Zi)}return(0,Re.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},jo=function(Zi){Zo.current&&Zo.current.onBlur&&Zo.current.onBlur(Zi)};Bo&&xo!=="right"&&(Bo.current={onKeyDown:Os,onClose:function(){Zo.current&&Zo.current.onClose&&Zo.current.onClose()}}),he.useEffect(function(){hn&&!Es.current&&dl(hn)},[hn]),he.useEffect(function(){Es.current=!1},[]);var Gs,ml=on({cellRender:_o,monthCellRender:ss,dateRender:us}),Co=(0,Xt.Z)((0,Xt.Z)({},be),{},{cellRender:ml,operationRef:Zo,prefixCls:vt,viewDate:Ds,value:zs,onViewDateChange:Hs,sourceMode:Qs,onPanelChange:fs,disabledDate:vr});switch(delete Co.onChange,delete Co.onSelect,cs){case"decade":Gs=he.createElement(Ti,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"year":Gs=he.createElement(qr,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"month":Gs=he.createElement(et,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"quarter":Gs=he.createElement(Jr,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"week":Gs=he.createElement(er,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;case"time":delete Co.showTime,Gs=he.createElement(Oi,(0,we.Z)({},Co,(0,Ft.Z)(bi)==="object"?bi:null,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}));break;default:bi?Gs=he.createElement(Mn,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}})):Gs=he.createElement(ra,(0,we.Z)({},Co,{onSelect:function(Zi,eo){Hs(Zi),Wa(Zi,eo)}}))}var gl,sl,Ws=function(){var Zi=Cn.getNow(),eo=jt(Cn.getHour(Zi),Cn.getMinute(Zi),Cn.getSecond(Zi),ps?Ia:1,Oo?uo:1,Ma?To:1),ns=Rt(Cn,Zi,eo[0],eo[1],eo[2]);Wa(ns,"submit")};Ta||(gl=Ue(vt,cs,Si),bi&&cs!=="date"?sl=null:sl=tt({prefixCls:vt,components:Ra,needConfirmButton:Do,okDisabled:!zs||vr&&vr(zs),locale:Un,showNow:ii,onNow:Do&&Ws,onOk:function(){zs&&(Wa(zs,"submit",!0),oa&&oa(zs))}}));var _l;if(Pi&&cs==="date"&&fr==="date"&&!bi){var Cl=Cn.getNow(),fl="".concat(vt,"-today-btn"),El=vr&&vr(Cl);_l=he.createElement("a",{className:wt()(fl,El&&"".concat(fl,"-disabled")),"aria-disabled":El,onClick:function(){El||Wa(Cl,"mouse",!0)}},Un.today)}return he.createElement($e.Provider,{value:(0,Xt.Z)((0,Xt.Z)({},ba),{},{mode:cs,hideHeader:"hideHeader"in be?ui:ba.hideHeader,hidePrevBtn:Qa&&xo==="right",hideNextBtn:Qa&&xo==="left"})},he.createElement("div",{tabIndex:Ur,className:wt()("".concat(vt,"-panel"),vn,(Be={},(0,qt.Z)(Be,"".concat(vt,"-panel-has-range"),Yo&&Yo[0]&&Yo[1]),(0,qt.Z)(Be,"".concat(vt,"-panel-has-range-hover"),Ho&&Ho[0]&&Ho[1]),(0,qt.Z)(Be,"".concat(vt,"-panel-rtl"),Fa==="rtl"),Be)),style:ln,onKeyDown:Os,onBlur:jo,onMouseDown:Ya},Gs,gl||sl||_l?he.createElement("div",{className:"".concat(vt,"-footer")},gl,sl,_l):null))}var xn=Pt,Zn=ie(62709),Jn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function yr(be){var Be,Pe=be.prefixCls,gt=be.popupElement,vt=be.popupStyle,vn=be.visible,ln=be.dropdownClassName,Un=be.dropdownAlign,Cn=be.transitionName,hn=be.getPopupContainer,nr=be.children,Dn=be.range,Pn=be.popupPlacement,vr=be.direction,br="".concat(Pe,"-dropdown"),Rn=function(){return Pn!==void 0?Pn:vr==="rtl"?"bottomRight":"bottomLeft"};return he.createElement(Zn.Z,{showAction:[],hideAction:[],popupPlacement:Rn(),builtinPlacements:Jn,prefixCls:br,popupTransitionName:Cn,popup:gt,popupAlign:Un,popupVisible:vn,popupClassName:wt()(ln,(Be={},(0,qt.Z)(Be,"".concat(br,"-range"),Dn),(0,qt.Z)(Be,"".concat(br,"-rtl"),vr==="rtl"),Be)),popupStyle:vt,getPopupContainer:hn},nr)}var xt=yr;function ct(be){var Be=be.prefixCls,Pe=be.presets,gt=be.onClick,vt=be.onHover;return Pe.length?he.createElement("div",{className:"".concat(Be,"-presets")},he.createElement("ul",null,Pe.map(function(vn,ln){var Un=vn.label,Cn=vn.value;return he.createElement("li",{key:ln,onClick:function(){return gt==null?void 0:gt(Lr(Cn))},onMouseEnter:function(){return vt==null?void 0:vt(Lr(Cn))},onMouseLeave:function(){return vt==null?void 0:vt(null)}},Un)}))):null}function Lt(be){var Be=be.picker,Pe=be.disabledHours,gt=be.disabledMinutes,vt=be.disabledSeconds;Be==="time"&&(Pe||gt||vt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function dn(be,Be,Pe){var gt=(0,Ft.Z)(Be)==="object"?Be.clearIcon:Pe;return gt||he.createElement("span",{className:"".concat(be,"-clear-btn")})}function qn(be){var Be,Pe=be,gt=Pe.prefixCls,vt=gt===void 0?"rc-picker":gt,vn=Pe.id,ln=Pe.name,Un=Pe.tabIndex,Cn=Pe.style,hn=Pe.className,nr=Pe.dropdownClassName,Dn=Pe.dropdownAlign,Pn=Pe.popupStyle,vr=Pe.transitionName,br=Pe.generateConfig,Rn=Pe.locale,fr=Pe.inputReadOnly,Rr=Pe.allowClear,Ur=Pe.autoFocus,ii=Pe.showTime,bi=Pe.picker,Pi=bi===void 0?"date":bi,Si=Pe.format,ui=Pe.use12Hours,va=Pe.value,ca=Pe.defaultValue,Ka=Pe.presets,Ya=Pe.open,La=Pe.defaultOpen,oa=Pe.defaultOpenValue,Ra=Pe.suffixIcon,Fa=Pe.clearIcon,ya=Pe.disabled,Ia=Pe.disabledDate,za=Pe.placeholder,uo=Pe.getPopupContainer,go=Pe.pickerRef,To=Pe.panelRender,us=Pe.onChange,ss=Pe.onOpenChange,_o=Pe.onFocus,Do=Pe.onBlur,ps=Pe.onMouseDown,Oo=Pe.onMouseUp,Ma=Pe.onMouseEnter,ba=Pe.onMouseLeave,Bo=Pe.onContextMenu,Ao=Pe.onClick,Ta=Pe.onKeyDown,$a=Pe.onSelect,zi=Pe.direction,Qa=Pe.autoComplete,xo=Qa===void 0?"off":Qa,Yo=Pe.inputRender,Ho=Pe.changeOnBlur,Zo=he.useRef(null),Es=Pi==="date"&&!!ii||Pi==="time",Sl=pt(Ka),al=Sn(yi(Si,Pi,ii,ui)),zs=he.useRef(null),Bl=he.useRef(null),Au=he.useRef(null),zl=(0,un.Z)(null,{value:va,defaultValue:ca}),Ds=(0,Ht.Z)(zl,2),dl=Ds[0],Hs=Ds[1],Hl=he.useState(dl),Ll=(0,Ht.Z)(Hl,2),Ks=Ll[0],cs=Ll[1],Ts=he.useRef(null),es=(0,un.Z)(!1,{value:Ya,defaultValue:La,postState:function(Hi){return ya?!1:Hi},onChange:function(Hi){ss&&ss(Hi),!Hi&&Ts.current&&Ts.current.onClose&&Ts.current.onClose()}}),Ys=(0,Ht.Z)(es,2),Qs=Ys[0],ol=Ys[1],fs=It(Ks,{formatList:al,generateConfig:br,locale:Rn}),Wa=(0,Ht.Z)(fs,2),ts=Wa[0],Os=Wa[1],jo=Mt({valueTexts:ts,onTextChange:function(Hi){var Bs=Er(Hi,{locale:Rn,formatList:al,generateConfig:br});Bs&&(!Ia||!Ia(Bs))&&cs(Bs)}}),Gs=(0,Ht.Z)(jo,3),ml=Gs[0],Co=Gs[1],gl=Gs[2],sl=function(Hi){cs(Hi),Hs(Hi),us&&!gr(br,dl,Hi)&&us(Hi,Hi?hr(Hi,{generateConfig:br,locale:Rn,format:al[0]}):"")},Ws=function(Hi){ya&&Hi||ol(Hi)},_l=function(Hi){return Qs&&Ts.current&&Ts.current.onKeyDown?Ts.current.onKeyDown(Hi):((0,Re.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Cl=function(){for(var Hi=arguments.length,Bs=new Array(Hi),Js=0;Js<Hi;Js++)Bs[Js]=arguments[Js];Ao==null||Ao.apply(void 0,Bs),Zo.current&&(Zo.current.focus(),Ws(!0))},fl=function(Hi){Ho&&sl(Ks),Do==null||Do(Hi)},El=Xn({blurToCancel:Es,open:Qs,value:ml,triggerOpen:Ws,forwardKeyDown:_l,isClickOutside:function(Hi){return!ir([zs.current,Bl.current,Au.current],Hi)},onSubmit:function(){return!Ks||Ia&&Ia(Ks)?!1:(sl(Ks),Ws(!1),gl(),!0)},onCancel:function(){Ws(!1),cs(dl),gl()},onKeyDown:function(Hi,Bs){Ta==null||Ta(Hi,Bs)},onFocus:_o,onBlur:fl,changeOnBlur:Ho}),Za=(0,Ht.Z)(El,2),Zi=Za[0],eo=Za[1],ns=eo.focused,hl=eo.typing;he.useEffect(function(){Qs||(cs(dl),!ts.length||ts[0]===""?Co(""):Os!==ml&&gl())},[Qs,ts]),he.useEffect(function(){Qs||gl()},[Pi]),he.useEffect(function(){cs(dl)},[dl]),go&&(go.current={focus:function(){var Hi;(Hi=Zo.current)===null||Hi===void 0||Hi.focus()},blur:function(){var Hi;(Hi=Zo.current)===null||Hi===void 0||Hi.blur()}});var Mu=$n(ml,{formatList:al,generateConfig:br,locale:Rn}),Yl=(0,Ht.Z)(Mu,3),ku=Yl[0],Ql=Yl[1],ms=Yl[2],Ua=(0,Xt.Z)((0,Xt.Z)({},be),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),fu=he.createElement("div",{className:"".concat(vt,"-panel-layout")},he.createElement(ct,{prefixCls:vt,presets:Sl,onClick:function(Hi){sl(Hi),Ws(!1)}}),he.createElement(xn,(0,we.Z)({},Ua,{generateConfig:br,className:wt()((0,qt.Z)({},"".concat(vt,"-panel-focused"),!hl)),value:Ks,locale:Rn,tabIndex:-1,onSelect:function(Hi){$a==null||$a(Hi),cs(Hi)},direction:zi,onPanelChange:function(Hi,Bs){var Js=be.onPanelChange;ms(!0),Js==null||Js(Hi,Bs)}})));To&&(fu=To(fu));var vl=he.createElement("div",{className:"".concat(vt,"-panel-container"),ref:zs,onMouseDown:function(Hi){Hi.preventDefault()}},fu),Nu;Ra&&(Nu=he.createElement("span",{className:"".concat(vt,"-suffix"),onMouseDown:function(Hi){Hi.preventDefault()}},Ra));var Xl=dn(vt,Rr,Fa),Ru=he.createElement("span",{onMouseDown:function(Hi){Hi.preventDefault(),Hi.stopPropagation()},onMouseUp:function(Hi){Hi.preventDefault(),Hi.stopPropagation(),sl(null),Ws(!1)},className:"".concat(vt,"-clear"),role:"button"},Xl),Kl=!!Rr&&dl&&!ya,Ni=(0,Xt.Z)((0,Xt.Z)((0,Xt.Z)({id:vn,tabIndex:Un,disabled:ya,readOnly:fr||typeof al[0]=="function"||!hl,value:ku||ml,onChange:function(Hi){Co(Hi.target.value)},autoFocus:Ur,placeholder:za,ref:Zo,title:ml},Zi),{},{size:Gi(Pi,al[0],br),name:ln},(0,kn.Z)(be,{aria:!0,data:!0})),{},{autoComplete:xo}),Xs=Yo?Yo(Ni):he.createElement("input",Ni),ac=function(Hi,Bs){(Bs==="submit"||Bs!=="key"&&!Es)&&(sl(Hi),Ws(!1))},oc=zi==="rtl"?"bottomRight":"bottomLeft";return he.createElement($e.Provider,{value:{operationRef:Ts,hideHeader:Pi==="time",onSelect:ac,open:Qs,defaultOpenValue:oa,onDateMouseEnter:Ql,onDateMouseLeave:ms}},he.createElement(xt,{visible:Qs,popupElement:vl,popupStyle:Pn,prefixCls:vt,dropdownClassName:nr,dropdownAlign:Dn,getPopupContainer:uo,transitionName:vr,popupPlacement:oc,direction:zi},he.createElement("div",{ref:Au,className:wt()(vt,hn,(Be={},(0,qt.Z)(Be,"".concat(vt,"-disabled"),ya),(0,qt.Z)(Be,"".concat(vt,"-focused"),ns),(0,qt.Z)(Be,"".concat(vt,"-rtl"),zi==="rtl"),Be)),style:Cn,onMouseDown:ps,onMouseUp:Oo,onMouseEnter:Ma,onMouseLeave:ba,onContextMenu:Bo,onClick:Cl},he.createElement("div",{className:wt()("".concat(vt,"-input"),(0,qt.Z)({},"".concat(vt,"-input-placeholder"),!!ku)),ref:Bl},Xs,Nu,Kl&&Ru))))}var In=function(be){(0,ft.Z)(Pe,be);var Be=(0,Wt.Z)(Pe);function Pe(){var gt;(0,An.Z)(this,Pe);for(var vt=arguments.length,vn=new Array(vt),ln=0;ln<vt;ln++)vn[ln]=arguments[ln];return gt=Be.call.apply(Be,[this].concat(vn)),(0,qt.Z)((0,rt.Z)(gt),"pickerRef",he.createRef()),(0,qt.Z)((0,rt.Z)(gt),"focus",function(){gt.pickerRef.current&>.pickerRef.current.focus()}),(0,qt.Z)((0,rt.Z)(gt),"blur",function(){gt.pickerRef.current&>.pickerRef.current.blur()}),gt}return(0,Tt.Z)(Pe,[{key:"render",value:function(){return he.createElement(qn,(0,we.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Pe}(he.Component),wn=In;function xr(be,Be){var Pe=be.picker,gt=be.locale,vt=be.selectedValue,vn=be.disabledDate,ln=be.disabled,Un=be.generateConfig,Cn=Bn(vt,0),hn=Bn(vt,1);function nr(Rn){return Un.locale.getWeekFirstDate(gt.locale,Rn)}function Dn(Rn){var fr=Un.getYear(Rn),Rr=Un.getMonth(Rn);return fr*100+Rr}function Pn(Rn){var fr=Un.getYear(Rn),Rr=Ke(Un,Rn);return fr*10+Rr}var vr=he.useCallback(function(Rn){if(ln[0]||vn&&vn(Rn))return!0;if(ln[1]&&hn)return!Kt(Un,Rn,hn)&&Un.isAfter(Rn,hn);if(!Be&&hn)switch(Pe){case"quarter":return Pn(Rn)>Pn(hn);case"month":return Dn(Rn)>Dn(hn);case"week":return nr(Rn)>nr(hn);default:return!Kt(Un,Rn,hn)&&Un.isAfter(Rn,hn)}return!1},[vn,ln[1],hn,Be]),br=he.useCallback(function(Rn){if(ln[1]||vn&&vn(Rn))return!0;if(ln[0]&&Cn)return!Kt(Un,Rn,hn)&&Un.isAfter(Cn,Rn);if(!Be&&Cn)switch(Pe){case"quarter":return Pn(Rn)<Pn(Cn);case"month":return Dn(Rn)<Dn(Cn);case"week":return nr(Rn)<nr(Cn);default:return!Kt(Un,Rn,Cn)&&Un.isAfter(Cn,Rn)}return!1},[vn,ln[0],Cn,Be]);return[vr,br]}var pr=ie(60276),Pr=ie(77527);function dr(be,Be,Pe,gt,vt,vn,ln,Un,Cn,hn){var nr=he.useState(!1),Dn=(0,Ht.Z)(nr,2),Pn=Dn[0],vr=Dn[1],br=(0,pr.useMergedState)(be||!1,{value:Be}),Rn=(0,Ht.Z)(br,2),fr=Rn[0],Rr=Rn[1],Ur=(0,pr.useMergedState)(be||!1,{value:Be,onChange:function(Ia){hn==null||hn(Ia)}}),ii=(0,Ht.Z)(Ur,2),bi=ii[0],Pi=ii[1],Si=(0,pr.useMergedState)(0,{value:Pe}),ui=(0,Ht.Z)(Si,2),va=ui[0],ca=ui[1],Ka=he.useState(null),Ya=(0,Ht.Z)(Ka,2),La=Ya[0],oa=Ya[1];he.useEffect(function(){bi&&vr(!0)},[bi]);var Ra=function(Ia){return Ia===0?1:0},Fa=(0,Pr.Z)(function(ya,Ia,za){if(Ia===!1)Pi(ya);else if(ya){ca(Ia),Pi(ya);var uo=Ra(Ia);!bi||![ln,Un][uo]?oa(uo):(vr(!1),La!==null&&oa(null))}else if(za==="confirm"||za==="blur"&>){var go=fr?Ra(Ia):La;go!==null&&(vr(!1),ca(go)),oa(null),go!==null&&!Cn[go]?(0,wr.Z)(function(){var To,us=[vt,vn][go];(To=us.current)===null||To===void 0||To.focus()}):Pi(!1)}else Pi(!1),Rr(!1)});return[bi,va,Pn,Fa]}function Vn(be,Be,Pe,gt){var vt=gn(be,Pe,gt,1);function vn(ln){return ln(be,Be)?"same":ln(vt,Be)?"closing":"far"}switch(Pe){case"year":return vn(function(ln,Un){return le(gt,ln,Un)});case"quarter":case"month":return vn(function(ln,Un){return De(gt,ln,Un)});default:return vn(function(ln,Un){return Yt(gt,ln,Un)})}}function Hr(be,Be,Pe,gt){var vt=Bn(be,0),vn=Bn(be,1);if(Be===0)return vt;if(vt&&vn){var ln=Vn(vt,vn,Pe,gt);switch(ln){case"same":return vt;case"closing":return vt;default:return gn(vn,Pe,gt,-1)}}return vt}function ni(be){var Be=be.values,Pe=be.picker,gt=be.defaultDates,vt=be.generateConfig,vn=he.useState(function(){return[Bn(gt,0),Bn(gt,1)]}),ln=(0,Ht.Z)(vn,2),Un=ln[0],Cn=ln[1],hn=he.useState(null),nr=(0,Ht.Z)(hn,2),Dn=nr[0],Pn=nr[1],vr=Bn(Be,0),br=Bn(Be,1);function Rn(Rr){return Un[Rr]?Un[Rr]:Bn(Dn,Rr)||Hr(Be,Rr,Pe,vt)||vr||br||vt.getNow()}function fr(Rr,Ur){if(Rr){var ii=Qr(Dn,Rr,Ur);Cn(Qr(Un,null,Ur)||[null,null]);var bi=(Ur+1)%2;Bn(Be,bi)||(ii=Qr(ii,Rr,bi)),Pn(ii)}else(vr||br)&&Pn(null)}return[Rn,fr]}function Wr(be,Be){return be&&be[0]&&be[1]&&Be.isAfter(be[0],be[1])?[be[1],be[0]]:be}function Nr(be,Be,Pe,gt){return!!(be||gt&>[Be]||Pe[(Be+1)%2])}function Gr(be){var Be,Pe,gt,vt=be,vn=vt.prefixCls,ln=vn===void 0?"rc-picker":vn,Un=vt.id,Cn=vt.style,hn=vt.className,nr=vt.popupStyle,Dn=vt.dropdownClassName,Pn=vt.transitionName,vr=vt.dropdownAlign,br=vt.getPopupContainer,Rn=vt.generateConfig,fr=vt.locale,Rr=vt.placeholder,Ur=vt.autoFocus,ii=vt.disabled,bi=vt.format,Pi=vt.picker,Si=Pi===void 0?"date":Pi,ui=vt.showTime,va=vt.use12Hours,ca=vt.separator,Ka=ca===void 0?"~":ca,Ya=vt.value,La=vt.defaultValue,oa=vt.defaultPickerValue,Ra=vt.open,Fa=vt.defaultOpen,ya=vt.disabledDate,Ia=vt.disabledTime,za=vt.dateRender,uo=vt.monthCellRender,go=vt.cellRender,To=vt.panelRender,us=vt.presets,ss=vt.ranges,_o=vt.allowEmpty,Do=vt.allowClear,ps=vt.suffixIcon,Oo=vt.clearIcon,Ma=vt.pickerRef,ba=vt.inputReadOnly,Bo=vt.mode,Ao=vt.renderExtraFooter,Ta=vt.onChange,$a=vt.onOpenChange,zi=vt.onPanelChange,Qa=vt.onCalendarChange,xo=vt.onFocus,Yo=vt.onBlur,Ho=vt.onMouseDown,Zo=vt.onMouseUp,Es=vt.onMouseEnter,Sl=vt.onMouseLeave,al=vt.onClick,zs=vt.onOk,Bl=vt.onKeyDown,Au=vt.components,zl=vt.order,Ds=vt.direction,dl=vt.activePickerIndex,Hs=vt.autoComplete,Hl=Hs===void 0?"off":Hs,Ll=vt.changeOnBlur,Ks=Si==="date"&&!!ui||Si==="time",cs=(0,he.useRef)(null),Ts=(0,he.useRef)(null),es=(0,he.useRef)(null),Ys=(0,he.useRef)(null),Qs=(0,he.useRef)(null),ol=(0,he.useRef)(null),fs=(0,he.useRef)(null),Wa=(0,he.useRef)(null),ts=Sn(yi(bi,Si,ui,va)),Os=(0,he.useRef)(null),jo=he.useMemo(function(){return Array.isArray(ii)?ii:[ii||!1,ii||!1]},[ii]),Gs=(0,un.Z)(null,{value:Ya,defaultValue:La,postState:function(da){return Si==="time"&&!zl?da:Wr(da,Rn)}}),ml=(0,Ht.Z)(Gs,2),Co=ml[0],gl=ml[1],sl=ni({values:Co,picker:Si,defaultDates:oa,generateConfig:Rn}),Ws=(0,Ht.Z)(sl,2),_l=Ws[0],Cl=Ws[1],fl=(0,un.Z)(Co,{postState:function(da){var Na=da;if(jo[0]&&jo[1])return Na;for(var ko=0;ko<2;ko+=1)jo[ko]&&!Na&&!Bn(Na,ko)&&!Bn(_o,ko)&&(Na=Qr(Na,Rn.getNow(),ko));return Na}}),El=(0,Ht.Z)(fl,2),Za=El[0],Zi=El[1],eo=(0,un.Z)([Si,Si],{value:Bo}),ns=(0,Ht.Z)(eo,2),hl=ns[0],Mu=ns[1];(0,he.useEffect)(function(){Mu([Si,Si])},[Si]);var Yl=function(da,Na){Mu(da),zi&&zi(Na,da)},ku=dr(Fa,Ra,dl,Ll,ol,fs,Bn(Za,0),Bn(Za,1),jo,$a),Ql=(0,Ht.Z)(ku,4),ms=Ql[0],Ua=Ql[1],fu=Ql[2],vl=Ql[3],Nu=ms&&Ua===0,Xl=ms&&Ua===1,Ru=xr({picker:Si,selectedValue:Za,locale:fr,disabled:jo,disabledDate:ya,generateConfig:Rn},!ms||fu),Kl=(0,Ht.Z)(Ru,2),Ni=Kl[0],Xs=Kl[1],ac=(0,he.useState)(0),oc=(0,Ht.Z)(ac,2),wo=oc[0],Hi=oc[1];(0,he.useEffect)(function(){!ms&&cs.current&&Hi(cs.current.offsetWidth)},[ms]);function Bs(Mo){vl(!0,Mo,"open"),(0,wr.Z)(function(){var da,Na=[ol,fs][Mo];(da=Na.current)===null||da===void 0||da.focus()},0)}function Js(Mo,da){var Na=Mo,ko=Bn(Na,0),Uo=Bn(Na,1);ko&&Uo&&Rn.isAfter(ko,Uo)&&(Si==="week"&&!$t(Rn,fr.locale,ko,Uo)||Si==="quarter"&&!Et(Rn,ko,Uo)||Si!=="week"&&Si!=="quarter"&&Si!=="time"&&!Kt(Rn,ko,Uo)?da===0?(Na=[ko,null],Uo=null):(ko=null,Na=[null,Uo]):(Si!=="time"||zl!==!1)&&(Na=Wr(Na,Rn))),Zi(Na);var bs=Na&&Na[0]?hr(Na[0],{generateConfig:Rn,locale:fr,format:ts[0]}):"",js=Na&&Na[1]?hr(Na[1],{generateConfig:Rn,locale:fr,format:ts[0]}):"";if(Qa){var au={range:da===0?"start":"end"};Qa(Na,[bs,js],au)}var Vl=Nr(ko,0,jo,_o),Ml=Nr(Uo,1,jo,_o),bu=Na===null||Vl&&Ml;bu&&(gl(Na),Ta&&(!gr(Rn,Bn(Co,0),ko)||!gr(Rn,Bn(Co,1),Uo))&&Ta(Na,[bs,js]))}var ud=function(da){return ms&&Os.current&&Os.current.onKeyDown?Os.current.onKeyDown(da):((0,Re.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},hu={formatList:ts,generateConfig:Rn,locale:fr},qs=It(Bn(Za,0),hu),sc=(0,Ht.Z)(qs,2),Al=sc[0],Hc=sc[1],wc=It(Bn(Za,1),hu),Jl=(0,Ht.Z)(wc,2),zu=Jl[0],ql=Jl[1],lc=function(da,Na){var ko=Er(da,{locale:fr,formatList:ts,generateConfig:Rn}),Uo=Na===0?Ni:Xs;ko&&!Uo(ko)&&(Zi(Qr(Za,ko,Na)),Cl(ko,Na))},Du=Mt({valueTexts:Al,onTextChange:function(da){return lc(da,0)}}),Sc=(0,Ht.Z)(Du,3),$l=Sc[0],Kc=Sc[1],Wc=Sc[2],uc=Mt({valueTexts:zu,onTextChange:function(da){return lc(da,1)}}),Bu=(0,Ht.Z)(uc,3),Fl=Bu[0],Lu=Bu[1],Fu=Bu[2],cd=(0,he.useState)(null),Zc=(0,Ht.Z)(cd,2),dd=Zc[0],pu=Zc[1],eu=(0,he.useState)(null),so=(0,Ht.Z)(eu,2),No=so[0],tu=so[1],fd=$n($l,{formatList:ts,generateConfig:Rn,locale:fr}),ll=(0,Ht.Z)(fd,3),jc=ll[0],ys=ll[1],cc=ll[2],Hd=$n(Fl,{formatList:ts,generateConfig:Rn,locale:fr}),Vc=(0,Ht.Z)(Hd,3),Cc=Vc[0],Hu=Vc[1],mu=Vc[2],ci=function(da){tu(Qr(Za,da,Ua)),Ua===0?ys(da):Hu(da)},Uc=function(){tu(Qr(Za,null,Ua)),Ua===0?cc():mu()},Ec=he.useState(ms),dc=(0,Ht.Z)(Ec,2),Pl=dc[0],fc=dc[1];he.useEffect(function(){fc(ms)},[ms]);var Ac=function(da){if(Ll&&Pl){var Na=Bn(Za,Ua);Na&&Js(Za,Ua)}return Yo==null?void 0:Yo(da)},Ku=function(da,Na){return{blurToCancel:!Ll&&Ks,forwardKeyDown:ud,onBlur:Ac,isClickOutside:function(Uo){return!ir([Ts.current,es.current,Ys.current,cs.current],Uo)},onFocus:function(Uo){xo&&xo(Uo)},triggerOpen:function(Uo){Uo?vl(Uo,da,"open"):vl(Uo,Bn(Za,da)?da:!1,"blur")},onSubmit:function(){if(!Za||ya&&ya(Za[da]))return!1;Js(Za,da),Na(),vl(!1,Ua,"confirm")},onCancel:function(){vl(!1,da,"cancel"),Zi(Co),Na()}}},Vo={onKeyDown:function(da,Na){Bl==null||Bl(da,Na)},changeOnBlur:Ll},Kd=Xn((0,Xt.Z)((0,Xt.Z)({},Ku(0,Wc)),{},{open:Nu,value:$l},Vo)),Mc=(0,Ht.Z)(Kd,2),nu=Mc[0],Wu=Mc[1],ru=Wu.focused,gu=Wu.typing,$s=Xn((0,Xt.Z)((0,Xt.Z)({},Ku(1,Fu)),{},{open:Xl,value:Fl},Vo)),yl=(0,Ht.Z)($s,2),Zs=yl[0],Il=yl[1],vu=Il.focused,Tl=Il.typing,Zu=function(da){al&&al(da),!ms&&!ol.current.contains(da.target)&&!fs.current.contains(da.target)&&(jo[0]?jo[1]||Bs(1):Bs(0))},Gc=function(da){Ho&&Ho(da),ms&&(ru||vu)&&!ol.current.contains(da.target)&&!fs.current.contains(da.target)&&da.preventDefault()},_c=Co&&Co[0]?hr(Co[0],{locale:fr,format:"YYYYMMDDHHmmss",generateConfig:Rn}):"",hd=Co&&Co[1]?hr(Co[1],{locale:fr,format:"YYYYMMDDHHmmss",generateConfig:Rn}):"";(0,he.useEffect)(function(){ms||(Zi(Co),!Al.length||Al[0]===""?Kc(""):Hc!==$l&&Wc(),!zu.length||zu[0]===""?Lu(""):ql!==Fl&&Fu())},[ms,Al,zu]),(0,he.useEffect)(function(){Zi(Co)},[_c,hd]);var gs=on({cellRender:go,monthCellRender:uo,dateRender:za}),Wl=he.useMemo(function(){if(gs)return function(Mo,da){return gs(Mo,(0,Xt.Z)((0,Xt.Z)({},da),{},{range:Ua?"end":"start"}))}},[Ua,gs]);Ma&&(Ma.current={focus:function(){ol.current&&ol.current.focus()},blur:function(){ol.current&&ol.current.blur(),fs.current&&fs.current.blur()}});var Wd=pt(us,ss);function yu(){var Mo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,da=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Na=null;ms&&No&&No[0]&&No[1]&&Rn.isAfter(No[1],No[0])&&(Na=No);var ko=ui;if(ui&&(0,Ft.Z)(ui)==="object"&&ui.defaultValue){var Uo=ui.defaultValue;ko=(0,Xt.Z)((0,Xt.Z)({},ui),{},{defaultValue:Bn(Uo,Ua)||void 0})}return he.createElement(zr.Provider,{value:{inRange:!0,panelPosition:Mo,rangedValue:dd||Za,hoverRangedValue:Na}},he.createElement(xn,(0,we.Z)({},be,da,{cellRender:Wl,showTime:ko,mode:hl[Ua],generateConfig:Rn,style:void 0,direction:Ds,disabledDate:Ua===0?Ni:Xs,disabledTime:function(js){return Ia?Ia(js,Ua===0?"start":"end"):!1},className:wt()((0,qt.Z)({},"".concat(ln,"-panel-focused"),Ua===0?!gu:!Tl)),value:Bn(Za,Ua),locale:fr,tabIndex:-1,onPanelChange:function(js,au){Ua===0&&cc(!0),Ua===1&&mu(!0),Yl(Qr(hl,au,Ua),Qr(Za,js,Ua));var Vl=js;Mo==="right"&&hl[Ua]===au&&(Vl=gn(Vl,au,Rn,-1)),Cl(Vl,Ua)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Ua===0?Bn(Za,1):Bn(Za,0)})))}var Ol=0,vo=0;if(Ua&&es.current&&Qs.current&&Ts.current&&Wa.current){Ol=es.current.offsetWidth+Qs.current.offsetWidth;var ju=Wa.current.offsetLeft>Ol?Wa.current.offsetLeft-Ol:Wa.current.offsetLeft,Zl=Ts.current.offsetWidth,Vu=Wa.current.offsetWidth;Zl&&Vu&&Ol>Zl-Vu-(Ds==="rtl"?0:ju)&&(vo=Ol)}var Br=Ds==="rtl"?{right:Ol}:{left:Ol};function pd(){var Mo,da=Ue(ln,hl[Ua],Ao),Na=tt({prefixCls:ln,components:Au,needConfirmButton:Ks,okDisabled:!Bn(Za,Ua)||ya&&ya(Za[Ua]),locale:fr,onOk:function(){var pl=Bn(Za,Ua);pl&&(Js(Za,Ua),zs==null||zs(Za),vl(!1,Ua,"confirm"))}});if(Si!=="time"&&!ui){var ko=_l(Ua),Uo=gn(ko,Si,Rn),bs=hl[Ua],js=bs===Si,au=yu(js?"left":!1,{pickerValue:ko,onPickerValueChange:function(pl){Cl(pl,Ua)}}),Vl=yu("right",{pickerValue:Uo,onPickerValueChange:function(pl){Cl(gn(pl,Si,Rn,-1),Ua)}});Ds==="rtl"?Mo=he.createElement(he.Fragment,null,Vl,js&&au):Mo=he.createElement(he.Fragment,null,au,js&&Vl)}else Mo=yu();var Ml=he.createElement("div",{className:"".concat(ln,"-panel-layout")},he.createElement(ct,{prefixCls:ln,presets:Wd,onClick:function(pl){Js(pl,null),vl(!1,Ua,"preset")},onHover:function(pl){pu(pl)}}),he.createElement("div",null,he.createElement("div",{className:"".concat(ln,"-panels")},Mo),(da||Na)&&he.createElement("div",{className:"".concat(ln,"-footer")},da,Na)));return To&&(Ml=To(Ml)),he.createElement("div",{className:"".concat(ln,"-panel-container"),style:{marginLeft:vo},ref:Ts,onMouseDown:function(pl){pl.preventDefault()}},Ml)}var md=he.createElement("div",{className:wt()("".concat(ln,"-range-wrapper"),"".concat(ln,"-").concat(Si,"-range-wrapper")),style:{minWidth:wo}},he.createElement("div",{ref:Wa,className:"".concat(ln,"-range-arrow"),style:Br}),pd()),kc;ps&&(kc=he.createElement("span",{className:"".concat(ln,"-suffix"),onMouseDown:function(da){da.preventDefault()}},ps));var Yc=dn(ln,Do,Oo),iu=he.createElement("span",{onMouseDown:function(da){da.preventDefault(),da.stopPropagation()},onMouseUp:function(da){da.preventDefault(),da.stopPropagation();var Na=Co;jo[0]||(Na=Qr(Na,null,0)),jo[1]||(Na=Qr(Na,null,1)),Js(Na,null),vl(!1,Ua,"clear")},className:"".concat(ln,"-clear"),role:"button"},Yc),hc=Do&&(Bn(Co,0)&&!jo[0]||Bn(Co,1)&&!jo[1]),gd={size:Gi(Si,ts[0],Rn)},Ls=0,jl=0;es.current&&Ys.current&&Qs.current&&(Ua===0?jl=es.current.offsetWidth:(Ls=Ol,jl=Ys.current.offsetWidth));var Dc=Ds==="rtl"?{right:Ls}:{left:Ls},Bc=function(da,Na){var ko=Qr(Za,da,Ua);if(Na==="submit"||Na!=="key"&&!Ks){Js(ko,Ua),Ua===0?cc():mu();var Uo=Ua===0?1:0;jo[Uo]?vl(!1,!1,"confirm"):vl(!1,Ua,"confirm")}else Zi(ko)};return he.createElement($e.Provider,{value:{operationRef:Os,hideHeader:Si==="time",onDateMouseEnter:ci,onDateMouseLeave:Uc,hideRanges:!0,onSelect:Bc,open:ms}},he.createElement(xt,{visible:ms,popupElement:md,popupStyle:nr,prefixCls:ln,dropdownClassName:Dn,dropdownAlign:vr,getPopupContainer:br,transitionName:Pn,range:!0,direction:Ds},he.createElement("div",(0,we.Z)({ref:cs,className:wt()(ln,"".concat(ln,"-range"),hn,(Be={},(0,qt.Z)(Be,"".concat(ln,"-disabled"),jo[0]&&jo[1]),(0,qt.Z)(Be,"".concat(ln,"-focused"),Ua===0?ru:vu),(0,qt.Z)(Be,"".concat(ln,"-rtl"),Ds==="rtl"),Be)),style:Cn,onClick:Zu,onMouseEnter:Es,onMouseLeave:Sl,onMouseDown:Gc,onMouseUp:Zo},(0,kn.Z)(be,{aria:!0,data:!0})),he.createElement("div",{className:wt()("".concat(ln,"-input"),(Pe={},(0,qt.Z)(Pe,"".concat(ln,"-input-active"),Ua===0),(0,qt.Z)(Pe,"".concat(ln,"-input-placeholder"),!!jc),Pe)),ref:es},he.createElement("input",(0,we.Z)({id:Un,disabled:jo[0],readOnly:ba||typeof ts[0]=="function"||!gu,value:jc||$l,onChange:function(da){Kc(da.target.value)},autoFocus:Ur,placeholder:Bn(Rr,0)||"",ref:ol},nu,gd,{autoComplete:Hl}))),he.createElement("div",{className:"".concat(ln,"-range-separator"),ref:Qs},Ka),he.createElement("div",{className:wt()("".concat(ln,"-input"),(gt={},(0,qt.Z)(gt,"".concat(ln,"-input-active"),Ua===1),(0,qt.Z)(gt,"".concat(ln,"-input-placeholder"),!!Cc),gt)),ref:Ys},he.createElement("input",(0,we.Z)({disabled:jo[1],readOnly:ba||typeof ts[0]=="function"||!Tl,value:Cc||Fl,onChange:function(da){Lu(da.target.value)},placeholder:Bn(Rr,1)||"",ref:fs},Zs,gd,{autoComplete:Hl}))),he.createElement("div",{className:"".concat(ln,"-active-bar"),style:(0,Xt.Z)((0,Xt.Z)({},Dc),{},{width:jl,position:"absolute"})}),kc,hc&&iu)))}var Li=function(be){(0,ft.Z)(Pe,be);var Be=(0,Wt.Z)(Pe);function Pe(){var gt;(0,An.Z)(this,Pe);for(var vt=arguments.length,vn=new Array(vt),ln=0;ln<vt;ln++)vn[ln]=arguments[ln];return gt=Be.call.apply(Be,[this].concat(vn)),(0,qt.Z)((0,rt.Z)(gt),"pickerRef",he.createRef()),(0,qt.Z)((0,rt.Z)(gt),"focus",function(){gt.pickerRef.current&>.pickerRef.current.focus()}),(0,qt.Z)((0,rt.Z)(gt),"blur",function(){gt.pickerRef.current&>.pickerRef.current.blur()}),gt}return(0,Tt.Z)(Pe,[{key:"render",value:function(){return he.createElement(Gr,(0,we.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Pe}(he.Component),xi=Li,Ei=wn,$i=ie(9708),Aa=ie(53124),_i=ie(98866),la=ie(98675),Ai=ie(65223),Ki=ie(10110),ua=ie(4173),pa=ie(16516),ao=ie(84780),no=ie(47673),ro=ie(14747),Ha=ie(79511),wa=ie(80110),Wi=ie(67771),co=ie(33297),aa=ie(45503),Bi=ie(67968);const ma=(be,Be,Pe,gt)=>{const{lineHeight:vt}=be,vn=Math.floor(Pe*vt)+2,ln=Math.max((Be-vn)/2,0),Un=Math.max(Be-vn-ln,0);return{padding:`${ln}px ${gt}px ${Un}px`}},Ja=be=>{const{componentCls:Be,pickerCellCls:Pe,pickerCellInnerCls:gt,cellHeight:vt,motionDurationSlow:vn,borderRadiusSM:ln,motionDurationMid:Un,cellHoverBg:Cn,lineWidth:hn,lineType:nr,colorPrimary:Dn,cellActiveWithRangeBg:Pn,colorTextLightSolid:vr,controlHeightSM:br,cellRangeBorderColor:Rn,pickerCellBorderGap:fr,cellHoverWithRangeBg:Rr,cellWidth:Ur,colorTextDisabled:ii,cellBgDisabled:bi}=be;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:vt,transform:"translateY(-50%)",transition:`all ${vn}`,content:'""'},[gt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:vt,height:vt,lineHeight:`${vt}px`,borderRadius:ln,transition:`background ${Un}, border ${Un}`},"&-range-hover-start, &-range-hover-end":{[gt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Pe}-in-view),
|
|
|
&:hover:not(${Pe}-selected):not(${Pe}-range-start):not(${Pe}-range-end):not(${Pe}-range-hover-start):not(${Pe}-range-hover-end)`]:{[gt]:{background:Cn}},[`&-in-view${Pe}-today ${gt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${hn}px ${nr} ${Dn}`,borderRadius:ln,content:'""'}},[`&-in-view${Pe}-in-range`]:{position:"relative","&::before":{background:Pn}},[`&-in-view${Pe}-selected ${gt},
|
|
|
&-in-view${Pe}-range-start ${gt},
|
|
|
&-in-view${Pe}-range-end ${gt}`]:{color:vr,background:Dn},[`&-in-view${Pe}-range-start:not(${Pe}-range-start-single),
|
|
|
&-in-view${Pe}-range-end:not(${Pe}-range-end-single)`]:{"&::before":{background:Pn}},[`&-in-view${Pe}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Pe}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Pe}-range-hover-start:not(${Pe}-in-range):not(${Pe}-range-start):not(${Pe}-range-end),
|
|
|
&-in-view${Pe}-range-hover-end:not(${Pe}-in-range):not(${Pe}-range-start):not(${Pe}-range-end),
|
|
|
&-in-view${Pe}-range-hover-start${Pe}-range-start-single,
|
|
|
&-in-view${Pe}-range-hover-start${Pe}-range-start${Pe}-range-end${Pe}-range-end-near-hover,
|
|
|
&-in-view${Pe}-range-hover-end${Pe}-range-start${Pe}-range-end${Pe}-range-start-near-hover,
|
|
|
&-in-view${Pe}-range-hover-end${Pe}-range-end-single,
|
|
|
&-in-view${Pe}-range-hover:not(${Pe}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:br,borderTop:`${hn}px dashed ${Rn}`,borderBottom:`${hn}px dashed ${Rn}`,transform:"translateY(-50%)",transition:`all ${vn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:fr},[`&-in-view${Pe}-in-range${Pe}-range-hover::before,
|
|
|
&-in-view${Pe}-in-range${Pe}-range-hover-start::before,
|
|
|
&-in-view${Pe}-in-range${Pe}-range-hover-end::before,
|
|
|
&-in-view${Pe}-range-start${Pe}-range-hover::before,
|
|
|
&-in-view${Pe}-range-end${Pe}-range-hover::before,
|
|
|
&-in-view${Pe}-range-start:not(${Pe}-range-start-single)${Pe}-range-hover-start::before,
|
|
|
&-in-view${Pe}-range-end:not(${Pe}-range-end-single)${Pe}-range-hover-end::before,
|
|
|
${Be}-panel
|
|
|
> :not(${Be}-date-panel)
|
|
|
&-in-view${Pe}-in-range${Pe}-range-hover-start::before,
|
|
|
${Be}-panel
|
|
|
> :not(${Be}-date-panel)
|
|
|
&-in-view${Pe}-in-range${Pe}-range-hover-end::before`]:{background:Rr},[`&-in-view${Pe}-range-start:not(${Pe}-range-start-single):not(${Pe}-range-end) ${gt}`]:{borderStartStartRadius:ln,borderEndStartRadius:ln,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Pe}-range-end:not(${Pe}-range-end-single):not(${Pe}-range-start) ${gt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ln,borderEndEndRadius:ln},[`&-range-hover${Pe}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Pe}-range-hover:first-child::after,
|
|
|
tr > &-in-view${Pe}-range-hover-end:first-child::after,
|
|
|
&-in-view${Pe}-start${Pe}-range-hover-edge-start${Pe}-range-hover-edge-start-near-range::after,
|
|
|
&-in-view${Pe}-range-hover-edge-start:not(${Pe}-range-hover-edge-start-near-range)::after,
|
|
|
&-in-view${Pe}-range-hover-start::after`]:{insetInlineStart:(Ur-vt)/2,borderInlineStart:`${hn}px dashed ${Rn}`,borderStartStartRadius:ln,borderEndStartRadius:ln},[`tr > &-in-view${Pe}-range-hover:last-child::after,
|
|
|
tr > &-in-view${Pe}-range-hover-start:last-child::after,
|
|
|
&-in-view${Pe}-end${Pe}-range-hover-edge-end${Pe}-range-hover-edge-end-near-range::after,
|
|
|
&-in-view${Pe}-range-hover-edge-end:not(${Pe}-range-hover-edge-end-near-range)::after,
|
|
|
&-in-view${Pe}-range-hover-end::after`]:{insetInlineEnd:(Ur-vt)/2,borderInlineEnd:`${hn}px dashed ${Rn}`,borderStartEndRadius:ln,borderEndEndRadius:ln},"&-disabled":{color:ii,pointerEvents:"none",[gt]:{background:"transparent"},"&::before":{background:bi}},[`&-disabled${Pe}-today ${gt}::before`]:{borderColor:ii}}},Ba=be=>{const{componentCls:Be,pickerCellCls:Pe,pickerCellInnerCls:gt,pickerYearMonthCellWidth:vt,pickerControlIconSize:vn,cellWidth:ln,paddingSM:Un,paddingXS:Cn,paddingXXS:hn,colorBgContainer:nr,lineWidth:Dn,lineType:Pn,borderRadiusLG:vr,colorPrimary:br,colorTextHeading:Rn,colorSplit:fr,pickerControlIconBorderWidth:Rr,colorIcon:Ur,textHeight:ii,motionDurationMid:bi,colorIconHover:Pi,fontWeightStrong:Si,cellHeight:ui,pickerCellPaddingVertical:va,colorTextDisabled:ca,colorText:Ka,fontSize:Ya,cellHoverWithRangeBg:La,motionDurationSlow:oa,withoutTimeCellHeight:Ra,pickerQuarterPanelContentHeight:Fa,colorLink:ya,colorLinkActive:Ia,colorLinkHover:za,cellRangeBorderColor:uo,borderRadiusSM:go,colorTextLightSolid:To,cellHoverBg:us,timeColumnHeight:ss,timeColumnWidth:_o,timeCellHeight:Do,controlItemBgActive:ps,marginXXS:Oo,pickerDatePanelPaddingHorizontal:Ma}=be,ba=ln*7+Ma*2,Bo=(ba-Cn*2)/3-vt-Un,Ao=(ba-Cn*2)/4-vt;return{[Be]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:nr,border:`${Dn}px ${Pn} ${fr}`,borderRadius:vr,outline:"none","&-focused":{borderColor:br},"&-rtl":{direction:"rtl",[`${Be}-prev-icon,
|
|
|
${Be}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Be}-next-icon,
|
|
|
${Be}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ba},"&-header":{display:"flex",padding:`0 ${Cn}px`,color:Rn,borderBottom:`${Dn}px ${Pn} ${fr}`,"> *":{flex:"none"},button:{padding:0,color:Ur,lineHeight:`${ii}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${bi}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Ya,"&:hover":{color:Pi}},"&-view":{flex:"auto",fontWeight:Si,lineHeight:`${ii}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Cn},"&:hover":{color:br}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:vn,height:vn,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:Rr,borderBlockEndWidth:0,borderInlineStartWidth:Rr,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(vn/2),insetInlineStart:Math.ceil(vn/2),display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:Rr,borderBlockEndWidth:0,borderInlineStartWidth:Rr,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ui,fontWeight:"normal"},th:{height:ui+va*2,color:Ka,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${va}px 0`,color:ca,cursor:"pointer","&-in-view":{color:Ka}},Ja(be)),[`&-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-start ${gt},
|
|
|
&-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-end ${gt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:La,transition:`all ${oa}`,content:'""'}},[`&-date-panel
|
|
|
${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-start
|
|
|
${gt}::after`]:{insetInlineEnd:-(ln-ui)/2,insetInlineStart:0},[`&-date-panel ${Be}-cell-in-view${Be}-cell-in-range${Be}-cell-range-hover-end ${gt}::after`]:{insetInlineEnd:0,insetInlineStart:-(ln-ui)/2},[`&-range-hover${Be}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Be}-content`]:{height:Ra*4},[gt]:{padding:`0 ${Cn}px`}},"&-quarter-panel":{[`${Be}-content`]:{height:Fa},[`${Be}-cell-range-hover-start::after`]:{insetInlineStart:Ao,borderInlineStart:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineEnd:Ao,borderInlineEnd:`${Dn}px dashed ${uo}`}},[`${Be}-cell-range-hover-end::after`]:{insetInlineEnd:Ao,borderInlineEnd:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineStart:Ao,borderInlineStart:`${Dn}px dashed ${uo}`}}},[`&-panel ${Be}-footer`]:{borderTop:`${Dn}px ${Pn} ${fr}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${ii-2*Dn}px`,textAlign:"center","&-extra":{padding:`0 ${Un}px`,lineHeight:`${ii-2*Dn}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Dn}px ${Pn} ${fr}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:ya,"&:hover":{color:za},"&:active":{color:Ia},[`&${Be}-today-btn-disabled`]:{color:ca,cursor:"not-allowed"}},"&-decade-panel":{[gt]:{padding:`0 ${Cn/2}px`},[`${Be}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Be}-body`]:{padding:`0 ${Cn}px`},[gt]:{width:vt},[`${Be}-cell-range-hover-start::after`]:{borderStartStartRadius:go,borderEndStartRadius:go,borderStartEndRadius:0,borderEndEndRadius:0,[`${Be}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:go,borderEndEndRadius:go}},[`${Be}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:go,borderEndEndRadius:go,[`${Be}-panel-rtl &`]:{borderStartStartRadius:go,borderEndStartRadius:go,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Be}-cell-range-hover-start::after`]:{insetInlineStart:Bo,borderInlineStart:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineEnd:Bo,borderInlineEnd:`${Dn}px dashed ${uo}`}},[`${Be}-cell-range-hover-end::after`]:{insetInlineEnd:Bo,borderInlineEnd:`${Dn}px dashed ${uo}`,[`${Be}-panel-rtl &`]:{insetInlineStart:Bo,borderInlineStart:`${Dn}px dashed ${uo}`}}},"&-week-panel":{[`${Be}-body`]:{padding:`${Cn}px ${Un}px`},[`${Be}-cell`]:{[`&:hover ${gt},
|
|
|
&-selected ${gt},
|
|
|
${gt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${bi}`},"&:first-child:before":{borderStartStartRadius:go,borderEndStartRadius:go},"&:last-child:before":{borderStartEndRadius:go,borderEndEndRadius:go}},"&:hover td":{"&:before":{background:us}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Pe}`]:{"&:before":{background:br},[`&${Be}-cell-week`]:{color:new ao.C(To).setAlpha(.5).toHexString()},[gt]:{color:To}}},"&-range-hover td:before":{background:ps}}},"&-date-panel":{[`${Be}-body`]:{padding:`${Cn}px ${Ma}px`},[`${Be}-content`]:{width:ln*7,th:{width:ln,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Be}-time-panel`]:{borderInlineStart:`${Dn}px ${Pn} ${fr}`},[`${Be}-date-panel,
|
|
|
${Be}-time-panel`]:{transition:`opacity ${oa}`},"&-active":{[`${Be}-date-panel,
|
|
|
${Be}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Be}-content`]:{display:"flex",flex:"auto",height:ss},"&-column":{flex:"1 0 auto",width:_o,margin:`${hn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${bi}`,overflowX:"hidden","&::after":{display:"block",height:ss-Do,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Dn}px ${Pn} ${fr}`},"&-active":{background:new ao.C(ps).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Be}-time-panel-cell`]:{marginInline:Oo,[`${Be}-time-panel-cell-inner`]:{display:"block",width:_o-2*Oo,height:Do,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(_o-Do)/2,color:Ka,lineHeight:`${Do}px`,borderRadius:go,cursor:"pointer",transition:`background ${bi}`,"&:hover":{background:us}},"&-selected":{[`${Be}-time-panel-cell-inner`]:{background:ps}},"&-disabled":{[`${Be}-time-panel-cell-inner`]:{color:ca,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Be}-time-panel-column:after`]:{height:ss-Do+hn*2}}}},Va=be=>{const{componentCls:Be,colorBgContainer:Pe,colorError:gt,errorActiveShadow:vt,colorWarning:vn,warningActiveShadow:ln}=be;return{[`${Be}:not(${Be}-disabled)`]:{[`&${Be}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Pe,borderColor:gt},[`&${Be}-focused, &:focus`]:Object.assign({},(0,no.M1)((0,aa.TS)(be,{activeBorderColor:gt,activeShadow:vt}))),[`${Be}-active-bar`]:{background:gt}},[`&${Be}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Pe,borderColor:vn},[`&${Be}-focused, &:focus`]:Object.assign({},(0,no.M1)((0,aa.TS)(be,{activeBorderColor:vn,activeShadow:ln}))),[`${Be}-active-bar`]:{background:vn}}}}},na=be=>{const{componentCls:Be,antCls:Pe,controlHeight:gt,fontSize:vt,paddingInline:vn,colorBgContainer:ln,lineWidth:Un,lineType:Cn,colorBorder:hn,borderRadius:nr,motionDurationMid:Dn,colorBgContainerDisabled:Pn,colorTextDisabled:vr,colorTextPlaceholder:br,controlHeightLG:Rn,fontSizeLG:fr,controlHeightSM:Rr,paddingInlineSM:Ur,paddingXS:ii,marginXS:bi,colorTextDescription:Pi,lineWidthBold:Si,lineHeight:ui,colorPrimary:va,motionDurationSlow:ca,zIndexPopup:Ka,paddingXXS:Ya,paddingSM:La,textHeight:oa,cellActiveWithRangeBg:Ra,colorPrimaryBorder:Fa,sizePopupArrow:ya,borderRadiusXS:Ia,borderRadiusOuter:za,colorBgElevated:uo,borderRadiusLG:go,boxShadowSecondary:To,borderRadiusSM:us,colorSplit:ss,cellHoverBg:_o,presetsWidth:Do,presetsMaxWidth:ps,boxShadowPopoverArrow:Oo,colorTextQuaternary:Ma}=be;return[{[Be]:Object.assign(Object.assign(Object.assign({},(0,ro.Wf)(be)),ma(be,gt,vt,vn)),{position:"relative",display:"inline-flex",alignItems:"center",background:ln,lineHeight:1,border:`${Un}px ${Cn} ${hn}`,borderRadius:nr,transition:`border ${Dn}, box-shadow ${Dn}`,"&:hover, &-focused":Object.assign({},(0,no.pU)(be)),"&-focused":Object.assign({},(0,no.M1)(be)),[`&${Be}-disabled`]:{background:Pn,borderColor:hn,cursor:"not-allowed",[`${Be}-suffix`]:{color:Ma}},[`&${Be}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Be}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,no.ik)(be)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Be}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:br}}},"&-large":Object.assign(Object.assign({},ma(be,Rn,fr,vn)),{[`${Be}-input > input`]:{fontSize:fr}}),"&-small":Object.assign({},ma(be,Rr,vt,Ur)),[`${Be}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ii/2,color:vr,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:bi}}},[`${Be}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:vr,lineHeight:1,background:ln,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Dn}, color ${Dn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Pi}},[`${Be}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:fr,color:vr,fontSize:fr,verticalAlign:"top",cursor:"default",[`${Be}-focused &`]:{color:Pi},[`${Be}-range-separator &`]:{[`${Be}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Be}-clear`]:{insetInlineEnd:vn},"&:hover":{[`${Be}-clear`]:{opacity:1}},[`${Be}-active-bar`]:{bottom:-Un,height:Si,marginInlineStart:vn,background:va,opacity:0,transition:`all ${ca} ease-out`,pointerEvents:"none"},[`&${Be}-focused`]:{[`${Be}-active-bar`]:{opacity:1}},[`${Be}-range-separator`]:{alignItems:"center",padding:`0 ${ii}px`,lineHeight:1},[`&${Be}-small`]:{[`${Be}-clear`]:{insetInlineEnd:Ur},[`${Be}-active-bar`]:{marginInlineStart:Ur}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ro.Wf)(be)),Ba(be)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ka,[`&${Be}-dropdown-hidden`]:{display:"none"},[`&${Be}-dropdown-placement-bottomLeft`]:{[`${Be}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Be}-dropdown-placement-topLeft`]:{[`${Be}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-topLeft,
|
|
|
&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-topRight,
|
|
|
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-topLeft,
|
|
|
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-topRight`]:{animationName:Wi.Qt},[`&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-bottomLeft,
|
|
|
&${Pe}-slide-up-enter${Pe}-slide-up-enter-active${Be}-dropdown-placement-bottomRight,
|
|
|
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-bottomLeft,
|
|
|
&${Pe}-slide-up-appear${Pe}-slide-up-appear-active${Be}-dropdown-placement-bottomRight`]:{animationName:Wi.fJ},[`&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-topLeft,
|
|
|
&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-topRight`]:{animationName:Wi.ly},[`&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-bottomLeft,
|
|
|
&${Pe}-slide-up-leave${Pe}-slide-up-leave-active${Be}-dropdown-placement-bottomRight`]:{animationName:Wi.Uw},[`${Be}-panel > ${Be}-time-panel`]:{paddingTop:Ya},[`${Be}-ranges`]:{marginBottom:0,padding:`${Ya}px ${La}px`,overflow:"hidden",lineHeight:`${oa-2*Un-ii/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Be}-preset > ${Pe}-tag-blue`]:{color:va,background:Ra,borderColor:Fa,cursor:"pointer"},[`${Be}-ok`]:{marginInlineStart:"auto"}},[`${Be}-range-wrapper`]:{display:"flex",position:"relative"},[`${Be}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:vn*1.5,transition:`left ${ca} ease-out`},(0,Ha.r)(ya,Ia,za,uo,Oo)),[`${Be}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:uo,borderRadius:go,boxShadow:To,transition:`margin ${ca}`,[`${Be}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Be}-presets`]:{display:"flex",flexDirection:"column",minWidth:Do,maxWidth:ps,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:ii,borderInlineEnd:`${Un}px ${Cn} ${ss}`,li:Object.assign(Object.assign({},ro.vS),{borderRadius:us,paddingInline:ii,paddingBlock:(Rr-Math.round(vt*ui))/2,cursor:"pointer",transition:`all ${ca}`,"+ li":{marginTop:bi},"&:hover":{background:_o}})}},[`${Be}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Be}-panel`]:{borderWidth:`0 0 ${Un}px`},"&:last-child":{[`${Be}-panel`]:{borderWidth:0}}},[`${Be}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Be}-content,
|
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:hn}}}}),"&-dropdown-range":{padding:`${ya*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Be}-separator`]:{transform:"rotate(180deg)"},[`${Be}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Wi.oN)(be,"slide-up"),(0,Wi.oN)(be,"slide-down"),(0,co.Fm)(be,"move-up"),(0,co.Fm)(be,"move-down")]},oo=be=>{const{componentCls:Be,controlHeightLG:Pe,paddingXXS:gt,padding:vt}=be;return{pickerCellCls:`${Be}-cell`,pickerCellInnerCls:`${Be}-cell-inner`,pickerYearMonthCellWidth:Pe*1.5,pickerQuarterPanelContentHeight:Pe*1.4,pickerCellPaddingVertical:gt+gt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:vt+gt/2}},fo=be=>({cellHoverBg:be.controlItemBgHover,cellActiveWithRangeBg:be.controlItemBgActive,cellHoverWithRangeBg:new ao.C(be.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ao.C(be.colorPrimary).lighten(20).toHexString(),cellBgDisabled:be.colorBgContainerDisabled,timeColumnWidth:be.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:be.controlHeightSM*1.5,cellHeight:be.controlHeightSM,textHeight:be.controlHeightLG,withoutTimeCellHeight:be.controlHeightLG*1.65});var to=(0,Bi.Z)("DatePicker",be=>{const Be=(0,aa.TS)((0,no.e5)(be),oo(be));return[na(Be),Va(Be),(0,wa.c)(be,{focusElCls:`${be.componentCls}-focused`})]},be=>Object.assign(Object.assign(Object.assign({},(0,no.TM)(be)),fo(be)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:be.zIndexPopupBase+50}));function ho(be,Be,Pe){return Pe!==void 0?Pe:Be==="year"&&be.lang.yearPlaceholder?be.lang.yearPlaceholder:Be==="quarter"&&be.lang.quarterPlaceholder?be.lang.quarterPlaceholder:Be==="month"&&be.lang.monthPlaceholder?be.lang.monthPlaceholder:Be==="week"&&be.lang.weekPlaceholder?be.lang.weekPlaceholder:Be==="time"&&be.timePickerLocale.placeholder?be.timePickerLocale.placeholder:be.lang.placeholder}function bo(be,Be,Pe){return Pe!==void 0?Pe:Be==="year"&&be.lang.yearPlaceholder?be.lang.rangeYearPlaceholder:Be==="quarter"&&be.lang.quarterPlaceholder?be.lang.rangeQuarterPlaceholder:Be==="month"&&be.lang.monthPlaceholder?be.lang.rangeMonthPlaceholder:Be==="week"&&be.lang.weekPlaceholder?be.lang.rangeWeekPlaceholder:Be==="time"&&be.timePickerLocale.placeholder?be.timePickerLocale.rangePlaceholder:be.lang.rangePlaceholder}function Lo(be,Be){const Pe={adjustX:1,adjustY:1};switch(Be){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Pe};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Pe};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Pe};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Pe};default:return{points:be==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Pe}}}function io(be){return be?Array.isArray(be)?be:[be]:[]}function lo(be){const{format:Be,picker:Pe,showHour:gt,showMinute:vt,showSecond:vn,use12Hours:ln}=be,Un=io(Be)[0],Cn=Object.assign({},be);return Be&&Array.isArray(Be)&&(Cn.format=Un),Un&&typeof Un=="string"&&(!Un.includes("s")&&vn===void 0&&(Cn.showSecond=!1),!Un.includes("m")&&vt===void 0&&(Cn.showMinute=!1),!Un.includes("H")&&!Un.includes("h")&&!Un.includes("K")&&!Un.includes("k")&>===void 0&&(Cn.showHour=!1),(Un.includes("a")||Un.includes("A"))&&ln===void 0&&(Cn.use12Hours=!0)),Pe==="time"?Cn:(typeof Un=="function"&&delete Cn.format,{showTime:Cn})}function Ko(be,Be,Pe){if(be===!1)return!1;const gt={clearIcon:Be!=null?Be:Pe};return typeof be=="object"?Object.assign(Object.assign({},gt),be):gt}var Wo=ie(71577);function Jo(be){return he.createElement(Wo.ZP,Object.assign({size:"small",type:"primary"},be))}var po={button:Jo},ga=function(be,Be){var Pe={};for(var gt in be)Object.prototype.hasOwnProperty.call(be,gt)&&Be.indexOf(gt)<0&&(Pe[gt]=be[gt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,gt=Object.getOwnPropertySymbols(be);vt<gt.length;vt++)Be.indexOf(gt[vt])<0&&Object.prototype.propertyIsEnumerable.call(be,gt[vt])&&(Pe[gt[vt]]=be[gt[vt]]);return Pe};function Sa(be){return(0,he.forwardRef)((Pe,gt)=>{const{prefixCls:vt,getPopupContainer:vn,className:ln,placement:Un,size:Cn,disabled:hn,bordered:nr=!0,placeholder:Dn,popupClassName:Pn,dropdownClassName:vr,status:br,clearIcon:Rn,allowClear:fr,rootClassName:Rr}=Pe,Ur=ga(Pe,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),ii=he.useRef(null),{getPrefixCls:bi,direction:Pi,getPopupContainer:Si}=(0,he.useContext)(Aa.E_),ui=bi("picker",vt),{compactSize:va,compactItemClassnames:ca}=(0,ua.ri)(ui,Pi),{format:Ka,showTime:Ya,picker:La}=Pe,oa=bi(),[Ra,Fa]=to(ui),ya=Object.assign(Object.assign({},Ya?lo(Object.assign({format:Ka,picker:La},Ya)):{}),La==="time"?lo(Object.assign(Object.assign({format:Ka},Pe),{picker:La})):{}),Ia=(0,la.Z)(Oo=>{var Ma;return(Ma=Cn!=null?Cn:va)!==null&&Ma!==void 0?Ma:Oo}),za=he.useContext(_i.Z),uo=hn!=null?hn:za,go=(0,he.useContext)(Ai.aM),{hasFeedback:To,status:us,feedbackIcon:ss}=go,_o=he.createElement(he.Fragment,null,La==="time"?he.createElement(zt,null):he.createElement(Ye,null),To&&ss);(0,he.useImperativeHandle)(gt,()=>({focus:()=>{var Oo;return(Oo=ii.current)===null||Oo===void 0?void 0:Oo.focus()},blur:()=>{var Oo;return(Oo=ii.current)===null||Oo===void 0?void 0:Oo.blur()}}));const[Do]=(0,Ki.Z)("Calendar",pa.Z),ps=Object.assign(Object.assign({},Do),Pe.locale);return Ra(he.createElement(xi,Object.assign({separator:he.createElement("span",{"aria-label":"to",className:`${ui}-separator`},he.createElement(it,null)),disabled:uo,ref:ii,dropdownAlign:Lo(Pi,Un),placeholder:bo(ps,La,Dn),suffixIcon:_o,prevIcon:he.createElement("span",{className:`${ui}-prev-icon`}),nextIcon:he.createElement("span",{className:`${ui}-next-icon`}),superPrevIcon:he.createElement("span",{className:`${ui}-super-prev-icon`}),superNextIcon:he.createElement("span",{className:`${ui}-super-next-icon`}),transitionName:`${oa}-slide-up`},Ur,ya,{className:wt()({[`${ui}-${Ia}`]:Ia,[`${ui}-borderless`]:!nr},(0,$i.Z)(ui,(0,$i.F)(us,br),To),Fa,ca,ln,Rr),locale:ps.lang,prefixCls:ui,getPopupContainer:vn||Si,generateConfig:be,components:po,direction:Pi,dropdownClassName:wt()(Fa,Pn||vr,Rr),allowClear:Ko(fr,Rn,he.createElement(Dt.Z,null))})))})}var qa=function(be,Be){var Pe={};for(var gt in be)Object.prototype.hasOwnProperty.call(be,gt)&&Be.indexOf(gt)<0&&(Pe[gt]=be[gt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,gt=Object.getOwnPropertySymbols(be);vt<gt.length;vt++)Be.indexOf(gt[vt])<0&&Object.prototype.propertyIsEnumerable.call(be,gt[vt])&&(Pe[gt[vt]]=be[gt[vt]]);return Pe};function mo(be){function Be(Cn,hn){const nr=hn==="TimePicker"?"timePicker":"datePicker",Dn=(0,he.forwardRef)((Pn,vr)=>{const{prefixCls:br,getPopupContainer:Rn,style:fr,className:Rr,rootClassName:Ur,size:ii,bordered:bi=!0,placement:Pi,placeholder:Si,popupClassName:ui,dropdownClassName:va,disabled:ca,status:Ka,clearIcon:Ya,allowClear:La}=Pn,oa=qa(Pn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Ra,direction:Fa,getPopupContainer:ya,[nr]:Ia}=(0,he.useContext)(Aa.E_),za=Ra("picker",br),{compactSize:uo,compactItemClassnames:go}=(0,ua.ri)(za,Fa),To=he.useRef(null),{format:us,showTime:ss}=Pn,[_o,Do]=to(za);(0,he.useImperativeHandle)(vr,()=>({focus:()=>{var Es;return(Es=To.current)===null||Es===void 0?void 0:Es.focus()},blur:()=>{var Es;return(Es=To.current)===null||Es===void 0?void 0:Es.blur()}}));const ps={showToday:!0};let Oo={};Cn&&(Oo.picker=Cn);const Ma=Cn||Pn.picker;Oo=Object.assign(Object.assign(Object.assign({},Oo),ss?lo(Object.assign({format:us,picker:Ma},ss)):{}),Ma==="time"?lo(Object.assign(Object.assign({format:us},Pn),{picker:Ma})):{});const ba=Ra(),Bo=(0,la.Z)(Es=>{var Sl;return(Sl=ii!=null?ii:uo)!==null&&Sl!==void 0?Sl:Es}),Ao=he.useContext(_i.Z),Ta=ca!=null?ca:Ao,$a=(0,he.useContext)(Ai.aM),{hasFeedback:zi,status:Qa,feedbackIcon:xo}=$a,Yo=he.createElement(he.Fragment,null,Ma==="time"?he.createElement(zt,null):he.createElement(Ye,null),zi&&xo),[Ho]=(0,Ki.Z)("DatePicker",pa.Z),Zo=Object.assign(Object.assign({},Ho),Pn.locale);return _o(he.createElement(Ei,Object.assign({ref:To,placeholder:ho(Zo,Ma,Si),suffixIcon:Yo,dropdownAlign:Lo(Fa,Pi),prevIcon:he.createElement("span",{className:`${za}-prev-icon`}),nextIcon:he.createElement("span",{className:`${za}-next-icon`}),superPrevIcon:he.createElement("span",{className:`${za}-super-prev-icon`}),superNextIcon:he.createElement("span",{className:`${za}-super-next-icon`}),transitionName:`${ba}-slide-up`},ps,oa,Oo,{locale:Zo.lang,className:wt()({[`${za}-${Bo}`]:Bo,[`${za}-borderless`]:!bi},(0,$i.Z)(za,(0,$i.F)(Qa,Ka),zi),Do,go,Ia==null?void 0:Ia.className,Rr,Ur),style:Object.assign(Object.assign({},Ia==null?void 0:Ia.style),fr),prefixCls:za,getPopupContainer:Rn||ya,generateConfig:be,components:po,direction:Fa,disabled:Ta,dropdownClassName:wt()(Do,Ur,ui||va),allowClear:Ko(La,Ya,he.createElement(Dt.Z,null))})))});return hn&&(Dn.displayName=hn),Dn}const Pe=Be(),gt=Be("week","WeekPicker"),vt=Be("month","MonthPicker"),vn=Be("year","YearPicker"),ln=Be("time","TimePicker"),Un=Be("quarter","QuarterPicker");return{DatePicker:Pe,WeekPicker:gt,MonthPicker:vt,YearPicker:vn,TimePicker:ln,QuarterPicker:Un}}const Io=null;function Go(be){const{DatePicker:Be,WeekPicker:Pe,MonthPicker:gt,YearPicker:vt,TimePicker:vn,QuarterPicker:ln}=mo(be),Un=Sa(be),Cn=Be;return Cn.WeekPicker=Pe,Cn.MonthPicker=gt,Cn.YearPicker=vt,Cn.RangePicker=Un,Cn.TimePicker=vn,Cn.QuarterPicker=ln,Cn}var qo=Go;const ls=qo(at);function Ss(be){const Be=Lo(be.direction,be.placement);return Be.overflow.adjustY=!1,Be.overflow.adjustX=!1,Object.assign(Object.assign({},be),{dropdownAlign:Be})}const $o=(0,ht.Z)(ls,"picker",null,Ss);ls._InternalPanelDoNotUseOrYouWillBeFired=$o;const Cs=(0,ht.Z)(ls.RangePicker,"picker",null,Ss);ls._InternalRangePanelDoNotUseOrYouWillBeFired=Cs,ls.generatePicker=qo;var ja=ls},96074:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ie}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(14747),Ee=ie(67968),ke=ie(45503);const ye=Xe=>{const{componentCls:ot,sizePaddingEdgeHorizontal:dt,colorSplit:nt,lineWidth:Me,textPaddingInline:ut,orientationMargin:Ut,verticalMarginInline:at}=Xe;return{[ot]:Object.assign(Object.assign({},(0,ve.Wf)(Xe)),{borderBlockStart:`${Me}px solid ${nt}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:at,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Me}px solid ${nt}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Xe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ot}-with-text`]:{display:"flex",alignItems:"center",margin:`${Xe.dividerHorizontalWithTextGutterMargin}px 0`,color:Xe.colorTextHeading,fontWeight:500,fontSize:Xe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${nt}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Me}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ot}-with-text-left`]:{"&::before":{width:`${Ut*100}%`},"&::after":{width:`${100-Ut*100}%`}},[`&-horizontal${ot}-with-text-right`]:{"&::before":{width:`${100-Ut*100}%`},"&::after":{width:`${Ut*100}%`}},[`${ot}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ut},"&-dashed":{background:"none",borderColor:nt,borderStyle:"dashed",borderWidth:`${Me}px 0 0`},[`&-horizontal${ot}-with-text${ot}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ot}-dashed`]:{borderInlineStartWidth:Me,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ot}-with-text`]:{color:Xe.colorText,fontWeight:"normal",fontSize:Xe.fontSize},[`&-horizontal${ot}-with-text-left${ot}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ot}-inner-text`]:{paddingInlineStart:dt}},[`&-horizontal${ot}-with-text-right${ot}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ot}-inner-text`]:{paddingInlineEnd:dt}}})}};var me=(0,Ee.Z)("Divider",Xe=>{const ot=(0,ke.TS)(Xe,{dividerHorizontalWithTextGutterMargin:Xe.margin,dividerHorizontalGutterMargin:Xe.marginLG,sizePaddingEdgeHorizontal:0});return[ye(ot)]},Xe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Xe.marginXS})),Le=function(Xe,ot){var dt={};for(var nt in Xe)Object.prototype.hasOwnProperty.call(Xe,nt)&&ot.indexOf(nt)<0&&(dt[nt]=Xe[nt]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,nt=Object.getOwnPropertySymbols(Xe);Me<nt.length;Me++)ot.indexOf(nt[Me])<0&&Object.prototype.propertyIsEnumerable.call(Xe,nt[Me])&&(dt[nt[Me]]=Xe[nt[Me]]);return dt},Ie=Xe=>{const{getPrefixCls:ot,direction:dt,divider:nt}=Re.useContext(Ze.E_),{prefixCls:Me,type:ut="horizontal",orientation:Ut="center",orientationMargin:at,className:ht,rootClassName:we,children:he,dashed:je,plain:Ve,style:Ge}=Xe,qe=Le(Xe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ye=ot("divider",Me),[We,St]=me(Ye),lt=Ut.length>0?`-${Ut}`:Ut,zt=!!he,Dt=Ut==="left"&&at!=null,pn=Ut==="right"&&at!=null,Kn=Oe()(Ye,nt==null?void 0:nt.className,St,`${Ye}-${ut}`,{[`${Ye}-with-text`]:zt,[`${Ye}-with-text${lt}`]:zt,[`${Ye}-dashed`]:!!je,[`${Ye}-plain`]:!!Ve,[`${Ye}-rtl`]:dt==="rtl",[`${Ye}-no-default-orientation-margin-left`]:Dt,[`${Ye}-no-default-orientation-margin-right`]:pn},ht,we),tr=Re.useMemo(()=>typeof at=="number"?at:/^\d+$/.test(at)?Number(at):at,[at]),it=Object.assign(Object.assign({},Dt&&{marginLeft:tr}),pn&&{marginRight:tr});return We(Re.createElement("div",Object.assign({className:Kn,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),Ge)},qe,{role:"separator"}),he&&ut!=="vertical"&&Re.createElement("span",{className:`${Ye}-inner-text`,style:it},he)))}},72565:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oi}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(1413),Ze=ie(97685),ve=ie(67294),Ee=ie(73935);function ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ye={};function me(Qt,Zt){}function Le(Qt,Zt){}function mt(){ye={}}function Ie(Qt,Zt,Mn){!Zt&&!ye[Mn]&&(Qt(!1,Mn),ye[Mn]=!0)}function Xe(Qt,Zt){Ie(me,Qt,Zt)}function ot(Qt,Zt){Ie(Le,Qt,Zt)}var dt=null,nt=ie(71002),Me=ie(18459);function ut(Qt,Zt,Mn){var jn=ve.useRef({});return(!("value"in jn.current)||Mn(jn.current.condition,Zt))&&(jn.current.value=Qt(),jn.current.condition=Zt),jn.current.value}function Ut(Qt,Zt){typeof Qt=="function"?Qt(Zt):(0,nt.Z)(Qt)==="object"&&Qt&&"current"in Qt&&(Qt.current=Zt)}function at(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn<Qt;Mn++)Zt[Mn]=arguments[Mn];var jn=Zt.filter(function(sr){return sr});return jn.length<=1?jn[0]:function(sr){Zt.forEach(function(Yr){Ut(Yr,sr)})}}function ht(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn<Qt;Mn++)Zt[Mn]=arguments[Mn];return ut(function(){return at.apply(void 0,Zt)},Zt,function(jn,sr){return jn.length===sr.length&&jn.every(function(Yr,si){return Yr===sr[si]})})}function we(Qt){var Zt,Mn,jn=(0,Me.isMemo)(Qt)?Qt.type.type:Qt.type;return!(typeof jn=="function"&&!((Zt=jn.prototype)!==null&&Zt!==void 0&&Zt.render)||typeof Qt=="function"&&!((Mn=Qt.prototype)!==null&&Mn!==void 0&&Mn.render))}var he=ve.createContext(null),je=he,Ve=ie(74902),Ge=ke()?ve.useLayoutEffect:ve.useEffect,qe=Ge,Ye=function(Zt,Mn){var jn=React.useRef(!0);Ge(function(){if(!jn.current)return Zt()},Mn),Ge(function(){return jn.current=!1,function(){jn.current=!0}},[])},We=[];function St(Qt,Zt){var Mn=ve.useState(function(){if(!ke())return null;var ia=document.createElement("div");return ia}),jn=(0,Ze.Z)(Mn,1),sr=jn[0],Yr=ve.useRef(!1),si=ve.useContext(je),mi=ve.useState(We),Ci=(0,Ze.Z)(mi,2),gi=Ci[0],Ti=Ci[1],qi=si||(Yr.current?void 0:function(ia){Ti(function(ta){var ze=[ia].concat((0,Ve.Z)(ta));return ze})});function li(){sr.parentElement||document.body.appendChild(sr),Yr.current=!0}function Vi(){var ia;(ia=sr.parentElement)===null||ia===void 0||ia.removeChild(sr),Yr.current=!1}return qe(function(){return Qt?si?si(li):li():Vi(),Vi},[Qt]),qe(function(){gi.length&&(gi.forEach(function(ia){return ia()}),Ti(We))},[gi]),[sr,qi]}function lt(Qt,Zt){if(!Qt)return!1;if(Qt.contains)return Qt.contains(Zt);for(var Mn=Zt;Mn;){if(Mn===Qt)return!0;Mn=Mn.parentNode}return!1}var zt="data-rc-order",Dt="rc-util-key",pn=new Map;function Kn(){var Qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Zt=Qt.mark;return Zt?Zt.startsWith("data-")?Zt:"data-".concat(Zt):Dt}function tr(Qt){if(Qt.attachTo)return Qt.attachTo;var Zt=document.querySelector("head");return Zt||document.body}function it(Qt){return Qt==="queue"?"prependQueue":Qt?"prepend":"append"}function Ce(Qt){return Array.from((pn.get(Qt)||Qt).children).filter(function(Zt){return Zt.tagName==="STYLE"})}function wt(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ke())return null;var Mn=Zt.csp,jn=Zt.prepend,sr=document.createElement("style");sr.setAttribute(zt,it(jn)),Mn!=null&&Mn.nonce&&(sr.nonce=Mn==null?void 0:Mn.nonce),sr.innerHTML=Qt;var Yr=tr(Zt),si=Yr.firstChild;if(jn){if(jn==="queue"){var mi=Ce(Yr).filter(function(Ci){return["prepend","prependQueue"].includes(Ci.getAttribute(zt))});if(mi.length)return Yr.insertBefore(sr,mi[mi.length-1].nextSibling),sr}Yr.insertBefore(sr,si)}else Yr.appendChild(sr);return sr}function An(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mn=tr(Zt);return Ce(Mn).find(function(jn){return jn.getAttribute(Kn(Zt))===Qt})}function Tt(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mn=An(Qt,Zt);if(Mn){var jn=tr(Zt);jn.removeChild(Mn)}}function rt(Qt,Zt){var Mn=pn.get(Qt);if(!Mn||!lt(document,Mn)){var jn=wt("",Zt),sr=jn.parentNode;pn.set(Qt,sr),Qt.removeChild(jn)}}function ft(){pn.clear()}function Wt(Qt,Zt){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},jn=tr(Mn);rt(jn,Mn);var sr=An(Zt,Mn);if(sr){var Yr,si;if((Yr=Mn.csp)!==null&&Yr!==void 0&&Yr.nonce&&sr.nonce!==((si=Mn.csp)===null||si===void 0?void 0:si.nonce)){var mi;sr.nonce=(mi=Mn.csp)===null||mi===void 0?void 0:mi.nonce}return sr.innerHTML!==Qt&&(sr.innerHTML=Qt),sr}var Ci=wt(Qt,Mn);return Ci.setAttribute(Kn(Mn),Zt),Ci}var qt;function Xt(Qt){if(typeof document=="undefined")return 0;if(Qt||qt===void 0){var Zt=document.createElement("div");Zt.style.width="100%",Zt.style.height="200px";var Mn=document.createElement("div"),jn=Mn.style;jn.position="absolute",jn.top="0",jn.left="0",jn.pointerEvents="none",jn.visibility="hidden",jn.width="200px",jn.height="150px",jn.overflow="hidden",Mn.appendChild(Zt),document.body.appendChild(Mn);var sr=Zt.offsetWidth;Mn.style.overflow="scroll";var Yr=Zt.offsetWidth;sr===Yr&&(Yr=Mn.clientWidth),document.body.removeChild(Mn),qt=sr-Yr}return qt}function Ht(Qt){var Zt=Qt.match(/^(.*)px$/),Mn=Number(Zt==null?void 0:Zt[1]);return Number.isNaN(Mn)?Xt():Mn}function un(Qt){if(typeof document=="undefined"||!Qt||!(Qt instanceof Element))return{width:0,height:0};var Zt=getComputedStyle(Qt,"::-webkit-scrollbar"),Mn=Zt.width,jn=Zt.height;return{width:Ht(Mn),height:Ht(jn)}}function kn(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var yn="rc-util-locker-".concat(Date.now()),Fe=0;function ce(Qt){var Zt=!!Qt,Mn=ve.useState(function(){return Fe+=1,"".concat(yn,"_").concat(Fe)}),jn=(0,Ze.Z)(Mn,1),sr=jn[0];qe(function(){if(Zt){var Yr=un(document.body).width,si=kn();Wt(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(si?"width: calc(100% - ".concat(Yr,"px);"):"",`
|
|
|
}`),sr)}else Tt(sr);return function(){Tt(sr)}},[Zt,sr])}var ue=!1;function pe(Qt){return typeof Qt=="boolean"&&(ue=Qt),ue}var de=function(Zt){return Zt===!1?!1:!ke()||!Zt?null:typeof Zt=="string"?document.querySelector(Zt):typeof Zt=="function"?Zt():Zt},le=ve.forwardRef(function(Qt,Zt){var Mn=Qt.open,jn=Qt.autoLock,sr=Qt.getContainer,Yr=Qt.debug,si=Qt.autoDestroy,mi=si===void 0?!0:si,Ci=Qt.children,gi=ve.useState(Mn),Ti=(0,Ze.Z)(gi,2),qi=Ti[0],li=Ti[1],Vi=qi||Mn;ve.useEffect(function(){(mi||Mn)&&li(Mn)},[Mn,mi]);var ia=ve.useState(function(){return de(sr)}),ta=(0,Ze.Z)(ia,2),ze=ta[0],Je=ta[1];ve.useEffect(function(){var er=de(sr);Je(er!=null?er:null)});var et=St(Vi&&!ze,Yr),st=(0,Ze.Z)(et,2),Ct=st[0],Bt=st[1],Jt=ze!=null?ze:Ct;ce(jn&&Mn&&ke()&&(Jt===Ct||Jt===document.body));var Tn=null;if(Ci&&we(Ci)&&Zt){var Nn=Ci;Tn=Nn.ref}var Fr=ht(Tn,Zt);if(!Vi||!ke()||ze===void 0)return null;var Jr=Jt===!1||pe(),Ar=Ci;return Zt&&(Ar=ve.cloneElement(Ci,{ref:Fr})),ve.createElement(je.Provider,{value:Bt},Jr?Ar:(0,Ee.createPortal)(Ar,Jt))}),De=le,Ke=De;function Et(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Yt=Et()?ve.useLayoutEffect:ve.useEffect,Kt=function(Zt,Mn){var jn=ve.useRef(!0);Yt(function(){return Zt(jn.current)},Mn),Yt(function(){return jn.current=!1,function(){jn.current=!0}},[])},nn=function(Zt,Mn){Kt(function(jn){if(!jn)return Zt()},Mn)},$t=Kt,gr=ve.createContext(null),kr=ve.createContext({}),rn=gr,gn=ie(4942),hr=ie(87462),Er=ie(62874),yt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Zt){var Mn=Zt.keyCode;if(Zt.altKey&&!Zt.ctrlKey||Zt.metaKey||Mn>=yt.F1&&Mn<=yt.F12)return!1;switch(Mn){case yt.ALT:case yt.CAPS_LOCK:case yt.CONTEXT_MENU:case yt.CTRL:case yt.DOWN:case yt.END:case yt.ESC:case yt.HOME:case yt.INSERT:case yt.LEFT:case yt.MAC_FF_META:case yt.META:case yt.NUMLOCK:case yt.NUM_CENTER:case yt.PAGE_DOWN:case yt.PAGE_UP:case yt.PAUSE:case yt.PRINT_SCREEN:case yt.RIGHT:case yt.SHIFT:case yt.UP:case yt.WIN_KEY:case yt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Zt){if(Zt>=yt.ZERO&&Zt<=yt.NINE||Zt>=yt.NUM_ZERO&&Zt<=yt.NUM_MULTIPLY||Zt>=yt.A&&Zt<=yt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Zt===0)return!0;switch(Zt){case yt.SPACE:case yt.QUESTION_MARK:case yt.NUM_PLUS:case yt.NUM_MINUS:case yt.NUM_PERIOD:case yt.NUM_DIVISION:case yt.SEMICOLON:case yt.DASH:case yt.EQUALS:case yt.COMMA:case yt.PERIOD:case yt.SLASH:case yt.APOSTROPHE:case yt.SINGLE_QUOTE:case yt.OPEN_SQUARE_BRACKET:case yt.BACKSLASH:case yt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},It=yt,$n=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,Qn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,wr="".concat($n," ").concat(Qn).split(/[\s\n]+/),_r="aria-",ei="data-";function Xr(Qt,Zt){return Qt.indexOf(Zt)===0}function ri(Qt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Mn;Zt===!1?Mn={aria:!0,data:!0,attr:!0}:Zt===!0?Mn={aria:!0}:Mn=(0,Re.Z)({},Zt);var jn={};return Object.keys(Qt).forEach(function(sr){(Mn.aria&&(sr==="role"||Xr(sr,_r))||Mn.data&&Xr(sr,ei)||Mn.attr&&wr.includes(sr))&&(jn[sr]=Qt[sr])}),jn}function fi(Qt){var Zt=React.useRef();Zt.current=Qt;var Mn=React.useCallback(function(){for(var jn,sr=arguments.length,Yr=new Array(sr),si=0;si<sr;si++)Yr[si]=arguments[si];return(jn=Zt.current)===null||jn===void 0?void 0:jn.call.apply(jn,[Zt].concat(Yr))},[]);return Mn}function Cr(Qt){var Zt=React.useRef(!1),Mn=React.useState(Qt),jn=_slicedToArray(Mn,2),sr=jn[0],Yr=jn[1];React.useEffect(function(){return Zt.current=!1,function(){Zt.current=!0}},[]);function si(mi,Ci){Ci&&Zt.current||Yr(mi)}return[sr,si]}function yi(Qt){return Qt!==void 0}function Gi(Qt,Zt){var Mn=Zt||{},jn=Mn.defaultValue,sr=Mn.value,Yr=Mn.onChange,si=Mn.postState,mi=useState(function(){return yi(sr)?sr:yi(jn)?typeof jn=="function"?jn():jn:typeof Qt=="function"?Qt():Qt}),Ci=_slicedToArray(mi,2),gi=Ci[0],Ti=Ci[1],qi=sr!==void 0?sr:gi,li=si?si(qi):qi,Vi=useEvent(Yr),ia=useState([qi]),ta=_slicedToArray(ia,2),ze=ta[0],Je=ta[1];useLayoutUpdateEffect(function(){var st=ze[0];gi!==st&&Vi(gi,st)},[ze]),useLayoutUpdateEffect(function(){yi(sr)||Ti(sr)},[sr]);var et=useEvent(function(st,Ct){Ti(st,Ct),Je([qi],Ct)});return[li,et]}var oi=ie(33993);function ea(Qt,Zt,Mn){var jn=ve.useRef({});return(!("value"in jn.current)||Mn(jn.current.condition,Zt))&&(jn.current.value=Qt(),jn.current.condition=Zt),jn.current.value}function Di(Qt,Zt){typeof Qt=="function"?Qt(Zt):(0,nt.Z)(Qt)==="object"&&Qt&&"current"in Qt&&(Qt.current=Zt)}function Ot(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn<Qt;Mn++)Zt[Mn]=arguments[Mn];var jn=Zt.filter(function(sr){return sr});return jn.length<=1?jn[0]:function(sr){Zt.forEach(function(Yr){Di(Yr,sr)})}}function Nt(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn<Qt;Mn++)Zt[Mn]=arguments[Mn];return ea(function(){return Ot.apply(void 0,Zt)},Zt,function(jn,sr){return jn.length!==sr.length||jn.every(function(Yr,si){return Yr!==sr[si]})})}function cn(Qt){var Zt,Mn,jn=isMemo(Qt)?Qt.type.type:Qt.type;return!(typeof jn=="function"&&!((Zt=jn.prototype)!==null&&Zt!==void 0&&Zt.render)||typeof Qt=="function"&&!((Mn=Qt.prototype)!==null&&Mn!==void 0&&Mn.render))}function bn(Qt){return!isValidElement(Qt)||isFragment(Qt)?!1:cn(Qt)}function rr(Qt,Zt,Mn,jn){if(!Zt.length)return Mn;var sr=_toArray(Zt),Yr=sr[0],si=sr.slice(1),mi;return!Qt&&typeof Yr=="number"?mi=[]:Array.isArray(Qt)?mi=_toConsumableArray(Qt):mi=_objectSpread({},Qt),jn&&Mn===void 0&&si.length===1?delete mi[Yr][si[0]]:mi[Yr]=rr(mi[Yr],si,Mn,jn),mi}function Fn(Qt,Zt,Mn){var jn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Zt.length&&jn&&Mn===void 0&&!get(Qt,Zt.slice(0,-1))?Qt:rr(Qt,Zt,Mn,jn)}function ir(Qt){return _typeof(Qt)==="object"&&Qt!==null&&Object.getPrototypeOf(Qt)===Object.prototype}function Xn(Qt){return Array.isArray(Qt)?[]:{}}var pt=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function At(){for(var Qt=arguments.length,Zt=new Array(Qt),Mn=0;Mn<Qt;Mn++)Zt[Mn]=arguments[Mn];var jn=Xn(Zt[0]);return Zt.forEach(function(sr){function Yr(si,mi){var Ci=new Set(mi),gi=get(sr,si),Ti=Array.isArray(gi);if(Ti||ir(gi)){if(!Ci.has(gi)){Ci.add(gi);var qi=get(jn,si);Ti?jn=Fn(jn,si,[]):(!qi||_typeof(qi)!=="object")&&(jn=Fn(jn,si,Xn(gi))),pt(gi).forEach(function(li){Yr([].concat(_toConsumableArray(si),[li]),Ci)})}}else jn=Fn(jn,si,gi)}Yr([])}),jn}var Mt={},fn=[],$e=function(Zt){fn.push(Zt)};function Ft(Qt,Zt){if(0)var Mn}function on(Qt,Zt){if(0)var Mn}function _t(){Mt={}}function En(Qt,Zt,Mn){!Zt&&!Mt[Mn]&&(Qt(!1,Mn),Mt[Mn]=!0)}function Sn(Qt,Zt){En(Ft,Qt,Zt)}function Bn(Qt,Zt){En(on,Qt,Zt)}Sn.preMessage=$e,Sn.resetWarned=_t,Sn.noteOnce=Bn;var Qr=Sn,Lr=function(Zt){var Mn=Zt.prefixCls,jn=Zt.className,sr=Zt.style,Yr=Zt.children,si=Zt.containerRef,mi=Zt.id,Ci=Zt.onMouseEnter,gi=Zt.onMouseOver,Ti=Zt.onMouseLeave,qi=Zt.onClick,li=Zt.onKeyDown,Vi=Zt.onKeyUp,ia={onMouseEnter:Ci,onMouseOver:gi,onMouseLeave:Ti,onClick:qi,onKeyDown:li,onKeyUp:Vi},ta=ve.useContext(kr),ze=ta.panel,Je=Nt(ze,si);return ve.createElement(ve.Fragment,null,ve.createElement("div",(0,hr.Z)({id:mi,className:Oe()("".concat(Mn,"-content"),jn),style:(0,Re.Z)({},sr),"aria-modal":"true",role:"dialog",ref:Je},ia),Yr))},Sr=Lr;function jr(Qt){return typeof Qt=="string"&&String(Number(Qt))===Qt?(Qr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Qt)):Qt}function zr(Qt){warning(!("wrapperClassName"in Qt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Qt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Rt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function kt(Qt,Zt){var Mn,jn,sr,Yr,si=Qt.prefixCls,mi=Qt.open,Ci=Qt.placement,gi=Qt.inline,Ti=Qt.push,qi=Qt.forceRender,li=Qt.autoFocus,Vi=Qt.keyboard,ia=Qt.rootClassName,ta=Qt.rootStyle,ze=Qt.zIndex,Je=Qt.className,et=Qt.id,st=Qt.style,Ct=Qt.motion,Bt=Qt.width,Jt=Qt.height,Tn=Qt.children,Nn=Qt.contentWrapperStyle,Fr=Qt.mask,Jr=Qt.maskClosable,Ar=Qt.maskMotion,er=Qt.maskClassName,Wn=Qt.maskStyle,ur=Qt.afterOpenChange,mr=Qt.onClose,Vr=Qt.onMouseEnter,Dr=Qt.onMouseOver,Mr=Qt.onMouseLeave,Tr=Qt.onClick,Or=Qt.onKeyDown,qr=Qt.onKeyUp,Ue=ve.useRef(),tt=ve.useRef(),tn=ve.useRef();ve.useImperativeHandle(Zt,function(){return Ue.current});var Pt=function(Vn){var Hr=Vn.keyCode,ni=Vn.shiftKey;switch(Hr){case It.TAB:{if(Hr===It.TAB){if(!ni&&document.activeElement===tn.current){var Wr;(Wr=tt.current)===null||Wr===void 0||Wr.focus({preventScroll:!0})}else if(ni&&document.activeElement===tt.current){var Nr;(Nr=tn.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case It.ESC:{mr&&Vi&&(Vn.stopPropagation(),mr(Vn));break}}};ve.useEffect(function(){if(mi&&li){var dr;(dr=Ue.current)===null||dr===void 0||dr.focus({preventScroll:!0})}},[mi]);var xn=ve.useState(!1),Zn=(0,Ze.Z)(xn,2),Jn=Zn[0],yr=Zn[1],xt=ve.useContext(rn),ct;Ti===!1?ct={distance:0}:Ti===!0?ct={}:ct=Ti||{};var Lt=(Mn=(jn=(sr=ct)===null||sr===void 0?void 0:sr.distance)!==null&&jn!==void 0?jn:xt==null?void 0:xt.pushDistance)!==null&&Mn!==void 0?Mn:180,dn=ve.useMemo(function(){return{pushDistance:Lt,push:function(){yr(!0)},pull:function(){yr(!1)}}},[Lt]);ve.useEffect(function(){if(mi){var dr;xt==null||(dr=xt.push)===null||dr===void 0||dr.call(xt)}else{var Vn;xt==null||(Vn=xt.pull)===null||Vn===void 0||Vn.call(xt)}},[mi]),ve.useEffect(function(){return function(){var dr;xt==null||(dr=xt.pull)===null||dr===void 0||dr.call(xt)}},[]);var qn=Fr&&ve.createElement(Er.Z,(0,hr.Z)({key:"mask"},Ar,{visible:mi}),function(dr,Vn){var Hr=dr.className,ni=dr.style;return ve.createElement("div",{className:Oe()("".concat(si,"-mask"),Hr,er),style:(0,Re.Z)((0,Re.Z)({},ni),Wn),onClick:Jr&&mi?mr:void 0,ref:Vn})}),In=typeof Ct=="function"?Ct(Ci):Ct,wn={};if(Jn&&Lt)switch(Ci){case"top":wn.transform="translateY(".concat(Lt,"px)");break;case"bottom":wn.transform="translateY(".concat(-Lt,"px)");break;case"left":wn.transform="translateX(".concat(Lt,"px)");break;default:wn.transform="translateX(".concat(-Lt,"px)");break}Ci==="left"||Ci==="right"?wn.width=jr(Bt):wn.height=jr(Jt);var xr={onMouseEnter:Vr,onMouseOver:Dr,onMouseLeave:Mr,onClick:Tr,onKeyDown:Or,onKeyUp:qr},pr=ve.createElement(Er.Z,(0,hr.Z)({key:"panel"},In,{visible:mi,forceRender:qi,onVisibleChanged:function(Vn){ur==null||ur(Vn)},removeOnLeave:!1,leavedClassName:"".concat(si,"-content-wrapper-hidden")}),function(dr,Vn){var Hr=dr.className,ni=dr.style;return ve.createElement("div",(0,hr.Z)({className:Oe()("".concat(si,"-content-wrapper"),Hr),style:(0,Re.Z)((0,Re.Z)((0,Re.Z)({},wn),ni),Nn)},ri(Qt,{data:!0})),ve.createElement(Sr,(0,hr.Z)({id:et,containerRef:Vn,prefixCls:si,className:Je,style:st},xr),Tn))}),Pr=(0,Re.Z)({},ta);return ze&&(Pr.zIndex=ze),ve.createElement(rn.Provider,{value:dn},ve.createElement("div",{className:Oe()(si,"".concat(si,"-").concat(Ci),ia,(Yr={},(0,gn.Z)(Yr,"".concat(si,"-open"),mi),(0,gn.Z)(Yr,"".concat(si,"-inline"),gi),Yr)),style:Pr,tabIndex:-1,ref:Ue,onKeyDown:Pt},qn,ve.createElement("div",{tabIndex:0,ref:tt,style:Rt,"aria-hidden":"true","data-sentinel":"start"}),pr,ve.createElement("div",{tabIndex:0,ref:tn,style:Rt,"aria-hidden":"true","data-sentinel":"end"})))}var jt=ve.forwardRef(kt),zn=jt,lr=function(Zt){var Mn=Zt.open,jn=Mn===void 0?!1:Mn,sr=Zt.prefixCls,Yr=sr===void 0?"rc-drawer":sr,si=Zt.placement,mi=si===void 0?"right":si,Ci=Zt.autoFocus,gi=Ci===void 0?!0:Ci,Ti=Zt.keyboard,qi=Ti===void 0?!0:Ti,li=Zt.width,Vi=li===void 0?378:li,ia=Zt.mask,ta=ia===void 0?!0:ia,ze=Zt.maskClosable,Je=ze===void 0?!0:ze,et=Zt.getContainer,st=Zt.forceRender,Ct=Zt.afterOpenChange,Bt=Zt.destroyOnClose,Jt=Zt.onMouseEnter,Tn=Zt.onMouseOver,Nn=Zt.onMouseLeave,Fr=Zt.onClick,Jr=Zt.onKeyDown,Ar=Zt.onKeyUp,er=Zt.panelRef,Wn=ve.useState(!1),ur=(0,Ze.Z)(Wn,2),mr=ur[0],Vr=ur[1],Dr=ve.useState(!1),Mr=(0,Ze.Z)(Dr,2),Tr=Mr[0],Or=Mr[1];$t(function(){Or(!0)},[]);var qr=Tr?jn:!1,Ue=ve.useRef(),tt=ve.useRef();$t(function(){qr&&(tt.current=document.activeElement)},[qr]);var tn=function(yr){var xt;if(Vr(yr),Ct==null||Ct(yr),!yr&&tt.current&&!((xt=Ue.current)!==null&&xt!==void 0&&xt.contains(tt.current))){var ct;(ct=tt.current)===null||ct===void 0||ct.focus({preventScroll:!0})}},Pt=ve.useMemo(function(){return{panel:er}},[er]);if(!st&&!mr&&!qr&&Bt)return null;var xn={onMouseEnter:Jt,onMouseOver:Tn,onMouseLeave:Nn,onClick:Fr,onKeyDown:Jr,onKeyUp:Ar},Zn=(0,Re.Z)((0,Re.Z)({},Zt),{},{open:qr,prefixCls:Yr,placement:mi,autoFocus:gi,keyboard:qi,width:Vi,mask:ta,maskClosable:Je,inline:et===!1,afterOpenChange:tn,ref:Ue},xn);return ve.createElement(kr.Provider,{value:Pt},ve.createElement(Ke,{open:qr||st||mr,autoDestroy:!1,getContainer:et,autoLock:ta&&(qr||mr)},ve.createElement(zn,Zn)))},Hn=lr,_n=Hn,Gn=ie(33603),or=ie(53124),Kr=ie(65223),Ln=ie(69760),pi=Qt=>{const{prefixCls:Zt,title:Mn,footer:jn,extra:sr,closeIcon:Yr,closable:si,onClose:mi,headerStyle:Ci,drawerStyle:gi,bodyStyle:Ti,footerStyle:qi,children:li}=Qt,Vi=ve.useCallback(et=>ve.createElement("button",{type:"button",onClick:mi,"aria-label":"Close",className:`${Zt}-close`},et),[mi]),[ia,ta]=(0,Ln.Z)(si,Yr,Vi,void 0,!0),ze=ve.useMemo(()=>!Mn&&!ia?null:ve.createElement("div",{style:Ci,className:Oe()(`${Zt}-header`,{[`${Zt}-header-close-only`]:ia&&!Mn&&!sr})},ve.createElement("div",{className:`${Zt}-header-title`},ta,Mn&&ve.createElement("div",{className:`${Zt}-title`},Mn)),sr&&ve.createElement("div",{className:`${Zt}-extra`},sr)),[ia,ta,sr,Ci,Zt,Mn]),Je=ve.useMemo(()=>{if(!jn)return null;const et=`${Zt}-footer`;return ve.createElement("div",{className:et,style:qi},jn)},[jn,qi,Zt]);return ve.createElement("div",{className:`${Zt}-wrapper-body`,style:gi},ze,ve.createElement("div",{className:`${Zt}-body`,style:Ti},li),Je)},ha=ie(4173),ra=ie(67968),Qi=ie(45503),Xi=Qt=>{const{componentCls:Zt,motionDurationSlow:Mn}=Qt,jn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Mn}`}}};return{[Zt]:{[`${Zt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Mn}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Zt}-panel-motion`]:{"&-left":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[jn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Ri=Qt=>{const{componentCls:Zt,zIndexPopup:Mn,colorBgMask:jn,colorBgElevated:sr,motionDurationSlow:Yr,motionDurationMid:si,padding:mi,paddingLG:Ci,fontSizeLG:gi,lineHeightLG:Ti,lineWidth:qi,lineType:li,colorSplit:Vi,marginSM:ia,colorIcon:ta,colorIconHover:ze,colorText:Je,fontWeightStrong:et,footerPaddingBlock:st,footerPaddingInline:Ct}=Qt,Bt=`${Zt}-content-wrapper`;return{[Zt]:{position:"fixed",inset:0,zIndex:Mn,pointerEvents:"none","&-pure":{position:"relative",background:sr,[`&${Zt}-left`]:{boxShadow:Qt.boxShadowDrawerLeft},[`&${Zt}-right`]:{boxShadow:Qt.boxShadowDrawerRight},[`&${Zt}-top`]:{boxShadow:Qt.boxShadowDrawerUp},[`&${Zt}-bottom`]:{boxShadow:Qt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Zt}-mask`]:{position:"absolute",inset:0,zIndex:Mn,background:jn,pointerEvents:"auto"},[Bt]:{position:"absolute",zIndex:Mn,maxWidth:"100vw",transition:`all ${Yr}`,"&-hidden":{display:"none"}},[`&-left > ${Bt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Qt.boxShadowDrawerLeft},[`&-right > ${Bt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Qt.boxShadowDrawerRight},[`&-top > ${Bt}`]:{top:0,insetInline:0,boxShadow:Qt.boxShadowDrawerUp},[`&-bottom > ${Bt}`]:{bottom:0,insetInline:0,boxShadow:Qt.boxShadowDrawerDown},[`${Zt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:sr,pointerEvents:"auto"},[`${Zt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Zt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${mi}px ${Ci}px`,fontSize:gi,lineHeight:Ti,borderBottom:`${qi}px ${li} ${Vi}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Zt}-extra`]:{flex:"none"},[`${Zt}-close`]:{display:"inline-block",marginInlineEnd:ia,color:ta,fontWeight:et,fontSize:gi,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${si}`,textRendering:"auto","&:focus, &:hover":{color:ze,textDecoration:"none"}},[`${Zt}-title`]:{flex:1,margin:0,color:Je,fontWeight:Qt.fontWeightStrong,fontSize:gi,lineHeight:Ti},[`${Zt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ci,overflow:"auto"},[`${Zt}-footer`]:{flexShrink:0,padding:`${st}px ${Ct}px`,borderTop:`${qi}px ${li} ${Vi}`},"&-rtl":{direction:"rtl"}}}};var sa=(0,ra.Z)("Drawer",Qt=>{const Zt=(0,Qi.TS)(Qt,{});return[Ri(Zt),Xi(Zt)]},Qt=>({zIndexPopup:Qt.zIndexPopupBase,footerPaddingBlock:Qt.paddingXS,footerPaddingInline:Qt.padding})),Da=ie(16569),ki=function(Qt,Zt){var Mn={};for(var jn in Qt)Object.prototype.hasOwnProperty.call(Qt,jn)&&Zt.indexOf(jn)<0&&(Mn[jn]=Qt[jn]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var sr=0,jn=Object.getOwnPropertySymbols(Qt);sr<jn.length;sr++)Zt.indexOf(jn[sr])<0&&Object.prototype.propertyIsEnumerable.call(Qt,jn[sr])&&(Mn[jn[sr]]=Qt[jn[sr]]);return Mn};const Ji=null,Ea={distance:180},_a=Qt=>{var Zt;const{rootClassName:Mn,width:jn,height:sr,size:Yr="default",mask:si=!0,push:mi=Ea,open:Ci,afterOpenChange:gi,onClose:Ti,prefixCls:qi,getContainer:li,style:Vi,className:ia,visible:ta,afterVisibleChange:ze}=Qt,Je=ki(Qt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:et,getPrefixCls:st,direction:Ct,drawer:Bt}=ve.useContext(or.E_),Jt=st("drawer",qi),[Tn,Nn]=sa(Jt),Fr=li===void 0&&et?()=>et(document.body):li,Jr=Oe()({"no-mask":!si,[`${Jt}-rtl`]:Ct==="rtl"},Mn,Nn),Ar=ve.useMemo(()=>jn!=null?jn:Yr==="large"?736:378,[jn,Yr]),er=ve.useMemo(()=>sr!=null?sr:Yr==="large"?736:378,[sr,Yr]),Wn={motionName:(0,Gn.m)(Jt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ur=Vr=>({motionName:(0,Gn.m)(Jt,`panel-motion-${Vr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),mr=(0,Da.H)();return Tn(ve.createElement(ha.BR,null,ve.createElement(Kr.Ux,{status:!0,override:!0},ve.createElement(_n,Object.assign({prefixCls:Jt,onClose:Ti,maskMotion:Wn,motion:ur},Je,{open:Ci!=null?Ci:ta,mask:si,push:mi,width:Ar,height:er,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),Vi),className:Oe()(Bt==null?void 0:Bt.className,ia),rootClassName:Jr,getContainer:Fr,afterOpenChange:gi!=null?gi:ze,panelRef:mr}),ve.createElement(pi,Object.assign({prefixCls:Jt},Je,{onClose:Ti}))))))},Oa=Qt=>{const{prefixCls:Zt,style:Mn,className:jn,placement:sr="right"}=Qt,Yr=ki(Qt,["prefixCls","style","className","placement"]),{getPrefixCls:si}=ve.useContext(or.E_),mi=si("drawer",Zt),[Ci,gi]=sa(mi),Ti=Oe()(mi,`${mi}-pure`,`${mi}-${sr}`,gi,jn);return Ci(ve.createElement("div",{className:Ti,style:Mn},ve.createElement(pi,Object.assign({prefixCls:mi},Yr))))};_a._InternalPanelDoNotUseOrYouWillBeFired=Oa;var Oi=_a},35874:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return de}});var ae=ie(67294),Oe=ie(91034),Re=ie(94184),Ze=ie.n(Re),ve=ie(87462),Ee=ie(4942),ke=ie(97685),ye=ie(45987),me=ie(62709),Le=ie(71002),mt=ie(12060);function Ie(le,De,Ke){var Et=React.useRef({});return(!("value"in Et.current)||Ke(Et.current.condition,De))&&(Et.current.value=le(),Et.current.condition=De),Et.current.value}function Xe(le,De){typeof le=="function"?le(De):(0,Le.Z)(le)==="object"&&le&&"current"in le&&(le.current=De)}function ot(){for(var le=arguments.length,De=new Array(le),Ke=0;Ke<le;Ke++)De[Ke]=arguments[Ke];var Et=De.filter(function(Yt){return Yt});return Et.length<=1?Et[0]:function(Yt){De.forEach(function(Kt){Xe(Kt,Yt)})}}function dt(){for(var le=arguments.length,De=new Array(le),Ke=0;Ke<le;Ke++)De[Ke]=arguments[Ke];return useMemo(function(){return ot.apply(void 0,De)},De,function(Et,Yt){return Et.length===Yt.length&&Et.every(function(Kt,nn){return Kt===Yt[nn]})})}function nt(le){var De,Ke,Et=(0,mt.isMemo)(le)?le.type.type:le.type;return!(typeof Et=="function"&&!((De=Et.prototype)!==null&&De!==void 0&&De.render)||typeof le=="function"&&!((Ke=le.prototype)!==null&&Ke!==void 0&&Ke.render))}var Me={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(De){var Ke=De.keyCode;if(De.altKey&&!De.ctrlKey||De.metaKey||Ke>=Me.F1&&Ke<=Me.F12)return!1;switch(Ke){case Me.ALT:case Me.CAPS_LOCK:case Me.CONTEXT_MENU:case Me.CTRL:case Me.DOWN:case Me.END:case Me.ESC:case Me.HOME:case Me.INSERT:case Me.LEFT:case Me.MAC_FF_META:case Me.META:case Me.NUMLOCK:case Me.NUM_CENTER:case Me.PAGE_DOWN:case Me.PAGE_UP:case Me.PAUSE:case Me.PRINT_SCREEN:case Me.RIGHT:case Me.SHIFT:case Me.UP:case Me.WIN_KEY:case Me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(De){if(De>=Me.ZERO&&De<=Me.NINE||De>=Me.NUM_ZERO&&De<=Me.NUM_MULTIPLY||De>=Me.A&&De<=Me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&De===0)return!0;switch(De){case Me.SPACE:case Me.QUESTION_MARK:case Me.NUM_PLUS:case Me.NUM_MINUS:case Me.NUM_PERIOD:case Me.NUM_DIVISION:case Me.SEMICOLON:case Me.DASH:case Me.EQUALS:case Me.COMMA:case Me.PERIOD:case Me.SLASH:case Me.APOSTROPHE:case Me.SINGLE_QUOTE:case Me.OPEN_SQUARE_BRACKET:case Me.BACKSLASH:case Me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ut=Me,Ut=function(De){return+setTimeout(De,16)},at=function(De){return clearTimeout(De)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ut=function(De){return window.requestAnimationFrame(De)},at=function(De){return window.cancelAnimationFrame(De)});var ht=0,we=new Map;function he(le){we.delete(le)}var je=function(De){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ht+=1;var Et=ht;function Yt(Kt){if(Kt===0)he(Et),De();else{var nn=Ut(function(){Yt(Kt-1)});we.set(Et,nn)}}return Yt(Ke),Et};je.cancel=function(le){var De=we.get(le);return he(De),at(De)};var Ve=je,Ge=ut.ESC,qe=ut.TAB;function Ye(le){var De=le.visible,Ke=le.triggerRef,Et=le.onVisibleChange,Yt=le.autoFocus,Kt=le.overlayRef,nn=ae.useRef(!1),$t=function(){if(De){var gn,hr;(gn=Ke.current)===null||gn===void 0||(hr=gn.focus)===null||hr===void 0||hr.call(gn),Et==null||Et(!1)}},gr=function(){var gn;return(gn=Kt.current)!==null&&gn!==void 0&&gn.focus?(Kt.current.focus(),nn.current=!0,!0):!1},kr=function(gn){switch(gn.keyCode){case Ge:$t();break;case qe:{var hr=!1;nn.current||(hr=gr()),hr?gn.preventDefault():$t();break}}};ae.useEffect(function(){return De?(window.addEventListener("keydown",kr),Yt&&Ve(gr,3),function(){window.removeEventListener("keydown",kr),nn.current=!1}):function(){nn.current=!1}},[De])}var We=(0,ae.forwardRef)(function(le,De){var Ke=le.overlay,Et=le.arrow,Yt=le.prefixCls,Kt=(0,ae.useMemo)(function(){var $t;return typeof Ke=="function"?$t=Ke():$t=Ke,$t},[Ke]),nn=ot(De,Kt==null?void 0:Kt.ref);return ae.createElement(ae.Fragment,null,Et&&ae.createElement("div",{className:"".concat(Yt,"-arrow")}),ae.cloneElement(Kt,{ref:nt(Kt)?nn:void 0}))}),St=We,lt={adjustX:1,adjustY:1},zt=[0,0],Dt={topLeft:{points:["bl","tl"],overflow:lt,offset:[0,-4],targetOffset:zt},top:{points:["bc","tc"],overflow:lt,offset:[0,-4],targetOffset:zt},topRight:{points:["br","tr"],overflow:lt,offset:[0,-4],targetOffset:zt},bottomLeft:{points:["tl","bl"],overflow:lt,offset:[0,4],targetOffset:zt},bottom:{points:["tc","bc"],overflow:lt,offset:[0,4],targetOffset:zt},bottomRight:{points:["tr","br"],overflow:lt,offset:[0,4],targetOffset:zt}},pn=Dt,Kn=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function tr(le,De){var Ke,Et=le.arrow,Yt=Et===void 0?!1:Et,Kt=le.prefixCls,nn=Kt===void 0?"rc-dropdown":Kt,$t=le.transitionName,gr=le.animation,kr=le.align,rn=le.placement,gn=rn===void 0?"bottomLeft":rn,hr=le.placements,Er=hr===void 0?pn:hr,yt=le.getPopupContainer,It=le.showAction,$n=le.hideAction,Qn=le.overlayClassName,wr=le.overlayStyle,_r=le.visible,ei=le.trigger,Xr=ei===void 0?["hover"]:ei,ri=le.autoFocus,fi=le.overlay,Cr=le.children,yi=le.onVisibleChange,Gi=(0,ye.Z)(le,Kn),oi=ae.useState(),ea=(0,ke.Z)(oi,2),Di=ea[0],Ot=ea[1],Nt="visible"in le?_r:Di,cn=ae.useRef(null),bn=ae.useRef(null),rr=ae.useRef(null);ae.useImperativeHandle(De,function(){return cn.current});var Fn=function(on){Ot(on),yi==null||yi(on)};Ye({visible:Nt,triggerRef:rr,onVisibleChange:Fn,autoFocus:ri,overlayRef:bn});var ir=function(on){var _t=le.onOverlayClick;Ot(!1),_t&&_t(on)},Xn=function(){return ae.createElement(St,{ref:bn,overlay:fi,prefixCls:nn,arrow:Yt})},pt=function(){return typeof fi=="function"?Xn:Xn()},At=function(){var on=le.minOverlayWidthMatchTrigger,_t=le.alignPoint;return"minOverlayWidthMatchTrigger"in le?on:!_t},Mt=function(){var on=le.openClassName;return on!==void 0?on:"".concat(nn,"-open")},fn=ae.cloneElement(Cr,{className:Ze()((Ke=Cr.props)===null||Ke===void 0?void 0:Ke.className,Nt&&Mt()),ref:nt(Cr)?ot(rr,Cr.ref):void 0}),$e=$n;return!$e&&Xr.indexOf("contextMenu")!==-1&&($e=["click"]),ae.createElement(me.Z,(0,ve.Z)({builtinPlacements:Er},Gi,{prefixCls:nn,ref:cn,popupClassName:Ze()(Qn,(0,Ee.Z)({},"".concat(nn,"-show-arrow"),Yt)),popupStyle:wr,action:Xr,showAction:It,hideAction:$e,popupPlacement:gn,popupAlign:kr,popupTransitionName:$t,popupAnimation:gr,popupVisible:Nt,stretch:At()?"minWidth":"",popup:pt(),onPopupVisibleChange:Fn,onPopupClick:ir,getPopupContainer:yt}),fn)}var it=ae.forwardRef(tr),Ce=it,wt=ie(60276),An=ie(5663),Tt=ie(10366),rt=ie(80636),ft=ie(8745),Wt=ie(96159),qt=ie(53124),Xt=ie(68508),Ht=ie(76529),un=ie(46605),kn=ie(66748);const yn=null,Fe=le=>{const{menu:De,arrow:Ke,prefixCls:Et,children:Yt,trigger:Kt,disabled:nn,dropdownRender:$t,getPopupContainer:gr,overlayClassName:kr,rootClassName:rn,open:gn,onOpenChange:hr,visible:Er,onVisibleChange:yt,mouseEnterDelay:It=.15,mouseLeaveDelay:$n=.1,autoAdjustOverflow:Qn=!0,placement:wr="",overlay:_r,transitionName:ei}=le,{getPopupContainer:Xr,getPrefixCls:ri,direction:fi}=ae.useContext(qt.E_),Cr=ae.useMemo(()=>{const fn=ri();return ei!==void 0?ei:wr.includes("top")?`${fn}-slide-down`:`${fn}-slide-up`},[ri,wr,ei]),yi=ae.useMemo(()=>wr?wr.includes("Center")?wr.slice(0,wr.indexOf("Center")):wr:fi==="rtl"?"bottomRight":"bottomLeft",[wr,fi]),Gi=ri("dropdown",Et),[oi,ea]=(0,kn.Z)(Gi),[,Di]=(0,un.Z)(),Ot=ae.Children.only(Yt),Nt=(0,Wt.Tm)(Ot,{className:Ze()(`${Gi}-trigger`,{[`${Gi}-rtl`]:fi==="rtl"},Ot.props.className),disabled:nn}),cn=nn?[]:Kt;let bn;cn&&cn.includes("contextMenu")&&(bn=!0);const[rr,Fn]=(0,An.Z)(!1,{value:gn!=null?gn:Er}),ir=(0,wt.useEvent)(fn=>{hr==null||hr(fn),yt==null||yt(fn),Fn(fn)}),Xn=Ze()(kr,rn,ea,{[`${Gi}-rtl`]:fi==="rtl"}),pt=(0,rt.Z)({arrowPointAtCenter:typeof Ke=="object"&&Ke.pointAtCenter,autoAdjustOverflow:Qn,offset:Di.marginXXS,arrowWidth:Ke?Di.sizePopupArrow:0,borderRadius:Di.borderRadius}),At=ae.useCallback(()=>{Fn(!1)},[]),Mt=()=>{let fn;return De!=null&&De.items?fn=ae.createElement(Xt.default,Object.assign({},De)):typeof _r=="function"?fn=_r():fn=_r,$t&&(fn=$t(fn)),fn=ae.Children.only(typeof fn=="string"?ae.createElement("span",null,fn):fn),ae.createElement(Ht.J,{prefixCls:`${Gi}-menu`,expandIcon:ae.createElement("span",{className:`${Gi}-menu-submenu-arrow`},ae.createElement(Oe.Z,{className:`${Gi}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:At,validator:$e=>{let{mode:Ft}=$e}},fn)};return oi(ae.createElement(Ce,Object.assign({alignPoint:bn},(0,Tt.Z)(le,["rootClassName"]),{mouseEnterDelay:It,mouseLeaveDelay:$n,visible:rr,builtinPlacements:pt,arrow:!!Ke,overlayClassName:Xn,prefixCls:Gi,getPopupContainer:gr||Xr,transitionName:Cr,trigger:cn,overlay:Mt,placement:yi,onVisibleChange:ir}),Nt))};function ce(le){return Object.assign(Object.assign({},le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ue=(0,ft.Z)(Fe,"dropdown",le=>le,ce),pe=le=>ae.createElement(ue,Object.assign({},le),ae.createElement("span",null));Fe._InternalPanelDoNotUseOrYouWillBeFired=pe;var de=Fe},85418:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return dt}});var ae=ie(35874),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(67294),ve=ie(25877),Ee=ie(71577),ke=ie(53124),ye=ie(93421),me=ie(4173),Le=ie(66748),mt=function(nt,Me){var ut={};for(var Ut in nt)Object.prototype.hasOwnProperty.call(nt,Ut)&&Me.indexOf(Ut)<0&&(ut[Ut]=nt[Ut]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Ut=Object.getOwnPropertySymbols(nt);at<Ut.length;at++)Me.indexOf(Ut[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ut[at])&&(ut[Ut[at]]=nt[Ut[at]]);return ut};const Ie=nt=>{const{getPopupContainer:Me,getPrefixCls:ut,direction:Ut}=Ze.useContext(ke.E_),{prefixCls:at,type:ht="default",danger:we,disabled:he,loading:je,onClick:Ve,htmlType:Ge,children:qe,className:Ye,menu:We,arrow:St,autoFocus:lt,overlay:zt,trigger:Dt,align:pn,open:Kn,onOpenChange:tr,placement:it,getPopupContainer:Ce,href:wt,icon:An=Ze.createElement(ve.Z,null),title:Tt,buttonsRender:rt=nn=>nn,mouseEnterDelay:ft,mouseLeaveDelay:Wt,overlayClassName:qt,overlayStyle:Xt,destroyPopupOnHide:Ht,dropdownRender:un}=nt,kn=mt(nt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),yn=ut("dropdown",at),Fe=`${yn}-button`,[ce,ue]=(0,Le.Z)(yn),pe={menu:We,arrow:St,autoFocus:lt,align:pn,disabled:he,trigger:he?[]:Dt,onOpenChange:tr,getPopupContainer:Ce||Me,mouseEnterDelay:ft,mouseLeaveDelay:Wt,overlayClassName:qt,overlayStyle:Xt,destroyPopupOnHide:Ht,dropdownRender:un},{compactSize:de,compactItemClassnames:le}=(0,me.ri)(yn,Ut),De=Re()(Fe,le,Ye,ue);"overlay"in nt&&(pe.overlay=zt),"open"in nt&&(pe.open=Kn),"placement"in nt?pe.placement=it:pe.placement=Ut==="rtl"?"bottomLeft":"bottomRight";const Ke=Ze.createElement(Ee.ZP,{type:ht,danger:we,disabled:he,loading:je,onClick:Ve,htmlType:Ge,href:wt,title:Tt},qe),Et=Ze.createElement(Ee.ZP,{type:ht,danger:we,icon:An}),[Yt,Kt]=rt([Ke,Et]);return ce(Ze.createElement(ye.Z.Compact,Object.assign({className:De,size:de,block:!0},kn),Yt,Ze.createElement(ae.Z,Object.assign({},pe),Kt)))};Ie.__ANT_BUTTON=!0;var Xe=Ie;const ot=ae.Z;ot.Button=Xe;var dt=ot},66748:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return mt}});var ae=ie(14747),Oe=ie(67771),Re=ie(33297),Ze=ie(50438),ve=ie(97414),Ee=ie(67968),ke=ie(45503),me=Ie=>{const{componentCls:Xe,menuCls:ot,colorError:dt,colorTextLightSolid:nt}=Ie,Me=`${ot}-item`;return{[`${Xe}, ${Xe}-menu-submenu`]:{[`${ot} ${Me}`]:{[`&${Me}-danger:not(${Me}-disabled)`]:{color:dt,"&:hover":{color:nt,backgroundColor:dt}}}}}};const Le=Ie=>{const{componentCls:Xe,menuCls:ot,zIndexPopup:dt,dropdownArrowDistance:nt,sizePopupArrow:Me,antCls:ut,iconCls:Ut,motionDurationMid:at,dropdownPaddingVertical:ht,fontSize:we,dropdownEdgeChildPadding:he,colorTextDisabled:je,fontSizeIcon:Ve,controlPaddingHorizontal:Ge,colorBgElevated:qe}=Ie;return[{[Xe]:Object.assign(Object.assign({},(0,ae.Wf)(Ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:dt,display:"block","&::before":{position:"absolute",insetBlock:-nt+Me/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${ut}-btn`]:{[`& > ${Ut}-down, & > ${ut}-btn-icon > ${Ut}-down`]:{fontSize:Ve}},[`${Xe}-wrap`]:{position:"relative",[`${ut}-btn > ${Ut}-down`]:{fontSize:Ve},[`${Ut}-down::before`]:{transition:`transform ${at}`}},[`${Xe}-wrap-open`]:{[`${Ut}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ut}-slide-down-enter${ut}-slide-down-enter-active${Xe}-placement-bottomLeft,
|
|
|
&${ut}-slide-down-appear${ut}-slide-down-appear-active${Xe}-placement-bottomLeft,
|
|
|
&${ut}-slide-down-enter${ut}-slide-down-enter-active${Xe}-placement-bottom,
|
|
|
&${ut}-slide-down-appear${ut}-slide-down-appear-active${Xe}-placement-bottom,
|
|
|
&${ut}-slide-down-enter${ut}-slide-down-enter-active${Xe}-placement-bottomRight,
|
|
|
&${ut}-slide-down-appear${ut}-slide-down-appear-active${Xe}-placement-bottomRight`]:{animationName:Oe.fJ},[`&${ut}-slide-up-enter${ut}-slide-up-enter-active${Xe}-placement-topLeft,
|
|
|
&${ut}-slide-up-appear${ut}-slide-up-appear-active${Xe}-placement-topLeft,
|
|
|
&${ut}-slide-up-enter${ut}-slide-up-enter-active${Xe}-placement-top,
|
|
|
&${ut}-slide-up-appear${ut}-slide-up-appear-active${Xe}-placement-top,
|
|
|
&${ut}-slide-up-enter${ut}-slide-up-enter-active${Xe}-placement-topRight,
|
|
|
&${ut}-slide-up-appear${ut}-slide-up-appear-active${Xe}-placement-topRight`]:{animationName:Oe.Qt},[`&${ut}-slide-down-leave${ut}-slide-down-leave-active${Xe}-placement-bottomLeft,
|
|
|
&${ut}-slide-down-leave${ut}-slide-down-leave-active${Xe}-placement-bottom,
|
|
|
&${ut}-slide-down-leave${ut}-slide-down-leave-active${Xe}-placement-bottomRight`]:{animationName:Oe.Uw},[`&${ut}-slide-up-leave${ut}-slide-up-leave-active${Xe}-placement-topLeft,
|
|
|
&${ut}-slide-up-leave${ut}-slide-up-leave-active${Xe}-placement-top,
|
|
|
&${ut}-slide-up-leave${ut}-slide-up-leave-active${Xe}-placement-topRight`]:{animationName:Oe.ly}})},(0,ve.ZP)(Ie,{colorBg:qe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Xe} ${ot}`]:{position:"relative",margin:0},[`${ot}-submenu-popup`]:{position:"absolute",zIndex:dt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Xe}, ${Xe}-menu-submenu`]:{[ot]:Object.assign(Object.assign({padding:he,listStyleType:"none",backgroundColor:qe,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary},(0,ae.Qy)(Ie)),{[`${ot}-item-group-title`]:{padding:`${ht}px ${Ge}px`,color:Ie.colorTextDescription,transition:`all ${at}`},[`${ot}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ot}-item-icon`]:{minWidth:we,marginInlineEnd:Ie.marginXS,fontSize:Ie.fontSizeSM},[`${ot}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${at}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ot}-item, ${ot}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ht}px ${Ge}px`,color:Ie.colorText,fontWeight:"normal",fontSize:we,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${at}`,borderRadius:Ie.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ie.controlItemBgHover}},(0,ae.Qy)(Ie)),{"&-selected":{color:Ie.colorPrimary,backgroundColor:Ie.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ie.controlItemBgActiveHover}},"&-disabled":{color:je,cursor:"not-allowed","&:hover":{color:je,backgroundColor:qe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ie.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ie.colorSplit},[`${Xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ie.paddingXS,[`${Xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ie.colorTextDescription,fontSize:Ve,fontStyle:"normal"}}}),[`${ot}-item-group-list`]:{margin:`0 ${Ie.marginXS}px`,padding:0,listStyle:"none"},[`${ot}-submenu-title`]:{paddingInlineEnd:Ge+Ie.fontSizeSM},[`${ot}-submenu-vertical`]:{position:"relative"},[`${ot}-submenu${ot}-submenu-disabled ${Xe}-menu-submenu-title`]:{[`&, ${Xe}-menu-submenu-arrow-icon`]:{color:je,backgroundColor:qe,cursor:"not-allowed"}},[`${ot}-submenu-selected ${Xe}-menu-submenu-title`]:{color:Ie.colorPrimary}})}},[(0,Oe.oN)(Ie,"slide-up"),(0,Oe.oN)(Ie,"slide-down"),(0,Re.Fm)(Ie,"move-up"),(0,Re.Fm)(Ie,"move-down"),(0,Ze._y)(Ie,"zoom-big")]]};var mt=(0,Ee.Z)("Dropdown",(Ie,Xe)=>{let{rootPrefixCls:ot}=Xe;const{marginXXS:dt,sizePopupArrow:nt,controlHeight:Me,fontSize:ut,lineHeight:Ut,paddingXXS:at,componentCls:ht,borderRadiusLG:we}=Ie,he=(Me-ut*Ut)/2,{dropdownArrowOffset:je}=(0,ve.fS)({contentRadius:we}),Ve=(0,ke.TS)(Ie,{menuCls:`${ht}-menu`,rootPrefixCls:ot,dropdownArrowDistance:nt/2+dt,dropdownArrowOffset:je,dropdownPaddingVertical:he,dropdownEdgeChildPadding:at});return[Le(Ve),me(Ve)]},Ie=>({zIndexPopup:Ie.zIndexPopupBase+50}))},32983:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return at}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(10110),Ee=ie(84780),ke=ie(46605),me=()=>{const[,ht]=(0,ke.Z)(),he=new Ee.C(ht.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Re.createElement("svg",{style:he,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Re.createElement("g",{fill:"none",fillRule:"evenodd"},Re.createElement("g",{transform:"translate(24 31.67)"},Re.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Re.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),Re.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),Re.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),Re.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),Re.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),Re.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Re.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Re.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},mt=()=>{const[,ht]=(0,ke.Z)(),{colorFill:we,colorFillTertiary:he,colorFillQuaternary:je,colorBgContainer:Ve}=ht,{borderColor:Ge,shadowColor:qe,contentColor:Ye}=(0,Re.useMemo)(()=>({borderColor:new Ee.C(we).onBackground(Ve).toHexShortString(),shadowColor:new Ee.C(he).onBackground(Ve).toHexShortString(),contentColor:new Ee.C(je).onBackground(Ve).toHexShortString()}),[we,he,je,Ve]);return Re.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Re.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Re.createElement("ellipse",{fill:qe,cx:"32",cy:"33",rx:"32",ry:"7"}),Re.createElement("g",{fillRule:"nonzero",stroke:Ge},Re.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),Re.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Ye}))))},Ie=ie(67968),Xe=ie(45503);const ot=ht=>{const{componentCls:we,margin:he,marginXS:je,marginXL:Ve,fontSize:Ge,lineHeight:qe}=ht;return{[we]:{marginInline:je,fontSize:Ge,lineHeight:qe,textAlign:"center",[`${we}-image`]:{height:ht.emptyImgHeight,marginBottom:je,opacity:ht.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${we}-description`]:{color:ht.colorText},[`${we}-footer`]:{marginTop:he},"&-normal":{marginBlock:Ve,color:ht.colorTextDisabled,[`${we}-description`]:{color:ht.colorTextDisabled},[`${we}-image`]:{height:ht.emptyImgHeightMD}},"&-small":{marginBlock:je,color:ht.colorTextDisabled,[`${we}-image`]:{height:ht.emptyImgHeightSM}}}}};var dt=(0,Ie.Z)("Empty",ht=>{const{componentCls:we,controlHeightLG:he}=ht,je=(0,Xe.TS)(ht,{emptyImgCls:`${we}-img`,emptyImgHeight:he*2.5,emptyImgHeightMD:he,emptyImgHeightSM:he*.875});return[ot(je)]}),nt=function(ht,we){var he={};for(var je in ht)Object.prototype.hasOwnProperty.call(ht,je)&&we.indexOf(je)<0&&(he[je]=ht[je]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,je=Object.getOwnPropertySymbols(ht);Ve<je.length;Ve++)we.indexOf(je[Ve])<0&&Object.prototype.propertyIsEnumerable.call(ht,je[Ve])&&(he[je[Ve]]=ht[je[Ve]]);return he};const Me=Re.createElement(me,null),ut=Re.createElement(mt,null),Ut=ht=>{var{className:we,rootClassName:he,prefixCls:je,image:Ve=Me,description:Ge,children:qe,imageStyle:Ye,style:We}=ht,St=nt(ht,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:lt,direction:zt,empty:Dt}=Re.useContext(Ze.E_),pn=lt("empty",je),[Kn,tr]=dt(pn),[it]=(0,ve.Z)("Empty"),Ce=typeof Ge!="undefined"?Ge:it==null?void 0:it.description,wt=typeof Ce=="string"?Ce:"empty";let An=null;return typeof Ve=="string"?An=Re.createElement("img",{alt:wt,src:Ve}):An=Ve,Kn(Re.createElement("div",Object.assign({className:Oe()(tr,pn,Dt==null?void 0:Dt.className,{[`${pn}-normal`]:Ve===ut,[`${pn}-rtl`]:zt==="rtl"},we,he),style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),We)},St),Re.createElement("div",{className:`${pn}-image`,style:Ye},An),Ce&&Re.createElement("div",{className:`${pn}-description`},Ce),qe&&Re.createElement("div",{className:`${pn}-footer`},qe)))};Ut.PRESENTED_IMAGE_DEFAULT=Me,Ut.PRESENTED_IMAGE_SIMPLE=ut;var at=Ut},22150:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return fn}});var ae=ie(74902),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(38379),ve=ie(67294),Ee=ie(33603),ke=ie(65223);function ye($e){const[Ft,on]=ve.useState($e);return ve.useEffect(()=>{const _t=setTimeout(()=>{on($e)},$e.length?0:10);return()=>{clearTimeout(_t)}},[$e]),Ft}var me=ie(14747),Le=ie(50438),mt=ie(33507),Ie=ie(45503),Xe=ie(67968),dt=$e=>{const{componentCls:Ft}=$e,on=`${Ft}-show-help`,_t=`${Ft}-show-help-item`;return{[on]:{transition:`opacity ${$e.motionDurationSlow} ${$e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[_t]:{overflow:"hidden",transition:`height ${$e.motionDurationSlow} ${$e.motionEaseInOut},
|
|
|
opacity ${$e.motionDurationSlow} ${$e.motionEaseInOut},
|
|
|
transform ${$e.motionDurationSlow} ${$e.motionEaseInOut} !important`,[`&${_t}-appear, &${_t}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${_t}-leave-active`]:{transform:"translateY(-5px)"}}}}};const nt=$e=>({legend:{display:"block",width:"100%",marginBottom:$e.marginLG,padding:0,color:$e.colorTextDescription,fontSize:$e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`},label:{fontSize:$e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${$e.controlOutline}`},output:{display:"block",paddingTop:15,color:$e.colorText,fontSize:$e.fontSize,lineHeight:$e.lineHeight}}),Me=($e,Ft)=>{const{formItemCls:on}=$e;return{[on]:{[`${on}-label > label`]:{height:Ft},[`${on}-control-input`]:{minHeight:Ft}}}},ut=$e=>{const{componentCls:Ft}=$e;return{[$e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,me.Wf)($e)),nt($e)),{[`${Ft}-text`]:{display:"inline-block",paddingInlineEnd:$e.paddingSM},"&-small":Object.assign({},Me($e,$e.controlHeightSM)),"&-large":Object.assign({},Me($e,$e.controlHeightLG))})}},Ut=$e=>{const{formItemCls:Ft,iconCls:on,componentCls:_t,rootPrefixCls:En,labelRequiredMarkColor:Sn,labelColor:Bn,labelFontSize:Qr,labelHeight:Lr,labelColonMarginInlineStart:Sr,labelColonMarginInlineEnd:jr,itemMarginBottom:zr}=$e;return{[Ft]:Object.assign(Object.assign({},(0,me.Wf)($e)),{marginBottom:zr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${En}-row`]:{display:"none"},"&-has-warning":{[`${Ft}-split`]:{color:$e.colorError}},"&-has-error":{[`${Ft}-split`]:{color:$e.colorWarning}},[`${Ft}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${$e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Lr,color:Bn,fontSize:Qr,[`> ${on}`]:{fontSize:$e.fontSize,verticalAlign:"top"},[`&${Ft}-required:not(${Ft}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:$e.marginXXS,color:Sn,fontSize:$e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${_t}-hide-required-mark &`]:{display:"none"}},[`${Ft}-optional`]:{display:"inline-block",marginInlineStart:$e.marginXXS,color:$e.colorTextDescription,[`${_t}-hide-required-mark &`]:{display:"none"}},[`${Ft}-tooltip`]:{color:$e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:$e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Sr,marginInlineEnd:jr},[`&${Ft}-no-colon::after`]:{content:'"\\a0"'}}},[`${Ft}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${En}-col-'"]):not([class*="' ${En}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:$e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Ft]:{"&-explain, &-extra":{clear:"both",color:$e.colorTextDescription,fontSize:$e.fontSize,lineHeight:$e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:$e.controlHeightSM,transition:`color ${$e.motionDurationMid} ${$e.motionEaseOut}`},"&-explain":{"&-error":{color:$e.colorError},"&-warning":{color:$e.colorWarning}}},[`&-with-help ${Ft}-explain`]:{height:"auto",opacity:1},[`${Ft}-feedback-icon`]:{fontSize:$e.fontSize,textAlign:"center",visibility:"visible",animationName:Le.kr,animationDuration:$e.motionDurationMid,animationTimingFunction:$e.motionEaseOutBack,pointerEvents:"none","&-success":{color:$e.colorSuccess},"&-error":{color:$e.colorError},"&-warning":{color:$e.colorWarning},"&-validating":{color:$e.colorPrimary}}})}},at=$e=>{const{componentCls:Ft,formItemCls:on}=$e;return{[`${Ft}-horizontal`]:{[`${on}-label`]:{flexGrow:0},[`${on}-control`]:{flex:"1 1 0",minWidth:0},[`${on}-label[class$='-24'], ${on}-label[class*='-24 ']`]:{[`& + ${on}-control`]:{minWidth:"unset"}}}}},ht=$e=>{const{componentCls:Ft,formItemCls:on}=$e;return{[`${Ft}-inline`]:{display:"flex",flexWrap:"wrap",[on]:{flex:"none",marginInlineEnd:$e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${on}-label,
|
|
|
> ${on}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${on}-label`]:{flex:"none"},[`${Ft}-text`]:{display:"inline-block"},[`${on}-has-feedback`]:{display:"inline-block"}}}}},we=$e=>({padding:$e.verticalLabelPadding,margin:$e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),he=$e=>{const{componentCls:Ft,formItemCls:on,rootPrefixCls:_t}=$e;return{[`${on} ${on}-label`]:we($e),[Ft]:{[on]:{flexWrap:"wrap",[`${on}-label, ${on}-control`]:{[`&:not([class*=" ${_t}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},je=$e=>{const{componentCls:Ft,formItemCls:on,rootPrefixCls:_t}=$e;return{[`${Ft}-vertical`]:{[on]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Ft}-item-control`]:{width:"100%"}}},[`${Ft}-vertical ${on}-label,
|
|
|
.${_t}-col-24${on}-label,
|
|
|
.${_t}-col-xl-24${on}-label`]:we($e),[`@media (max-width: ${$e.screenXSMax}px)`]:[he($e),{[Ft]:{[`.${_t}-col-xs-24${on}-label`]:we($e)}}],[`@media (max-width: ${$e.screenSMMax}px)`]:{[Ft]:{[`.${_t}-col-sm-24${on}-label`]:we($e)}},[`@media (max-width: ${$e.screenMDMax}px)`]:{[Ft]:{[`.${_t}-col-md-24${on}-label`]:we($e)}},[`@media (max-width: ${$e.screenLGMax}px)`]:{[Ft]:{[`.${_t}-col-lg-24${on}-label`]:we($e)}}}},Ve=($e,Ft)=>(0,Ie.TS)($e,{formItemCls:`${$e.componentCls}-item`,rootPrefixCls:Ft});var Ge=(0,Xe.Z)("Form",($e,Ft)=>{let{rootPrefixCls:on}=Ft;const _t=Ve($e,on);return[ut(_t),Ut(_t),dt(_t),at(_t),ht(_t),je(_t),(0,mt.Z)(_t),Le.kr]},$e=>({labelRequiredMarkColor:$e.colorError,labelColor:$e.colorTextHeading,labelFontSize:$e.fontSize,labelHeight:$e.controlHeight,labelColonMarginInlineStart:$e.marginXXS/2,labelColonMarginInlineEnd:$e.marginXS,itemMarginBottom:$e.marginLG,verticalLabelPadding:`0 0 ${$e.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const qe=[];function Ye($e,Ft,on){let _t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof $e=="string"?$e:`${Ft}-${_t}`,error:$e,errorStatus:on}}var St=$e=>{let{help:Ft,helpStatus:on,errors:_t=qe,warnings:En=qe,className:Sn,fieldId:Bn,onVisibleChanged:Qr}=$e;const{prefixCls:Lr}=ve.useContext(ke.Rk),Sr=`${Lr}-item-explain`,[,jr]=Ge(Lr),zr=(0,ve.useMemo)(()=>(0,Ee.Z)(Lr),[Lr]),Rt=ye(_t),kt=ye(En),jt=ve.useMemo(()=>Ft!=null?[Ye(Ft,"help",on)]:[].concat((0,ae.Z)(Rt.map((lr,Hn)=>Ye(lr,"error","error",Hn))),(0,ae.Z)(kt.map((lr,Hn)=>Ye(lr,"warning","warning",Hn)))),[Ft,on,Rt,kt]),zn={};return Bn&&(zn.id=`${Bn}_help`),ve.createElement(Ze.default,{motionDeadline:zr.motionDeadline,motionName:`${Lr}-show-help`,visible:!!jt.length,onVisibleChanged:Qr},lr=>{const{className:Hn,style:_n}=lr;return ve.createElement("div",Object.assign({},zn,{className:Re()(Sr,Hn,Sn,jr),style:_n,role:"alert"}),ve.createElement(Ze.CSSMotionList,Object.assign({keys:jt},(0,Ee.Z)(Lr),{motionName:`${Lr}-show-help-item`,component:!1}),Gn=>{const{key:or,error:Kr,errorStatus:Ln,className:Fi,style:pi}=Gn;return ve.createElement("div",{key:or,className:Re()(Fi,{[`${Sr}-${Ln}`]:Ln}),style:pi},Kr)}))})},lt=ie(58083),zt=ie(53124),Dt=ie(98866),pn=ie(97647),Kn=ie(98675),tr=ie(17423);const it=["parentNode"],Ce="form_item";function wt($e){return $e===void 0||$e===!1?[]:Array.isArray($e)?$e:[$e]}function An($e,Ft){if(!$e.length)return;const on=$e.join("_");return Ft?`${Ft}_${on}`:it.includes(on)?`${Ce}_${on}`:on}function Tt($e,Ft,on,_t,En,Sn){let Bn=_t;return Sn!==void 0?Bn=Sn:on.validating?Bn="validating":$e.length?Bn="error":Ft.length?Bn="warning":(on.touched||En&&on.validated)&&(Bn="success"),Bn}function rt($e){return wt($e).join("_")}function ft($e){const[Ft]=(0,lt.useForm)(),on=ve.useRef({}),_t=ve.useMemo(()=>$e!=null?$e:Object.assign(Object.assign({},Ft),{__INTERNAL__:{itemRef:En=>Sn=>{const Bn=rt(En);Sn?on.current[Bn]=Sn:delete on.current[Bn]}},scrollToField:function(En){let Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Bn=wt(En),Qr=An(Bn,_t.__INTERNAL__.name),Lr=Qr?document.getElementById(Qr):null;Lr&&(0,tr.Z)(Lr,Object.assign({scrollMode:"if-needed",block:"nearest"},Sn))},getFieldInstance:En=>{const Sn=rt(En);return on.current[Sn]}}),[$e,Ft]);return[_t]}var Wt=ie(37920),qt=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on};const Xt=($e,Ft)=>{const on=ve.useContext(Dt.Z),{getPrefixCls:_t,direction:En,form:Sn}=ve.useContext(zt.E_),{prefixCls:Bn,className:Qr,rootClassName:Lr,size:Sr,disabled:jr=on,form:zr,colon:Rt,labelAlign:kt,labelWrap:jt,labelCol:zn,wrapperCol:lr,hideRequiredMark:Hn,layout:_n="horizontal",scrollToFirstError:Gn,requiredMark:or,onFinishFailed:Kr,name:Ln,style:Fi,feedbackIcons:pi}=$e,ha=qt($e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),ra=(0,Kn.Z)(Sr),Qi=ve.useContext(Wt.Z),Ca=(0,ve.useMemo)(()=>or!==void 0?or:Sn&&Sn.requiredMark!==void 0?Sn.requiredMark:!Hn,[Hn,or,Sn]),Xi=Rt!=null?Rt:Sn==null?void 0:Sn.colon,Ri=_t("form",Bn),[sa,Da]=Ge(Ri),ki=Re()(Ri,`${Ri}-${_n}`,{[`${Ri}-hide-required-mark`]:Ca===!1,[`${Ri}-rtl`]:En==="rtl",[`${Ri}-${ra}`]:ra},Da,Sn==null?void 0:Sn.className,Qr,Lr),[Ji]=ft(zr),{__INTERNAL__:Ea}=Ji;Ea.name=Ln;const _a=(0,ve.useMemo)(()=>({name:Ln,labelAlign:kt,labelCol:zn,labelWrap:jt,wrapperCol:lr,vertical:_n==="vertical",colon:Xi,requiredMark:Ca,itemRef:Ea.itemRef,form:Ji,feedbackIcons:pi}),[Ln,kt,zn,lr,_n,Xi,Ca,Ji,pi]);ve.useImperativeHandle(Ft,()=>Ji);const Oa=(Qt,Zt)=>{if(Qt){let Mn={block:"nearest"};typeof Qt=="object"&&(Mn=Qt),Ji.scrollToField(Zt,Mn)}},Oi=Qt=>{if(Kr==null||Kr(Qt),Qt.errorFields.length){const Zt=Qt.errorFields[0].name;if(Gn!==void 0){Oa(Gn,Zt);return}Sn&&Sn.scrollToFirstError!==void 0&&Oa(Sn.scrollToFirstError,Zt)}};return sa(ve.createElement(Dt.n,{disabled:jr},ve.createElement(pn.q,{size:ra},ve.createElement(ke.RV,Object.assign({},{validateMessages:Qi}),ve.createElement(ke.q3.Provider,{value:_a},ve.createElement(lt.default,Object.assign({id:Ln},ha,{name:Ln,onFinishFailed:Oi,form:Ji,style:Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Fi),className:ki})))))))};var un=ve.forwardRef(Xt),kn=ie(9475),yn=ie(17799),Fe=ie(96159),ce=ie(37419);function ue($e){if(typeof $e=="function")return $e;const Ft=(0,ce.Z)($e);return Ft.length<=1?Ft[0]:Ft}const pe=()=>{const{status:$e,errors:Ft=[],warnings:on=[]}=(0,ve.useContext)(ke.aM);return{status:$e,errors:Ft,warnings:on}};pe.Context=ke.aM;var de=pe,le=ie(96523);function De($e){const[Ft,on]=ve.useState($e),_t=(0,ve.useRef)(null),En=(0,ve.useRef)([]),Sn=(0,ve.useRef)(!1);ve.useEffect(()=>(Sn.current=!1,()=>{Sn.current=!0,le.Z.cancel(_t.current),_t.current=null}),[]);function Bn(Qr){Sn.current||(_t.current===null&&(En.current=[],_t.current=(0,le.Z)(()=>{_t.current=null,on(Lr=>{let Sr=Lr;return En.current.forEach(jr=>{Sr=jr(Sr)}),Sr})})),En.current.push(Qr))}return[Ft,Bn]}function Ke(){const{itemRef:$e}=ve.useContext(ke.q3),Ft=ve.useRef({});function on(_t,En){const Sn=En&&typeof En=="object"&&En.ref,Bn=_t.join("_");return(Ft.current.name!==Bn||Ft.current.originRef!==Sn)&&(Ft.current.name=Bn,Ft.current.originRef=Sn,Ft.current.ref=(0,yn.sQ)($e(_t),Sn)),Ft.current.ref}return on}var Et=ie(48130),Yt=ie(14075),Kt=ie(10366),nn=ie(92820),$t=ie(21584);const gr=$e=>{const{formItemCls:Ft}=$e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Ft}-control`]:{display:"flex"}}}};var kr=(0,Xe.b)(["Form","item-item"],($e,Ft)=>{let{rootPrefixCls:on}=Ft;const _t=Ve($e,on);return[gr(_t)]}),gn=$e=>{const{prefixCls:Ft,status:on,wrapperCol:_t,children:En,errors:Sn,warnings:Bn,_internalItemRender:Qr,extra:Lr,help:Sr,fieldId:jr,marginBottom:zr,onErrorVisibleChanged:Rt}=$e,kt=`${Ft}-item`,jt=ve.useContext(ke.q3),zn=_t||jt.wrapperCol||{},lr=Re()(`${kt}-control`,zn.className),Hn=ve.useMemo(()=>Object.assign({},jt),[jt]);delete Hn.labelCol,delete Hn.wrapperCol;const _n=ve.createElement("div",{className:`${kt}-control-input`},ve.createElement("div",{className:`${kt}-control-input-content`},En)),Gn=ve.useMemo(()=>({prefixCls:Ft,status:on}),[Ft,on]),or=zr!==null||Sn.length||Bn.length?ve.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},ve.createElement(ke.Rk.Provider,{value:Gn},ve.createElement(St,{fieldId:jr,errors:Sn,warnings:Bn,help:Sr,helpStatus:on,className:`${kt}-explain-connected`,onVisibleChanged:Rt})),!!zr&&ve.createElement("div",{style:{width:0,height:zr}})):null,Kr={};jr&&(Kr.id=`${jr}_extra`);const Ln=Lr?ve.createElement("div",Object.assign({},Kr,{className:`${kt}-extra`}),Lr):null,Fi=Qr&&Qr.mark==="pro_table_render"&&Qr.render?Qr.render($e,{input:_n,errorList:or,extra:Ln}):ve.createElement(ve.Fragment,null,_n,or,Ln);return ve.createElement(ke.q3.Provider,{value:Hn},ve.createElement($t.Z,Object.assign({},zn,{className:lr}),Fi),ve.createElement(kr,{prefixCls:Ft}))},hr=ie(17663),Er=ie(24457),yt=ie(10110),It=ie(83062),$n=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on};function Qn($e){return $e?typeof $e=="object"&&!ve.isValidElement($e)?$e:{title:$e}:null}var _r=$e=>{let{prefixCls:Ft,label:on,htmlFor:_t,labelCol:En,labelAlign:Sn,colon:Bn,required:Qr,requiredMark:Lr,tooltip:Sr}=$e;var jr;const[zr]=(0,yt.Z)("Form"),{vertical:Rt,labelAlign:kt,labelCol:jt,labelWrap:zn,colon:lr}=ve.useContext(ke.q3);if(!on)return null;const Hn=En||jt||{},_n=Sn||kt,Gn=`${Ft}-item-label`,or=Re()(Gn,_n==="left"&&`${Gn}-left`,Hn.className,{[`${Gn}-wrap`]:!!zn});let Kr=on;const Ln=Bn===!0||lr!==!1&&Bn!==!1;Ln&&!Rt&&typeof on=="string"&&on.trim()!==""&&(Kr=on.replace(/[:|:]\s*$/,""));const pi=Qn(Sr);if(pi){const{icon:Ca=ve.createElement(hr.Z,null)}=pi,Xi=$n(pi,["icon"]),Ri=ve.createElement(It.Z,Object.assign({},Xi),ve.cloneElement(Ca,{className:`${Ft}-item-tooltip`,title:""}));Kr=ve.createElement(ve.Fragment,null,Kr,Ri)}const ha=Lr==="optional",ra=typeof Lr=="function";ra?Kr=Lr(Kr,{required:!!Qr}):ha&&!Qr&&(Kr=ve.createElement(ve.Fragment,null,Kr,ve.createElement("span",{className:`${Ft}-item-optional`,title:""},(zr==null?void 0:zr.optional)||((jr=Er.Z.Form)===null||jr===void 0?void 0:jr.optional))));const Qi=Re()({[`${Ft}-item-required`]:Qr,[`${Ft}-item-required-mark-optional`]:ha||ra,[`${Ft}-item-no-colon`]:!Ln});return ve.createElement($t.Z,Object.assign({},Hn,{className:or}),ve.createElement("label",{htmlFor:_t,className:Qi,title:typeof on=="string"?on:""},Kr))},ei=ie(87725),Xr=ie(16646),ri=ie(87995),fi=ie(3407);const Cr={success:ei.Z,warning:ri.Z,error:Xr.Z,validating:fi.Z};function yi($e){let{children:Ft,errors:on,warnings:_t,hasFeedback:En,validateStatus:Sn,prefixCls:Bn,meta:Qr,noStyle:Lr}=$e;const Sr=`${Bn}-item`,{feedbackIcons:jr}=ve.useContext(ke.q3),zr=Tt(on,_t,Qr,null,!!En,Sn),{isFormItemInput:Rt,status:kt}=ve.useContext(ke.aM),jt=ve.useMemo(()=>{var zn;let lr;if(En){const Gn=En!==!0&&En.icons||jr,or=zr&&((zn=Gn==null?void 0:Gn({status:zr,errors:on,warnings:_t}))===null||zn===void 0?void 0:zn[zr]),Kr=zr&&Cr[zr];lr=or!==!1&&Kr?ve.createElement("span",{className:Re()(`${Sr}-feedback-icon`,`${Sr}-feedback-icon-${zr}`)},or||ve.createElement(Kr,null)):null}let Hn=!0,_n=zr||"";return Lr&&(Hn=Rt,_n=(zr!=null?zr:kt)||""),{status:_n,errors:on,warnings:_t,hasFeedback:!!En,feedbackIcon:lr,isFormItemInput:Hn}},[zr,En,Lr,Rt,kt]);return ve.createElement(ke.aM.Provider,{value:jt},Ft)}var Gi=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on};function oi($e){const{prefixCls:Ft,className:on,rootClassName:_t,style:En,help:Sn,errors:Bn,warnings:Qr,validateStatus:Lr,meta:Sr,hasFeedback:jr,hidden:zr,children:Rt,fieldId:kt,required:jt,isRequired:zn,onSubItemMetaChange:lr}=$e,Hn=Gi($e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),_n=`${Ft}-item`,{requiredMark:Gn}=ve.useContext(ke.q3),or=ve.useRef(null),Kr=ye(Bn),Ln=ye(Qr),Fi=Sn!=null,pi=!!(Fi||Bn.length||Qr.length),ha=!!or.current&&(0,Et.Z)(or.current),[ra,Qi]=ve.useState(null);(0,Yt.Z)(()=>{if(pi&&or.current){const Da=getComputedStyle(or.current);Qi(parseInt(Da.marginBottom,10))}},[pi,ha]);const Ca=Da=>{Da||Qi(null)},Ri=function(){let Da=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ki=Da?Kr:Sr.errors,Ji=Da?Ln:Sr.warnings;return Tt(ki,Ji,Sr,"",!!jr,Lr)}(),sa=Re()(_n,on,_t,{[`${_n}-with-help`]:Fi||Kr.length||Ln.length,[`${_n}-has-feedback`]:Ri&&jr,[`${_n}-has-success`]:Ri==="success",[`${_n}-has-warning`]:Ri==="warning",[`${_n}-has-error`]:Ri==="error",[`${_n}-is-validating`]:Ri==="validating",[`${_n}-hidden`]:zr});return ve.createElement("div",{className:sa,style:En,ref:or},ve.createElement(nn.Z,Object.assign({className:`${_n}-row`},(0,Kt.Z)(Hn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),ve.createElement(_r,Object.assign({htmlFor:kt},$e,{requiredMark:Gn,required:jt!=null?jt:zn,prefixCls:Ft})),ve.createElement(gn,Object.assign({},$e,Sr,{errors:Kr,warnings:Ln,prefixCls:Ft,status:Ri,help:Sn,marginBottom:ra,onErrorVisibleChanged:Ca}),ve.createElement(ke.qI.Provider,{value:lr},ve.createElement(yi,{prefixCls:Ft,meta:Sr,errors:Sr.errors,warnings:Sr.warnings,hasFeedback:jr,validateStatus:Ri},Rt)))),!!ra&&ve.createElement("div",{className:`${_n}-margin-offset`,style:{marginBottom:-ra}}))}const ea="__SPLIT__",Di=null,Ot=ve.memo($e=>{let{children:Ft}=$e;return Ft},($e,Ft)=>$e.value===Ft.value&&$e.update===Ft.update&&$e.childProps.length===Ft.childProps.length&&$e.childProps.every((on,_t)=>on===Ft.childProps[_t]));function Nt($e){return $e!=null}function cn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function bn($e){const{name:Ft,noStyle:on,className:_t,dependencies:En,prefixCls:Sn,shouldUpdate:Bn,rules:Qr,children:Lr,required:Sr,label:jr,messageVariables:zr,trigger:Rt="onChange",validateTrigger:kt,hidden:jt,help:zn}=$e,{getPrefixCls:lr}=ve.useContext(zt.E_),{name:Hn}=ve.useContext(ke.q3),_n=ue(Lr),Gn=typeof _n=="function",or=ve.useContext(ke.qI),{validateTrigger:Kr}=ve.useContext(lt.FieldContext),Ln=kt!==void 0?kt:Kr,Fi=Nt(Ft),pi=lr("form",Sn),[ha,ra]=Ge(pi),Qi=ve.useContext(lt.ListContext),Ca=ve.useRef(),[Xi,Ri]=De({}),[sa,Da]=(0,kn.Z)(()=>cn()),ki=Zt=>{const Mn=Qi==null?void 0:Qi.getKey(Zt.name);if(Da(Zt.destroy?cn():Zt,!0),on&&zn!==!1&&or){let jn=Zt.name;if(Zt.destroy)jn=Ca.current||jn;else if(Mn!==void 0){const[sr,Yr]=Mn;jn=[sr].concat((0,ae.Z)(Yr)),Ca.current=jn}or(Zt,jn)}},Ji=(Zt,Mn)=>{Ri(jn=>{const sr=Object.assign({},jn),si=[].concat((0,ae.Z)(Zt.name.slice(0,-1)),(0,ae.Z)(Mn)).join(ea);return Zt.destroy?delete sr[si]:sr[si]=Zt,sr})},[Ea,_a]=ve.useMemo(()=>{const Zt=(0,ae.Z)(sa.errors),Mn=(0,ae.Z)(sa.warnings);return Object.values(Xi).forEach(jn=>{Zt.push.apply(Zt,(0,ae.Z)(jn.errors||[])),Mn.push.apply(Mn,(0,ae.Z)(jn.warnings||[]))}),[Zt,Mn]},[Xi,sa.errors,sa.warnings]),Oa=Ke();function Oi(Zt,Mn,jn){return on&&!jt?ve.createElement(yi,{prefixCls:pi,hasFeedback:$e.hasFeedback,validateStatus:$e.validateStatus,meta:sa,errors:Ea,warnings:_a,noStyle:!0},Zt):ve.createElement(oi,Object.assign({key:"row"},$e,{className:Re()(_t,ra),prefixCls:pi,fieldId:Mn,isRequired:jn,errors:Ea,warnings:_a,meta:sa,onSubItemMetaChange:Ji}),Zt)}if(!Fi&&!Gn&&!En)return ha(Oi(_n));let Qt={};return typeof jr=="string"?Qt.label=jr:Ft&&(Qt.label=String(Ft)),zr&&(Qt=Object.assign(Object.assign({},Qt),zr)),ha(ve.createElement(lt.Field,Object.assign({},$e,{messageVariables:Qt,trigger:Rt,validateTrigger:Ln,onMetaChange:ki}),(Zt,Mn,jn)=>{const sr=wt(Ft).length&&Mn?Mn.name:[],Yr=An(sr,Hn),si=Sr!==void 0?Sr:!!(Qr&&Qr.some(gi=>{if(gi&&typeof gi=="object"&&gi.required&&!gi.warningOnly)return!0;if(typeof gi=="function"){const Ti=gi(jn);return Ti&&Ti.required&&!Ti.warningOnly}return!1})),mi=Object.assign({},Zt);let Ci=null;if(Array.isArray(_n)&&Fi)Ci=_n;else if(!(Gn&&(!(Bn||En)||Fi))){if(!(En&&!Gn&&!Fi))if((0,Fe.l$)(_n)){const gi=Object.assign(Object.assign({},_n.props),mi);if(gi.id||(gi.id=Yr),zn||Ea.length>0||_a.length>0||$e.extra){const li=[];(zn||Ea.length>0)&&li.push(`${Yr}_help`),$e.extra&&li.push(`${Yr}_extra`),gi["aria-describedby"]=li.join(" ")}Ea.length>0&&(gi["aria-invalid"]="true"),si&&(gi["aria-required"]="true"),(0,yn.Yr)(_n)&&(gi.ref=Oa(sr,_n)),new Set([].concat((0,ae.Z)(wt(Rt)),(0,ae.Z)(wt(Ln)))).forEach(li=>{gi[li]=function(){for(var Vi,ia,ta,ze,Je,et=arguments.length,st=new Array(et),Ct=0;Ct<et;Ct++)st[Ct]=arguments[Ct];(ta=mi[li])===null||ta===void 0||(Vi=ta).call.apply(Vi,[mi].concat(st)),(Je=(ze=_n.props)[li])===null||Je===void 0||(ia=Je).call.apply(ia,[ze].concat(st))}});const qi=[gi["aria-required"],gi["aria-invalid"],gi["aria-describedby"]];Ci=ve.createElement(Ot,{value:mi[$e.valuePropName||"value"],update:_n,childProps:qi},(0,Fe.Tm)(_n,gi))}else Gn&&(Bn||En)&&!Fi?Ci=_n(jn):Ci=_n}return Oi(Ci,Yr,si)}))}const rr=bn;rr.useStatus=de;var Fn=rr,ir=function($e,Ft){var on={};for(var _t in $e)Object.prototype.hasOwnProperty.call($e,_t)&&Ft.indexOf(_t)<0&&(on[_t]=$e[_t]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,_t=Object.getOwnPropertySymbols($e);En<_t.length;En++)Ft.indexOf(_t[En])<0&&Object.prototype.propertyIsEnumerable.call($e,_t[En])&&(on[_t[En]]=$e[_t[En]]);return on},pt=$e=>{var{prefixCls:Ft,children:on}=$e,_t=ir($e,["prefixCls","children"]);const{getPrefixCls:En}=ve.useContext(zt.E_),Sn=En("form",Ft),Bn=ve.useMemo(()=>({prefixCls:Sn,status:"error"}),[Sn]);return ve.createElement(lt.List,Object.assign({},_t),(Qr,Lr,Sr)=>ve.createElement(ke.Rk.Provider,{value:Bn},on(Qr.map(jr=>Object.assign(Object.assign({},jr),{fieldKey:jr.key})),Lr,{errors:Sr.errors,warnings:Sr.warnings})))};function At(){const{form:$e}=(0,ve.useContext)(ke.q3);return $e}const Mt=un;Mt.Item=Fn,Mt.List=pt,Mt.ErrorList=St,Mt.useForm=ft,Mt.useFormInstance=At,Mt.useWatch=lt.useWatch,Mt.Provider=ke.RV,Mt.create=()=>{};var fn=Mt},31795:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Xn}});var ae=ie(42922),Oe=ie(53978),Re=ie(94184),Ze=ie.n(Re),ve=ie(87462),Ee=ie(4942),ke=ie(71002),ye=ie(97685),me=ie(45987),Le=ie(15671),mt=ie(43144);function Ie(){return typeof BigInt=="function"}function Xe(pt){return!pt&&pt!==0&&!Number.isNaN(pt)||!String(pt).trim()}function ot(pt){var At=pt.trim(),Mt=At.startsWith("-");Mt&&(At=At.slice(1)),At=At.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),At.startsWith(".")&&(At="0".concat(At));var fn=At||"0",$e=fn.split("."),Ft=$e[0]||"0",on=$e[1]||"0";Ft==="0"&&on==="0"&&(Mt=!1);var _t=Mt?"-":"";return{negative:Mt,negativeStr:_t,trimStr:fn,integerStr:Ft,decimalStr:on,fullStr:"".concat(_t).concat(fn)}}function dt(pt){var At=String(pt);return!Number.isNaN(Number(At))&&At.includes("e")}function nt(pt){var At=String(pt);if(dt(pt)){var Mt=Number(At.slice(At.indexOf("e-")+2)),fn=At.match(/\.(\d+)/);return fn!=null&&fn[1]&&(Mt+=fn[1].length),Mt}return At.includes(".")&&ut(At)?At.length-At.indexOf(".")-1:0}function Me(pt){var At=String(pt);if(dt(pt)){if(pt>Number.MAX_SAFE_INTEGER)return String(Ie()?BigInt(pt).toString():Number.MAX_SAFE_INTEGER);if(pt<Number.MIN_SAFE_INTEGER)return String(Ie()?BigInt(pt).toString():Number.MIN_SAFE_INTEGER);At=pt.toFixed(nt(At))}return ot(At).fullStr}function ut(pt){return typeof pt=="number"?!Number.isNaN(pt):pt?/^\s*-?\d+(\.\d+)?\s*$/.test(pt)||/^\s*-?\d+\.\s*$/.test(pt)||/^\s*-?\.\d+\s*$/.test(pt):!1}var Ut=function(){function pt(At){if((0,Le.Z)(this,pt),(0,Ee.Z)(this,"origin",""),(0,Ee.Z)(this,"negative",void 0),(0,Ee.Z)(this,"integer",void 0),(0,Ee.Z)(this,"decimal",void 0),(0,Ee.Z)(this,"decimalLen",void 0),(0,Ee.Z)(this,"empty",void 0),(0,Ee.Z)(this,"nan",void 0),Xe(At)){this.empty=!0;return}if(this.origin=String(At),At==="-"||Number.isNaN(At)){this.nan=!0;return}var Mt=At;if(dt(Mt)&&(Mt=Number(Mt)),Mt=typeof Mt=="string"?Mt:Me(Mt),ut(Mt)){var fn=ot(Mt);this.negative=fn.negative;var $e=fn.trimStr.split(".");this.integer=BigInt($e[0]);var Ft=$e[1]||"0";this.decimal=BigInt(Ft),this.decimalLen=Ft.length}else this.nan=!0}return(0,mt.Z)(pt,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Mt){var fn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Mt,"0"));return BigInt(fn)}},{key:"negate",value:function(){var Mt=new pt(this.toString());return Mt.negative=!Mt.negative,Mt}},{key:"cal",value:function(Mt,fn,$e){var Ft=Math.max(this.getDecimalStr().length,Mt.getDecimalStr().length),on=this.alignDecimal(Ft),_t=Mt.alignDecimal(Ft),En=fn(on,_t).toString(),Sn=$e(Ft),Bn=ot(En),Qr=Bn.negativeStr,Lr=Bn.trimStr,Sr="".concat(Qr).concat(Lr.padStart(Sn+1,"0"));return new pt("".concat(Sr.slice(0,-Sn),".").concat(Sr.slice(-Sn)))}},{key:"add",value:function(Mt){if(this.isInvalidate())return new pt(Mt);var fn=new pt(Mt);return fn.isInvalidate()?this:this.cal(fn,function($e,Ft){return $e+Ft},function($e){return $e})}},{key:"multi",value:function(Mt){var fn=new pt(Mt);return this.isInvalidate()||fn.isInvalidate()?new pt(NaN):this.cal(fn,function($e,Ft){return $e*Ft},function($e){return $e*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Mt){return this.toString()===(Mt==null?void 0:Mt.toString())}},{key:"lessEquals",value:function(Mt){return this.add(Mt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Mt?this.isInvalidate()?"":ot("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),pt}(),at=function(){function pt(At){if((0,Le.Z)(this,pt),(0,Ee.Z)(this,"origin",""),(0,Ee.Z)(this,"number",void 0),(0,Ee.Z)(this,"empty",void 0),Xe(At)){this.empty=!0;return}this.origin=String(At),this.number=Number(At)}return(0,mt.Z)(pt,[{key:"negate",value:function(){return new pt(-this.toNumber())}},{key:"add",value:function(Mt){if(this.isInvalidate())return new pt(Mt);var fn=Number(Mt);if(Number.isNaN(fn))return this;var $e=this.number+fn;if($e>Number.MAX_SAFE_INTEGER)return new pt(Number.MAX_SAFE_INTEGER);if($e<Number.MIN_SAFE_INTEGER)return new pt(Number.MIN_SAFE_INTEGER);var Ft=Math.max(nt(this.number),nt(fn));return new pt($e.toFixed(Ft))}},{key:"multi",value:function(Mt){var fn=Number(Mt);if(this.isInvalidate()||Number.isNaN(fn))return new pt(NaN);var $e=this.number*fn;if($e>Number.MAX_SAFE_INTEGER)return new pt(Number.MAX_SAFE_INTEGER);if($e<Number.MIN_SAFE_INTEGER)return new pt(Number.MIN_SAFE_INTEGER);var Ft=Math.max(nt(this.number),nt(fn));return new pt($e.toFixed(Ft))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Mt){return this.toNumber()===(Mt==null?void 0:Mt.toNumber())}},{key:"lessEquals",value:function(Mt){return this.add(Mt.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Mt?this.isInvalidate()?"":Me(this.number):this.origin}}]),pt}();function ht(pt){return Ie()?new Ut(pt):new at(pt)}function we(pt,At,Mt){var fn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(pt==="")return"";var $e=ot(pt),Ft=$e.negativeStr,on=$e.integerStr,_t=$e.decimalStr,En="".concat(At).concat(_t),Sn="".concat(Ft).concat(on);if(Mt>=0){var Bn=Number(_t[Mt]);if(Bn>=5&&!fn){var Qr=ht(pt).add("".concat(Ft,"0.").concat("0".repeat(Mt)).concat(10-Bn));return we(Qr.toString(),At,Mt,fn)}return Mt===0?Sn:"".concat(Sn).concat(At).concat(_t.padEnd(Mt,"0").slice(0,Mt))}return En===".0"?Sn:"".concat(Sn).concat(En)}var he=ht,je=ie(67656),Ve=ie(67294);function Ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var qe=Ge()?Ve.useLayoutEffect:Ve.useEffect,Ye=function(At,Mt){var fn=Ve.useRef(!0);qe(function(){return At(fn.current)},Mt),qe(function(){return fn.current=!1,function(){fn.current=!0}},[])},We=function(At,Mt){Ye(function(fn){if(!fn)return At()},Mt)},St=Ye,lt=ie(27183);function zt(pt,At,Mt){var fn=React.useRef({});return(!("value"in fn.current)||Mt(fn.current.condition,At))&&(fn.current.value=pt(),fn.current.condition=At),fn.current.value}function Dt(pt,At){typeof pt=="function"?pt(At):(0,ke.Z)(pt)==="object"&&pt&&"current"in pt&&(pt.current=At)}function pn(){for(var pt=arguments.length,At=new Array(pt),Mt=0;Mt<pt;Mt++)At[Mt]=arguments[Mt];var fn=At.filter(function($e){return $e});return fn.length<=1?fn[0]:function($e){At.forEach(function(Ft){Dt(Ft,$e)})}}function Kn(){for(var pt=arguments.length,At=new Array(pt),Mt=0;Mt<pt;Mt++)At[Mt]=arguments[Mt];return useMemo(function(){return pn.apply(void 0,At)},At,function(fn,$e){return fn.length!==$e.length||fn.every(function(Ft,on){return Ft!==$e[on]})})}function tr(pt){var At,Mt,fn=isMemo(pt)?pt.type.type:pt.type;return!(typeof fn=="function"&&!((At=fn.prototype)!==null&&At!==void 0&&At.render)||typeof pt=="function"&&!((Mt=pt.prototype)!==null&&Mt!==void 0&&Mt.render))}function it(pt){return!isValidElement(pt)||isFragment(pt)?!1:tr(pt)}var Ce={},wt=[],An=function(At){wt.push(At)};function Tt(pt,At){if(0)var Mt}function rt(pt,At){if(0)var Mt}function ft(){Ce={}}function Wt(pt,At,Mt){!At&&!Ce[Mt]&&(pt(!1,Mt),Ce[Mt]=!0)}function qt(pt,At){Wt(Tt,pt,At)}function Xt(pt,At){Wt(rt,pt,At)}qt.preMessage=An,qt.resetWarned=ft,qt.noteOnce=Xt;var Ht=qt;function un(pt,At){var Mt=(0,Ve.useRef)(null);function fn(){try{var Ft=pt.selectionStart,on=pt.selectionEnd,_t=pt.value,En=_t.substring(0,Ft),Sn=_t.substring(on);Mt.current={start:Ft,end:on,value:_t,beforeTxt:En,afterTxt:Sn}}catch(Bn){}}function $e(){if(pt&&Mt.current&&At)try{var Ft=pt.value,on=Mt.current,_t=on.beforeTxt,En=on.afterTxt,Sn=on.start,Bn=Ft.length;if(Ft.endsWith(En))Bn=Ft.length-Mt.current.afterTxt.length;else if(Ft.startsWith(_t))Bn=_t.length;else{var Qr=_t[Sn-1],Lr=Ft.indexOf(Qr,Sn-1);Lr!==-1&&(Bn=Lr+1)}pt.setSelectionRange(Bn,Bn)}catch(Sr){Ht(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Sr.message))}}return[fn,$e]}var kn=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var pt=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(pt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(pt==null?void 0:pt.substr(0,4))},yn=function(){var At=(0,Ve.useState)(!1),Mt=(0,ye.Z)(At,2),fn=Mt[0],$e=Mt[1];return St(function(){$e(kn())},[]),fn},Fe=yn,ce=function(At){return+setTimeout(At,16)},ue=function(At){return clearTimeout(At)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ce=function(At){return window.requestAnimationFrame(At)},ue=function(At){return window.cancelAnimationFrame(At)});var pe=0,de=new Map;function le(pt){de.delete(pt)}var De=function(At){var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pe+=1;var fn=pe;function $e(Ft){if(Ft===0)le(fn),At();else{var on=ce(function(){$e(Ft-1)});de.set(fn,on)}}return $e(Mt),fn};De.cancel=function(pt){var At=de.get(pt);return le(At),ue(At)};var Ke=De,Et=200,Yt=600;function Kt(pt){var At=pt.prefixCls,Mt=pt.upNode,fn=pt.downNode,$e=pt.upDisabled,Ft=pt.downDisabled,on=pt.onStep,_t=Ve.useRef(),En=Ve.useRef([]),Sn=Ve.useRef();Sn.current=on;var Bn=function(){clearTimeout(_t.current)},Qr=function(zn,lr){zn.preventDefault(),Bn(),Sn.current(lr);function Hn(){Sn.current(lr),_t.current=setTimeout(Hn,Et)}_t.current=setTimeout(Hn,Yt)};Ve.useEffect(function(){return function(){Bn(),En.current.forEach(function(jt){return Ke.cancel(jt)})}},[]);var Lr=Fe();if(Lr)return null;var Sr="".concat(At,"-handler"),jr=Ze()(Sr,"".concat(Sr,"-up"),(0,Ee.Z)({},"".concat(Sr,"-up-disabled"),$e)),zr=Ze()(Sr,"".concat(Sr,"-down"),(0,Ee.Z)({},"".concat(Sr,"-down-disabled"),Ft)),Rt=function(){return En.current.push(Ke(Bn))},kt={unselectable:"on",role:"button",onMouseUp:Rt,onMouseLeave:Rt};return Ve.createElement("div",{className:"".concat(Sr,"-wrap")},Ve.createElement("span",(0,ve.Z)({},kt,{onMouseDown:function(zn){Qr(zn,!0)},"aria-label":"Increase Value","aria-disabled":$e,className:jr}),Mt||Ve.createElement("span",{unselectable:"on",className:"".concat(At,"-handler-up-inner")})),Ve.createElement("span",(0,ve.Z)({},kt,{onMouseDown:function(zn){Qr(zn,!1)},"aria-label":"Decrease Value","aria-disabled":Ft,className:zr}),fn||Ve.createElement("span",{unselectable:"on",className:"".concat(At,"-handler-down-inner")})))}function nn(pt){var At=typeof pt=="number"?Me(pt):ot(pt).fullStr,Mt=At.includes(".");return Mt?ot(At.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:pt+"0"}var $t=ie(87887),gr=function(){var pt=(0,Ve.useRef)(0),At=function(){Ke.cancel(pt.current)};return(0,Ve.useEffect)(function(){return At},[]),function(Mt){At(),pt.current=Ke(function(){Mt()})}},kr=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],rn=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],gn=function(At,Mt){return At||Mt.isEmpty()?Mt.toString():Mt.toNumber()},hr=function(At){var Mt=he(At);return Mt.isInvalidate()?null:Mt},Er=Ve.forwardRef(function(pt,At){var Mt,fn=pt.prefixCls,$e=fn===void 0?"rc-input-number":fn,Ft=pt.className,on=pt.style,_t=pt.min,En=pt.max,Sn=pt.step,Bn=Sn===void 0?1:Sn,Qr=pt.defaultValue,Lr=pt.value,Sr=pt.disabled,jr=pt.readOnly,zr=pt.upHandler,Rt=pt.downHandler,kt=pt.keyboard,jt=pt.controls,zn=jt===void 0?!0:jt,lr=pt.classNames,Hn=pt.stringMode,_n=pt.parser,Gn=pt.formatter,or=pt.precision,Kr=pt.decimalSeparator,Ln=pt.onChange,Fi=pt.onInput,pi=pt.onPressEnter,ha=pt.onStep,ra=(0,me.Z)(pt,kr),Qi="".concat($e,"-input"),Ca=Ve.useRef(null),Xi=Ve.useState(!1),Ri=(0,ye.Z)(Xi,2),sa=Ri[0],Da=Ri[1],ki=Ve.useRef(!1),Ji=Ve.useRef(!1),Ea=Ve.useRef(!1),_a=Ve.useState(function(){return he(Lr!=null?Lr:Qr)}),Oa=(0,ye.Z)(_a,2),Oi=Oa[0],Qt=Oa[1];function Zt(Dr){Lr===void 0&&Qt(Dr)}var Mn=Ve.useCallback(function(Dr,Mr){if(!Mr)return or>=0?or:Math.max(nt(Dr),nt(Bn))},[or,Bn]),jn=Ve.useCallback(function(Dr){var Mr=String(Dr);if(_n)return _n(Mr);var Tr=Mr;return Kr&&(Tr=Tr.replace(Kr,".")),Tr.replace(/[^\w.-]+/g,"")},[_n,Kr]),sr=Ve.useRef(""),Yr=Ve.useCallback(function(Dr,Mr){if(Gn)return Gn(Dr,{userTyping:Mr,input:String(sr.current)});var Tr=typeof Dr=="number"?Me(Dr):Dr;if(!Mr){var Or=Mn(Tr,Mr);if(ut(Tr)&&(Kr||Or>=0)){var qr=Kr||".";Tr=we(Tr,qr,Or)}}return Tr},[Gn,Mn,Kr]),si=Ve.useState(function(){var Dr=Qr!=null?Qr:Lr;return Oi.isInvalidate()&&["string","number"].includes((0,ke.Z)(Dr))?Number.isNaN(Dr)?"":Dr:Yr(Oi.toString(),!1)}),mi=(0,ye.Z)(si,2),Ci=mi[0],gi=mi[1];sr.current=Ci;function Ti(Dr,Mr){gi(Yr(Dr.isInvalidate()?Dr.toString(!1):Dr.toString(!Mr),Mr))}var qi=Ve.useMemo(function(){return hr(En)},[En,or]),li=Ve.useMemo(function(){return hr(_t)},[_t,or]),Vi=Ve.useMemo(function(){return!qi||!Oi||Oi.isInvalidate()?!1:qi.lessEquals(Oi)},[qi,Oi]),ia=Ve.useMemo(function(){return!li||!Oi||Oi.isInvalidate()?!1:Oi.lessEquals(li)},[li,Oi]),ta=un(Ca.current,sa),ze=(0,ye.Z)(ta,2),Je=ze[0],et=ze[1],st=function(Mr){return qi&&!Mr.lessEquals(qi)?qi:li&&!li.lessEquals(Mr)?li:null},Ct=function(Mr){return!st(Mr)},Bt=function(Mr,Tr){var Or=Mr,qr=Ct(Or)||Or.isEmpty();if(!Or.isEmpty()&&!Tr&&(Or=st(Or)||Or,qr=!0),!jr&&!Sr&&qr){var Ue=Or.toString(),tt=Mn(Ue,Tr);return tt>=0&&(Or=he(we(Ue,".",tt)),Ct(Or)||(Or=he(we(Ue,".",tt,!0)))),Or.equals(Oi)||(Zt(Or),Ln==null||Ln(Or.isEmpty()?null:gn(Hn,Or)),Lr===void 0&&Ti(Or,Tr)),Or}return Oi},Jt=gr(),Tn=function Dr(Mr){if(Je(),sr.current=Mr,gi(Mr),!Ji.current){var Tr=jn(Mr),Or=he(Tr);Or.isNaN()||Bt(Or,!0)}Fi==null||Fi(Mr),Jt(function(){var qr=Mr;_n||(qr=Mr.replace(/。/g,".")),qr!==Mr&&Dr(qr)})},Nn=function(){Ji.current=!0},Fr=function(){Ji.current=!1,Tn(Ca.current.value)},Jr=function(Mr){Tn(Mr.target.value)},Ar=function(Mr){var Tr;if(!(Mr&&Vi||!Mr&&ia)){ki.current=!1;var Or=he(Ea.current?nn(Bn):Bn);Mr||(Or=Or.negate());var qr=(Oi||he(0)).add(Or.toString()),Ue=Bt(qr,!1);ha==null||ha(gn(Hn,Ue),{offset:Ea.current?nn(Bn):Bn,type:Mr?"up":"down"}),(Tr=Ca.current)===null||Tr===void 0||Tr.focus()}},er=function(Mr){var Tr=he(jn(Ci)),Or=Tr;Tr.isNaN()?Or=Bt(Oi,Mr):Or=Bt(Tr,Mr),Lr!==void 0?Ti(Oi,!1):Or.isNaN()||Ti(Or,!1)},Wn=function(){ki.current=!0},ur=function(Mr){var Tr=Mr.key,Or=Mr.shiftKey;ki.current=!0,Ea.current=Or,Tr==="Enter"&&(Ji.current||(ki.current=!1),er(!1),pi==null||pi(Mr)),kt!==!1&&!Ji.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Tr)&&(Ar(Tr==="Up"||Tr==="ArrowUp"),Mr.preventDefault())},mr=function(){ki.current=!1,Ea.current=!1},Vr=function(){er(!1),Da(!1),ki.current=!1};return We(function(){Oi.isInvalidate()||Ti(Oi,!1)},[or]),We(function(){var Dr=he(Lr);Qt(Dr);var Mr=he(jn(Ci));(!Dr.equals(Mr)||!ki.current||Gn)&&Ti(Dr,ki.current)},[Lr]),We(function(){Gn&&et()},[Ci]),Ve.createElement("div",{className:Ze()($e,lr==null?void 0:lr.input,Ft,(Mt={},(0,Ee.Z)(Mt,"".concat($e,"-focused"),sa),(0,Ee.Z)(Mt,"".concat($e,"-disabled"),Sr),(0,Ee.Z)(Mt,"".concat($e,"-readonly"),jr),(0,Ee.Z)(Mt,"".concat($e,"-not-a-number"),Oi.isNaN()),(0,Ee.Z)(Mt,"".concat($e,"-out-of-range"),!Oi.isInvalidate()&&!Ct(Oi)),Mt)),style:on,onFocus:function(){Da(!0)},onBlur:Vr,onKeyDown:ur,onKeyUp:mr,onCompositionStart:Nn,onCompositionEnd:Fr,onBeforeInput:Wn},zn&&Ve.createElement(Kt,{prefixCls:$e,upNode:zr,downNode:Rt,upDisabled:Vi,downDisabled:ia,onStep:Ar}),Ve.createElement("div",{className:"".concat(Qi,"-wrap")},Ve.createElement("input",(0,ve.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":_t,"aria-valuemax":En,"aria-valuenow":Oi.isInvalidate()?null:Oi.toString(),step:Bn},ra,{ref:pn(Ca,At),className:Qi,value:Ci,onChange:Jr,disabled:Sr,readOnly:jr}))))}),yt=Ve.forwardRef(function(pt,At){var Mt=pt.disabled,fn=pt.style,$e=pt.prefixCls,Ft=pt.value,on=pt.prefix,_t=pt.suffix,En=pt.addonBefore,Sn=pt.addonAfter,Bn=pt.classes,Qr=pt.className,Lr=pt.classNames,Sr=(0,me.Z)(pt,rn),jr=Ve.useRef(null),zr=function(kt){jr.current&&(0,$t.nH)(jr.current,kt)};return Ve.createElement(je.BaseInput,{inputElement:Ve.createElement(Er,(0,ve.Z)({prefixCls:$e,disabled:Mt,classNames:Lr,ref:pn(jr,At)},Sr)),className:Qr,triggerFocus:zr,prefixCls:$e,value:Ft,disabled:Mt,style:fn,prefix:on,suffix:_t,addonAfter:Sn,addonBefore:En,classes:Bn,classNames:Lr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});yt.displayName="InputNumber";var It=yt,$n=It,Qn=ie(9708),wr=ie(53124),_r=ie(46735),ei=ie(98866),Xr=ie(98675),ri=ie(65223),fi=ie(4173),Cr=ie(47673),yi=ie(14747),Gi=ie(80110),oi=ie(67968),ea=ie(45503);const Di=(pt,At)=>{let{componentCls:Mt,borderRadiusSM:fn,borderRadiusLG:$e}=pt;const Ft=At==="lg"?$e:fn;return{[`&-${At}`]:{[`${Mt}-handler-wrap`]:{borderStartEndRadius:Ft,borderEndEndRadius:Ft},[`${Mt}-handler-up`]:{borderStartEndRadius:Ft},[`${Mt}-handler-down`]:{borderEndEndRadius:Ft}}}},Ot=pt=>{const{componentCls:At,lineWidth:Mt,lineType:fn,colorBorder:$e,borderRadius:Ft,fontSizeLG:on,controlHeightLG:_t,controlHeightSM:En,colorError:Sn,paddingInlineSM:Bn,colorTextDescription:Qr,motionDurationMid:Lr,handleHoverColor:Sr,paddingInline:jr,paddingBlock:zr,handleBg:Rt,handleActiveBg:kt,colorTextDisabled:jt,borderRadiusSM:zn,borderRadiusLG:lr,controlWidth:Hn,handleVisible:_n,handleBorderColor:Gn}=pt;return[{[At]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,yi.Wf)(pt)),(0,Cr.ik)(pt)),(0,Cr.bi)(pt,At)),{display:"inline-block",width:Hn,margin:0,padding:0,border:`${Mt}px ${fn} ${$e}`,borderRadius:Ft,"&-rtl":{direction:"rtl",[`${At}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:on,borderRadius:lr,[`input${At}-input`]:{height:_t-2*Mt}},"&-sm":{padding:0,borderRadius:zn,[`input${At}-input`]:{height:En-2*Mt,padding:`0 ${Bn}px`}},"&:hover":Object.assign({},(0,Cr.pU)(pt)),"&-focused":Object.assign({},(0,Cr.M1)(pt)),"&-out-of-range":{[`${At}-input-wrap`]:{input:{color:Sn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,yi.Wf)(pt)),(0,Cr.s7)(pt)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${At}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${At}-group-addon`]:{borderRadius:lr,fontSize:pt.fontSizeLG}},"&-sm":{[`${At}-group-addon`]:{borderRadius:zn}},[`${At}-wrapper-disabled > ${At}-group-addon`]:Object.assign({},(0,Cr.Xy)(pt))}}),[`&-disabled ${At}-input`]:{cursor:"not-allowed"},[At]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,yi.Wf)(pt)),{width:"100%",padding:`${zr}px ${jr}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Ft,outline:0,transition:`all ${Lr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Cr.nz)(pt.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[At]:Object.assign(Object.assign(Object.assign({[`&:hover ${At}-handler-wrap, &-focused ${At}-handler-wrap`]:{opacity:1},[`${At}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:pt.handleWidth,height:"100%",background:Rt,borderStartStartRadius:0,borderStartEndRadius:Ft,borderEndEndRadius:Ft,borderEndStartRadius:0,opacity:_n===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Lr} linear ${Lr}`,[`${At}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${At}-handler-up-inner,
|
|
|
${At}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:pt.handleFontSize}}},[`${At}-handler`]:{height:"50%",overflow:"hidden",color:Qr,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Mt}px ${fn} ${Gn}`,transition:`all ${Lr} linear`,"&:active":{background:kt},"&:hover":{height:"60%",[`
|
|
|
${At}-handler-up-inner,
|
|
|
${At}-handler-down-inner
|
|
|
`]:{color:Sr}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,yi.Ro)()),{color:Qr,transition:`all ${Lr} linear`,userSelect:"none"})},[`${At}-handler-up`]:{borderStartEndRadius:Ft},[`${At}-handler-down`]:{borderBlockStart:`${Mt}px ${fn} ${Gn}`,borderEndEndRadius:Ft}},Di(pt,"lg")),Di(pt,"sm")),{"&-disabled, &-readonly":{[`${At}-handler-wrap`]:{display:"none"},[`${At}-input`]:{color:"inherit"}},[`
|
|
|
${At}-handler-up-disabled,
|
|
|
${At}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${At}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${At}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:jt}})},{[`${At}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${At}-handler-down`]:{borderBlockStartWidth:0}}}]},Nt=pt=>{const{componentCls:At,paddingBlock:Mt,paddingInline:fn,inputAffixPadding:$e,controlWidth:Ft,borderRadiusLG:on,borderRadiusSM:_t}=pt;return{[`${At}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Cr.ik)(pt)),(0,Cr.bi)(pt,`${At}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Ft,padding:0,paddingInlineStart:fn,"&-lg":{borderRadius:on},"&-sm":{borderRadius:_t},[`&:not(${At}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Cr.pU)(pt)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${At}-disabled`]:{background:"transparent"},[`> div${At}`]:{width:"100%",border:"none",outline:"none",[`&${At}-focused`]:{boxShadow:"none !important"}},[`input${At}-input`]:{padding:`${Mt}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${At}-handler-wrap`]:{zIndex:2},[At]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:$e},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:fn,marginInlineStart:$e}}})}};var cn=(0,oi.Z)("InputNumber",pt=>{const At=(0,ea.TS)(pt,(0,Cr.e5)(pt));return[Ot(At),Nt(At),(0,Gi.c)(At)]},pt=>Object.assign(Object.assign({},(0,Cr.TM)(pt)),{controlWidth:90,handleWidth:pt.controlHeightSM-pt.lineWidth*2,handleFontSize:pt.fontSize/2,handleVisible:"auto",handleActiveBg:pt.colorFillAlter,handleBg:pt.colorBgContainer,handleHoverColor:pt.colorPrimary,handleBorderColor:pt.colorBorder})),bn=function(pt,At){var Mt={};for(var fn in pt)Object.prototype.hasOwnProperty.call(pt,fn)&&At.indexOf(fn)<0&&(Mt[fn]=pt[fn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,fn=Object.getOwnPropertySymbols(pt);$e<fn.length;$e++)At.indexOf(fn[$e])<0&&Object.prototype.propertyIsEnumerable.call(pt,fn[$e])&&(Mt[fn[$e]]=pt[fn[$e]]);return Mt};const rr=Ve.forwardRef((pt,At)=>{const{getPrefixCls:Mt,direction:fn}=Ve.useContext(wr.E_),$e=Ve.useRef(null);Ve.useImperativeHandle(At,()=>$e.current);const{className:Ft,rootClassName:on,size:_t,disabled:En,prefixCls:Sn,addonBefore:Bn,addonAfter:Qr,prefix:Lr,bordered:Sr=!0,readOnly:jr,status:zr,controls:Rt}=pt,kt=bn(pt,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),jt=Mt("input-number",Sn),[zn,lr]=cn(jt),{compactSize:Hn,compactItemClassnames:_n}=(0,fi.ri)(jt,fn);let Gn=Ve.createElement(Oe.Z,{className:`${jt}-handler-up-inner`}),or=Ve.createElement(ae.Z,{className:`${jt}-handler-down-inner`});const Kr=typeof Rt=="boolean"?Rt:void 0;typeof Rt=="object"&&(Gn=typeof Rt.upIcon=="undefined"?Gn:Ve.createElement("span",{className:`${jt}-handler-up-inner`},Rt.upIcon),or=typeof Rt.downIcon=="undefined"?or:Ve.createElement("span",{className:`${jt}-handler-down-inner`},Rt.downIcon));const{hasFeedback:Ln,status:Fi,isFormItemInput:pi,feedbackIcon:ha}=Ve.useContext(ri.aM),ra=(0,Qn.F)(Fi,zr),Qi=(0,Xr.Z)(ki=>{var Ji;return(Ji=_t!=null?_t:Hn)!==null&&Ji!==void 0?Ji:ki}),Ca=Ve.useContext(ei.Z),Xi=En!=null?En:Ca,Ri=Ze()({[`${jt}-lg`]:Qi==="large",[`${jt}-sm`]:Qi==="small",[`${jt}-rtl`]:fn==="rtl",[`${jt}-borderless`]:!Sr,[`${jt}-in-form-item`]:pi},(0,Qn.Z)(jt,ra),_n,lr),sa=`${jt}-group`,Da=Ve.createElement($n,Object.assign({ref:$e,disabled:Xi,className:Ze()(Ft,on),upHandler:Gn,downHandler:or,prefixCls:jt,readOnly:jr,controls:Kr,prefix:Lr,suffix:Ln&&ha,addonAfter:Qr&&Ve.createElement(fi.BR,null,Ve.createElement(ri.Ux,{override:!0,status:!0},Qr)),addonBefore:Bn&&Ve.createElement(fi.BR,null,Ve.createElement(ri.Ux,{override:!0,status:!0},Bn)),classNames:{input:Ri},classes:{affixWrapper:Ze()((0,Qn.Z)(`${jt}-affix-wrapper`,ra,Ln),{[`${jt}-affix-wrapper-sm`]:Qi==="small",[`${jt}-affix-wrapper-lg`]:Qi==="large",[`${jt}-affix-wrapper-rtl`]:fn==="rtl",[`${jt}-affix-wrapper-borderless`]:!Sr},lr),wrapper:Ze()({[`${sa}-rtl`]:fn==="rtl",[`${jt}-wrapper-disabled`]:Xi},lr),group:Ze()({[`${jt}-group-wrapper-sm`]:Qi==="small",[`${jt}-group-wrapper-lg`]:Qi==="large",[`${jt}-group-wrapper-rtl`]:fn==="rtl"},(0,Qn.Z)(`${jt}-group-wrapper`,ra,Ln),lr)}},kt));return zn(Da)}),Fn=rr,ir=pt=>Ve.createElement(_r.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Ve.createElement(rr,Object.assign({},pt)));Fn._InternalPanelDoNotUseOrYouWillBeFired=ir;var Xn=Fn},82586:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ut},n:function(){return Me}});var ae=ie(16646),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(67656),ve=ie(17799),Ee=ie(67294),ke=ie(9708),ye=ie(53124),me=ie(98866),Le=ie(98675),mt=ie(65223),Ie=ie(4173),Xe=ie(72922),ot=ie(47673);function dt(at){return!!(at.prefix||at.suffix||at.allowClear)}var nt=function(at,ht){var we={};for(var he in at)Object.prototype.hasOwnProperty.call(at,he)&&ht.indexOf(he)<0&&(we[he]=at[he]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,he=Object.getOwnPropertySymbols(at);je<he.length;je++)ht.indexOf(he[je])<0&&Object.prototype.propertyIsEnumerable.call(at,he[je])&&(we[he[je]]=at[he[je]]);return we};function Me(at,ht){if(!at)return;at.focus(ht);const{cursor:we}=ht||{};if(we){const he=at.value.length;switch(we){case"start":at.setSelectionRange(0,0);break;case"end":at.setSelectionRange(he,he);break;default:at.setSelectionRange(0,he);break}}}var Ut=(0,Ee.forwardRef)((at,ht)=>{var we;const{prefixCls:he,bordered:je=!0,status:Ve,size:Ge,disabled:qe,onBlur:Ye,onFocus:We,suffix:St,allowClear:lt,addonAfter:zt,addonBefore:Dt,className:pn,style:Kn,styles:tr,rootClassName:it,onChange:Ce,classNames:wt}=at,An=nt(at,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Tt,direction:rt,input:ft}=Ee.useContext(ye.E_),Wt=Tt("input",he),qt=(0,Ee.useRef)(null),[Xt,Ht]=(0,ot.ZP)(Wt),{compactSize:un,compactItemClassnames:kn}=(0,Ie.ri)(Wt,rt),yn=(0,Le.Z)(kr=>{var rn;return(rn=Ge!=null?Ge:un)!==null&&rn!==void 0?rn:kr}),Fe=Ee.useContext(me.Z),ce=qe!=null?qe:Fe,{status:ue,hasFeedback:pe,feedbackIcon:de}=(0,Ee.useContext)(mt.aM),le=(0,ke.F)(ue,Ve),De=dt(at)||!!pe,Ke=(0,Ee.useRef)(De);(0,Ee.useEffect)(()=>{var kr;De&&Ke.current,Ke.current=De},[De]);const Et=(0,Xe.Z)(qt,!0),Yt=kr=>{Et(),Ye==null||Ye(kr)},Kt=kr=>{Et(),We==null||We(kr)},nn=kr=>{Et(),Ce==null||Ce(kr)},$t=(pe||St)&&Ee.createElement(Ee.Fragment,null,St,pe&&de);let gr;return typeof lt=="object"&&(lt!=null&<.clearIcon)?gr=lt:lt&&(gr={clearIcon:Ee.createElement(ae.Z,null)}),Xt(Ee.createElement(Ze.default,Object.assign({ref:(0,ve.sQ)(ht,qt),prefixCls:Wt,autoComplete:ft==null?void 0:ft.autoComplete},An,{disabled:ce,onBlur:Yt,onFocus:Kt,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Kn),styles:Object.assign(Object.assign({},ft==null?void 0:ft.styles),tr),suffix:$t,allowClear:gr,className:Re()(pn,it,kn,ft==null?void 0:ft.className),onChange:nn,addonAfter:zt&&Ee.createElement(Ie.BR,null,Ee.createElement(mt.Ux,{override:!0,status:!0},zt)),addonBefore:Dt&&Ee.createElement(Ie.BR,null,Ee.createElement(mt.Ux,{override:!0,status:!0},Dt)),classNames:Object.assign(Object.assign(Object.assign({},wt),ft==null?void 0:ft.classNames),{input:Re()({[`${Wt}-sm`]:yn==="small",[`${Wt}-lg`]:yn==="large",[`${Wt}-rtl`]:rt==="rtl",[`${Wt}-borderless`]:!je},!De&&(0,ke.Z)(Wt,le),wt==null?void 0:wt.input,(we=ft==null?void 0:ft.classNames)===null||we===void 0?void 0:we.input,Ht)}),classes:{affixWrapper:Re()({[`${Wt}-affix-wrapper-sm`]:yn==="small",[`${Wt}-affix-wrapper-lg`]:yn==="large",[`${Wt}-affix-wrapper-rtl`]:rt==="rtl",[`${Wt}-affix-wrapper-borderless`]:!je},(0,ke.Z)(`${Wt}-affix-wrapper`,le,pe),Ht),wrapper:Re()({[`${Wt}-group-rtl`]:rt==="rtl"},Ht),group:Re()({[`${Wt}-group-wrapper-sm`]:yn==="small",[`${Wt}-group-wrapper-lg`]:yn==="large",[`${Wt}-group-wrapper-rtl`]:rt==="rtl",[`${Wt}-group-wrapper-disabled`]:ce},(0,ke.Z)(`${Wt}-group-wrapper`,le,pe),Ht)}})))})},96330:function(mn,en,ie){"use strict";var ae=ie(16646),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(64701),ve=ie(67294),Ee=ie(9708),ke=ie(53124),ye=ie(98866),me=ie(98675),Le=ie(65223),mt=ie(82586),Ie=ie(47673),Xe=function(dt,nt){var Me={};for(var ut in dt)Object.prototype.hasOwnProperty.call(dt,ut)&&nt.indexOf(ut)<0&&(Me[ut]=dt[ut]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,ut=Object.getOwnPropertySymbols(dt);Ut<ut.length;Ut++)nt.indexOf(ut[Ut])<0&&Object.prototype.propertyIsEnumerable.call(dt,ut[Ut])&&(Me[ut[Ut]]=dt[ut[Ut]]);return Me};const ot=(0,ve.forwardRef)((dt,nt)=>{const{prefixCls:Me,bordered:ut=!0,size:Ut,disabled:at,status:ht,allowClear:we,showCount:he,classNames:je,rootClassName:Ve,className:Ge}=dt,qe=Xe(dt,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Ye,direction:We}=ve.useContext(ke.E_),St=(0,me.Z)(Ut),lt=ve.useContext(ye.Z),zt=at!=null?at:lt,{status:Dt,hasFeedback:pn,feedbackIcon:Kn}=ve.useContext(Le.aM),tr=(0,Ee.F)(Dt,ht),it=ve.useRef(null);ve.useImperativeHandle(nt,()=>{var rt;return{resizableTextArea:(rt=it.current)===null||rt===void 0?void 0:rt.resizableTextArea,focus:ft=>{var Wt,qt;(0,mt.n)((qt=(Wt=it.current)===null||Wt===void 0?void 0:Wt.resizableTextArea)===null||qt===void 0?void 0:qt.textArea,ft)},blur:()=>{var ft;return(ft=it.current)===null||ft===void 0?void 0:ft.blur()}}});const Ce=Ye("input",Me);let wt;typeof we=="object"&&(we!=null&&we.clearIcon)?wt=we:we&&(wt={clearIcon:ve.createElement(ae.Z,null)});const[An,Tt]=(0,Ie.ZP)(Ce);return An(ve.createElement(Ze.default,Object.assign({},qe,{disabled:zt,allowClear:wt,className:Re()(Ge,Ve),classes:{affixWrapper:Re()(`${Ce}-textarea-affix-wrapper`,{[`${Ce}-affix-wrapper-rtl`]:We==="rtl",[`${Ce}-affix-wrapper-borderless`]:!ut,[`${Ce}-affix-wrapper-sm`]:St==="small",[`${Ce}-affix-wrapper-lg`]:St==="large",[`${Ce}-textarea-show-count`]:he},(0,Ee.Z)(`${Ce}-affix-wrapper`,tr),Tt)},classNames:Object.assign(Object.assign({},je),{textarea:Re()({[`${Ce}-borderless`]:!ut,[`${Ce}-sm`]:St==="small",[`${Ce}-lg`]:St==="large"},(0,Ee.Z)(Ce,tr),Tt,je==null?void 0:je.textarea)}),prefixCls:Ce,suffix:pn&&ve.createElement("span",{className:`${Ce}-textarea-suffix`},Kn),showCount:he,ref:it})))});en.Z=ot},72922:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(Re,Ze){const ve=(0,ae.useRef)([]),Ee=()=>{ve.current.push(setTimeout(()=>{var ke,ye,me,Le;!((ke=Re.current)===null||ke===void 0)&&ke.input&&((ye=Re.current)===null||ye===void 0?void 0:ye.input.getAttribute("type"))==="password"&&(!((me=Re.current)===null||me===void 0)&&me.input.hasAttribute("value"))&&((Le=Re.current)===null||Le===void 0||Le.input.removeAttribute("value"))}))};return(0,ae.useEffect)(()=>(Ze&&Ee(),()=>ve.current.forEach(ke=>{ke&&clearTimeout(ke)})),[]),Ee}},69677:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return St}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(65223),Ee=ie(47673),ye=lt=>{const{getPrefixCls:zt,direction:Dt}=(0,Re.useContext)(Ze.E_),{prefixCls:pn,className:Kn}=lt,tr=zt("input-group",pn),it=zt("input"),[Ce,wt]=(0,Ee.ZP)(it),An=Oe()(tr,{[`${tr}-lg`]:lt.size==="large",[`${tr}-sm`]:lt.size==="small",[`${tr}-compact`]:lt.compact,[`${tr}-rtl`]:Dt==="rtl"},wt,Kn),Tt=(0,Re.useContext)(ve.aM),rt=(0,Re.useMemo)(()=>Object.assign(Object.assign({},Tt),{isFormItemInput:!1}),[Tt]);return Ce(Re.createElement("span",{className:An,style:lt.style,onMouseEnter:lt.onMouseEnter,onMouseLeave:lt.onMouseLeave,onFocus:lt.onFocus,onBlur:lt.onBlur},Re.createElement(ve.aM.Provider,{value:rt},lt.children)))},me=ie(82586),Le=ie(63237),mt=ie(99569),Ie=ie(10366),Xe=ie(17799),ot=ie(72922),dt=function(lt,zt){var Dt={};for(var pn in lt)Object.prototype.hasOwnProperty.call(lt,pn)&&zt.indexOf(pn)<0&&(Dt[pn]=lt[pn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,pn=Object.getOwnPropertySymbols(lt);Kn<pn.length;Kn++)zt.indexOf(pn[Kn])<0&&Object.prototype.propertyIsEnumerable.call(lt,pn[Kn])&&(Dt[pn[Kn]]=lt[pn[Kn]]);return Dt};const nt=lt=>lt?Re.createElement(mt.Z,null):Re.createElement(Le.Z,null),Me={click:"onClick",hover:"onMouseOver"};var Ut=Re.forwardRef((lt,zt)=>{const{visibilityToggle:Dt=!0}=lt,pn=typeof Dt=="object"&&Dt.visible!==void 0,[Kn,tr]=(0,Re.useState)(()=>pn?Dt.visible:!1),it=(0,Re.useRef)(null);Re.useEffect(()=>{pn&&tr(Dt.visible)},[pn,Dt]);const Ce=(0,ot.Z)(it),wt=()=>{const{disabled:ce}=lt;ce||(Kn&&Ce(),tr(ue=>{var pe;const de=!ue;return typeof Dt=="object"&&((pe=Dt.onVisibleChange)===null||pe===void 0||pe.call(Dt,de)),de}))},An=ce=>{const{action:ue="click",iconRender:pe=nt}=lt,de=Me[ue]||"",le=pe(Kn),De={[de]:wt,className:`${ce}-icon`,key:"passwordIcon",onMouseDown:Ke=>{Ke.preventDefault()},onMouseUp:Ke=>{Ke.preventDefault()}};return Re.cloneElement(Re.isValidElement(le)?le:Re.createElement("span",null,le),De)},{className:Tt,prefixCls:rt,inputPrefixCls:ft,size:Wt}=lt,qt=dt(lt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Xt}=Re.useContext(Ze.E_),Ht=Xt("input",ft),un=Xt("input-password",rt),kn=Dt&&An(un),yn=Oe()(un,Tt,{[`${un}-${Wt}`]:!!Wt}),Fe=Object.assign(Object.assign({},(0,Ie.Z)(qt,["suffix","iconRender","visibilityToggle"])),{type:Kn?"text":"password",className:yn,prefixCls:Ht,suffix:kn});return Wt&&(Fe.size=Wt),Re.createElement(me.Z,Object.assign({ref:(0,Xe.sQ)(zt,it)},Fe))}),at=ie(72395),ht=ie(96159),we=ie(71577),he=ie(98675),je=ie(4173),Ve=function(lt,zt){var Dt={};for(var pn in lt)Object.prototype.hasOwnProperty.call(lt,pn)&&zt.indexOf(pn)<0&&(Dt[pn]=lt[pn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,pn=Object.getOwnPropertySymbols(lt);Kn<pn.length;Kn++)zt.indexOf(pn[Kn])<0&&Object.prototype.propertyIsEnumerable.call(lt,pn[Kn])&&(Dt[pn[Kn]]=lt[pn[Kn]]);return Dt},qe=Re.forwardRef((lt,zt)=>{const{prefixCls:Dt,inputPrefixCls:pn,className:Kn,size:tr,suffix:it,enterButton:Ce=!1,addonAfter:wt,loading:An,disabled:Tt,onSearch:rt,onChange:ft,onCompositionStart:Wt,onCompositionEnd:qt}=lt,Xt=Ve(lt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ht,direction:un}=Re.useContext(Ze.E_),kn=Re.useRef(!1),yn=Ht("input-search",Dt),Fe=Ht("input",pn),{compactSize:ce}=(0,je.ri)(yn,un),ue=(0,he.Z)(gn=>{var hr;return(hr=tr!=null?tr:ce)!==null&&hr!==void 0?hr:gn}),pe=Re.useRef(null),de=gn=>{gn&&gn.target&&gn.type==="click"&&rt&&rt(gn.target.value,gn,{source:"clear"}),ft&&ft(gn)},le=gn=>{var hr;document.activeElement===((hr=pe.current)===null||hr===void 0?void 0:hr.input)&&gn.preventDefault()},De=gn=>{var hr,Er;rt&&rt((Er=(hr=pe.current)===null||hr===void 0?void 0:hr.input)===null||Er===void 0?void 0:Er.value,gn,{source:"input"})},Ke=gn=>{kn.current||An||De(gn)},Et=typeof Ce=="boolean"?Re.createElement(at.Z,null):null,Yt=`${yn}-button`;let Kt;const nn=Ce||{},$t=nn.type&&nn.type.__ANT_BUTTON===!0;$t||nn.type==="button"?Kt=(0,ht.Tm)(nn,Object.assign({onMouseDown:le,onClick:gn=>{var hr,Er;(Er=(hr=nn==null?void 0:nn.props)===null||hr===void 0?void 0:hr.onClick)===null||Er===void 0||Er.call(hr,gn),De(gn)},key:"enterButton"},$t?{className:Yt,size:ue}:{})):Kt=Re.createElement(we.ZP,{className:Yt,type:Ce?"primary":void 0,size:ue,disabled:Tt,key:"enterButton",onMouseDown:le,onClick:De,loading:An,icon:Et},Ce),wt&&(Kt=[Kt,(0,ht.Tm)(wt,{key:"addonAfter"})]);const gr=Oe()(yn,{[`${yn}-rtl`]:un==="rtl",[`${yn}-${ue}`]:!!ue,[`${yn}-with-button`]:!!Ce},Kn),kr=gn=>{kn.current=!0,Wt==null||Wt(gn)},rn=gn=>{kn.current=!1,qt==null||qt(gn)};return Re.createElement(me.Z,Object.assign({ref:(0,Xe.sQ)(pe,zt),onPressEnter:Ke},Xt,{size:ue,onCompositionStart:kr,onCompositionEnd:rn,prefixCls:Fe,addonAfter:Kt,suffix:it,onChange:de,className:gr,disabled:Tt}))}),Ye=ie(96330);const We=me.Z;We.Group=ye,We.Search=qe,We.TextArea=Ye.Z,We.Password=Ut;var St=We},47673:function(mn,en,ie){"use strict";ie.d(en,{M1:function(){return ke},TM:function(){return ht},Xy:function(){return ye},bi:function(){return mt},e5:function(){return at},ik:function(){return Ie},nz:function(){return ve},pU:function(){return Ee},s7:function(){return Xe},x0:function(){return Le}});var ae=ie(14747),Oe=ie(80110),Re=ie(45503),Ze=ie(67968);const ve=we=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:we,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ee=we=>({borderColor:we.hoverBorderColor}),ke=we=>({borderColor:we.activeBorderColor,boxShadow:we.activeShadow,outline:0}),ye=we=>({color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Ee((0,Re.TS)(we,{hoverBorderColor:we.colorBorder})))}),me=we=>{const{paddingBlockLG:he,fontSizeLG:je,lineHeightLG:Ve,borderRadiusLG:Ge,paddingInlineLG:qe}=we;return{padding:`${he}px ${qe}px`,fontSize:je,lineHeight:Ve,borderRadius:Ge}},Le=we=>({padding:`${we.paddingBlockSM}px ${we.paddingInlineSM}px`,borderRadius:we.borderRadiusSM}),mt=(we,he)=>{const{componentCls:je,colorError:Ve,colorWarning:Ge,errorActiveShadow:qe,warningActiveShadow:Ye,colorErrorBorderHover:We,colorWarningBorderHover:St}=we;return{[`&-status-error:not(${he}-disabled):not(${he}-borderless)${he}`]:{borderColor:Ve,"&:hover":{borderColor:We},"&:focus, &-focused":Object.assign({},ke((0,Re.TS)(we,{activeBorderColor:Ve,activeShadow:qe}))),[`${je}-prefix, ${je}-suffix`]:{color:Ve}},[`&-status-warning:not(${he}-disabled):not(${he}-borderless)${he}`]:{borderColor:Ge,"&:hover":{borderColor:St},"&:focus, &-focused":Object.assign({},ke((0,Re.TS)(we,{activeBorderColor:Ge,activeShadow:Ye}))),[`${je}-prefix, ${je}-suffix`]:{color:Ge}}}},Ie=we=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${we.paddingBlock}px ${we.paddingInline}px`,color:we.colorText,fontSize:we.fontSize,lineHeight:we.lineHeight,backgroundColor:we.colorBgContainer,backgroundImage:"none",borderWidth:we.lineWidth,borderStyle:we.lineType,borderColor:we.colorBorder,borderRadius:we.borderRadius,transition:`all ${we.motionDurationMid}`},ve(we.colorTextPlaceholder)),{"&:hover":Object.assign({},Ee(we)),"&:focus, &-focused":Object.assign({},ke(we)),"&-disabled, &[disabled]":Object.assign({},ye(we)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:we.controlHeight,lineHeight:we.lineHeight,verticalAlign:"bottom",transition:`all ${we.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},me(we)),"&-sm":Object.assign({},Le(we)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Xe=we=>{const{componentCls:he,antCls:je}=we;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:we.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${he}, &-lg > ${he}-group-addon`]:Object.assign({},me(we)),[`&-sm ${he}, &-sm > ${he}-group-addon`]:Object.assign({},Le(we)),[`&-lg ${je}-select-single ${je}-select-selector`]:{height:we.controlHeightLG},[`&-sm ${je}-select-single ${je}-select-selector`]:{height:we.controlHeightSM},[`> ${he}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${he}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${we.paddingInline}px`,color:we.colorText,fontWeight:"normal",fontSize:we.fontSize,textAlign:"center",backgroundColor:we.colorFillAlter,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,transition:`all ${we.motionDurationSlow}`,lineHeight:1,[`${je}-select`]:{margin:`-${we.paddingBlock+1}px -${we.paddingInline}px`,[`&${je}-select-single:not(${je}-select-customize-input)`]:{[`${je}-select-selector`]:{backgroundColor:"inherit",border:`${we.lineWidth}px ${we.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${je}-select-selector`]:{color:we.colorPrimary}}},[`${je}-cascader-picker`]:{margin:`-9px -${we.paddingInline}px`,backgroundColor:"transparent",[`${je}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${he}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${he}-search-with-button &`]:{zIndex:0}}},[`> ${he}:first-child, ${he}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${je}-select ${je}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${he}-affix-wrapper`]:{[`&:not(:first-child) ${he}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${he}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${he}:last-child, ${he}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${je}-select ${je}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${he}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${he}-search &`]:{borderStartStartRadius:we.borderRadius,borderEndStartRadius:we.borderRadius}},[`&:not(:first-child), ${he}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${he}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ae.dF)()),{[`${he}-group-addon, ${he}-group-wrap, > ${he}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:we.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${he}-affix-wrapper,
|
|
|
& > ${he}-number-affix-wrapper,
|
|
|
& > ${je}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-we.lineWidth,borderInlineEndWidth:we.lineWidth},[`${he}`]:{float:"none"},[`& > ${je}-select > ${je}-select-selector,
|
|
|
& > ${je}-select-auto-complete ${he},
|
|
|
& > ${je}-cascader-picker ${he},
|
|
|
& > ${he}-group-wrapper ${he}`]:{borderInlineEndWidth:we.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${je}-select-focused`]:{zIndex:1},[`& > ${je}-select > ${je}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${je}-select:first-child > ${je}-select-selector,
|
|
|
& > ${je}-select-auto-complete:first-child ${he},
|
|
|
& > ${je}-cascader-picker:first-child ${he}`]:{borderStartStartRadius:we.borderRadius,borderEndStartRadius:we.borderRadius},[`& > *:last-child,
|
|
|
& > ${je}-select:last-child > ${je}-select-selector,
|
|
|
& > ${je}-cascader-picker:last-child ${he},
|
|
|
& > ${je}-cascader-picker-focused:last-child ${he}`]:{borderInlineEndWidth:we.lineWidth,borderStartEndRadius:we.borderRadius,borderEndEndRadius:we.borderRadius},[`& > ${je}-select-auto-complete ${he}`]:{verticalAlign:"top"},[`${he}-group-wrapper + ${he}-group-wrapper`]:{marginInlineStart:-we.lineWidth,[`${he}-affix-wrapper`]:{borderRadius:0}},[`${he}-group-wrapper:not(:last-child)`]:{[`&${he}-search > ${he}-group`]:{[`& > ${he}-group-addon > ${he}-search-button`]:{borderRadius:0},[`& > ${he}`]:{borderStartStartRadius:we.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:we.borderRadius}}}})}},ot=we=>{const{componentCls:he,controlHeightSM:je,lineWidth:Ve}=we,qe=(je-Ve*2-16)/2;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(we)),Ie(we)),mt(we,he)),{'&[type="color"]':{height:we.controlHeight,[`&${he}-lg`]:{height:we.controlHeightLG},[`&${he}-sm`]:{height:je,paddingTop:qe,paddingBottom:qe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},dt=we=>{const{componentCls:he}=we;return{[`${he}-clear-icon`]:{margin:0,color:we.colorTextQuaternary,fontSize:we.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${we.motionDurationSlow}`,"&:hover":{color:we.colorTextTertiary},"&:active":{color:we.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${we.inputAffixPadding}px`}}}},nt=we=>{const{componentCls:he,inputAffixPadding:je,colorTextDescription:Ve,motionDurationSlow:Ge,colorIcon:qe,colorIconHover:Ye,iconCls:We}=we;return{[`${he}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ie(we)),{display:"inline-flex",[`&:not(${he}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Ee(we)),{zIndex:1,[`${he}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${he}[disabled]`]:{background:"transparent"}},[`> input${he}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${he}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:we.paddingXS}},"&-show-count-suffix":{color:Ve},"&-show-count-has-suffix":{marginInlineEnd:we.paddingXXS},"&-prefix":{marginInlineEnd:je},"&-suffix":{marginInlineStart:je}}}),dt(we)),{[`${We}${he}-password-icon`]:{color:qe,cursor:"pointer",transition:`all ${Ge}`,"&:hover":{color:Ye}}}),mt(we,`${he}-affix-wrapper`))}},Me=we=>{const{componentCls:he,colorError:je,colorWarning:Ve,borderRadiusLG:Ge,borderRadiusSM:qe}=we;return{[`${he}-group`]:Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(we)),Xe(we)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${he}-group-addon`]:{borderRadius:Ge,fontSize:we.fontSizeLG}},"&-sm":{[`${he}-group-addon`]:{borderRadius:qe}},"&-status-error":{[`${he}-group-addon`]:{color:je,borderColor:je}},"&-status-warning":{[`${he}-group-addon`]:{color:Ve,borderColor:Ve}},"&-disabled":{[`${he}-group-addon`]:Object.assign({},ye(we))},[`&:not(${he}-compact-first-item):not(${he}-compact-last-item)${he}-compact-item`]:{[`${he}, ${he}-group-addon`]:{borderRadius:0}},[`&:not(${he}-compact-last-item)${he}-compact-first-item`]:{[`${he}, ${he}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${he}-compact-first-item)${he}-compact-last-item`]:{[`${he}, ${he}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},ut=we=>{const{componentCls:he,antCls:je}=we,Ve=`${he}-search`;return{[Ve]:{[`${he}`]:{"&:hover, &:focus":{borderColor:we.colorPrimaryHover,[`+ ${he}-group-addon ${Ve}-button:not(${je}-btn-primary)`]:{borderInlineStartColor:we.colorPrimaryHover}}},[`${he}-affix-wrapper`]:{borderRadius:0},[`${he}-lg`]:{lineHeight:we.lineHeightLG-2e-4},[`> ${he}-group`]:{[`> ${he}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Ve}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:we.borderRadius,borderEndEndRadius:we.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${Ve}-button:not(${je}-btn-primary)`]:{color:we.colorTextDescription,"&:hover":{color:we.colorPrimaryHover},"&:active":{color:we.colorPrimaryActive},[`&${je}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Ve}-button`]:{height:we.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Ve}-button`]:{height:we.controlHeightLG},[`&-small ${Ve}-button`]:{height:we.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${he}-compact-item`]:{[`&:not(${he}-compact-last-item)`]:{[`${he}-group-addon`]:{[`${he}-search-button`]:{marginInlineEnd:-we.lineWidth,borderRadius:0}}},[`&:not(${he}-compact-first-item)`]:{[`${he},${he}-affix-wrapper`]:{borderRadius:0}},[`> ${he}-group-addon ${he}-search-button,
|
|
|
> ${he},
|
|
|
${he}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${he}-affix-wrapper-focused`]:{zIndex:2}}}}},Ut=we=>{const{componentCls:he,paddingLG:je}=we,Ve=`${he}-textarea`;return{[Ve]:{position:"relative","&-show-count":{[`> ${he}`]:{height:"100%"},[`${he}-data-count`]:{position:"absolute",bottom:-we.fontSize*we.lineHeight,insetInlineEnd:0,color:we.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${he}`]:{paddingInlineEnd:je}},[`&-affix-wrapper${Ve}-has-feedback`]:{[`${he}`]:{paddingInlineEnd:je}},[`&-affix-wrapper${he}-affix-wrapper`]:{padding:0,[`> textarea${he}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${he}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${he}-clear-icon`]:{position:"absolute",insetInlineEnd:we.paddingXS,insetBlockStart:we.paddingXS},[`${Ve}-suffix`]:{position:"absolute",top:0,insetInlineEnd:we.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function at(we){return(0,Re.TS)(we,{inputAffixPadding:we.paddingXXS})}const ht=we=>{const{controlHeight:he,fontSize:je,lineHeight:Ve,lineWidth:Ge,controlHeightSM:qe,controlHeightLG:Ye,fontSizeLG:We,lineHeightLG:St,paddingSM:lt,controlPaddingHorizontalSM:zt,controlPaddingHorizontal:Dt,colorFillAlter:pn,colorPrimaryHover:Kn,controlOutlineWidth:tr,controlOutline:it,colorErrorOutline:Ce,colorWarningOutline:wt}=we;return{paddingBlock:Math.max(Math.round((he-je*Ve)/2*10)/10-Ge,3),paddingBlockSM:Math.max(Math.round((qe-je*Ve)/2*10)/10-Ge,0),paddingBlockLG:Math.ceil((Ye-We*St)/2*10)/10-Ge,paddingInline:lt-Ge,paddingInlineSM:zt-Ge,paddingInlineLG:Dt-Ge,addonBg:pn,activeBorderColor:Kn,hoverBorderColor:Kn,activeShadow:`0 0 0 ${tr}px ${it}`,errorActiveShadow:`0 0 0 ${tr}px ${Ce}`,warningActiveShadow:`0 0 0 ${tr}px ${wt}`}};en.ZP=(0,Ze.Z)("Input",we=>{const he=(0,Re.TS)(we,at(we));return[ot(he),Ut(he),nt(he),Me(he),ut(he),(0,Oe.c)(he)]},ht)},71322:function(mn,en,ie){"use strict";ie.d(en,{D:function(){return Ut},Z:function(){return we}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ze=Re,ve=ie(74643),Ee=function(je,Ve){return Oe.createElement(ve.Z,(0,ae.Z)({},je,{ref:Ve,icon:Ze}))},ke=Oe.forwardRef(Ee),ye=ie(22751),me=ie(91034),Le=ie(94184),mt=ie.n(Le),Ie=ie(10366),ot=he=>!isNaN(parseFloat(he))&&isFinite(he),dt=ie(53124),nt=ie(84321),Me=function(he,je){var Ve={};for(var Ge in he)Object.prototype.hasOwnProperty.call(he,Ge)&&je.indexOf(Ge)<0&&(Ve[Ge]=he[Ge]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Ge=Object.getOwnPropertySymbols(he);qe<Ge.length;qe++)je.indexOf(Ge[qe])<0&&Object.prototype.propertyIsEnumerable.call(he,Ge[qe])&&(Ve[Ge[qe]]=he[Ge[qe]]);return Ve};const ut={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ut=Oe.createContext({}),at=(()=>{let he=0;return function(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return he+=1,`${je}${he}`}})();var we=Oe.forwardRef((he,je)=>{const{prefixCls:Ve,className:Ge,trigger:qe,children:Ye,defaultCollapsed:We=!1,theme:St="dark",style:lt={},collapsible:zt=!1,reverseArrow:Dt=!1,width:pn=200,collapsedWidth:Kn=80,zeroWidthTriggerStyle:tr,breakpoint:it,onCollapse:Ce,onBreakpoint:wt}=he,An=Me(he,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Tt}=(0,Oe.useContext)(nt.Gs),[rt,ft]=(0,Oe.useState)("collapsed"in he?he.collapsed:We),[Wt,qt]=(0,Oe.useState)(!1);(0,Oe.useEffect)(()=>{"collapsed"in he&&ft(he.collapsed)},[he.collapsed]);const Xt=(ce,ue)=>{"collapsed"in he||ft(ce),Ce==null||Ce(ce,ue)},Ht=(0,Oe.useRef)();Ht.current=ce=>{qt(ce.matches),wt==null||wt(ce.matches),rt!==ce.matches&&Xt(ce.matches,"responsive")},(0,Oe.useEffect)(()=>{function ce(pe){return Ht.current(pe)}let ue;if(typeof window!="undefined"){const{matchMedia:pe}=window;if(pe&&it&&it in ut){ue=pe(`(max-width: ${ut[it]})`);try{ue.addEventListener("change",ce)}catch(de){ue.addListener(ce)}ce(ue)}}return()=>{try{ue==null||ue.removeEventListener("change",ce)}catch(pe){ue==null||ue.removeListener(ce)}}},[it]),(0,Oe.useEffect)(()=>{const ce=at("ant-sider-");return Tt.addSider(ce),()=>Tt.removeSider(ce)},[]);const un=()=>{Xt(!rt,"clickTrigger")},{getPrefixCls:kn}=(0,Oe.useContext)(dt.E_),yn=()=>{const ce=kn("layout-sider",Ve),ue=(0,Ie.Z)(An,["collapsed"]),pe=rt?Kn:pn,de=ot(pe)?`${pe}px`:String(pe),le=parseFloat(String(Kn||0))===0?Oe.createElement("span",{onClick:un,className:mt()(`${ce}-zero-width-trigger`,`${ce}-zero-width-trigger-${Dt?"right":"left"}`),style:tr},qe||Oe.createElement(ke,null)):null,Et={expanded:Dt?Oe.createElement(me.Z,null):Oe.createElement(ye.Z,null),collapsed:Dt?Oe.createElement(ye.Z,null):Oe.createElement(me.Z,null)}[rt?"collapsed":"expanded"],Yt=qe!==null?le||Oe.createElement("div",{className:`${ce}-trigger`,onClick:un,style:{width:de}},qe||Et):null,Kt=Object.assign(Object.assign({},lt),{flex:`0 0 ${de}`,maxWidth:de,minWidth:de,width:de}),nn=mt()(ce,`${ce}-${St}`,{[`${ce}-collapsed`]:!!rt,[`${ce}-has-trigger`]:zt&&qe!==null&&!le,[`${ce}-below`]:!!Wt,[`${ce}-zero-width`]:parseFloat(de)===0},Ge);return Oe.createElement("aside",Object.assign({className:nn},ue,{style:Kt,ref:je}),Oe.createElement("div",{className:`${ce}-children`},Ye),zt||Wt&&le?Yt:null)},Fe=Oe.useMemo(()=>({siderCollapsed:rt}),[rt]);return Oe.createElement(Ut.Provider,{value:Fe},yn())})},84321:function(mn,en,ie){"use strict";ie.d(en,{VY:function(){return at},$_:function(){return Ut},h4:function(){return ut},Gs:function(){return Xe},ZP:function(){return ht}});var ae=ie(74902),Oe=ie(94184),Re=ie.n(Oe),Ze=ie(10366),ve=ie(67294),Ee=ie(53124),ke=ie(67968),me=we=>{const{componentCls:he,bodyBg:je,lightSiderBg:Ve,lightTriggerBg:Ge,lightTriggerColor:qe}=we;return{[`${he}-sider-light`]:{background:Ve,[`${he}-sider-trigger`]:{color:qe,background:Ge},[`${he}-sider-zero-width-trigger`]:{color:qe,background:Ge,border:`1px solid ${je}`,borderInlineStart:0}}}};const Le=we=>{const{antCls:he,componentCls:je,colorText:Ve,triggerColor:Ge,footerBg:qe,triggerBg:Ye,headerHeight:We,headerPadding:St,headerColor:lt,footerPadding:zt,triggerHeight:Dt,zeroTriggerHeight:pn,zeroTriggerWidth:Kn,motionDurationMid:tr,motionDurationSlow:it,fontSize:Ce,borderRadius:wt,bodyBg:An,headerBg:Tt,siderBg:rt}=we;return{[je]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:An,"&, *":{boxSizing:"border-box"},[`&${je}-has-sider`]:{flexDirection:"row",[`> ${je}, > ${je}-content`]:{width:0}},[`${je}-header, &${je}-footer`]:{flex:"0 0 auto"},[`${je}-sider`]:{position:"relative",minWidth:0,background:rt,transition:`all ${tr}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${he}-menu${he}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Dt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Dt,color:Ge,lineHeight:`${Dt}px`,textAlign:"center",background:Ye,cursor:"pointer",transition:`all ${tr}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:We,insetInlineEnd:-Kn,zIndex:1,width:Kn,height:pn,color:Ge,fontSize:we.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:rt,borderStartStartRadius:0,borderStartEndRadius:wt,borderEndEndRadius:wt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Kn,borderStartStartRadius:wt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:wt}}}}},me(we)),{"&-rtl":{direction:"rtl"}}),[`${je}-header`]:{height:We,padding:St,color:lt,lineHeight:`${We}px`,background:Tt,[`${he}-menu`]:{lineHeight:"inherit"}},[`${je}-footer`]:{padding:zt,color:Ve,fontSize:Ce,background:qe},[`${je}-content`]:{flex:"auto",minHeight:0}}};var mt=(0,ke.Z)("Layout",we=>[Le(we)],we=>{const{colorBgLayout:he,controlHeight:je,controlHeightLG:Ve,colorText:Ge,controlHeightSM:qe,marginXXS:Ye,colorTextLightSolid:We,colorBgContainer:St}=we,lt=Ve*1.25;return{colorBgHeader:"#001529",colorBgBody:he,colorBgTrigger:"#002140",bodyBg:he,headerBg:"#001529",headerHeight:je*2,headerPadding:`0 ${lt}px`,headerColor:Ge,footerPadding:`${qe}px ${lt}px`,footerBg:he,siderBg:"#001529",triggerHeight:Ve+Ye*2,triggerBg:"#002140",triggerColor:We,zeroTriggerWidth:Ve,zeroTriggerHeight:Ve,lightSiderBg:St,lightTriggerBg:St,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ie=function(we,he){var je={};for(var Ve in we)Object.prototype.hasOwnProperty.call(we,Ve)&&he.indexOf(Ve)<0&&(je[Ve]=we[Ve]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ve=Object.getOwnPropertySymbols(we);Ge<Ve.length;Ge++)he.indexOf(Ve[Ge])<0&&Object.prototype.propertyIsEnumerable.call(we,Ve[Ge])&&(je[Ve[Ge]]=we[Ve[Ge]]);return je};const Xe=ve.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ot(we){let{suffixCls:he,tagName:je,displayName:Ve}=we;return Ge=>ve.forwardRef((Ye,We)=>ve.createElement(Ge,Object.assign({ref:We,suffixCls:he,tagName:je},Ye)))}const dt=ve.forwardRef((we,he)=>{const{prefixCls:je,suffixCls:Ve,className:Ge,tagName:qe}=we,Ye=Ie(we,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:We}=ve.useContext(Ee.E_),St=We("layout",je),[lt,zt]=mt(St),Dt=Ve?`${St}-${Ve}`:St;return lt(ve.createElement(qe,Object.assign({className:Re()(je||Dt,Ge,zt),ref:he},Ye)))}),nt=ve.forwardRef((we,he)=>{const{direction:je}=ve.useContext(Ee.E_),[Ve,Ge]=ve.useState([]),{prefixCls:qe,className:Ye,rootClassName:We,children:St,hasSider:lt,tagName:zt,style:Dt}=we,pn=Ie(we,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Kn=(0,Ze.Z)(pn,["suffixCls"]),{getPrefixCls:tr,layout:it}=ve.useContext(Ee.E_),Ce=tr("layout",qe),[wt,An]=mt(Ce),Tt=Re()(Ce,{[`${Ce}-has-sider`]:typeof lt=="boolean"?lt:Ve.length>0,[`${Ce}-rtl`]:je==="rtl"},it==null?void 0:it.className,Ye,We,An),rt=ve.useMemo(()=>({siderHook:{addSider:ft=>{Ge(Wt=>[].concat((0,ae.Z)(Wt),[ft]))},removeSider:ft=>{Ge(Wt=>Wt.filter(qt=>qt!==ft))}}}),[]);return wt(ve.createElement(Xe.Provider,{value:rt},ve.createElement(zt,Object.assign({ref:he,className:Tt,style:Object.assign(Object.assign({},it==null?void 0:it.style),Dt)},Kn),St)))}),Me=ot({tagName:"div",displayName:"Layout"})(nt),ut=ot({suffixCls:"header",tagName:"header",displayName:"Header"})(dt),Ut=ot({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(dt),at=ot({suffixCls:"content",tagName:"main",displayName:"Content"})(dt);var ht=Me},76529:function(mn,en,ie){"use strict";ie.d(en,{J:function(){return Ee}});var ae=ie(67294),Oe=ie(4173),Re=ie(60276),Ze=function(ke,ye){var me={};for(var Le in ke)Object.prototype.hasOwnProperty.call(ke,Le)&&ye.indexOf(Le)<0&&(me[Le]=ke[Le]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,Le=Object.getOwnPropertySymbols(ke);mt<Le.length;mt++)ye.indexOf(Le[mt])<0&&Object.prototype.propertyIsEnumerable.call(ke,Le[mt])&&(me[Le[mt]]=ke[Le[mt]]);return me};const ve=ae.createContext(null),Ee=ae.forwardRef((ke,ye)=>{const{children:me}=ke,Le=Ze(ke,["children"]),mt=ae.useContext(ve),Ie=ae.useMemo(()=>Object.assign(Object.assign({},mt),Le),[mt,Le.prefixCls,Le.mode,Le.selectable]);return ae.createElement(ve.Provider,{value:Ie},ae.createElement(Oe.BR,null,(0,Re.supportNodeRef)(me)?ae.cloneElement(me,{ref:ye}):me))});en.Z=ve},68508:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return ce}});var ae=ie(78595),Oe=ie(67294),Re=ie(71322),Ze=ie(94184),ve=ie.n(Ze),Ee=ie(53124),ke=function(ue,pe){var de={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&pe.indexOf(le)<0&&(de[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,le=Object.getOwnPropertySymbols(ue);De<le.length;De++)pe.indexOf(le[De])<0&&Object.prototype.propertyIsEnumerable.call(ue,le[De])&&(de[le[De]]=ue[le[De]]);return de},me=ue=>{const{prefixCls:pe,className:de,dashed:le}=ue,De=ke(ue,["prefixCls","className","dashed"]),{getPrefixCls:Ke}=Oe.useContext(Ee.E_),Et=Ke("menu",pe),Yt=ve()({[`${Et}-item-divider-dashed`]:!!le},de);return Oe.createElement(ae.iz,Object.assign({className:Yt},De))},Le=ie(37419),mt=ie(10366),Ie=ie(83062),Xe=ie(96159),dt=(0,Oe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Me=ue=>{var pe;const{className:de,children:le,icon:De,title:Ke,danger:Et}=ue,{prefixCls:Yt,firstLevel:Kt,direction:nn,disableMenuItemTitleTooltip:$t,inlineCollapsed:gr}=Oe.useContext(dt),kr=It=>{const $n=Oe.createElement("span",{className:`${Yt}-title-content`},le);return(!De||(0,Xe.l$)(le)&&le.type==="span")&&le&&It&&Kt&&typeof le=="string"?Oe.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},le.charAt(0)):$n},{siderCollapsed:rn}=Oe.useContext(Re.D);let gn=Ke;typeof Ke=="undefined"?gn=Kt?le:"":Ke===!1&&(gn="");const hr={title:gn};!rn&&!gr&&(hr.title=null,hr.open=!1);const Er=(0,Le.Z)(le).length;let yt=Oe.createElement(ae.ck,Object.assign({},(0,mt.Z)(ue,["title","icon","danger"]),{className:ve()({[`${Yt}-item-danger`]:Et,[`${Yt}-item-only-child`]:(De?Er+1:Er)===1},de),title:typeof Ke=="string"?Ke:void 0}),(0,Xe.Tm)(De,{className:ve()((0,Xe.l$)(De)?(pe=De.props)===null||pe===void 0?void 0:pe.className:"",`${Yt}-item-icon`)}),kr(gr));return $t||(yt=Oe.createElement(Ie.Z,Object.assign({},hr,{placement:nn==="rtl"?"left":"right",overlayClassName:`${Yt}-inline-collapsed-tooltip`}),yt)),yt},Ut=ue=>{var pe;const{popupClassName:de,icon:le,title:De,theme:Ke}=ue,Et=Oe.useContext(dt),{prefixCls:Yt,inlineCollapsed:Kt,theme:nn}=Et,$t=(0,ae.Xl)();let gr;if(!le)gr=Kt&&!$t.length&&De&&typeof De=="string"?Oe.createElement("div",{className:`${Yt}-inline-collapsed-noicon`},De.charAt(0)):Oe.createElement("span",{className:`${Yt}-title-content`},De);else{const rn=(0,Xe.l$)(De)&&De.type==="span";gr=Oe.createElement(Oe.Fragment,null,(0,Xe.Tm)(le,{className:ve()((0,Xe.l$)(le)?(pe=le.props)===null||pe===void 0?void 0:pe.className:"",`${Yt}-item-icon`)}),rn?De:Oe.createElement("span",{className:`${Yt}-title-content`},De))}const kr=Oe.useMemo(()=>Object.assign(Object.assign({},Et),{firstLevel:!1}),[Et]);return Oe.createElement(dt.Provider,{value:kr},Oe.createElement(ae.Wd,Object.assign({},(0,mt.Z)(ue,["icon"]),{title:gr,popupClassName:ve()(Yt,de,`${Yt}-${Ke||nn}`)})))},at=ie(25877),ht=ie(60276),we=ie(33603),he=ie(76529),je=function(ue,pe){var de={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&pe.indexOf(le)<0&&(de[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,le=Object.getOwnPropertySymbols(ue);De<le.length;De++)pe.indexOf(le[De])<0&&Object.prototype.propertyIsEnumerable.call(ue,le[De])&&(de[le[De]]=ue[le[De]]);return de};function Ve(ue){return(ue||[]).map((pe,de)=>{if(pe&&typeof pe=="object"){const le=pe,{label:De,children:Ke,key:Et,type:Yt}=le,Kt=je(le,["label","children","key","type"]),nn=Et!=null?Et:`tmp-${de}`;return Ke||Yt==="group"?Yt==="group"?Oe.createElement(ae.BW,Object.assign({key:nn},Kt,{title:De}),Ve(Ke)):Oe.createElement(Ut,Object.assign({key:nn},Kt,{title:De}),Ve(Ke)):Yt==="divider"?Oe.createElement(me,Object.assign({key:nn},Kt)):Oe.createElement(Me,Object.assign({key:nn},Kt),De)}return null}).filter(pe=>pe)}function Ge(ue){return Oe.useMemo(()=>ue&&Ve(ue),[ue])}var qe=ie(84780),Ye=ie(14747),We=ie(33507),St=ie(67771),lt=ie(50438),zt=ie(67968),Dt=ie(45503),Kn=ue=>{const{componentCls:pe,motionDurationSlow:de,horizontalLineHeight:le,colorSplit:De,lineWidth:Ke,lineType:Et,itemPaddingInline:Yt}=ue;return{[`${pe}-horizontal`]:{lineHeight:le,border:0,borderBottom:`${Ke}px ${Et} ${De}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Yt},[`> ${pe}-item:hover,
|
|
|
> ${pe}-item-active,
|
|
|
> ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${de}`,`background ${de}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},it=ue=>{let{componentCls:pe,menuArrowOffset:de}=ue;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical,
|
|
|
${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${de})`},"&::after":{transform:`rotate(45deg) translateY(${de})`}}}}};const Ce=ue=>Object.assign({},(0,Ye.oN)(ue));var An=(ue,pe)=>{const{componentCls:de,itemColor:le,itemSelectedColor:De,groupTitleColor:Ke,itemBg:Et,subMenuItemBg:Yt,itemSelectedBg:Kt,activeBarHeight:nn,activeBarWidth:$t,activeBarBorderWidth:gr,motionDurationSlow:kr,motionEaseInOut:rn,motionEaseOut:gn,itemPaddingInline:hr,motionDurationMid:Er,itemHoverColor:yt,lineType:It,colorSplit:$n,itemDisabledColor:Qn,dangerItemColor:wr,dangerItemHoverColor:_r,dangerItemSelectedColor:ei,dangerItemActiveBg:Xr,dangerItemSelectedBg:ri,itemHoverBg:fi,itemActiveBg:Cr,menuSubMenuBg:yi,horizontalItemSelectedColor:Gi,horizontalItemSelectedBg:oi,horizontalItemBorderRadius:ea,horizontalItemHoverBg:Di,popupBg:Ot}=ue;return{[`${de}-${pe}, ${de}-${pe} > ${de}`]:{color:le,background:Et,[`&${de}-root:focus-visible`]:Object.assign({},Ce(ue)),[`${de}-item-group-title`]:{color:Ke},[`${de}-submenu-selected`]:{[`> ${de}-submenu-title`]:{color:De}},[`${de}-item-disabled, ${de}-submenu-disabled`]:{color:`${Qn} !important`},[`${de}-item:not(${de}-item-selected):not(${de}-submenu-selected)`]:{[`&:hover, > ${de}-submenu-title:hover`]:{color:yt}},[`&:not(${de}-horizontal)`]:{[`${de}-item:not(${de}-item-selected)`]:{"&:hover":{backgroundColor:fi},"&:active":{backgroundColor:Cr}},[`${de}-submenu-title`]:{"&:hover":{backgroundColor:fi},"&:active":{backgroundColor:Cr}}},[`${de}-item-danger`]:{color:wr,[`&${de}-item:hover`]:{[`&:not(${de}-item-selected):not(${de}-submenu-selected)`]:{color:_r}},[`&${de}-item:active`]:{background:Xr}},[`${de}-item a`]:{"&, &:hover":{color:"inherit"}},[`${de}-item-selected`]:{color:De,[`&${de}-item-danger`]:{color:ei},"a, a:hover":{color:"inherit"}},[`& ${de}-item-selected`]:{backgroundColor:Kt,[`&${de}-item-danger`]:{backgroundColor:ri}},[`${de}-item, ${de}-submenu-title`]:{[`&:not(${de}-item-disabled):focus-visible`]:Object.assign({},Ce(ue))},[`&${de}-submenu > ${de}`]:{backgroundColor:yi},[`&${de}-popup > ${de}`]:{backgroundColor:Ot},[`&${de}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${de}-item, > ${de}-submenu`]:{top:gr,marginTop:-gr,marginBottom:0,borderRadius:ea,"&::after":{position:"absolute",insetInline:hr,bottom:0,borderBottom:`${nn}px solid transparent`,transition:`border-color ${kr} ${rn}`,content:'""'},"&:hover, &-active, &-open":{background:Di,"&::after":{borderBottomWidth:nn,borderBottomColor:Gi}},"&-selected":{color:Gi,backgroundColor:oi,"&:hover":{backgroundColor:oi},"&::after":{borderBottomWidth:nn,borderBottomColor:Gi}}}}),[`&${de}-root`]:{[`&${de}-inline, &${de}-vertical`]:{borderInlineEnd:`${gr}px ${It} ${$n}`}},[`&${de}-inline`]:{[`${de}-sub${de}-inline`]:{background:Yt},[`${de}-item, ${de}-submenu-title`]:gr&&$t?{width:`calc(100% + ${gr}px)`}:{},[`${de}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${$t}px solid ${De}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Er} ${gn}`,`opacity ${Er} ${gn}`].join(","),content:'""'},[`&${de}-item-danger`]:{"&::after":{borderInlineEndColor:ei}}},[`${de}-selected, ${de}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Er} ${rn}`,`opacity ${Er} ${rn}`].join(",")}}}}}};const Tt=ue=>{const{componentCls:pe,itemHeight:de,itemMarginInline:le,padding:De,menuArrowSize:Ke,marginXS:Et,itemMarginBlock:Yt}=ue,Kt=De+Ke+Et;return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:de,lineHeight:`${de}px`,paddingInline:De,overflow:"hidden",textOverflow:"ellipsis",marginInline:le,marginBlock:Yt,width:`calc(100% - ${le*2}px)`},[`> ${pe}-item,
|
|
|
> ${pe}-submenu > ${pe}-submenu-title`]:{height:de,lineHeight:`${de}px`},[`${pe}-item-group-list ${pe}-submenu-title,
|
|
|
${pe}-submenu-title`]:{paddingInlineEnd:Kt}}};var ft=ue=>{const{componentCls:pe,iconCls:de,itemHeight:le,colorTextLightSolid:De,dropdownWidth:Ke,controlHeightLG:Et,motionDurationMid:Yt,motionEaseOut:Kt,paddingXL:nn,itemMarginInline:$t,fontSizeLG:gr,motionDurationSlow:kr,paddingXS:rn,boxShadowSecondary:gn,collapsedWidth:hr,collapsedIconSize:Er}=ue,yt={height:le,lineHeight:`${le}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},Tt(ue))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},Tt(ue)),{boxShadow:gn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:Ke,maxHeight:`calc(100vh - ${Et*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${kr}`,`background ${kr}`,`padding ${Yt} ${Kt}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:yt,[`& ${pe}-item-group-title`]:{paddingInlineStart:nn}},[`${pe}-item`]:yt}},{[`${pe}-inline-collapsed`]:{width:hr,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:gr,textAlign:"center"}}},[`> ${pe}-item,
|
|
|
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-item,
|
|
|
> ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title,
|
|
|
> ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${gr/2}px - ${$t}px)`,textOverflow:"clip",[`
|
|
|
${pe}-submenu-arrow,
|
|
|
${pe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${pe}-item-icon, ${de}`]:{margin:0,fontSize:Er,lineHeight:`${le}px`,"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${de}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${de}`]:{display:"none"},"a, a:hover":{color:De}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},Ye.vS),{paddingInline:rn})}}]};const Wt=ue=>{const{componentCls:pe,motionDurationSlow:de,motionDurationMid:le,motionEaseInOut:De,motionEaseOut:Ke,iconCls:Et,iconSize:Yt,iconMarginInlineEnd:Kt}=ue;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${de}`,`background ${de}`,`padding ${de} ${De}`].join(","),[`${pe}-item-icon, ${Et}`]:{minWidth:Yt,fontSize:Yt,transition:[`font-size ${le} ${Ke}`,`margin ${de} ${De}`,`color ${de}`].join(","),"+ span":{marginInlineStart:Kt,opacity:1,transition:[`opacity ${de} ${De}`,`margin ${de}`,`color ${de}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,Ye.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Et}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},qt=ue=>{const{componentCls:pe,motionDurationSlow:de,motionEaseInOut:le,borderRadius:De,menuArrowSize:Ke,menuArrowOffset:Et}=ue;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ue.margin,width:Ke,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${de} ${le}, opacity ${de}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ke*.6,height:Ke*.15,backgroundColor:"currentcolor",borderRadius:De,transition:[`background ${de} ${le}`,`transform ${de} ${le}`,`top ${de} ${le}`,`color ${de} ${le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Et})`},"&::after":{transform:`rotate(-45deg) translateY(${Et})`}}}}},Xt=ue=>{const{antCls:pe,componentCls:de,fontSize:le,motionDurationSlow:De,motionDurationMid:Ke,motionEaseInOut:Et,paddingXS:Yt,padding:Kt,colorSplit:nn,lineWidth:$t,zIndexPopup:gr,borderRadiusLG:kr,subMenuItemBorderRadius:rn,menuArrowSize:gn,menuArrowOffset:hr,lineType:Er,menuPanelMaskInset:yt,groupTitleLineHeight:It,groupTitleFontSize:$n}=ue;return[{"":{[`${de}`]:Object.assign(Object.assign({},(0,Ye.dF)()),{"&-hidden":{display:"none"}})},[`${de}-submenu-hidden`]:{display:"none"}},{[de]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(ue)),(0,Ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${De} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${de}-item`]:{flex:"none"}},[`${de}-item, ${de}-submenu, ${de}-submenu-title`]:{borderRadius:ue.itemBorderRadius},[`${de}-item-group-title`]:{padding:`${Yt}px ${Kt}px`,fontSize:$n,lineHeight:It,transition:`all ${De}`},[`&-horizontal ${de}-submenu`]:{transition:[`border-color ${De} ${Et}`,`background ${De} ${Et}`].join(",")},[`${de}-submenu, ${de}-submenu-inline`]:{transition:[`border-color ${De} ${Et}`,`background ${De} ${Et}`,`padding ${Ke} ${Et}`].join(",")},[`${de}-submenu ${de}-sub`]:{cursor:"initial",transition:[`background ${De} ${Et}`,`padding ${De} ${Et}`].join(",")},[`${de}-title-content`]:{transition:`color ${De}`},[`${de}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${de}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nn,borderStyle:Er,borderWidth:0,borderTopWidth:$t,marginBlock:$t,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Wt(ue)),{[`${de}-item-group`]:{[`${de}-item-group-list`]:{margin:0,padding:0,[`${de}-item, ${de}-submenu-title`]:{paddingInline:`${le*2}px ${Kt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:gr,borderRadius:kr,boxShadow:"none",transformOrigin:"0 0",[`&${de}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${yt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:yt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:ue.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ue.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ue.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ue.paddingXS},[`> ${de}`]:Object.assign(Object.assign(Object.assign({borderRadius:kr},Wt(ue)),qt(ue)),{[`${de}-item, ${de}-submenu > ${de}-submenu-title`]:{borderRadius:rn},[`${de}-submenu-title::after`]:{transition:`transform ${De} ${Et}`}})}}),qt(ue)),{[`&-inline-collapsed ${de}-submenu-arrow,
|
|
|
&-inline ${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${hr})`},"&::after":{transform:`rotate(45deg) translateX(-${hr})`}},[`${de}-submenu-open${de}-submenu-inline > ${de}-submenu-title > ${de}-submenu-arrow`]:{transform:`translateY(-${gn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${hr})`},"&::before":{transform:`rotate(45deg) translateX(${hr})`}}})},{[`${pe}-layout-header`]:{[de]:{lineHeight:"inherit"}}}]};var Ht=(ue,pe)=>(0,zt.Z)("Menu",le=>{if(pe===!1)return[];const{colorBgElevated:De,colorPrimary:Ke,colorTextLightSolid:Et,controlHeightLG:Yt,fontSize:Kt,darkItemColor:nn,darkDangerItemColor:$t,darkItemBg:gr,darkSubMenuItemBg:kr,darkItemSelectedColor:rn,darkItemSelectedBg:gn,darkDangerItemSelectedBg:hr,darkItemHoverBg:Er,darkGroupTitleColor:yt,darkItemHoverColor:It,darkItemDisabledColor:$n,darkDangerItemHoverColor:Qn,darkDangerItemSelectedColor:wr,darkDangerItemActiveBg:_r}=le,ei=Kt/7*5,Xr=(0,Dt.TS)(le,{menuArrowSize:ei,menuHorizontalHeight:Yt*1.15,menuArrowOffset:`${ei*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:De}),ri=(0,Dt.TS)(Xr,{itemColor:nn,itemHoverColor:It,groupTitleColor:yt,itemSelectedColor:rn,itemBg:gr,popupBg:gr,subMenuItemBg:kr,itemActiveBg:"transparent",itemSelectedBg:gn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Er,itemDisabledColor:$n,dangerItemColor:$t,dangerItemHoverColor:Qn,dangerItemSelectedColor:wr,dangerItemActiveBg:_r,dangerItemSelectedBg:hr,menuSubMenuBg:kr,horizontalItemSelectedColor:Et,horizontalItemSelectedBg:Ke});return[Xt(Xr),Kn(Xr),ft(Xr),An(Xr,"light"),An(ri,"dark"),it(Xr),(0,We.Z)(Xr),(0,St.oN)(Xr,"slide-up"),(0,St.oN)(Xr,"slide-down"),(0,lt._y)(Xr,"zoom-big")]},le=>{const{colorPrimary:De,colorError:Ke,colorTextDisabled:Et,colorErrorBg:Yt,colorText:Kt,colorTextDescription:nn,colorBgContainer:$t,colorFillAlter:gr,colorFillContent:kr,lineWidth:rn,lineWidthBold:gn,controlItemBgActive:hr,colorBgTextHover:Er,controlHeightLG:yt,lineHeight:It,colorBgElevated:$n,marginXXS:Qn,padding:wr,fontSize:_r,controlHeightSM:ei,fontSizeLG:Xr,colorTextLightSolid:ri,colorErrorHover:fi}=le,Cr=new qe.C(ri).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:le.zIndexPopupBase+50,radiusItem:le.borderRadiusLG,itemBorderRadius:le.borderRadiusLG,radiusSubMenuItem:le.borderRadiusSM,subMenuItemBorderRadius:le.borderRadiusSM,colorItemText:Kt,itemColor:Kt,colorItemTextHover:Kt,itemHoverColor:Kt,colorItemTextHoverHorizontal:De,horizontalItemHoverColor:De,colorGroupTitle:nn,groupTitleColor:nn,colorItemTextSelected:De,itemSelectedColor:De,colorItemTextSelectedHorizontal:De,horizontalItemSelectedColor:De,colorItemBg:$t,itemBg:$t,colorItemBgHover:Er,itemHoverBg:Er,colorItemBgActive:kr,itemActiveBg:hr,colorSubItemBg:gr,subMenuItemBg:gr,colorItemBgSelected:hr,itemSelectedBg:hr,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:gn,activeBarHeight:gn,colorActiveBarBorderSize:rn,activeBarBorderWidth:rn,colorItemTextDisabled:Et,itemDisabledColor:Et,colorDangerItemText:Ke,dangerItemColor:Ke,colorDangerItemTextHover:Ke,dangerItemHoverColor:Ke,colorDangerItemTextSelected:Ke,dangerItemSelectedColor:Ke,colorDangerItemBgActive:Yt,dangerItemActiveBg:Yt,colorDangerItemBgSelected:Yt,dangerItemSelectedBg:Yt,itemMarginInline:le.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:yt,groupTitleLineHeight:It,collapsedWidth:yt*2,popupBg:$n,itemMarginBlock:Qn,itemPaddingInline:wr,horizontalLineHeight:`${yt*1.15}px`,iconSize:_r,iconMarginInlineEnd:ei-_r,collapsedIconSize:Xr,groupTitleFontSize:_r,darkItemDisabledColor:new qe.C(ri).setAlpha(.25).toRgbString(),darkItemColor:Cr,darkDangerItemColor:Ke,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ri,darkItemSelectedBg:De,darkDangerItemSelectedBg:Ke,darkItemHoverBg:"transparent",darkGroupTitleColor:Cr,darkItemHoverColor:ri,darkDangerItemHoverColor:fi,darkDangerItemSelectedColor:ri,darkDangerItemActiveBg:Ke}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(ue),un=function(ue,pe){var de={};for(var le in ue)Object.prototype.hasOwnProperty.call(ue,le)&&pe.indexOf(le)<0&&(de[le]=ue[le]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,le=Object.getOwnPropertySymbols(ue);De<le.length;De++)pe.indexOf(le[De])<0&&Object.prototype.propertyIsEnumerable.call(ue,le[De])&&(de[le[De]]=ue[le[De]]);return de},yn=(0,Oe.forwardRef)((ue,pe)=>{var de,le;const De=Oe.useContext(he.Z),Ke=De||{},{getPrefixCls:Et,getPopupContainer:Yt,direction:Kt,menu:nn}=Oe.useContext(Ee.E_),$t=Et(),{prefixCls:gr,className:kr,style:rn,theme:gn="light",expandIcon:hr,_internalDisableMenuItemTitleTooltip:Er,inlineCollapsed:yt,siderCollapsed:It,items:$n,children:Qn,rootClassName:wr,mode:_r,selectable:ei,onClick:Xr,overflowedIndicatorPopupClassName:ri}=ue,fi=un(ue,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Cr=(0,mt.Z)(fi,["collapsedWidth"]),yi=Ge($n)||Qn;(de=Ke.validator)===null||de===void 0||de.call(Ke,{mode:_r});const Gi=(0,ht.useEvent)(function(){var Xn;Xr==null||Xr.apply(void 0,arguments),(Xn=Ke.onClick)===null||Xn===void 0||Xn.call(Ke)}),oi=Ke.mode||_r,ea=ei!=null?ei:Ke.selectable,Di=Oe.useMemo(()=>It!==void 0?It:yt,[yt,It]),Ot={horizontal:{motionName:`${$t}-slide-up`},inline:(0,we.Z)($t),other:{motionName:`${$t}-zoom-big`}},Nt=Et("menu",gr||Ke.prefixCls),[cn,bn]=Ht(Nt,!De),rr=ve()(`${Nt}-${gn}`,nn==null?void 0:nn.className,kr);let Fn;if(typeof hr=="function")Fn=hr;else if(hr===null||hr===!1)Fn=null;else if(Ke.expandIcon===null||Ke.expandIcon===!1)Fn=null;else{const Xn=hr!=null?hr:Ke.expandIcon;Fn=(0,Xe.Tm)(Xn,{className:ve()(`${Nt}-submenu-expand-icon`,(0,Xe.l$)(Xn)?(le=Xn.props)===null||le===void 0?void 0:le.className:"")})}const ir=Oe.useMemo(()=>({prefixCls:Nt,inlineCollapsed:Di||!1,direction:Kt,firstLevel:!0,theme:gn,mode:oi,disableMenuItemTitleTooltip:Er}),[Nt,Di,Kt,Er,gn]);return cn(Oe.createElement(he.Z.Provider,{value:null},Oe.createElement(dt.Provider,{value:ir},Oe.createElement(ae.ZP,Object.assign({getPopupContainer:Yt,overflowedIndicator:Oe.createElement(at.Z,null),overflowedIndicatorPopupClassName:ve()(Nt,`${Nt}-${gn}`,ri),mode:oi,selectable:ea,onClick:Gi},Cr,{inlineCollapsed:Di,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),rn),className:rr,prefixCls:Nt,direction:Kt,defaultMotions:Ot,expandIcon:Fn,ref:pe,rootClassName:ve()(wr,bn)}),yi))))});const Fe=(0,Oe.forwardRef)((ue,pe)=>{const de=(0,Oe.useRef)(null),le=Oe.useContext(Re.D);return(0,Oe.useImperativeHandle)(pe,()=>({menu:de.current,focus:De=>{var Ke;(Ke=de.current)===null||Ke===void 0||Ke.focus(De)}})),Oe.createElement(yn,Object.assign({ref:de},ue,le))});Fe.Item=Me,Fe.SubMenu=Ut,Fe.Divider=me,Fe.ItemGroup=ae.BW;var ce=Fe},38703:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Er}});var ae=ie(67294),Oe=ie(87725),Re=ie(18299),Ze=ie(16646),ve=ie(73475),Ee=ie(94184),ke=ie.n(Ee),ye=ie(10366),me=ie(53124),Le=ie(87462),mt=ie(1413),Ie=ie(45987),Xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ot=function(){var It=(0,ae.useRef)([]),$n=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var Qn=Date.now(),wr=!1;It.current.forEach(function(_r){if(_r){wr=!0;var ei=_r.style;ei.transitionDuration=".3s, .3s, .3s, .06s",$n.current&&Qn-$n.current<100&&(ei.transitionDuration="0s, 0s")}}),wr&&($n.current=Date.now())}),It.current},dt=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],nt=function(It){var $n=(0,mt.Z)((0,mt.Z)({},Xe),It),Qn=$n.className,wr=$n.percent,_r=$n.prefixCls,ei=$n.strokeColor,Xr=$n.strokeLinecap,ri=$n.strokeWidth,fi=$n.style,Cr=$n.trailColor,yi=$n.trailWidth,Gi=$n.transition,oi=(0,Ie.Z)($n,dt);delete oi.gapPosition;var ea=Array.isArray(wr)?wr:[wr],Di=Array.isArray(ei)?ei:[ei],Ot=ot(),Nt=ri/2,cn=100-ri/2,bn="M ".concat(Xr==="round"?Nt:0,",").concat(Nt,`
|
|
|
L `).concat(Xr==="round"?cn:100,",").concat(Nt),rr="0 0 100 ".concat(ri),Fn=0;return ae.createElement("svg",(0,Le.Z)({className:ke()("".concat(_r,"-line"),Qn),viewBox:rr,preserveAspectRatio:"none",style:fi},oi),ae.createElement("path",{className:"".concat(_r,"-line-trail"),d:bn,strokeLinecap:Xr,stroke:Cr,strokeWidth:yi||ri,fillOpacity:"0"}),ea.map(function(ir,Xn){var pt=1;switch(Xr){case"round":pt=1-ri/100;break;case"square":pt=1-ri/2/100;break;default:pt=1;break}var At={strokeDasharray:"".concat(ir*pt,"px, 100px"),strokeDashoffset:"-".concat(Fn,"px"),transition:Gi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Mt=Di[Xn]||Di[Di.length-1];return Fn+=ir,ae.createElement("path",{key:Xn,className:"".concat(_r,"-line-path"),d:bn,strokeLinecap:Xr,stroke:Mt,strokeWidth:ri,fillOpacity:"0",ref:function($e){Ot[Xn]=$e},style:At})}))},Me=nt,ut=ie(71002),Ut=ie(97685),at=ie(98924),ht=0,we=(0,at.Z)();function he(){var yt;return we?(yt=ht,ht+=1):yt="TEST_OR_SSR",yt}var je=function(yt){var It=ae.useState(),$n=(0,Ut.Z)(It,2),Qn=$n[0],wr=$n[1];return ae.useEffect(function(){wr("rc_progress_".concat(he()))},[]),yt||Qn},Ve=function(It){var $n=It.bg,Qn=It.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:$n}},Qn)};function Ge(yt,It){return Object.keys(yt).map(function($n){var Qn=parseFloat($n),wr="".concat(Math.floor(Qn*It),"%");return"".concat(yt[$n]," ").concat(wr)})}var qe=ae.forwardRef(function(yt,It){var $n=yt.prefixCls,Qn=yt.color,wr=yt.gradientId,_r=yt.radius,ei=yt.style,Xr=yt.ptg,ri=yt.strokeLinecap,fi=yt.strokeWidth,Cr=yt.size,yi=yt.gapDegree,Gi=Qn&&(0,ut.Z)(Qn)==="object",oi=Gi?"#FFF":void 0,ea=Cr/2,Di=ae.createElement("circle",{className:"".concat($n,"-circle-path"),r:_r,cx:ea,cy:ea,stroke:oi,strokeLinecap:ri,strokeWidth:fi,opacity:Xr===0?0:1,style:ei,ref:It});if(!Gi)return Di;var Ot="".concat(wr,"-conic"),Nt=yi?"".concat(180+yi/2,"deg"):"0deg",cn=Ge(Qn,(360-yi)/360),bn=Ge(Qn,1),rr="conic-gradient(from ".concat(Nt,", ").concat(cn.join(", "),")"),Fn="linear-gradient(to ".concat(yi?"bottom":"top",", ").concat(bn.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:Ot},Di),ae.createElement("foreignObject",{x:0,y:0,width:Cr,height:Cr,mask:"url(#".concat(Ot,")")},ae.createElement(Ve,{bg:Fn},ae.createElement(Ve,{bg:rr}))))}),Ye=qe,We=100,St=function(It,$n,Qn,wr,_r,ei,Xr,ri,fi,Cr){var yi=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Gi=Qn/100*360*((360-ei)/360),oi=ei===0?0:{bottom:0,top:180,left:90,right:-90}[Xr],ea=(100-wr)/100*$n;fi==="round"&&wr!==100&&(ea+=Cr/2,ea>=$n&&(ea=$n-.01));var Di=We/2;return{stroke:typeof ri=="string"?ri:void 0,strokeDasharray:"".concat($n,"px ").concat(It),strokeDashoffset:ea+yi,transform:"rotate(".concat(_r+Gi+oi,"deg)"),transformOrigin:"".concat(Di,"px ").concat(Di,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},lt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function zt(yt){var It=yt!=null?yt:[];return Array.isArray(It)?It:[It]}var Dt=function(It){var $n=(0,mt.Z)((0,mt.Z)({},Xe),It),Qn=$n.id,wr=$n.prefixCls,_r=$n.steps,ei=$n.strokeWidth,Xr=$n.trailWidth,ri=$n.gapDegree,fi=ri===void 0?0:ri,Cr=$n.gapPosition,yi=$n.trailColor,Gi=$n.strokeLinecap,oi=$n.style,ea=$n.className,Di=$n.strokeColor,Ot=$n.percent,Nt=(0,Ie.Z)($n,lt),cn=We/2,bn=je(Qn),rr="".concat(bn,"-gradient"),Fn=cn-ei/2,ir=Math.PI*2*Fn,Xn=fi>0?90+fi/2:-90,pt=ir*((360-fi)/360),At=(0,ut.Z)(_r)==="object"?_r:{count:_r,space:2},Mt=At.count,fn=At.space,$e=zt(Ot),Ft=zt(Di),on=Ft.find(function(Sr){return Sr&&(0,ut.Z)(Sr)==="object"}),_t=on&&(0,ut.Z)(on)==="object",En=_t?"butt":Gi,Sn=St(ir,pt,0,100,Xn,fi,Cr,yi,En,ei),Bn=ot(),Qr=function(){var jr=0;return $e.map(function(zr,Rt){var kt=Ft[Rt]||Ft[Ft.length-1],jt=St(ir,pt,jr,zr,Xn,fi,Cr,kt,En,ei);return jr+=zr,ae.createElement(Ye,{key:Rt,color:kt,ptg:zr,radius:Fn,prefixCls:wr,gradientId:rr,style:jt,strokeLinecap:En,strokeWidth:ei,gapDegree:fi,ref:function(lr){Bn[Rt]=lr},size:We})}).reverse()},Lr=function(){var jr=Math.round(Mt*($e[0]/100)),zr=100/Mt,Rt=0;return new Array(Mt).fill(null).map(function(kt,jt){var zn=jt<=jr-1?Ft[0]:yi,lr=zn&&(0,ut.Z)(zn)==="object"?"url(#".concat(rr,")"):void 0,Hn=St(ir,pt,Rt,zr,Xn,fi,Cr,zn,"butt",ei,fn);return Rt+=(pt-Hn.strokeDashoffset+fn)*100/pt,ae.createElement("circle",{key:jt,className:"".concat(wr,"-circle-path"),r:Fn,cx:cn,cy:cn,stroke:lr,strokeWidth:ei,opacity:1,style:Hn,ref:function(Gn){Bn[jt]=Gn}})})};return ae.createElement("svg",(0,Le.Z)({className:ke()("".concat(wr,"-circle"),ea),viewBox:"0 0 ".concat(We," ").concat(We),style:oi,id:Qn,role:"presentation"},Nt),!Mt&&ae.createElement("circle",{className:"".concat(wr,"-circle-trail"),r:Fn,cx:cn,cy:cn,stroke:yi,strokeLinecap:En,strokeWidth:Xr||ei,style:Sn}),Mt?Lr():Qr())},pn=Dt,Kn={Line:Me,Circle:pn},tr=ie(83062),it=ie(47448);function Ce(yt){return!yt||yt<0?0:yt>100?100:yt}function wt(yt){let{success:It,successPercent:$n}=yt,Qn=$n;return It&&"progress"in It&&(Qn=It.progress),It&&"percent"in It&&(Qn=It.percent),Qn}const An=yt=>{let{percent:It,success:$n,successPercent:Qn}=yt;const wr=Ce(wt({success:$n,successPercent:Qn}));return[wr,Ce(Ce(It)-wr)]},Tt=yt=>{let{success:It={},strokeColor:$n}=yt;const{strokeColor:Qn}=It;return[Qn||it.presetPrimaryColors.green,$n||null]},rt=(yt,It,$n)=>{var Qn,wr,_r,ei;let Xr=-1,ri=-1;if(It==="step"){const fi=$n.steps,Cr=$n.strokeWidth;typeof yt=="string"||typeof yt=="undefined"?(Xr=yt==="small"?2:14,ri=Cr!=null?Cr:8):typeof yt=="number"?[Xr,ri]=[yt,yt]:[Xr=14,ri=8]=yt,Xr*=fi}else if(It==="line"){const fi=$n==null?void 0:$n.strokeWidth;typeof yt=="string"||typeof yt=="undefined"?ri=fi||(yt==="small"?6:8):typeof yt=="number"?[Xr,ri]=[yt,yt]:[Xr=-1,ri=8]=yt}else(It==="circle"||It==="dashboard")&&(typeof yt=="string"||typeof yt=="undefined"?[Xr,ri]=yt==="small"?[60,60]:[120,120]:typeof yt=="number"?[Xr,ri]=[yt,yt]:(Xr=(wr=(Qn=yt[0])!==null&&Qn!==void 0?Qn:yt[1])!==null&&wr!==void 0?wr:120,ri=(ei=(_r=yt[0])!==null&&_r!==void 0?_r:yt[1])!==null&&ei!==void 0?ei:120));return[Xr,ri]},ft=3,Wt=yt=>ft/yt*100;var Xt=yt=>{const{prefixCls:It,trailColor:$n=null,strokeLinecap:Qn="round",gapPosition:wr,gapDegree:_r,width:ei=120,type:Xr,children:ri,success:fi,size:Cr=ei}=yt,[yi,Gi]=rt(Cr,"circle");let{strokeWidth:oi}=yt;oi===void 0&&(oi=Math.max(Wt(yi),6));const ea={width:yi,height:Gi,fontSize:yi*.15+6},Di=ae.useMemo(()=>{if(_r||_r===0)return _r;if(Xr==="dashboard")return 75},[_r,Xr]),Ot=wr||Xr==="dashboard"&&"bottom"||void 0,Nt=Object.prototype.toString.call(yt.strokeColor)==="[object Object]",cn=Tt({success:fi,strokeColor:yt.strokeColor}),bn=ke()(`${It}-inner`,{[`${It}-circle-gradient`]:Nt}),rr=ae.createElement(pn,{percent:An(yt),strokeWidth:oi,trailWidth:oi,strokeColor:cn,strokeLinecap:Qn,trailColor:$n,prefixCls:It,gapDegree:Di,gapPosition:Ot});return ae.createElement("div",{className:bn,style:ea},yi<=20?ae.createElement(tr.Z,{title:ri},ae.createElement("span",null,rr)):ae.createElement(ae.Fragment,null,rr,ri))},Ht=function(yt,It){var $n={};for(var Qn in yt)Object.prototype.hasOwnProperty.call(yt,Qn)&&It.indexOf(Qn)<0&&($n[Qn]=yt[Qn]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wr=0,Qn=Object.getOwnPropertySymbols(yt);wr<Qn.length;wr++)It.indexOf(Qn[wr])<0&&Object.prototype.propertyIsEnumerable.call(yt,Qn[wr])&&($n[Qn[wr]]=yt[Qn[wr]]);return $n};const un=yt=>{let It=[];return Object.keys(yt).forEach($n=>{const Qn=parseFloat($n.replace(/%/g,""));isNaN(Qn)||It.push({key:Qn,value:yt[$n]})}),It=It.sort(($n,Qn)=>$n.key-Qn.key),It.map($n=>{let{key:Qn,value:wr}=$n;return`${wr} ${Qn}%`}).join(", ")},kn=(yt,It)=>{const{from:$n=it.presetPrimaryColors.blue,to:Qn=it.presetPrimaryColors.blue,direction:wr=It==="rtl"?"to left":"to right"}=yt,_r=Ht(yt,["from","to","direction"]);if(Object.keys(_r).length!==0){const ei=un(_r);return{backgroundImage:`linear-gradient(${wr}, ${ei})`}}return{backgroundImage:`linear-gradient(${wr}, ${$n}, ${Qn})`}};var Fe=yt=>{const{prefixCls:It,direction:$n,percent:Qn,size:wr,strokeWidth:_r,strokeColor:ei,strokeLinecap:Xr="round",children:ri,trailColor:fi=null,success:Cr}=yt,yi=ei&&typeof ei!="string"?kn(ei,$n):{backgroundColor:ei},Gi=Xr==="square"||Xr==="butt"?0:void 0,oi={backgroundColor:fi||void 0,borderRadius:Gi},ea=wr!=null?wr:[-1,_r||(wr==="small"?6:8)],[Di,Ot]=rt(ea,"line",{strokeWidth:_r}),Nt=Object.assign({width:`${Ce(Qn)}%`,height:Ot,borderRadius:Gi},yi),cn=wt(yt),bn={width:`${Ce(cn)}%`,height:Ot,borderRadius:Gi,backgroundColor:Cr==null?void 0:Cr.strokeColor},rr={width:Di<0?"100%":Di,height:Ot};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${It}-outer`,style:rr},ae.createElement("div",{className:`${It}-inner`,style:oi},ae.createElement("div",{className:`${It}-bg`,style:Nt}),cn!==void 0?ae.createElement("div",{className:`${It}-success-bg`,style:bn}):null)),ri)},ue=yt=>{const{size:It,steps:$n,percent:Qn=0,strokeWidth:wr=8,strokeColor:_r,trailColor:ei=null,prefixCls:Xr,children:ri}=yt,fi=Math.round($n*(Qn/100)),Cr=It==="small"?2:14,yi=It!=null?It:[Cr,wr],[Gi,oi]=rt(yi,"step",{steps:$n,strokeWidth:wr}),ea=Gi/$n,Di=new Array($n);for(let Ot=0;Ot<$n;Ot++){const Nt=Array.isArray(_r)?_r[Ot]:_r;Di[Ot]=ae.createElement("div",{key:Ot,className:ke()(`${Xr}-steps-item`,{[`${Xr}-steps-item-active`]:Ot<=fi-1}),style:{backgroundColor:Ot<=fi-1?Nt:ei,width:ea,height:oi}})}return ae.createElement("div",{className:`${Xr}-steps-outer`},Di,ri)},pe=ie(45930),de=ie(14747),le=ie(67968),De=ie(45503);const Ke=yt=>{const It=yt?"100%":"-100%";return new pe.Keyframes(`antProgress${yt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${It}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${It}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Et=yt=>{const{componentCls:It,iconCls:$n}=yt;return{[It]:Object.assign(Object.assign({},(0,de.Wf)(yt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:yt.fontSize,marginInlineEnd:yt.marginXS,marginBottom:yt.marginXS},[`${It}-outer`]:{display:"inline-block",width:"100%"},[`&${It}-show-info`]:{[`${It}-outer`]:{marginInlineEnd:`calc(-2em - ${yt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${yt.paddingXS}px)`}},[`${It}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:yt.remainingColor,borderRadius:yt.lineBorderRadius},[`${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:yt.defaultColor}},[`${It}-success-bg, ${It}-bg`]:{position:"relative",backgroundColor:yt.defaultColor,borderRadius:yt.lineBorderRadius,transition:`all ${yt.motionDurationSlow} ${yt.motionEaseInOutCirc}`},[`${It}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:yt.colorSuccess},[`${It}-text`]:{display:"inline-block",width:"2em",marginInlineStart:yt.marginXS,color:yt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[$n]:{fontSize:yt.fontSize}},[`&${It}-status-active`]:{[`${It}-bg::before`]:{position:"absolute",inset:0,backgroundColor:yt.colorBgContainer,borderRadius:yt.lineBorderRadius,opacity:0,animationName:Ke(),animationDuration:yt.progressActiveMotionDuration,animationTimingFunction:yt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${It}-rtl${It}-status-active`]:{[`${It}-bg::before`]:{animationName:Ke(!0)}},[`&${It}-status-exception`]:{[`${It}-bg`]:{backgroundColor:yt.colorError},[`${It}-text`]:{color:yt.colorError}},[`&${It}-status-exception ${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:yt.colorError}},[`&${It}-status-success`]:{[`${It}-bg`]:{backgroundColor:yt.colorSuccess},[`${It}-text`]:{color:yt.colorSuccess}},[`&${It}-status-success ${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:yt.colorSuccess}}})}},Yt=yt=>{const{componentCls:It,iconCls:$n}=yt;return{[It]:{[`${It}-circle-trail`]:{stroke:yt.remainingColor},[`&${It}-circle ${It}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${It}-circle ${It}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:yt.circleTextColor,fontSize:yt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[$n]:{fontSize:`${yt.fontSize/yt.fontSizeSM}em`}},[`${It}-circle&-status-exception`]:{[`${It}-text`]:{color:yt.colorError}},[`${It}-circle&-status-success`]:{[`${It}-text`]:{color:yt.colorSuccess}}},[`${It}-inline-circle`]:{lineHeight:1,[`${It}-inner`]:{verticalAlign:"bottom"}}}},Kt=yt=>{const{componentCls:It}=yt;return{[It]:{[`${It}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:yt.progressStepMinWidth,marginInlineEnd:yt.progressStepMarginInlineEnd,backgroundColor:yt.remainingColor,transition:`all ${yt.motionDurationSlow}`,"&-active":{backgroundColor:yt.defaultColor}}}}}},nn=yt=>{const{componentCls:It,iconCls:$n}=yt;return{[It]:{[`${It}-small&-line, ${It}-small&-line ${It}-text ${$n}`]:{fontSize:yt.fontSizeSM}}}};var $t=(0,le.Z)("Progress",yt=>{const It=yt.marginXXS/2,$n=(0,De.TS)(yt,{progressStepMarginInlineEnd:It,progressStepMinWidth:It,progressActiveMotionDuration:"2.4s"});return[Et($n),Yt($n),Kt($n),nn($n)]},yt=>({circleTextColor:yt.colorText,defaultColor:yt.colorInfo,remainingColor:yt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),gr=function(yt,It){var $n={};for(var Qn in yt)Object.prototype.hasOwnProperty.call(yt,Qn)&&It.indexOf(Qn)<0&&($n[Qn]=yt[Qn]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wr=0,Qn=Object.getOwnPropertySymbols(yt);wr<Qn.length;wr++)It.indexOf(Qn[wr])<0&&Object.prototype.propertyIsEnumerable.call(yt,Qn[wr])&&($n[Qn[wr]]=yt[Qn[wr]]);return $n};const kr=null,rn=["normal","exception","active","success"];var hr=ae.forwardRef((yt,It)=>{const{prefixCls:$n,className:Qn,rootClassName:wr,steps:_r,strokeColor:ei,percent:Xr=0,size:ri="default",showInfo:fi=!0,type:Cr="line",status:yi,format:Gi,style:oi}=yt,ea=gr(yt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Di=ae.useMemo(()=>{var $e,Ft;const on=wt(yt);return parseInt(on!==void 0?($e=on!=null?on:0)===null||$e===void 0?void 0:$e.toString():(Ft=Xr!=null?Xr:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[Xr,yt.success,yt.successPercent]),Ot=ae.useMemo(()=>!rn.includes(yi)&&Di>=100?"success":yi||"normal",[yi,Di]),{getPrefixCls:Nt,direction:cn,progress:bn}=ae.useContext(me.E_),rr=Nt("progress",$n),[Fn,ir]=$t(rr),Xn=ae.useMemo(()=>{if(!fi)return null;const $e=wt(yt);let Ft;const on=Gi||(En=>`${En}%`),_t=Cr==="line";return Gi||Ot!=="exception"&&Ot!=="success"?Ft=on(Ce(Xr),Ce($e)):Ot==="exception"?Ft=_t?ae.createElement(Ze.Z,null):ae.createElement(ve.Z,null):Ot==="success"&&(Ft=_t?ae.createElement(Oe.Z,null):ae.createElement(Re.Z,null)),ae.createElement("span",{className:`${rr}-text`,title:typeof Ft=="string"?Ft:void 0},Ft)},[fi,Xr,Di,Ot,Cr,rr,Gi]),pt=Array.isArray(ei)?ei[0]:ei,At=typeof ei=="string"||Array.isArray(ei)?ei:void 0;let Mt;Cr==="line"?Mt=_r?ae.createElement(ue,Object.assign({},yt,{strokeColor:At,prefixCls:rr,steps:_r}),Xn):ae.createElement(Fe,Object.assign({},yt,{strokeColor:pt,prefixCls:rr,direction:cn}),Xn):(Cr==="circle"||Cr==="dashboard")&&(Mt=ae.createElement(Xt,Object.assign({},yt,{strokeColor:pt,prefixCls:rr,progressStatus:Ot}),Xn));const fn=ke()(rr,`${rr}-status-${Ot}`,`${rr}-${Cr==="dashboard"&&"circle"||_r&&"steps"||Cr}`,{[`${rr}-inline-circle`]:Cr==="circle"&&rt(ri,"circle")[0]<=20,[`${rr}-show-info`]:fi,[`${rr}-${ri}`]:typeof ri=="string",[`${rr}-rtl`]:cn==="rtl"},bn==null?void 0:bn.className,Qn,wr,ir);return Fn(ae.createElement("div",Object.assign({ref:It,style:Object.assign(Object.assign({},bn==null?void 0:bn.style),oi),className:fn,role:"progressbar","aria-valuenow":Di},(0,ye.Z)(ea,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Mt))}),Er=hr},78045:function(mn,en,ie){"use strict";ie.d(en,{ZP:function(){return it}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(5663),Ze=ie(1337),ve=ie(67294),Ee=ie(53124),ke=ie(98675);const ye=ve.createContext(null),me=ye.Provider;var Le=ye;const mt=ve.createContext(null),Ie=mt.Provider;var Xe=ie(95860),ot=ie(17799),dt=ie(98866),nt=ie(65223),Me=ie(14747),ut=ie(67968),Ut=ie(45503);const at=Ce=>{const{componentCls:wt,antCls:An}=Ce,Tt=`${wt}-group`;return{[Tt]:Object.assign(Object.assign({},(0,Me.Wf)(Ce)),{display:"inline-block",fontSize:0,[`&${Tt}-rtl`]:{direction:"rtl"},[`${An}-badge ${An}-badge-count`]:{zIndex:1},[`> ${An}-badge:not(:first-child) > ${An}-button-wrapper`]:{borderInlineStart:"none"}})}},ht=Ce=>{const{componentCls:wt,wrapperMarginInlineEnd:An,colorPrimary:Tt,radioSize:rt,motionDurationSlow:ft,motionDurationMid:Wt,motionEaseInOutCirc:qt,colorBgContainer:Xt,colorBorder:Ht,lineWidth:un,dotSize:kn,colorBgContainerDisabled:yn,colorTextDisabled:Fe,paddingXS:ce,dotColorDisabled:ue,lineType:pe,radioDotDisabledSize:de,wireframe:le,colorWhite:De}=Ce,Ke=`${wt}-inner`;return{[`${wt}-wrapper`]:Object.assign(Object.assign({},(0,Me.Wf)(Ce)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:An,cursor:"pointer",[`&${wt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ce.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${wt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${un}px ${pe} ${Tt}`,borderRadius:"50%",visibility:"hidden",content:'""'},[wt]:Object.assign(Object.assign({},(0,Me.Wf)(Ce)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${wt}-wrapper:hover &,
|
|
|
&:hover ${Ke}`]:{borderColor:Tt},[`${wt}-input:focus-visible + ${Ke}`]:Object.assign({},(0,Me.oN)(Ce)),[`${wt}:hover::after, ${wt}-wrapper:hover &::after`]:{visibility:"visible"},[`${wt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:rt,height:rt,marginBlockStart:rt/-2,marginInlineStart:rt/-2,backgroundColor:le?Tt:De,borderBlockStart:0,borderInlineStart:0,borderRadius:rt,transform:"scale(0)",opacity:0,transition:`all ${ft} ${qt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:rt,height:rt,backgroundColor:Xt,borderColor:Ht,borderStyle:"solid",borderWidth:un,borderRadius:"50%",transition:`all ${Wt}`},[`${wt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${wt}-checked`]:{[Ke]:{borderColor:Tt,backgroundColor:le?Xt:Tt,"&::after":{transform:`scale(${kn/rt})`,opacity:1,transition:`all ${ft} ${qt}`}}},[`${wt}-disabled`]:{cursor:"not-allowed",[Ke]:{backgroundColor:yn,borderColor:Ht,cursor:"not-allowed","&::after":{backgroundColor:ue}},[`${wt}-input`]:{cursor:"not-allowed"},[`${wt}-disabled + span`]:{color:Fe,cursor:"not-allowed"},[`&${wt}-checked`]:{[Ke]:{"&::after":{transform:`scale(${de/rt})`}}}},[`span${wt} + *`]:{paddingInlineStart:ce,paddingInlineEnd:ce}})}},we=Ce=>{const{buttonColor:wt,controlHeight:An,componentCls:Tt,lineWidth:rt,lineType:ft,colorBorder:Wt,motionDurationSlow:qt,motionDurationMid:Xt,buttonPaddingInline:Ht,fontSize:un,buttonBg:kn,fontSizeLG:yn,controlHeightLG:Fe,controlHeightSM:ce,paddingXS:ue,borderRadius:pe,borderRadiusSM:de,borderRadiusLG:le,buttonCheckedBg:De,buttonSolidCheckedColor:Ke,colorTextDisabled:Et,colorBgContainerDisabled:Yt,buttonCheckedBgDisabled:Kt,buttonCheckedColorDisabled:nn,colorPrimary:$t,colorPrimaryHover:gr,colorPrimaryActive:kr,buttonSolidCheckedBg:rn,buttonSolidCheckedHoverBg:gn,buttonSolidCheckedActiveBg:hr}=Ce;return{[`${Tt}-button-wrapper`]:{position:"relative",display:"inline-block",height:An,margin:0,paddingInline:Ht,paddingBlock:0,color:wt,fontSize:un,lineHeight:`${An-rt*2}px`,background:kn,border:`${rt}px ${ft} ${Wt}`,borderBlockStartWidth:rt+.02,borderInlineStartWidth:0,borderInlineEndWidth:rt,cursor:"pointer",transition:[`color ${Xt}`,`background ${Xt}`,`box-shadow ${Xt}`].join(","),a:{color:wt},[`> ${Tt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-rt,insetInlineStart:-rt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:rt,paddingInline:0,backgroundColor:Wt,transition:`background-color ${qt}`,content:'""'}},"&:first-child":{borderInlineStart:`${rt}px ${ft} ${Wt}`,borderStartStartRadius:pe,borderEndStartRadius:pe},"&:last-child":{borderStartEndRadius:pe,borderEndEndRadius:pe},"&:first-child:last-child":{borderRadius:pe},[`${Tt}-group-large &`]:{height:Fe,fontSize:yn,lineHeight:`${Fe-rt*2}px`,"&:first-child":{borderStartStartRadius:le,borderEndStartRadius:le},"&:last-child":{borderStartEndRadius:le,borderEndEndRadius:le}},[`${Tt}-group-small &`]:{height:ce,paddingInline:ue-rt,paddingBlock:0,lineHeight:`${ce-rt*2}px`,"&:first-child":{borderStartStartRadius:de,borderEndStartRadius:de},"&:last-child":{borderStartEndRadius:de,borderEndEndRadius:de}},"&:hover":{position:"relative",color:$t},"&:has(:focus-visible)":Object.assign({},(0,Me.oN)(Ce)),[`${Tt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Tt}-button-wrapper-disabled)`]:{zIndex:1,color:$t,background:De,borderColor:$t,"&::before":{backgroundColor:$t},"&:first-child":{borderColor:$t},"&:hover":{color:gr,borderColor:gr,"&::before":{backgroundColor:gr}},"&:active":{color:kr,borderColor:kr,"&::before":{backgroundColor:kr}}},[`${Tt}-group-solid &-checked:not(${Tt}-button-wrapper-disabled)`]:{color:Ke,background:rn,borderColor:rn,"&:hover":{color:Ke,background:gn,borderColor:gn},"&:active":{color:Ke,background:hr,borderColor:hr}},"&-disabled":{color:Et,backgroundColor:Yt,borderColor:Wt,cursor:"not-allowed","&:first-child, &:hover":{color:Et,backgroundColor:Yt,borderColor:Wt}},[`&-disabled${Tt}-button-wrapper-checked`]:{color:nn,backgroundColor:Kt,borderColor:Wt,boxShadow:"none"}}}},he=Ce=>Ce-4*2;var je=(0,ut.Z)("Radio",Ce=>{const{controlOutline:wt,controlOutlineWidth:An,radioSize:Tt}=Ce,rt=`0 0 0 ${An}px ${wt}`,ft=rt,Wt=he(Tt),qt=(0,Ut.TS)(Ce,{radioDotDisabledSize:Wt,radioFocusShadow:rt,radioButtonFocusShadow:ft});return[at(qt),ht(qt),we(qt)]},Ce=>{const{wireframe:wt,padding:An,marginXS:Tt,lineWidth:rt,fontSizeLG:ft,colorText:Wt,colorBgContainer:qt,colorTextDisabled:Xt,controlItemBgActiveDisabled:Ht,colorTextLightSolid:un,colorPrimary:kn,colorPrimaryHover:yn,colorPrimaryActive:Fe}=Ce,ce=4,ue=ft,pe=wt?he(ue):ue-(ce+rt)*2;return{radioSize:ue,dotSize:pe,dotColorDisabled:Xt,buttonSolidCheckedColor:un,buttonSolidCheckedBg:kn,buttonSolidCheckedHoverBg:yn,buttonSolidCheckedActiveBg:Fe,buttonBg:qt,buttonCheckedBg:qt,buttonColor:Wt,buttonCheckedBgDisabled:Ht,buttonCheckedColorDisabled:Xt,buttonPaddingInline:An-rt,wrapperMarginInlineEnd:Tt}}),Ve=ie(45353),Ge=ie(92429),qe=function(Ce,wt){var An={};for(var Tt in Ce)Object.prototype.hasOwnProperty.call(Ce,Tt)&&wt.indexOf(Tt)<0&&(An[Tt]=Ce[Tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Tt=Object.getOwnPropertySymbols(Ce);rt<Tt.length;rt++)wt.indexOf(Tt[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Tt[rt])&&(An[Tt[rt]]=Ce[Tt[rt]]);return An};const Ye=(Ce,wt)=>{var An,Tt;const rt=ve.useContext(Le),ft=ve.useContext(mt),{getPrefixCls:Wt,direction:qt,radio:Xt}=ve.useContext(Ee.E_),Ht=ve.useRef(null),un=(0,ot.sQ)(wt,Ht),{isFormItemInput:kn}=ve.useContext(nt.aM),yn=kr=>{var rn,gn;(rn=Ce.onChange)===null||rn===void 0||rn.call(Ce,kr),(gn=rt==null?void 0:rt.onChange)===null||gn===void 0||gn.call(rt,kr)},{prefixCls:Fe,className:ce,rootClassName:ue,children:pe,style:de}=Ce,le=qe(Ce,["prefixCls","className","rootClassName","children","style"]),De=Wt("radio",Fe),Ke=((rt==null?void 0:rt.optionType)||ft)==="button",Et=Ke?`${De}-button`:De,[Yt,Kt]=je(De),nn=Object.assign({},le),$t=ve.useContext(dt.Z);rt&&(nn.name=rt.name,nn.onChange=yn,nn.checked=Ce.value===rt.value,nn.disabled=(An=nn.disabled)!==null&&An!==void 0?An:rt.disabled),nn.disabled=(Tt=nn.disabled)!==null&&Tt!==void 0?Tt:$t;const gr=Oe()(`${Et}-wrapper`,{[`${Et}-wrapper-checked`]:nn.checked,[`${Et}-wrapper-disabled`]:nn.disabled,[`${Et}-wrapper-rtl`]:qt==="rtl",[`${Et}-wrapper-in-form-item`]:kn},Xt==null?void 0:Xt.className,ce,ue,Kt);return Yt(ve.createElement(Ve.Z,{component:"Radio",disabled:nn.disabled},ve.createElement("label",{className:gr,style:Object.assign(Object.assign({},Xt==null?void 0:Xt.style),de),onMouseEnter:Ce.onMouseEnter,onMouseLeave:Ce.onMouseLeave},ve.createElement(Xe.Z,Object.assign({},nn,{className:Oe()(nn.className,!Ke&&Ge.A),type:"radio",prefixCls:Et,ref:un})),pe!==void 0?ve.createElement("span",null,pe):null)))};var St=ve.forwardRef(Ye);const lt=ve.forwardRef((Ce,wt)=>{const{getPrefixCls:An,direction:Tt}=ve.useContext(Ee.E_),[rt,ft]=(0,Re.Z)(Ce.defaultValue,{value:Ce.value}),Wt=rn=>{const gn=rt,hr=rn.target.value;"value"in Ce||ft(hr);const{onChange:Er}=Ce;Er&&hr!==gn&&Er(rn)},{prefixCls:qt,className:Xt,rootClassName:Ht,options:un,buttonStyle:kn="outline",disabled:yn,children:Fe,size:ce,style:ue,id:pe,onMouseEnter:de,onMouseLeave:le,onFocus:De,onBlur:Ke}=Ce,Et=An("radio",qt),Yt=`${Et}-group`,[Kt,nn]=je(Et);let $t=Fe;un&&un.length>0&&($t=un.map(rn=>typeof rn=="string"||typeof rn=="number"?ve.createElement(St,{key:rn.toString(),prefixCls:Et,disabled:yn,value:rn,checked:rt===rn},rn):ve.createElement(St,{key:`radio-group-value-options-${rn.value}`,prefixCls:Et,disabled:rn.disabled||yn,value:rn.value,checked:rt===rn.value,title:rn.title,style:rn.style},rn.label)));const gr=(0,ke.Z)(ce),kr=Oe()(Yt,`${Yt}-${kn}`,{[`${Yt}-${gr}`]:gr,[`${Yt}-rtl`]:Tt==="rtl"},Xt,Ht,nn);return Kt(ve.createElement("div",Object.assign({},(0,Ze.Z)(Ce,{aria:!0,data:!0}),{className:kr,style:ue,onMouseEnter:de,onMouseLeave:le,onFocus:De,onBlur:Ke,id:pe,ref:wt}),ve.createElement(me,{value:{onChange:Wt,value:rt,disabled:Ce.disabled,name:Ce.name,optionType:Ce.optionType}},$t)))});var zt=ve.memo(lt),Dt=function(Ce,wt){var An={};for(var Tt in Ce)Object.prototype.hasOwnProperty.call(Ce,Tt)&&wt.indexOf(Tt)<0&&(An[Tt]=Ce[Tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Tt=Object.getOwnPropertySymbols(Ce);rt<Tt.length;rt++)wt.indexOf(Tt[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Tt[rt])&&(An[Tt[rt]]=Ce[Tt[rt]]);return An};const pn=(Ce,wt)=>{const{getPrefixCls:An}=ve.useContext(Ee.E_),{prefixCls:Tt}=Ce,rt=Dt(Ce,["prefixCls"]),ft=An("radio",Tt);return ve.createElement(Ie,{value:"button"},ve.createElement(St,Object.assign({prefixCls:ft},rt,{type:"radio",ref:wt})))};var Kn=ve.forwardRef(pn);const tr=St;tr.Button=Kn,tr.Group=zt,tr.__ANT_RADIO=!0;var it=tr},12604:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return it}});var ae=ie(87462),Oe=ie(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ze=Re,ve=ie(74643),Ee=function(wt,An){return Oe.createElement(ve.Z,(0,ae.Z)({},wt,{ref:An,icon:Ze}))},ke=Oe.forwardRef(Ee),ye=ie(94184),me=ie.n(ye),Le=ie(4942),mt=ie(97685),Ie=ie(45987),Xe=ie(21770),ot=ie(15105),dt=ie(64217);function nt(Ce,wt){var An=Ce.disabled,Tt=Ce.prefixCls,rt=Ce.character,ft=Ce.characterRender,Wt=Ce.index,qt=Ce.count,Xt=Ce.value,Ht=Ce.allowHalf,un=Ce.focused,kn=Ce.onHover,yn=Ce.onClick,Fe=function(Et){kn(Et,Wt)},ce=function(Et){yn(Et,Wt)},ue=function(Et){Et.keyCode===ot.Z.ENTER&&yn(Et,Wt)},pe=Wt+1,de=new Set([Tt]);Xt===0&&Wt===0&&un?de.add("".concat(Tt,"-focused")):Ht&&Xt+.5>=pe&&Xt<pe?(de.add("".concat(Tt,"-half")),de.add("".concat(Tt,"-active")),un&&de.add("".concat(Tt,"-focused"))):(pe<=Xt?de.add("".concat(Tt,"-full")):de.add("".concat(Tt,"-zero")),pe===Xt&&un&&de.add("".concat(Tt,"-focused")));var le=typeof rt=="function"?rt(Ce):rt,De=Oe.createElement("li",{className:me()(Array.from(de)),ref:wt},Oe.createElement("div",{onClick:An?null:ce,onKeyDown:An?null:ue,onMouseMove:An?null:Fe,role:"radio","aria-checked":Xt>Wt?"true":"false","aria-posinset":Wt+1,"aria-setsize":qt,tabIndex:An?-1:0},Oe.createElement("div",{className:"".concat(Tt,"-first")},le),Oe.createElement("div",{className:"".concat(Tt,"-second")},le)));return ft&&(De=ft(De,Ce)),De}var Me=Oe.forwardRef(nt);function ut(){var Ce=Oe.useRef({});function wt(Tt){return Ce.current[Tt]}function An(Tt){return function(rt){Ce.current[Tt]=rt}}return[wt,An]}function Ut(Ce){var wt=Ce.pageXOffset,An="scrollLeft";if(typeof wt!="number"){var Tt=Ce.document;wt=Tt.documentElement[An],typeof wt!="number"&&(wt=Tt.body[An])}return wt}function at(Ce){var wt,An,Tt=Ce.ownerDocument,rt=Tt.body,ft=Tt&&Tt.documentElement,Wt=Ce.getBoundingClientRect();return wt=Wt.left,An=Wt.top,wt-=ft.clientLeft||rt.clientLeft||0,An-=ft.clientTop||rt.clientTop||0,{left:wt,top:An}}function ht(Ce){var wt=at(Ce),An=Ce.ownerDocument,Tt=An.defaultView||An.parentWindow;return wt.left+=Ut(Tt),wt.left}var we=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function he(Ce,wt){var An,Tt=Ce.prefixCls,rt=Tt===void 0?"rc-rate":Tt,ft=Ce.className,Wt=Ce.defaultValue,qt=Ce.value,Xt=Ce.count,Ht=Xt===void 0?5:Xt,un=Ce.allowHalf,kn=un===void 0?!1:un,yn=Ce.allowClear,Fe=yn===void 0?!0:yn,ce=Ce.character,ue=ce===void 0?"\u2605":ce,pe=Ce.characterRender,de=Ce.disabled,le=Ce.direction,De=le===void 0?"ltr":le,Ke=Ce.tabIndex,Et=Ke===void 0?0:Ke,Yt=Ce.autoFocus,Kt=Ce.onHoverChange,nn=Ce.onChange,$t=Ce.onFocus,gr=Ce.onBlur,kr=Ce.onKeyDown,rn=Ce.onMouseLeave,gn=(0,Ie.Z)(Ce,we),hr=ut(),Er=(0,mt.Z)(hr,2),yt=Er[0],It=Er[1],$n=Oe.useRef(null),Qn=function(){if(!de){var _t;(_t=$n.current)===null||_t===void 0||_t.focus()}};Oe.useImperativeHandle(wt,function(){return{focus:Qn,blur:function(){if(!de){var _t;(_t=$n.current)===null||_t===void 0||_t.blur()}}}});var wr=(0,Xe.Z)(Wt||0,{value:qt}),_r=(0,mt.Z)(wr,2),ei=_r[0],Xr=_r[1],ri=(0,Xe.Z)(null),fi=(0,mt.Z)(ri,2),Cr=fi[0],yi=fi[1],Gi=function(_t,En){var Sn=De==="rtl",Bn=_t+1;if(kn){var Qr=yt(_t),Lr=ht(Qr),Sr=Qr.clientWidth;(Sn&&En-Lr>Sr/2||!Sn&&En-Lr<Sr/2)&&(Bn-=.5)}return Bn},oi=function(_t){Xr(_t),nn==null||nn(_t)},ea=Oe.useState(!1),Di=(0,mt.Z)(ea,2),Ot=Di[0],Nt=Di[1],cn=function(){Nt(!0),$t==null||$t()},bn=function(){Nt(!1),gr==null||gr()},rr=Oe.useState(null),Fn=(0,mt.Z)(rr,2),ir=Fn[0],Xn=Fn[1],pt=function(_t,En){var Sn=Gi(En,_t.pageX);Sn!==Cr&&(Xn(Sn),yi(null)),Kt==null||Kt(Sn)},At=function(_t){de||(Xn(null),yi(null),Kt==null||Kt(void 0)),_t&&(rn==null||rn(_t))},Mt=function(_t,En){var Sn=Gi(En,_t.pageX),Bn=!1;Fe&&(Bn=Sn===ei),At(),oi(Bn?0:Sn),yi(Bn?Sn:null)},fn=function(_t){var En=_t.keyCode,Sn=De==="rtl",Bn=ei;En===ot.Z.RIGHT&&Bn<Ht&&!Sn?(kn?Bn+=.5:Bn+=1,oi(Bn),_t.preventDefault()):En===ot.Z.LEFT&&Bn>0&&!Sn||En===ot.Z.RIGHT&&Bn>0&&Sn?(kn?Bn-=.5:Bn-=1,oi(Bn),_t.preventDefault()):En===ot.Z.LEFT&&Bn<Ht&&Sn&&(kn?Bn+=.5:Bn+=1,oi(Bn),_t.preventDefault()),kr==null||kr(_t)};Oe.useEffect(function(){Yt&&!de&&Qn()},[]);var $e=new Array(Ht).fill(0).map(function(on,_t){return Oe.createElement(Me,{ref:It(_t),index:_t,count:Ht,disabled:de,prefixCls:"".concat(rt,"-star"),allowHalf:kn,value:ir===null?ei:ir,onClick:Mt,onHover:pt,key:on||_t,character:ue,characterRender:pe,focused:Ot})}),Ft=me()(rt,ft,(An={},(0,Le.Z)(An,"".concat(rt,"-disabled"),de),(0,Le.Z)(An,"".concat(rt,"-rtl"),De==="rtl"),An));return Oe.createElement("ul",(0,ae.Z)({className:Ft,onMouseLeave:At,tabIndex:de?-1:Et,onFocus:de?null:cn,onBlur:de?null:bn,onKeyDown:de?null:fn,ref:$n,role:"radiogroup"},(0,dt.Z)(gn,{aria:!0,data:!0,attr:!0})),$e)}var je=Oe.forwardRef(he),Ve=je,Ge=ie(53124),qe=ie(83062),Ye=ie(14747),We=ie(67968),St=ie(45503);const lt=Ce=>{const{componentCls:wt}=Ce;return{[`${wt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ce.marginXS},"> div":{transition:`all ${Ce.motionDurationMid}, outline 0s`,"&:hover":{transform:Ce.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ce.lineWidth}px dashed ${Ce.starColor}`,transform:Ce.starHoverScale}},"&-first, &-second":{color:Ce.starBg,transition:`all ${Ce.motionDurationMid}`,userSelect:"none",[Ce.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${wt}-star-first, &-half ${wt}-star-second`]:{opacity:1},[`&-half ${wt}-star-first, &-full ${wt}-star-second`]:{color:"inherit"}}}},zt=Ce=>({[`&-rtl${Ce.componentCls}`]:{direction:"rtl"}}),Dt=Ce=>{const{componentCls:wt}=Ce;return{[wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(Ce)),{display:"inline-block",margin:0,padding:0,color:Ce.starColor,fontSize:Ce.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${wt} ${wt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),lt(Ce)),{[`+ ${wt}-text`]:{display:"inline-block",marginInlineStart:Ce.marginXS,fontSize:Ce.fontSize}}),zt(Ce))}};var pn=(0,We.Z)("Rate",Ce=>{const wt=(0,St.TS)(Ce,{});return[Dt(wt)]},Ce=>({starColor:Ce.yellow6,starSize:Ce.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ce.colorFillContent})),Kn=function(Ce,wt){var An={};for(var Tt in Ce)Object.prototype.hasOwnProperty.call(Ce,Tt)&&wt.indexOf(Tt)<0&&(An[Tt]=Ce[Tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Tt=Object.getOwnPropertySymbols(Ce);rt<Tt.length;rt++)wt.indexOf(Tt[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Tt[rt])&&(An[Tt[rt]]=Ce[Tt[rt]]);return An},it=Oe.forwardRef((Ce,wt)=>{const{prefixCls:An,className:Tt,rootClassName:rt,style:ft,tooltips:Wt,character:qt=Oe.createElement(ke,null)}=Ce,Xt=Kn(Ce,["prefixCls","className","rootClassName","style","tooltips","character"]),Ht=(de,le)=>{let{index:De}=le;return Wt?Oe.createElement(qe.Z,{title:Wt[De]},de):de},{getPrefixCls:un,direction:kn,rate:yn}=Oe.useContext(Ge.E_),Fe=un("rate",An),[ce,ue]=pn(Fe),pe=Object.assign(Object.assign({},yn==null?void 0:yn.style),ft);return ce(Oe.createElement(Ve,Object.assign({ref:wt,character:qt,characterRender:Ht},Xt,{className:me()(Tt,rt,ue,yn==null?void 0:yn.className),style:pe,prefixCls:Fe,direction:kn})))})},11713:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return qr}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(87462),Ze=ie(74902),ve=ie(4942),Ee=ie(1413),ke=ie(97685),ye=ie(45987),me=ie(71002),Le=ie(67294);function mt(Ue){var tt=Le.useRef();tt.current=Ue;var tn=Le.useCallback(function(){for(var Pt,xn=arguments.length,Zn=new Array(xn),Jn=0;Jn<xn;Jn++)Zn[Jn]=arguments[Jn];return(Pt=tt.current)===null||Pt===void 0?void 0:Pt.call.apply(Pt,[tt].concat(Zn))},[]);return tn}function Ie(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xe=Ie()?Le.useLayoutEffect:Le.useEffect,ot=Xe,dt=function(tt,tn){var Pt=Le.useRef(!0);Xe(function(){if(!Pt.current)return tt()},tn),Xe(function(){return Pt.current=!1,function(){Pt.current=!0}},[])};function nt(Ue){var tt=Le.useRef(!1),tn=Le.useState(Ue),Pt=(0,ke.Z)(tn,2),xn=Pt[0],Zn=Pt[1];Le.useEffect(function(){return tt.current=!1,function(){tt.current=!0}},[]);function Jn(yr,xt){xt&&tt.current||Zn(yr)}return[xn,Jn]}function Me(Ue){return Ue!==void 0}function ut(Ue,tt){var tn=tt||{},Pt=tn.defaultValue,xn=tn.value,Zn=tn.onChange,Jn=tn.postState,yr=nt(function(){return Me(xn)?xn:Me(Pt)?typeof Pt=="function"?Pt():Pt:typeof Ue=="function"?Ue():Ue}),xt=(0,ke.Z)(yr,2),ct=xt[0],Lt=xt[1],dn=xn!==void 0?xn:ct,qn=Jn?Jn(dn):dn,In=mt(Zn),wn=nt([dn]),xr=(0,ke.Z)(wn,2),pr=xr[0],Pr=xr[1];dt(function(){var Vn=pr[0];ct!==Vn&&In(ct,Vn)},[pr]),dt(function(){Me(xn)||Lt(xn)},[xn]);var dr=mt(function(Vn,Hr){Lt(Vn,Hr),Pr([dn],Hr)});return[qn,dr]}var Ut={};function at(Ue,tt){}function ht(Ue,tt){}function we(){Ut={}}function he(Ue,tt,tn){!tt&&!Ut[tn]&&(Ue(!1,tn),Ut[tn]=!0)}function je(Ue,tt){he(at,Ue,tt)}function Ve(Ue,tt){he(ht,Ue,tt)}var Ge=je,qe=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Ue=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Ue)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Ue==null?void 0:Ue.substr(0,4))},Ye={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(tt){var tn=tt.keyCode;if(tt.altKey&&!tt.ctrlKey||tt.metaKey||tn>=Ye.F1&&tn<=Ye.F12)return!1;switch(tn){case Ye.ALT:case Ye.CAPS_LOCK:case Ye.CONTEXT_MENU:case Ye.CTRL:case Ye.DOWN:case Ye.END:case Ye.ESC:case Ye.HOME:case Ye.INSERT:case Ye.LEFT:case Ye.MAC_FF_META:case Ye.META:case Ye.NUMLOCK:case Ye.NUM_CENTER:case Ye.PAGE_DOWN:case Ye.PAGE_UP:case Ye.PAUSE:case Ye.PRINT_SCREEN:case Ye.RIGHT:case Ye.SHIFT:case Ye.UP:case Ye.WIN_KEY:case Ye.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(tt){if(tt>=Ye.ZERO&&tt<=Ye.NINE||tt>=Ye.NUM_ZERO&&tt<=Ye.NUM_MULTIPLY||tt>=Ye.A&&tt<=Ye.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&tt===0)return!0;switch(tt){case Ye.SPACE:case Ye.QUESTION_MARK:case Ye.NUM_PLUS:case Ye.NUM_MINUS:case Ye.NUM_PERIOD:case Ye.NUM_DIVISION:case Ye.SEMICOLON:case Ye.DASH:case Ye.EQUALS:case Ye.COMMA:case Ye.PERIOD:case Ye.SLASH:case Ye.APOSTROPHE:case Ye.SINGLE_QUOTE:case Ye.OPEN_SQUARE_BRACKET:case Ye.BACKSLASH:case Ye.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},We=Ye,St=ie(47655);function lt(Ue,tt,tn){var Pt=Le.useRef({});return(!("value"in Pt.current)||tn(Pt.current.condition,tt))&&(Pt.current.value=Ue(),Pt.current.condition=tt),Pt.current.value}function zt(Ue,tt){typeof Ue=="function"?Ue(tt):(0,me.Z)(Ue)==="object"&&Ue&&"current"in Ue&&(Ue.current=tt)}function Dt(){for(var Ue=arguments.length,tt=new Array(Ue),tn=0;tn<Ue;tn++)tt[tn]=arguments[tn];var Pt=tt.filter(function(xn){return xn});return Pt.length<=1?Pt[0]:function(xn){tt.forEach(function(Zn){zt(Zn,xn)})}}function pn(){for(var Ue=arguments.length,tt=new Array(Ue),tn=0;tn<Ue;tn++)tt[tn]=arguments[tn];return lt(function(){return Dt.apply(void 0,tt)},tt,function(Pt,xn){return Pt.length===xn.length&&Pt.every(function(Zn,Jn){return Zn===xn[Jn]})})}function Kn(Ue){var tt,tn,Pt=isMemo(Ue)?Ue.type.type:Ue.type;return!(typeof Pt=="function"&&!((tt=Pt.prototype)!==null&&tt!==void 0&&tt.render)||typeof Ue=="function"&&!((tn=Ue.prototype)!==null&&tn!==void 0&&tn.render))}var tr=function(tt){var tn=tt.className,Pt=tt.customizeIcon,xn=tt.customizeIconProps,Zn=tt.onMouseDown,Jn=tt.onClick,yr=tt.children,xt;return typeof Pt=="function"?xt=Pt(xn):xt=Pt,Le.createElement("span",{className:tn,onMouseDown:function(Lt){Lt.preventDefault(),Zn&&Zn(Lt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Jn,"aria-hidden":!0},xt!==void 0?xt:Le.createElement("span",{className:Oe()(tn.split(/\s+/).map(function(ct){return"".concat(ct,"-icon")}))},yr))},it=tr;function Ce(Ue,tt,tn,Pt,xn){var Zn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Jn=arguments.length>6?arguments[6]:void 0,yr=arguments.length>7?arguments[7]:void 0,xt=Le.useMemo(function(){if((0,me.Z)(Pt)==="object")return Pt.clearIcon;if(xn)return xn},[Pt,xn]),ct=Le.useMemo(function(){return!!(!Zn&&Pt&&(tn.length||Jn)&&!(yr==="combobox"&&Jn===""))},[Pt,Zn,tn.length,Jn,yr]);return{allowClear:ct,clearIcon:Le.createElement(it,{className:"".concat(Ue,"-clear"),onMouseDown:tt,customizeIcon:xt},"\xD7")}}var wt=Le.createContext(null);function An(){return Le.useContext(wt)}function Tt(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,tt=Le.useState(!1),tn=(0,ke.Z)(tt,2),Pt=tn[0],xn=tn[1],Zn=Le.useRef(null),Jn=function(){window.clearTimeout(Zn.current)};Le.useEffect(function(){return Jn},[]);var yr=function(ct,Lt){Jn(),Zn.current=window.setTimeout(function(){xn(ct),Lt&&Lt()},Ue)};return[Pt,yr,Jn]}function rt(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,tt=Le.useRef(null),tn=Le.useRef(null);Le.useEffect(function(){return function(){window.clearTimeout(tn.current)}},[]);function Pt(xn){(xn||tt.current===null)&&(tt.current=xn),window.clearTimeout(tn.current),tn.current=window.setTimeout(function(){tt.current=null},Ue)}return[function(){return tt.current},Pt]}function ft(Ue,tt,tn,Pt){var xn=Le.useRef(null);xn.current={open:tt,triggerOpen:tn,customizedTrigger:Pt},Le.useEffect(function(){function Zn(Jn){var yr;if(!((yr=xn.current)!==null&&yr!==void 0&&yr.customizedTrigger)){var xt=Jn.target;xt.shadowRoot&&Jn.composed&&(xt=Jn.composedPath()[0]||xt),xn.current.open&&Ue().filter(function(ct){return ct}).every(function(ct){return!ct.contains(xt)&&ct!==xt})&&xn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Zn),function(){return window.removeEventListener("mousedown",Zn)}},[])}var Wt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,qt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Xt="".concat(Wt," ").concat(qt).split(/[\s\n]+/),Ht="aria-",un="data-";function kn(Ue,tt){return Ue.indexOf(tt)===0}function yn(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tn;tt===!1?tn={aria:!0,data:!0,attr:!0}:tt===!0?tn={aria:!0}:tn=(0,Ee.Z)({},tt);var Pt={};return Object.keys(Ue).forEach(function(xn){(tn.aria&&(xn==="role"||kn(xn,Ht))||tn.data&&kn(xn,un)||tn.attr&&Xt.includes(xn))&&(Pt[xn]=Ue[xn])}),Pt}var Fe=ie(48555),ce=ie(14075),ue=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],pe=void 0;function de(Ue,tt){var tn=Ue.prefixCls,Pt=Ue.invalidate,xn=Ue.item,Zn=Ue.renderItem,Jn=Ue.responsive,yr=Ue.responsiveDisabled,xt=Ue.registerSize,ct=Ue.itemKey,Lt=Ue.className,dn=Ue.style,qn=Ue.children,In=Ue.display,wn=Ue.order,xr=Ue.component,pr=xr===void 0?"div":xr,Pr=(0,ye.Z)(Ue,ue),dr=Jn&&!In;function Vn(Gr){xt(ct,Gr)}Le.useEffect(function(){return function(){Vn(null)}},[]);var Hr=Zn&&xn!==pe?Zn(xn):qn,ni;Pt||(ni={opacity:dr?0:1,height:dr?0:pe,overflowY:dr?"hidden":pe,order:Jn?wn:pe,pointerEvents:dr?"none":pe,position:dr?"absolute":pe});var Wr={};dr&&(Wr["aria-hidden"]=!0);var Nr=Le.createElement(pr,(0,Re.Z)({className:Oe()(!Pt&&tn,Lt),style:(0,Ee.Z)((0,Ee.Z)({},ni),dn)},Wr,Pr,{ref:tt}),Hr);return Jn&&(Nr=Le.createElement(Fe.Z,{onResize:function(Li){var xi=Li.offsetWidth;Vn(xi)},disabled:yr},Nr)),Nr}var le=Le.forwardRef(de);le.displayName="Item";var De=le,Ke=ie(77527),Et=ie(73935),Yt=ie(96523);function Kt(Ue){if(typeof MessageChannel=="undefined")(0,Yt.Z)(Ue);else{var tt=new MessageChannel;tt.port1.onmessage=function(){return Ue()},tt.port2.postMessage(void 0)}}function nn(){var Ue=Le.useRef(null),tt=function(Pt){Ue.current||(Ue.current=[],Kt(function(){(0,Et.unstable_batchedUpdates)(function(){Ue.current.forEach(function(xn){xn()}),Ue.current=null})})),Ue.current.push(Pt)};return tt}function $t(Ue,tt){var tn=Le.useState(tt),Pt=(0,ke.Z)(tn,2),xn=Pt[0],Zn=Pt[1],Jn=(0,Ke.Z)(function(yr){Ue(function(){Zn(yr)})});return[xn,Jn]}var gr=Le.createContext(null),kr=["component"],rn=["className"],gn=["className"],hr=function(tt,tn){var Pt=Le.useContext(gr);if(!Pt){var xn=tt.component,Zn=xn===void 0?"div":xn,Jn=(0,ye.Z)(tt,kr);return Le.createElement(Zn,(0,Re.Z)({},Jn,{ref:tn}))}var yr=Pt.className,xt=(0,ye.Z)(Pt,rn),ct=tt.className,Lt=(0,ye.Z)(tt,gn);return Le.createElement(gr.Provider,{value:null},Le.createElement(De,(0,Re.Z)({ref:tn,className:Oe()(yr,ct)},xt,Lt)))},Er=Le.forwardRef(hr);Er.displayName="RawItem";var yt=Er,It=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],$n="responsive",Qn="invalidate";function wr(Ue){return"+ ".concat(Ue.length," ...")}function _r(Ue,tt){var tn=Ue.prefixCls,Pt=tn===void 0?"rc-overflow":tn,xn=Ue.data,Zn=xn===void 0?[]:xn,Jn=Ue.renderItem,yr=Ue.renderRawItem,xt=Ue.itemKey,ct=Ue.itemWidth,Lt=ct===void 0?10:ct,dn=Ue.ssr,qn=Ue.style,In=Ue.className,wn=Ue.maxCount,xr=Ue.renderRest,pr=Ue.renderRawRest,Pr=Ue.suffix,dr=Ue.component,Vn=dr===void 0?"div":dr,Hr=Ue.itemComponent,ni=Ue.onVisibleChange,Wr=(0,ye.Z)(Ue,It),Nr=dn==="full",Gr=nn(),Li=$t(Gr,null),xi=(0,ke.Z)(Li,2),Ei=xi[0],$i=xi[1],Aa=Ei||0,_i=$t(Gr,new Map),la=(0,ke.Z)(_i,2),Ai=la[0],Ki=la[1],ua=$t(Gr,0),pa=(0,ke.Z)(ua,2),ao=pa[0],no=pa[1],ro=$t(Gr,0),Ha=(0,ke.Z)(ro,2),wa=Ha[0],Wi=Ha[1],co=$t(Gr,0),aa=(0,ke.Z)(co,2),Bi=aa[0],ma=aa[1],Ja=(0,Le.useState)(null),Ba=(0,ke.Z)(Ja,2),Va=Ba[0],na=Ba[1],oo=(0,Le.useState)(null),fo=(0,ke.Z)(oo,2),to=fo[0],ho=fo[1],bo=Le.useMemo(function(){return to===null&&Nr?Number.MAX_SAFE_INTEGER:to||0},[to,Ei]),Lo=(0,Le.useState)(!1),io=(0,ke.Z)(Lo,2),lo=io[0],Ko=io[1],Wo="".concat(Pt,"-item"),Jo=Math.max(ao,wa),Fo=wn===$n,po=Zn.length&&Fo,ga=wn===Qn,Sa=po||typeof wn=="number"&&Zn.length>wn,qa=(0,Le.useMemo)(function(){var Cn=Zn;return po?Ei===null&&Nr?Cn=Zn:Cn=Zn.slice(0,Math.min(Zn.length,Aa/Lt)):typeof wn=="number"&&(Cn=Zn.slice(0,wn)),Cn},[Zn,Lt,Ei,wn,po]),mo=(0,Le.useMemo)(function(){return po?Zn.slice(bo+1):Zn.slice(qa.length)},[Zn,qa,po,bo]),Io=(0,Le.useCallback)(function(Cn,hn){var nr;return typeof xt=="function"?xt(Cn):(nr=xt&&(Cn==null?void 0:Cn[xt]))!==null&&nr!==void 0?nr:hn},[xt]),Go=(0,Le.useCallback)(Jn||function(Cn){return Cn},[Jn]);function qo(Cn,hn,nr){to===Cn&&(hn===void 0||hn===Va)||(ho(Cn),nr||(Ko(Cn<Zn.length-1),ni==null||ni(Cn)),hn!==void 0&&na(hn))}function ls(Cn,hn){$i(hn.clientWidth)}function Ss(Cn,hn){Ki(function(nr){var Dn=new Map(nr);return hn===null?Dn.delete(Cn):Dn.set(Cn,hn),Dn})}function $o(Cn,hn){Wi(hn),no(wa)}function Cs(Cn,hn){ma(hn)}function ja(Cn){return Ai.get(Io(qa[Cn],Cn))}(0,ce.Z)(function(){if(Aa&&typeof Jo=="number"&&qa){var Cn=Bi,hn=qa.length,nr=hn-1;if(!hn){qo(0,null);return}for(var Dn=0;Dn<hn;Dn+=1){var Pn=ja(Dn);if(Nr&&(Pn=Pn||0),Pn===void 0){qo(Dn-1,void 0,!0);break}if(Cn+=Pn,nr===0&&Cn<=Aa||Dn===nr-1&&Cn+ja(nr)<=Aa){qo(nr,null);break}else if(Cn+Jo>Aa){qo(Dn-1,Cn-Pn-Bi+wa);break}}Pr&&ja(0)+Bi>Aa&&na(null)}},[Aa,Ai,wa,Bi,Io,qa]);var be=lo&&!!mo.length,Be={};Va!==null&&po&&(Be={position:"absolute",left:Va,top:0});var Pe={prefixCls:Wo,responsive:po,component:Hr,invalidate:ga},gt=yr?function(Cn,hn){var nr=Io(Cn,hn);return Le.createElement(gr.Provider,{key:nr,value:(0,Ee.Z)((0,Ee.Z)({},Pe),{},{order:hn,item:Cn,itemKey:nr,registerSize:Ss,display:hn<=bo})},yr(Cn,hn))}:function(Cn,hn){var nr=Io(Cn,hn);return Le.createElement(De,(0,Re.Z)({},Pe,{order:hn,key:nr,item:Cn,renderItem:Go,itemKey:nr,registerSize:Ss,display:hn<=bo}))},vt,vn={order:be?bo:Number.MAX_SAFE_INTEGER,className:"".concat(Wo,"-rest"),registerSize:$o,display:be};if(pr)pr&&(vt=Le.createElement(gr.Provider,{value:(0,Ee.Z)((0,Ee.Z)({},Pe),vn)},pr(mo)));else{var ln=xr||wr;vt=Le.createElement(De,(0,Re.Z)({},Pe,vn),typeof ln=="function"?ln(mo):ln)}var Un=Le.createElement(Vn,(0,Re.Z)({className:Oe()(!ga&&Pt,In),style:qn,ref:tt},Wr),qa.map(gt),Sa?vt:null,Pr&&Le.createElement(De,(0,Re.Z)({},Pe,{responsive:Fo,responsiveDisabled:!po,order:bo,className:"".concat(Wo,"-suffix"),registerSize:Cs,display:!0,style:Be}),Pr));return Fo&&(Un=Le.createElement(Fe.Z,{onResize:ls,disabled:!po},Un)),Un}var ei=Le.forwardRef(_r);ei.displayName="Overflow",ei.Item=yt,ei.RESPONSIVE=$n,ei.INVALIDATE=Qn;var Xr=ei,ri=Xr,fi=function(tt,tn){var Pt,xn,Zn=tt.prefixCls,Jn=tt.id,yr=tt.inputElement,xt=tt.disabled,ct=tt.tabIndex,Lt=tt.autoFocus,dn=tt.autoComplete,qn=tt.editable,In=tt.activeDescendantId,wn=tt.value,xr=tt.maxLength,pr=tt.onKeyDown,Pr=tt.onMouseDown,dr=tt.onChange,Vn=tt.onPaste,Hr=tt.onCompositionStart,ni=tt.onCompositionEnd,Wr=tt.open,Nr=tt.attrs,Gr=yr||Le.createElement("input",null),Li=Gr,xi=Li.ref,Ei=Li.props,$i=Ei.onKeyDown,Aa=Ei.onChange,_i=Ei.onMouseDown,la=Ei.onCompositionStart,Ai=Ei.onCompositionEnd,Ki=Ei.style;return"maxLength"in Gr.props,Gr=Le.cloneElement(Gr,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({type:"search"},Ei),{},{id:Jn,ref:Dt(tn,xi),disabled:xt,tabIndex:ct,autoComplete:dn||"off",autoFocus:Lt,className:Oe()("".concat(Zn,"-selection-search-input"),(Pt=Gr)===null||Pt===void 0||(xn=Pt.props)===null||xn===void 0?void 0:xn.className),role:"combobox","aria-label":"Search","aria-expanded":Wr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Jn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Jn,"_list"),"aria-activedescendant":Wr?In:void 0},Nr),{},{value:qn?wn:"",maxLength:xr,readOnly:!qn,unselectable:qn?null:"on",style:(0,Ee.Z)((0,Ee.Z)({},Ki),{},{opacity:qn?null:0}),onKeyDown:function(pa){pr(pa),$i&&$i(pa)},onMouseDown:function(pa){Pr(pa),_i&&_i(pa)},onChange:function(pa){dr(pa),Aa&&Aa(pa)},onCompositionStart:function(pa){Hr(pa),la&&la(pa)},onCompositionEnd:function(pa){ni(pa),Ai&&Ai(pa)},onPaste:Vn})),Gr},Cr=Le.forwardRef(fi);Cr.displayName="Input";var yi=Cr;function Gi(Ue){return Array.isArray(Ue)?Ue:Ue!==void 0?[Ue]:[]}var oi=typeof window!="undefined"&&window.document&&window.document.documentElement,ea=oi;function Di(Ue){return Ue!=null}function Ot(Ue){return!Ue&&Ue!==0}function Nt(Ue){return["string","number"].includes((0,me.Z)(Ue))}function cn(Ue){var tt=void 0;return Ue&&(Nt(Ue.title)?tt=Ue.title.toString():Nt(Ue.label)&&(tt=Ue.label.toString())),tt}function bn(Ue,tt){ea?Le.useLayoutEffect(Ue,tt):Le.useEffect(Ue,tt)}function rr(Ue){var tt;return(tt=Ue.key)!==null&&tt!==void 0?tt:Ue.value}var Fn=function(tt){tt.preventDefault(),tt.stopPropagation()},ir=function(tt){var tn=tt.id,Pt=tt.prefixCls,xn=tt.values,Zn=tt.open,Jn=tt.searchValue,yr=tt.autoClearSearchValue,xt=tt.inputRef,ct=tt.placeholder,Lt=tt.disabled,dn=tt.mode,qn=tt.showSearch,In=tt.autoFocus,wn=tt.autoComplete,xr=tt.activeDescendantId,pr=tt.tabIndex,Pr=tt.removeIcon,dr=tt.maxTagCount,Vn=tt.maxTagTextLength,Hr=tt.maxTagPlaceholder,ni=Hr===void 0?function(na){return"+ ".concat(na.length," ...")}:Hr,Wr=tt.tagRender,Nr=tt.onToggleOpen,Gr=tt.onRemove,Li=tt.onInputChange,xi=tt.onInputPaste,Ei=tt.onInputKeyDown,$i=tt.onInputMouseDown,Aa=tt.onInputCompositionStart,_i=tt.onInputCompositionEnd,la=Le.useRef(null),Ai=(0,Le.useState)(0),Ki=(0,ke.Z)(Ai,2),ua=Ki[0],pa=Ki[1],ao=(0,Le.useState)(!1),no=(0,ke.Z)(ao,2),ro=no[0],Ha=no[1],wa="".concat(Pt,"-selection"),Wi=Zn||dn==="multiple"&&yr===!1||dn==="tags"?Jn:"",co=dn==="tags"||dn==="multiple"&&yr===!1||qn&&(Zn||ro);bn(function(){pa(la.current.scrollWidth)},[Wi]);function aa(na,oo,fo,to,ho){return Le.createElement("span",{className:Oe()("".concat(wa,"-item"),(0,ve.Z)({},"".concat(wa,"-item-disabled"),fo)),title:cn(na)},Le.createElement("span",{className:"".concat(wa,"-item-content")},oo),to&&Le.createElement(it,{className:"".concat(wa,"-item-remove"),onMouseDown:Fn,onClick:ho,customizeIcon:Pr},"\xD7"))}function Bi(na,oo,fo,to,ho){var bo=function(io){Fn(io),Nr(!Zn)};return Le.createElement("span",{onMouseDown:bo},Wr({label:oo,value:na,disabled:fo,closable:to,onClose:ho}))}function ma(na){var oo=na.disabled,fo=na.label,to=na.value,ho=!Lt&&!oo,bo=fo;if(typeof Vn=="number"&&(typeof fo=="string"||typeof fo=="number")){var Lo=String(bo);Lo.length>Vn&&(bo="".concat(Lo.slice(0,Vn),"..."))}var io=function(Ko){Ko&&Ko.stopPropagation(),Gr(na)};return typeof Wr=="function"?Bi(to,bo,oo,ho,io):aa(na,bo,oo,ho,io)}function Ja(na){var oo=typeof ni=="function"?ni(na):ni;return aa({title:oo},oo,!1)}var Ba=Le.createElement("div",{className:"".concat(wa,"-search"),style:{width:ua},onFocus:function(){Ha(!0)},onBlur:function(){Ha(!1)}},Le.createElement(yi,{ref:xt,open:Zn,prefixCls:Pt,id:tn,inputElement:null,disabled:Lt,autoFocus:In,autoComplete:wn,editable:co,activeDescendantId:xr,value:Wi,onKeyDown:Ei,onMouseDown:$i,onChange:Li,onPaste:xi,onCompositionStart:Aa,onCompositionEnd:_i,tabIndex:pr,attrs:yn(tt,!0)}),Le.createElement("span",{ref:la,className:"".concat(wa,"-search-mirror"),"aria-hidden":!0},Wi,"\xA0")),Va=Le.createElement(ri,{prefixCls:"".concat(wa,"-overflow"),data:xn,renderItem:ma,renderRest:Ja,suffix:Ba,itemKey:rr,maxCount:dr});return Le.createElement(Le.Fragment,null,Va,!xn.length&&!Wi&&Le.createElement("span",{className:"".concat(wa,"-placeholder")},ct))},Xn=ir,pt=function(tt){var tn=tt.inputElement,Pt=tt.prefixCls,xn=tt.id,Zn=tt.inputRef,Jn=tt.disabled,yr=tt.autoFocus,xt=tt.autoComplete,ct=tt.activeDescendantId,Lt=tt.mode,dn=tt.open,qn=tt.values,In=tt.placeholder,wn=tt.tabIndex,xr=tt.showSearch,pr=tt.searchValue,Pr=tt.activeValue,dr=tt.maxLength,Vn=tt.onInputKeyDown,Hr=tt.onInputMouseDown,ni=tt.onInputChange,Wr=tt.onInputPaste,Nr=tt.onInputCompositionStart,Gr=tt.onInputCompositionEnd,Li=tt.title,xi=Le.useState(!1),Ei=(0,ke.Z)(xi,2),$i=Ei[0],Aa=Ei[1],_i=Lt==="combobox",la=_i||xr,Ai=qn[0],Ki=pr||"";_i&&Pr&&!$i&&(Ki=Pr),Le.useEffect(function(){_i&&Aa(!1)},[_i,Pr]);var ua=Lt!=="combobox"&&!dn&&!xr?!1:!!Ki,pa=Li===void 0?cn(Ai):Li,ao=function(){if(Ai)return null;var ro=ua?{visibility:"hidden"}:void 0;return Le.createElement("span",{className:"".concat(Pt,"-selection-placeholder"),style:ro},In)};return Le.createElement(Le.Fragment,null,Le.createElement("span",{className:"".concat(Pt,"-selection-search")},Le.createElement(yi,{ref:Zn,prefixCls:Pt,id:xn,open:dn,inputElement:tn,disabled:Jn,autoFocus:yr,autoComplete:xt,editable:la,activeDescendantId:ct,value:Ki,onKeyDown:Vn,onMouseDown:Hr,onChange:function(ro){Aa(!0),ni(ro)},onPaste:Wr,onCompositionStart:Nr,onCompositionEnd:Gr,tabIndex:wn,attrs:yn(tt,!0),maxLength:_i?dr:void 0})),!_i&&Ai?Le.createElement("span",{className:"".concat(Pt,"-selection-item"),title:pa,style:ua?{visibility:"hidden"}:void 0},Ai.label):null,ao())},At=pt;function Mt(Ue){return![We.ESC,We.SHIFT,We.BACKSPACE,We.TAB,We.WIN_KEY,We.ALT,We.META,We.WIN_KEY_RIGHT,We.CTRL,We.SEMICOLON,We.EQUALS,We.CAPS_LOCK,We.CONTEXT_MENU,We.F1,We.F2,We.F3,We.F4,We.F5,We.F6,We.F7,We.F8,We.F9,We.F10,We.F11,We.F12].includes(Ue)}var fn=function(tt,tn){var Pt=(0,Le.useRef)(null),xn=(0,Le.useRef)(!1),Zn=tt.prefixCls,Jn=tt.open,yr=tt.mode,xt=tt.showSearch,ct=tt.tokenWithEnter,Lt=tt.autoClearSearchValue,dn=tt.onSearch,qn=tt.onSearchSubmit,In=tt.onToggleOpen,wn=tt.onInputKeyDown,xr=tt.domRef;Le.useImperativeHandle(tn,function(){return{focus:function(){Pt.current.focus()},blur:function(){Pt.current.blur()}}});var pr=rt(0),Pr=(0,ke.Z)(pr,2),dr=Pr[0],Vn=Pr[1],Hr=function(Ki){var ua=Ki.which;(ua===We.UP||ua===We.DOWN)&&Ki.preventDefault(),wn&&wn(Ki),ua===We.ENTER&&yr==="tags"&&!xn.current&&!Jn&&(qn==null||qn(Ki.target.value)),Mt(ua)&&In(!0)},ni=function(){Vn(!0)},Wr=(0,Le.useRef)(null),Nr=function(Ki){dn(Ki,!0,xn.current)!==!1&&In(!0)},Gr=function(){xn.current=!0},Li=function(Ki){xn.current=!1,yr!=="combobox"&&Nr(Ki.target.value)},xi=function(Ki){var ua=Ki.target.value;if(ct&&Wr.current&&/[\r\n]/.test(Wr.current)){var pa=Wr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ua=ua.replace(pa,Wr.current)}Wr.current=null,Nr(ua)},Ei=function(Ki){var ua=Ki.clipboardData,pa=ua.getData("text");Wr.current=pa},$i=function(Ki){var ua=Ki.target;if(ua!==Pt.current){var pa=document.body.style.msTouchAction!==void 0;pa?setTimeout(function(){Pt.current.focus()}):Pt.current.focus()}},Aa=function(Ki){var ua=dr();Ki.target!==Pt.current&&!ua&&yr!=="combobox"&&Ki.preventDefault(),(yr!=="combobox"&&(!xt||!ua)||!Jn)&&(Jn&&Lt!==!1&&dn("",!0,!1),In())},_i={inputRef:Pt,onInputKeyDown:Hr,onInputMouseDown:ni,onInputChange:xi,onInputPaste:Ei,onInputCompositionStart:Gr,onInputCompositionEnd:Li},la=yr==="multiple"||yr==="tags"?Le.createElement(Xn,(0,Re.Z)({},tt,_i)):Le.createElement(At,(0,Re.Z)({},tt,_i));return Le.createElement("div",{ref:xr,className:"".concat(Zn,"-selector"),onClick:$i,onMouseDown:Aa},la)},$e=Le.forwardRef(fn);$e.displayName="Selector";var Ft=$e,on=ie(62709),_t=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],En=function(tt){var tn=tt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:tn,adjustY:1},htmlRegion:"scroll"}}},Sn=function(tt,tn){var Pt=tt.prefixCls,xn=tt.disabled,Zn=tt.visible,Jn=tt.children,yr=tt.popupElement,xt=tt.animation,ct=tt.transitionName,Lt=tt.dropdownStyle,dn=tt.dropdownClassName,qn=tt.direction,In=qn===void 0?"ltr":qn,wn=tt.placement,xr=tt.builtinPlacements,pr=tt.dropdownMatchSelectWidth,Pr=tt.dropdownRender,dr=tt.dropdownAlign,Vn=tt.getPopupContainer,Hr=tt.empty,ni=tt.getTriggerDOMNode,Wr=tt.onPopupVisibleChange,Nr=tt.onPopupMouseEnter,Gr=(0,ye.Z)(tt,_t),Li="".concat(Pt,"-dropdown"),xi=yr;Pr&&(xi=Pr(yr));var Ei=Le.useMemo(function(){return xr||En(pr)},[xr,pr]),$i=xt?"".concat(Li,"-").concat(xt):ct,Aa=typeof pr=="number",_i=Le.useMemo(function(){return Aa?null:pr===!1?"minWidth":"width"},[pr,Aa]),la=Lt;Aa&&(la=(0,Ee.Z)((0,Ee.Z)({},la),{},{width:pr}));var Ai=Le.useRef(null);return Le.useImperativeHandle(tn,function(){return{getPopupElement:function(){return Ai.current}}}),Le.createElement(on.Z,(0,Re.Z)({},Gr,{showAction:Wr?["click"]:[],hideAction:Wr?["click"]:[],popupPlacement:wn||(In==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ei,prefixCls:Li,popupTransitionName:$i,popup:Le.createElement("div",{ref:Ai,onMouseEnter:Nr},xi),stretch:_i,popupAlign:dr,popupVisible:Zn,getPopupContainer:Vn,popupClassName:Oe()(dn,(0,ve.Z)({},"".concat(Li,"-empty"),Hr)),popupStyle:la,getTriggerDOMNode:ni,onPopupVisibleChange:Wr}),Jn)},Bn=Le.forwardRef(Sn);Bn.displayName="SelectTrigger";var Qr=Bn,Lr=ie(84506);function Sr(Ue,tt){var tn=Ue.key,Pt;return"value"in Ue&&(Pt=Ue.value),tn!=null?tn:Pt!==void 0?Pt:"rc-index-key-".concat(tt)}function jr(Ue,tt){var tn=Ue||{},Pt=tn.label,xn=tn.value,Zn=tn.options,Jn=tn.groupLabel,yr=Pt||(tt?"children":"label");return{label:yr,value:xn||"value",options:Zn||"options",groupLabel:Jn||yr}}function zr(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tn=tt.fieldNames,Pt=tt.childrenAsData,xn=[],Zn=jr(tn,!1),Jn=Zn.label,yr=Zn.value,xt=Zn.options,ct=Zn.groupLabel;function Lt(dn,qn){dn.forEach(function(In){if(qn||!(xt in In)){var wn=In[yr];xn.push({key:Sr(In,xn.length),groupOption:qn,data:In,label:In[Jn],value:wn})}else{var xr=In[ct];xr===void 0&&Pt&&(xr=In.label),xn.push({key:Sr(In,xn.length),group:!0,data:In,label:xr}),Lt(In[xt],!0)}})}return Lt(Ue,!1),xn}function Rt(Ue){var tt=(0,Ee.Z)({},Ue);return"props"in tt||Object.defineProperty(tt,"props",{get:function(){return Ge(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),tt}}),tt}function kt(Ue,tt){if(!tt||!tt.length)return null;var tn=!1;function Pt(Zn,Jn){var yr=(0,Lr.Z)(Jn),xt=yr[0],ct=yr.slice(1);if(!xt)return[Zn];var Lt=Zn.split(xt);return tn=tn||Lt.length>1,Lt.reduce(function(dn,qn){return[].concat((0,Ze.Z)(dn),(0,Ze.Z)(Pt(qn,ct)))},[]).filter(function(dn){return dn})}var xn=Pt(Ue,tt);return tn?xn:null}var jt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],zn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function lr(Ue){return Ue==="tags"||Ue==="multiple"}var Hn=Le.forwardRef(function(Ue,tt){var tn,Pt,xn=Ue.id,Zn=Ue.prefixCls,Jn=Ue.className,yr=Ue.showSearch,xt=Ue.tagRender,ct=Ue.direction,Lt=Ue.omitDomProps,dn=Ue.displayValues,qn=Ue.onDisplayValuesChange,In=Ue.emptyOptions,wn=Ue.notFoundContent,xr=wn===void 0?"Not Found":wn,pr=Ue.onClear,Pr=Ue.mode,dr=Ue.disabled,Vn=Ue.loading,Hr=Ue.getInputElement,ni=Ue.getRawInputElement,Wr=Ue.open,Nr=Ue.defaultOpen,Gr=Ue.onDropdownVisibleChange,Li=Ue.activeValue,xi=Ue.onActiveValueChange,Ei=Ue.activeDescendantId,$i=Ue.searchValue,Aa=Ue.autoClearSearchValue,_i=Ue.onSearch,la=Ue.onSearchSplit,Ai=Ue.tokenSeparators,Ki=Ue.allowClear,ua=Ue.suffixIcon,pa=Ue.clearIcon,ao=Ue.OptionList,no=Ue.animation,ro=Ue.transitionName,Ha=Ue.dropdownStyle,wa=Ue.dropdownClassName,Wi=Ue.dropdownMatchSelectWidth,co=Ue.dropdownRender,aa=Ue.dropdownAlign,Bi=Ue.placement,ma=Ue.builtinPlacements,Ja=Ue.getPopupContainer,Ba=Ue.showAction,Va=Ba===void 0?[]:Ba,na=Ue.onFocus,oo=Ue.onBlur,fo=Ue.onKeyUp,to=Ue.onKeyDown,ho=Ue.onMouseDown,bo=(0,ye.Z)(Ue,jt),Lo=lr(Pr),io=(yr!==void 0?yr:Lo)||Pr==="combobox",lo=(0,Ee.Z)({},bo);zn.forEach(function(Ma){delete lo[Ma]}),Lt==null||Lt.forEach(function(Ma){delete lo[Ma]});var Ko=Le.useState(!1),Wo=(0,ke.Z)(Ko,2),Jo=Wo[0],Fo=Wo[1];Le.useEffect(function(){Fo(qe())},[]);var po=Le.useRef(null),ga=Le.useRef(null),Sa=Le.useRef(null),qa=Le.useRef(null),mo=Le.useRef(null),Io=Tt(),Go=(0,ke.Z)(Io,3),qo=Go[0],ls=Go[1],Ss=Go[2];Le.useImperativeHandle(tt,function(){var Ma,ba;return{focus:(Ma=qa.current)===null||Ma===void 0?void 0:Ma.focus,blur:(ba=qa.current)===null||ba===void 0?void 0:ba.blur,scrollTo:function(Ao){var Ta;return(Ta=mo.current)===null||Ta===void 0?void 0:Ta.scrollTo(Ao)}}});var $o=Le.useMemo(function(){var Ma;if(Pr!=="combobox")return $i;var ba=(Ma=dn[0])===null||Ma===void 0?void 0:Ma.value;return typeof ba=="string"||typeof ba=="number"?String(ba):""},[$i,Pr,dn]),Cs=Pr==="combobox"&&typeof Hr=="function"&&Hr()||null,ja=typeof ni=="function"&&ni(),be=pn(ga,ja==null||(tn=ja.props)===null||tn===void 0?void 0:tn.ref),Be=Le.useState(!1),Pe=(0,ke.Z)(Be,2),gt=Pe[0],vt=Pe[1];ot(function(){vt(!0)},[]);var vn=ut(!1,{defaultValue:Nr,value:Wr}),ln=(0,ke.Z)(vn,2),Un=ln[0],Cn=ln[1],hn=gt?Un:!1,nr=!xr&&In;(dr||nr&&hn&&Pr==="combobox")&&(hn=!1);var Dn=nr?!1:hn,Pn=Le.useCallback(function(Ma){var ba=Ma!==void 0?Ma:!hn;dr||(Cn(ba),hn!==ba&&(Gr==null||Gr(ba)))},[dr,hn,Cn,Gr]),vr=Le.useMemo(function(){return(Ai||[]).some(function(Ma){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ma)})},[Ai]),br=function(ba,Bo,Ao){var Ta=!0,$a=ba;xi==null||xi(null);var zi=Ao?null:kt(ba,Ai);return Pr!=="combobox"&&zi&&($a="",la==null||la(zi),Pn(!1),Ta=!1),_i&&$o!==$a&&_i($a,{source:Bo?"typing":"effect"}),Ta},Rn=function(ba){!ba||!ba.trim()||_i(ba,{source:"submit"})};Le.useEffect(function(){!hn&&!Lo&&Pr!=="combobox"&&br("",!1,!1)},[hn]),Le.useEffect(function(){Un&&dr&&Cn(!1),dr&&ls(!1)},[dr]);var fr=rt(),Rr=(0,ke.Z)(fr,2),Ur=Rr[0],ii=Rr[1],bi=function(ba){var Bo=Ur(),Ao=ba.which;if(Ao===We.ENTER&&(Pr!=="combobox"&&ba.preventDefault(),hn||Pn(!0)),ii(!!$o),Ao===We.BACKSPACE&&!Bo&&Lo&&!$o&&dn.length){for(var Ta=(0,Ze.Z)(dn),$a=null,zi=Ta.length-1;zi>=0;zi-=1){var Qa=Ta[zi];if(!Qa.disabled){Ta.splice(zi,1),$a=Qa;break}}$a&&qn(Ta,{type:"remove",values:[$a]})}for(var xo=arguments.length,Yo=new Array(xo>1?xo-1:0),Ho=1;Ho<xo;Ho++)Yo[Ho-1]=arguments[Ho];if(hn&&mo.current){var Zo;(Zo=mo.current).onKeyDown.apply(Zo,[ba].concat(Yo))}to==null||to.apply(void 0,[ba].concat(Yo))},Pi=function(ba){for(var Bo=arguments.length,Ao=new Array(Bo>1?Bo-1:0),Ta=1;Ta<Bo;Ta++)Ao[Ta-1]=arguments[Ta];if(hn&&mo.current){var $a;($a=mo.current).onKeyUp.apply($a,[ba].concat(Ao))}fo==null||fo.apply(void 0,[ba].concat(Ao))},Si=function(ba){var Bo=dn.filter(function(Ao){return Ao!==ba});qn(Bo,{type:"remove",values:[ba]})},ui=Le.useRef(!1),va=function(){ls(!0),dr||(na&&!ui.current&&na.apply(void 0,arguments),Va.includes("focus")&&Pn(!0)),ui.current=!0},ca=function(){ls(!1,function(){ui.current=!1,Pn(!1)}),!dr&&($o&&(Pr==="tags"?_i($o,{source:"submit"}):Pr==="multiple"&&_i("",{source:"blur"})),oo&&oo.apply(void 0,arguments))},Ka=[];Le.useEffect(function(){return function(){Ka.forEach(function(Ma){return clearTimeout(Ma)}),Ka.splice(0,Ka.length)}},[]);var Ya=function(ba){var Bo,Ao=ba.target,Ta=(Bo=Sa.current)===null||Bo===void 0?void 0:Bo.getPopupElement();if(Ta&&Ta.contains(Ao)){var $a=setTimeout(function(){var Yo=Ka.indexOf($a);if(Yo!==-1&&Ka.splice(Yo,1),Ss(),!Jo&&!Ta.contains(document.activeElement)){var Ho;(Ho=qa.current)===null||Ho===void 0||Ho.focus()}});Ka.push($a)}for(var zi=arguments.length,Qa=new Array(zi>1?zi-1:0),xo=1;xo<zi;xo++)Qa[xo-1]=arguments[xo];ho==null||ho.apply(void 0,[ba].concat(Qa))},La=Le.useState({}),oa=(0,ke.Z)(La,2),Ra=oa[1];function Fa(){Ra({})}var ya;ja&&(ya=function(ba){Pn(ba)}),ft(function(){var Ma;return[po.current,(Ma=Sa.current)===null||Ma===void 0?void 0:Ma.getPopupElement()]},Dn,Pn,!!ja);var Ia=Le.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},Ue),{},{notFoundContent:xr,open:hn,triggerOpen:Dn,id:xn,showSearch:io,multiple:Lo,toggleOpen:Pn})},[Ue,xr,Dn,hn,xn,io,Lo,Pn]),za=!!ua||Vn,uo;za&&(uo=Le.createElement(it,{className:Oe()("".concat(Zn,"-arrow"),(0,ve.Z)({},"".concat(Zn,"-arrow-loading"),Vn)),customizeIcon:ua,customizeIconProps:{loading:Vn,searchValue:$o,open:hn,focused:qo,showSearch:io}}));var go=function(){var ba;pr==null||pr(),(ba=qa.current)===null||ba===void 0||ba.focus(),qn([],{type:"clear",values:dn}),br("",!1,!1)},To=Ce(Zn,go,dn,Ki,pa,dr,$o,Pr),us=To.allowClear,ss=To.clearIcon,_o=Le.createElement(ao,{ref:mo}),Do=Oe()(Zn,Jn,(Pt={},(0,ve.Z)(Pt,"".concat(Zn,"-focused"),qo),(0,ve.Z)(Pt,"".concat(Zn,"-multiple"),Lo),(0,ve.Z)(Pt,"".concat(Zn,"-single"),!Lo),(0,ve.Z)(Pt,"".concat(Zn,"-allow-clear"),Ki),(0,ve.Z)(Pt,"".concat(Zn,"-show-arrow"),za),(0,ve.Z)(Pt,"".concat(Zn,"-disabled"),dr),(0,ve.Z)(Pt,"".concat(Zn,"-loading"),Vn),(0,ve.Z)(Pt,"".concat(Zn,"-open"),hn),(0,ve.Z)(Pt,"".concat(Zn,"-customize-input"),Cs),(0,ve.Z)(Pt,"".concat(Zn,"-show-search"),io),Pt)),ps=Le.createElement(Qr,{ref:Sa,disabled:dr,prefixCls:Zn,visible:Dn,popupElement:_o,animation:no,transitionName:ro,dropdownStyle:Ha,dropdownClassName:wa,direction:ct,dropdownMatchSelectWidth:Wi,dropdownRender:co,dropdownAlign:aa,placement:Bi,builtinPlacements:ma,getPopupContainer:Ja,empty:In,getTriggerDOMNode:function(){return ga.current},onPopupVisibleChange:ya,onPopupMouseEnter:Fa},ja?Le.cloneElement(ja,{ref:be}):Le.createElement(Ft,(0,Re.Z)({},Ue,{domRef:ga,prefixCls:Zn,inputElement:Cs,ref:qa,id:xn,showSearch:io,autoClearSearchValue:Aa,mode:Pr,activeDescendantId:Ei,tagRender:xt,values:dn,open:hn,onToggleOpen:Pn,activeValue:Li,searchValue:$o,onSearch:br,onSearchSubmit:Rn,onRemove:Si,tokenWithEnter:vr}))),Oo;return ja?Oo=ps:Oo=Le.createElement("div",(0,Re.Z)({className:Do},lo,{ref:po,onMouseDown:Ya,onKeyDown:bi,onKeyUp:Pi,onFocus:va,onBlur:ca}),qo&&!hn&&Le.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(dn.map(function(Ma){var ba=Ma.label,Bo=Ma.value;return["number","string"].includes((0,me.Z)(ba))?ba:Bo}).join(", "))),ps,uo,us&&ss),Le.createElement(wt.Provider,{value:Ia},Oo)}),_n=Hn,Gn=function(Ue,tt){var tn=Le.useRef({values:new Map,options:new Map}),Pt=Le.useMemo(function(){var Zn=tn.current,Jn=Zn.values,yr=Zn.options,xt=Ue.map(function(dn){if(dn.label===void 0){var qn;return(0,Ee.Z)((0,Ee.Z)({},dn),{},{label:(qn=Jn.get(dn.value))===null||qn===void 0?void 0:qn.label})}return dn}),ct=new Map,Lt=new Map;return xt.forEach(function(dn){ct.set(dn.value,dn),Lt.set(dn.value,tt.get(dn.value)||yr.get(dn.value))}),tn.current.values=ct,tn.current.options=Lt,xt},[Ue,tt]),xn=Le.useCallback(function(Zn){return tt.get(Zn)||tn.current.options.get(Zn)},[tt]);return[Pt,xn]};function or(Ue,tt){return Gi(Ue).join("").toUpperCase().includes(tt)}var Kr=function(Ue,tt,tn,Pt,xn){return Le.useMemo(function(){if(!tn||Pt===!1)return Ue;var Zn=tt.options,Jn=tt.label,yr=tt.value,xt=[],ct=typeof Pt=="function",Lt=tn.toUpperCase(),dn=ct?Pt:function(In,wn){return xn?or(wn[xn],Lt):wn[Zn]?or(wn[Jn!=="children"?Jn:"label"],Lt):or(wn[yr],Lt)},qn=ct?function(In){return Rt(In)}:function(In){return In};return Ue.forEach(function(In){if(In[Zn]){var wn=dn(tn,qn(In));if(wn)xt.push(In);else{var xr=In[Zn].filter(function(pr){return dn(tn,qn(pr))});xr.length&&xt.push((0,Ee.Z)((0,Ee.Z)({},In),{},(0,ve.Z)({},Zn,xr)))}return}dn(tn,qn(In))&&xt.push(In)}),xt},[Ue,Pt,xn,tn,tt])},Ln=0,Fi=Ie();function pi(){var Ue;return Fi?(Ue=Ln,Ln+=1):Ue="TEST_OR_SSR",Ue}function ha(Ue){var tt=Le.useState(),tn=(0,ke.Z)(tt,2),Pt=tn[0],xn=tn[1];return Le.useEffect(function(){xn("rc_select_".concat(pi()))},[]),Ue||Pt}function ra(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tn=[];return Le.Children.forEach(Ue,function(Pt){Pt==null&&!tt.keepEmpty||(Array.isArray(Pt)?tn=tn.concat(ra(Pt)):(0,St.isFragment)(Pt)&&Pt.props?tn=tn.concat(ra(Pt.props.children,tt)):tn.push(Pt))}),tn}var Qi=["children","value"],Ca=["children"];function Xi(Ue){var tt=Ue,tn=tt.key,Pt=tt.props,xn=Pt.children,Zn=Pt.value,Jn=(0,ye.Z)(Pt,Qi);return(0,Ee.Z)({key:tn,value:Zn!==void 0?Zn:tn,children:xn},Jn)}function Ri(Ue){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ra(Ue).map(function(tn,Pt){if(!Le.isValidElement(tn)||!tn.type)return null;var xn=tn,Zn=xn.type.isSelectOptGroup,Jn=xn.key,yr=xn.props,xt=yr.children,ct=(0,ye.Z)(yr,Ca);return tt||!Zn?Xi(tn):(0,Ee.Z)((0,Ee.Z)({key:"__RC_SELECT_GRP__".concat(Jn===null?Pt:Jn,"__"),label:Jn},ct),{},{options:Ri(xt)})}).filter(function(tn){return tn})}function sa(Ue,tt,tn,Pt,xn){return Le.useMemo(function(){var Zn=Ue,Jn=!Ue;Jn&&(Zn=Ri(tt));var yr=new Map,xt=new Map,ct=function(qn,In,wn){wn&&typeof wn=="string"&&qn.set(In[wn],In)};function Lt(dn){for(var qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,In=0;In<dn.length;In+=1){var wn=dn[In];!wn[tn.options]||qn?(yr.set(wn[tn.value],wn),ct(xt,wn,tn.label),ct(xt,wn,Pt),ct(xt,wn,xn)):Lt(wn[tn.options],!0)}}return Lt(Zn),{options:Zn,valueOptions:yr,labelOptions:xt}},[Ue,tt,tn,Pt,xn])}function Da(Ue){var tt=Le.useRef();tt.current=Ue;var tn=Le.useCallback(function(){return tt.current.apply(tt,arguments)},[]);return tn}var ki=function(){return null};ki.isSelectOptGroup=!0;var Ji=ki,Ea=function(){return null};Ea.isSelectOption=!0;var _a=Ea;function Oa(Ue,tt){var tn=(0,Ee.Z)({},Ue);return Array.isArray(tt)&&tt.forEach(function(Pt){delete tn[Pt]}),tn}var Oi=ie(73299),Qt=Le.createContext(null),Zt=Qt;function Mn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var jn=["disabled","title","children","style","className"];function sr(Ue){return typeof Ue=="string"||typeof Ue=="number"}var Yr=function(tt,tn){var Pt=An(),xn=Pt.prefixCls,Zn=Pt.id,Jn=Pt.open,yr=Pt.multiple,xt=Pt.mode,ct=Pt.searchValue,Lt=Pt.toggleOpen,dn=Pt.notFoundContent,qn=Pt.onPopupScroll,In=Le.useContext(Zt),wn=In.flattenOptions,xr=In.onActiveValue,pr=In.defaultActiveFirstOption,Pr=In.onSelect,dr=In.menuItemSelectedIcon,Vn=In.rawValues,Hr=In.fieldNames,ni=In.virtual,Wr=In.direction,Nr=In.listHeight,Gr=In.listItemHeight,Li="".concat(xn,"-item"),xi=lt(function(){return wn},[Jn,wn],function(aa,Bi){return Bi[0]&&aa[1]!==Bi[1]}),Ei=Le.useRef(null),$i=function(Bi){Bi.preventDefault()},Aa=function(Bi){Ei.current&&Ei.current.scrollTo(typeof Bi=="number"?{index:Bi}:Bi)},_i=function(Bi){for(var ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ja=xi.length,Ba=0;Ba<Ja;Ba+=1){var Va=(Bi+Ba*ma+Ja)%Ja,na=xi[Va],oo=na.group,fo=na.data;if(!oo&&!fo.disabled)return Va}return-1},la=Le.useState(function(){return _i(0)}),Ai=(0,ke.Z)(la,2),Ki=Ai[0],ua=Ai[1],pa=function(Bi){var ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ua(Bi);var Ja={source:ma?"keyboard":"mouse"},Ba=xi[Bi];if(!Ba){xr(null,-1,Ja);return}xr(Ba.value,Bi,Ja)};(0,Le.useEffect)(function(){pa(pr!==!1?_i(0):-1)},[xi.length,ct]);var ao=Le.useCallback(function(aa){return Vn.has(aa)&&xt!=="combobox"},[xt,(0,Ze.Z)(Vn).toString(),Vn.size]);(0,Le.useEffect)(function(){var aa=setTimeout(function(){if(!yr&&Jn&&Vn.size===1){var ma=Array.from(Vn)[0],Ja=xi.findIndex(function(Ba){var Va=Ba.data;return Va.value===ma});Ja!==-1&&(pa(Ja),Aa(Ja))}});if(Jn){var Bi;(Bi=Ei.current)===null||Bi===void 0||Bi.scrollTo(void 0)}return function(){return clearTimeout(aa)}},[Jn,ct,wn.length]);var no=function(Bi){Bi!==void 0&&Pr(Bi,{selected:!Vn.has(Bi)}),yr||Lt(!1)};if(Le.useImperativeHandle(tn,function(){return{onKeyDown:function(Bi){var ma=Bi.which,Ja=Bi.ctrlKey;switch(ma){case We.N:case We.P:case We.UP:case We.DOWN:{var Ba=0;if(ma===We.UP?Ba=-1:ma===We.DOWN?Ba=1:Mn()&&Ja&&(ma===We.N?Ba=1:ma===We.P&&(Ba=-1)),Ba!==0){var Va=_i(Ki+Ba,Ba);Aa(Va),pa(Va,!0)}break}case We.ENTER:{var na=xi[Ki];na&&!na.data.disabled?no(na.value):no(void 0),Jn&&Bi.preventDefault();break}case We.ESC:Lt(!1),Jn&&Bi.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Bi){Aa(Bi)}}}),xi.length===0)return Le.createElement("div",{role:"listbox",id:"".concat(Zn,"_list"),className:"".concat(Li,"-empty"),onMouseDown:$i},dn);var ro=Object.keys(Hr).map(function(aa){return Hr[aa]}),Ha=function(Bi){return Bi.label};function wa(aa,Bi){var ma=aa.group;return{role:ma?"presentation":"option",id:"".concat(Zn,"_list_").concat(Bi)}}var Wi=function(Bi){var ma=xi[Bi];if(!ma)return null;var Ja=ma.data||{},Ba=Ja.value,Va=ma.group,na=yn(Ja,!0),oo=Ha(ma);return ma?Le.createElement("div",(0,Re.Z)({"aria-label":typeof oo=="string"&&!Va?oo:null},na,{key:Bi},wa(ma,Bi),{"aria-selected":ao(Ba)}),Ba):null},co={role:"listbox",id:"".concat(Zn,"_list")};return Le.createElement(Le.Fragment,null,ni&&Le.createElement("div",(0,Re.Z)({},co,{style:{height:0,width:0,overflow:"hidden"}}),Wi(Ki-1),Wi(Ki),Wi(Ki+1)),Le.createElement(Oi.Z,{itemKey:"key",ref:Ei,data:xi,height:Nr,itemHeight:Gr,fullHeight:!1,onMouseDown:$i,onScroll:qn,virtual:ni,direction:Wr,innerProps:ni?null:co},function(aa,Bi){var ma,Ja=aa.group,Ba=aa.groupOption,Va=aa.data,na=aa.label,oo=aa.value,fo=Va.key;if(Ja){var to,ho=(to=Va.title)!==null&&to!==void 0?to:sr(na)?na.toString():void 0;return Le.createElement("div",{className:Oe()(Li,"".concat(Li,"-group")),title:ho},na!==void 0?na:fo)}var bo=Va.disabled,Lo=Va.title,io=Va.children,lo=Va.style,Ko=Va.className,Wo=(0,ye.Z)(Va,jn),Jo=Oa(Wo,ro),Fo=ao(oo),po="".concat(Li,"-option"),ga=Oe()(Li,po,Ko,(ma={},(0,ve.Z)(ma,"".concat(po,"-grouped"),Ba),(0,ve.Z)(ma,"".concat(po,"-active"),Ki===Bi&&!bo),(0,ve.Z)(ma,"".concat(po,"-disabled"),bo),(0,ve.Z)(ma,"".concat(po,"-selected"),Fo),ma)),Sa=Ha(aa),qa=!dr||typeof dr=="function"||Fo,mo=typeof Sa=="number"?Sa:Sa||oo,Io=sr(mo)?mo.toString():void 0;return Lo!==void 0&&(Io=Lo),Le.createElement("div",(0,Re.Z)({},yn(Jo),ni?{}:wa(aa,Bi),{"aria-selected":Fo,className:ga,title:Io,onMouseMove:function(){Ki===Bi||bo||pa(Bi)},onClick:function(){bo||no(oo)},style:lo}),Le.createElement("div",{className:"".concat(po,"-content")},mo),Le.isValidElement(dr)||Fo,qa&&Le.createElement(it,{className:"".concat(Li,"-option-state"),customizeIcon:dr,customizeIconProps:{isSelected:Fo}},Fo?"\u2713":null))}))},si=Le.forwardRef(Yr);si.displayName="OptionList";var mi=si;function Ci(Ue){var tt=Ue.mode,tn=Ue.options,Pt=Ue.children,xn=Ue.backfill,Zn=Ue.allowClear,Jn=Ue.placeholder,yr=Ue.getInputElement,xt=Ue.showSearch,ct=Ue.onSearch,Lt=Ue.defaultOpen,dn=Ue.autoFocus,qn=Ue.labelInValue,In=Ue.value,wn=Ue.inputValue,xr=Ue.optionLabelProp,pr=isMultiple(tt),Pr=xt!==void 0?xt:pr||tt==="combobox",dr=tn||convertChildrenToData(Pt);if(warning(tt!=="tags"||dr.every(function(Wr){return!Wr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),tt==="tags"||tt==="combobox"){var Vn=dr.some(function(Wr){return Wr.options?Wr.options.some(function(Nr){return typeof("value"in Nr?Nr.value:Nr.key)=="number"}):typeof("value"in Wr?Wr.value:Wr.key)=="number"});warning(!Vn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(tt!=="combobox"||!xr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(tt==="combobox"||!xn,"`backfill` only works with `combobox` mode."),warning(tt==="combobox"||!yr,"`getInputElement` only work with `combobox` mode."),noteOnce(tt!=="combobox"||!yr||!Zn||!Jn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ct&&!Pr&&tt!=="combobox"&&tt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Lt||dn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),In!=null){var Hr=toArray(In);warning(!qn||Hr.every(function(Wr){return _typeof(Wr)==="object"&&("key"in Wr||"value"in Wr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!pr||Array.isArray(In),"`value` should be array when `mode` is `multiple` or `tags`")}if(Pt){var ni=null;toNodeArray(Pt).some(function(Wr){if(!React.isValidElement(Wr)||!Wr.type)return!1;var Nr=Wr,Gr=Nr.type;if(Gr.isSelectOption)return!1;if(Gr.isSelectOptGroup){var Li=toNodeArray(Wr.props.children).every(function(xi){return!React.isValidElement(xi)||!Wr.type||xi.type.isSelectOption?!0:(ni=xi.type,!1)});return!Li}return ni=Gr,!0}),ni&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ni.displayName||ni.name||ni,"`.")),warning(wn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function gi(Ue,tt){if(Ue){var tn=function Pt(xn){for(var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jn=0;Jn<xn.length;Jn++){var yr=xn[Jn];if(yr[tt==null?void 0:tt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Zn&&Array.isArray(yr[tt==null?void 0:tt.options])&&Pt(yr[tt==null?void 0:tt.options],!0))break}};tn(Ue)}}var Ti=null,qi=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],li=["inputValue"];function Vi(Ue){return!Ue||(0,me.Z)(Ue)!=="object"}var ia=Le.forwardRef(function(Ue,tt){var tn=Ue.id,Pt=Ue.mode,xn=Ue.prefixCls,Zn=xn===void 0?"rc-select":xn,Jn=Ue.backfill,yr=Ue.fieldNames,xt=Ue.inputValue,ct=Ue.searchValue,Lt=Ue.onSearch,dn=Ue.autoClearSearchValue,qn=dn===void 0?!0:dn,In=Ue.onSelect,wn=Ue.onDeselect,xr=Ue.dropdownMatchSelectWidth,pr=xr===void 0?!0:xr,Pr=Ue.filterOption,dr=Ue.filterSort,Vn=Ue.optionFilterProp,Hr=Ue.optionLabelProp,ni=Ue.options,Wr=Ue.children,Nr=Ue.defaultActiveFirstOption,Gr=Ue.menuItemSelectedIcon,Li=Ue.virtual,xi=Ue.direction,Ei=Ue.listHeight,$i=Ei===void 0?200:Ei,Aa=Ue.listItemHeight,_i=Aa===void 0?20:Aa,la=Ue.value,Ai=Ue.defaultValue,Ki=Ue.labelInValue,ua=Ue.onChange,pa=(0,ye.Z)(Ue,qi),ao=ha(tn),no=lr(Pt),ro=!!(!ni&&Wr),Ha=Le.useMemo(function(){return Pr===void 0&&Pt==="combobox"?!1:Pr},[Pr,Pt]),wa=Le.useMemo(function(){return jr(yr,ro)},[JSON.stringify(yr),ro]),Wi=ut("",{value:ct!==void 0?ct:xt,postState:function(nr){return nr||""}}),co=(0,ke.Z)(Wi,2),aa=co[0],Bi=co[1],ma=sa(ni,Wr,wa,Vn,Hr),Ja=ma.valueOptions,Ba=ma.labelOptions,Va=ma.options,na=Le.useCallback(function(hn){var nr=Gi(hn);return nr.map(function(Dn){var Pn,vr,br,Rn,fr;if(Vi(Dn))Pn=Dn;else{var Rr;br=Dn.key,vr=Dn.label,Pn=(Rr=Dn.value)!==null&&Rr!==void 0?Rr:br}var Ur=Ja.get(Pn);if(Ur){var ii;if(vr===void 0&&(vr=Ur==null?void 0:Ur[Hr||wa.label]),br===void 0&&(br=(ii=Ur==null?void 0:Ur.key)!==null&&ii!==void 0?ii:Pn),Rn=Ur==null?void 0:Ur.disabled,fr=Ur==null?void 0:Ur.title,0)var bi}return{label:vr,value:Pn,key:br,disabled:Rn,title:fr}})},[wa,Hr,Ja]),oo=ut(Ai,{value:la}),fo=(0,ke.Z)(oo,2),to=fo[0],ho=fo[1],bo=Le.useMemo(function(){var hn,nr=na(to);return Pt==="combobox"&&Ot((hn=nr[0])===null||hn===void 0?void 0:hn.value)?[]:nr},[to,na,Pt]),Lo=Gn(bo,Ja),io=(0,ke.Z)(Lo,2),lo=io[0],Ko=io[1],Wo=Le.useMemo(function(){if(!Pt&&lo.length===1){var hn=lo[0];if(hn.value===null&&(hn.label===null||hn.label===void 0))return[]}return lo.map(function(nr){var Dn;return(0,Ee.Z)((0,Ee.Z)({},nr),{},{label:(Dn=nr.label)!==null&&Dn!==void 0?Dn:nr.value})})},[Pt,lo]),Jo=Le.useMemo(function(){return new Set(lo.map(function(hn){return hn.value}))},[lo]);Le.useEffect(function(){if(Pt==="combobox"){var hn,nr=(hn=lo[0])===null||hn===void 0?void 0:hn.value;Bi(Di(nr)?String(nr):"")}},[lo]);var Fo=Da(function(hn,nr){var Dn,Pn=nr!=null?nr:hn;return Dn={},(0,ve.Z)(Dn,wa.value,hn),(0,ve.Z)(Dn,wa.label,Pn),Dn}),po=Le.useMemo(function(){if(Pt!=="tags")return Va;var hn=(0,Ze.Z)(Va),nr=function(Pn){return Ja.has(Pn)};return(0,Ze.Z)(lo).sort(function(Dn,Pn){return Dn.value<Pn.value?-1:1}).forEach(function(Dn){var Pn=Dn.value;nr(Pn)||hn.push(Fo(Pn,Dn.label))}),hn},[Fo,Va,Ja,lo,Pt]),ga=Kr(po,wa,aa,Ha,Vn),Sa=Le.useMemo(function(){return Pt!=="tags"||!aa||ga.some(function(hn){return hn[Vn||"value"]===aa})||ga.some(function(hn){return hn[wa.value]===aa})?ga:[Fo(aa)].concat((0,Ze.Z)(ga))},[Fo,Vn,Pt,ga,aa,wa]),qa=Le.useMemo(function(){return dr?(0,Ze.Z)(Sa).sort(function(hn,nr){return dr(hn,nr)}):Sa},[Sa,dr]),mo=Le.useMemo(function(){return zr(qa,{fieldNames:wa,childrenAsData:ro})},[qa,wa,ro]),Io=function(nr){var Dn=na(nr);if(ho(Dn),ua&&(Dn.length!==lo.length||Dn.some(function(br,Rn){var fr;return((fr=lo[Rn])===null||fr===void 0?void 0:fr.value)!==(br==null?void 0:br.value)}))){var Pn=Ki?Dn:Dn.map(function(br){return br.value}),vr=Dn.map(function(br){return Rt(Ko(br.value))});ua(no?Pn:Pn[0],no?vr:vr[0])}},Go=Le.useState(null),qo=(0,ke.Z)(Go,2),ls=qo[0],Ss=qo[1],$o=Le.useState(0),Cs=(0,ke.Z)($o,2),ja=Cs[0],be=Cs[1],Be=Nr!==void 0?Nr:Pt!=="combobox",Pe=Le.useCallback(function(hn,nr){var Dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pn=Dn.source,vr=Pn===void 0?"keyboard":Pn;be(nr),Jn&&Pt==="combobox"&&hn!==null&&vr==="keyboard"&&Ss(String(hn))},[Jn,Pt]),gt=function(nr,Dn,Pn){var vr=function(){var ui,va=Ko(nr);return[Ki?{label:va==null?void 0:va[wa.label],value:nr,key:(ui=va==null?void 0:va.key)!==null&&ui!==void 0?ui:nr}:nr,Rt(va)]};if(Dn&&In){var br=vr(),Rn=(0,ke.Z)(br,2),fr=Rn[0],Rr=Rn[1];In(fr,Rr)}else if(!Dn&&wn&&Pn!=="clear"){var Ur=vr(),ii=(0,ke.Z)(Ur,2),bi=ii[0],Pi=ii[1];wn(bi,Pi)}},vt=Da(function(hn,nr){var Dn,Pn=no?nr.selected:!0;Pn?Dn=no?[].concat((0,Ze.Z)(lo),[hn]):[hn]:Dn=lo.filter(function(vr){return vr.value!==hn}),Io(Dn),gt(hn,Pn),Pt==="combobox"?Ss(""):(!lr||qn)&&(Bi(""),Ss(""))}),vn=function(nr,Dn){Io(nr);var Pn=Dn.type,vr=Dn.values;(Pn==="remove"||Pn==="clear")&&vr.forEach(function(br){gt(br.value,!1,Pn)})},ln=function(nr,Dn){if(Bi(nr),Ss(null),Dn.source==="submit"){var Pn=(nr||"").trim();if(Pn){var vr=Array.from(new Set([].concat((0,Ze.Z)(Jo),[Pn])));Io(vr),gt(Pn,!0),Bi("")}return}Dn.source!=="blur"&&(Pt==="combobox"&&Io(nr),Lt==null||Lt(nr))},Un=function(nr){var Dn=nr;Pt!=="tags"&&(Dn=nr.map(function(vr){var br=Ba.get(vr);return br==null?void 0:br.value}).filter(function(vr){return vr!==void 0}));var Pn=Array.from(new Set([].concat((0,Ze.Z)(Jo),(0,Ze.Z)(Dn))));Io(Pn),Pn.forEach(function(vr){gt(vr,!0)})},Cn=Le.useMemo(function(){var hn=Li!==!1&&pr!==!1;return(0,Ee.Z)((0,Ee.Z)({},ma),{},{flattenOptions:mo,onActiveValue:Pe,defaultActiveFirstOption:Be,onSelect:vt,menuItemSelectedIcon:Gr,rawValues:Jo,fieldNames:wa,virtual:hn,direction:xi,listHeight:$i,listItemHeight:_i,childrenAsData:ro})},[ma,mo,Pe,Be,vt,Gr,Jo,wa,Li,pr,$i,_i,ro]);return Le.createElement(Zt.Provider,{value:Cn},Le.createElement(_n,(0,Re.Z)({},pa,{id:ao,prefixCls:Zn,ref:tt,omitDomProps:li,mode:Pt,displayValues:Wo,onDisplayValuesChange:vn,direction:xi,searchValue:aa,onSearch:ln,autoClearSearchValue:qn,onSearchSplit:Un,dropdownMatchSelectWidth:pr,OptionList:mi,emptyOptions:!mo.length,activeValue:ls,activeDescendantId:"".concat(ao,"_list_").concat(ja)})))}),ta=ia;ta.Option=_a,ta.OptGroup=Ji;var ze=ta,Je=ze,et=ie(10366),st=ie(8745),Ct=ie(33603),Bt=ie(9708),Jt=ie(53124),Tn=ie(98866),Nn=ie(88258),Fr=ie(98675),Jr=ie(65223),Ar=ie(4173),er=ie(87244),Wn=ie(13458),ur=ie(78642),mr=ie(46163),Vr=function(Ue,tt){var tn={};for(var Pt in Ue)Object.prototype.hasOwnProperty.call(Ue,Pt)&&tt.indexOf(Pt)<0&&(tn[Pt]=Ue[Pt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,Pt=Object.getOwnPropertySymbols(Ue);xn<Pt.length;xn++)tt.indexOf(Pt[xn])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Pt[xn])&&(tn[Pt[xn]]=Ue[Pt[xn]]);return tn};const Dr="SECRET_COMBOBOX_MODE_DO_NOT_USE",Mr=(Ue,tt)=>{var tn,{prefixCls:Pt,bordered:xn=!0,className:Zn,rootClassName:Jn,getPopupContainer:yr,popupClassName:xt,dropdownClassName:ct,listHeight:Lt=256,placement:dn,listItemHeight:qn=24,size:In,disabled:wn,notFoundContent:xr,status:pr,builtinPlacements:Pr,dropdownMatchSelectWidth:dr,popupMatchSelectWidth:Vn,direction:Hr,style:ni,allowClear:Wr}=Ue,Nr=Vr(Ue,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Gr,getPrefixCls:Li,renderEmpty:xi,direction:Ei,virtual:$i,popupMatchSelectWidth:Aa,popupOverflow:_i,select:la}=Le.useContext(Jt.E_),Ai=Li("select",Pt),Ki=Li(),ua=Hr!=null?Hr:Ei,{compactSize:pa,compactItemClassnames:ao}=(0,Ar.ri)(Ai,ua),[no,ro]=(0,er.Z)(Ai),Ha=Le.useMemo(()=>{const{mode:po}=Nr;if(po!=="combobox")return po===Dr?"combobox":po},[Nr.mode]),wa=Ha==="multiple"||Ha==="tags",Wi=(0,ur.Z)(Nr.suffixIcon,Nr.showArrow),co=(tn=Vn!=null?Vn:dr)!==null&&tn!==void 0?tn:Aa,{status:aa,hasFeedback:Bi,isFormItemInput:ma,feedbackIcon:Ja}=Le.useContext(Jr.aM),Ba=(0,Bt.F)(aa,pr);let Va;xr!==void 0?Va=xr:Ha==="combobox"?Va=null:Va=(xi==null?void 0:xi("Select"))||Le.createElement(Nn.Z,{componentName:"Select"});const{suffixIcon:na,itemIcon:oo,removeIcon:fo,clearIcon:to}=(0,mr.Z)(Object.assign(Object.assign({},Nr),{multiple:wa,hasFeedback:Bi,feedbackIcon:Ja,showSuffixIcon:Wi,prefixCls:Ai,showArrow:Nr.showArrow,componentName:"Select"})),ho=Wr===!0?{clearIcon:to}:Wr,bo=(0,et.Z)(Nr,["suffixIcon","itemIcon"]),Lo=Oe()(xt||ct,{[`${Ai}-dropdown-${ua}`]:ua==="rtl"},Jn,ro),io=(0,Fr.Z)(po=>{var ga;return(ga=In!=null?In:pa)!==null&&ga!==void 0?ga:po}),lo=Le.useContext(Tn.Z),Ko=wn!=null?wn:lo,Wo=Oe()({[`${Ai}-lg`]:io==="large",[`${Ai}-sm`]:io==="small",[`${Ai}-rtl`]:ua==="rtl",[`${Ai}-borderless`]:!xn,[`${Ai}-in-form-item`]:ma},(0,Bt.Z)(Ai,Ba,Bi),ao,la==null?void 0:la.className,Zn,Jn,ro),Jo=Le.useMemo(()=>dn!==void 0?dn:ua==="rtl"?"bottomRight":"bottomLeft",[dn,ua]),Fo=(0,Wn.Z)(Pr,_i);return no(Le.createElement(Je,Object.assign({ref:tt,virtual:$i,showSearch:la==null?void 0:la.showSearch},bo,{style:Object.assign(Object.assign({},la==null?void 0:la.style),ni),dropdownMatchSelectWidth:co,builtinPlacements:Fo,transitionName:(0,Ct.m)(Ki,"slide-up",Nr.transitionName),listHeight:Lt,listItemHeight:qn,mode:Ha,prefixCls:Ai,placement:Jo,direction:ua,suffixIcon:na,menuItemSelectedIcon:oo,removeIcon:fo,allowClear:ho,notFoundContent:Va,className:Wo,getPopupContainer:yr||Gr,dropdownClassName:Lo,disabled:Ko})))},Tr=Le.forwardRef(Mr),Or=(0,st.Z)(Tr);Tr.SECRET_COMBOBOX_MODE_DO_NOT_USE=Dr,Tr.Option=_a,Tr.OptGroup=Ji,Tr._InternalPanelDoNotUseOrYouWillBeFired=Or;var qr=Tr},87244:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return we}});var ae=ie(14747),Oe=ie(80110),Re=ie(45503),Ze=ie(67968),ve=ie(67771),Ee=ie(33297);const ke=he=>{const{optionHeight:je,optionFontSize:Ve,optionLineHeight:Ge,optionPadding:qe}=he;return{position:"relative",display:"block",minHeight:je,padding:qe,color:he.colorText,fontWeight:"normal",fontSize:Ve,lineHeight:Ge,boxSizing:"border-box"}};var me=he=>{const{antCls:je,componentCls:Ve}=he,Ge=`${Ve}-item`,qe=`&${je}-slide-up-enter${je}-slide-up-enter-active`,Ye=`&${je}-slide-up-appear${je}-slide-up-appear-active`,We=`&${je}-slide-up-leave${je}-slide-up-leave-active`,St=`${Ve}-dropdown-placement-`;return[{[`${Ve}-dropdown`]:Object.assign(Object.assign({},(0,ae.Wf)(he)),{position:"absolute",top:-9999,zIndex:he.zIndexPopup,boxSizing:"border-box",padding:he.paddingXXS,overflow:"hidden",fontSize:he.fontSize,fontVariant:"initial",backgroundColor:he.colorBgElevated,borderRadius:he.borderRadiusLG,outline:"none",boxShadow:he.boxShadowSecondary,[`
|
|
|
${qe}${St}bottomLeft,
|
|
|
${Ye}${St}bottomLeft
|
|
|
`]:{animationName:ve.fJ},[`
|
|
|
${qe}${St}topLeft,
|
|
|
${Ye}${St}topLeft,
|
|
|
${qe}${St}topRight,
|
|
|
${Ye}${St}topRight
|
|
|
`]:{animationName:ve.Qt},[`${We}${St}bottomLeft`]:{animationName:ve.Uw},[`
|
|
|
${We}${St}topLeft,
|
|
|
${We}${St}topRight
|
|
|
`]:{animationName:ve.ly},"&-hidden":{display:"none"},[`${Ge}`]:Object.assign(Object.assign({},ke(he)),{cursor:"pointer",transition:`background ${he.motionDurationSlow} ease`,borderRadius:he.borderRadiusSM,"&-group":{color:he.colorTextDescription,fontSize:he.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ae.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ge}-option-disabled)`]:{backgroundColor:he.optionActiveBg},[`&-selected:not(${Ge}-option-disabled)`]:{color:he.optionSelectedColor,fontWeight:he.optionSelectedFontWeight,backgroundColor:he.optionSelectedBg,[`${Ge}-option-state`]:{color:he.colorPrimary}},"&-disabled":{[`&${Ge}-option-selected`]:{backgroundColor:he.colorBgContainerDisabled},color:he.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:he.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,ve.oN)(he,"slide-up"),(0,ve.oN)(he,"slide-down"),(0,Ee.Fm)(he,"move-up"),(0,Ee.Fm)(he,"move-down")]};const Le=2,mt=he=>{let{controlHeightSM:je,controlHeight:Ve,lineWidth:Ge}=he;const qe=(Ve-je)/2-Ge,Ye=Math.ceil(qe/2);return[qe,Ye]};function Ie(he,je){const{componentCls:Ve,iconCls:Ge}=he,qe=`${Ve}-selection-overflow`,Ye=he.multipleSelectItemHeight,[We]=mt(he),St=je?`${Ve}-${je}`:"";return{[`${Ve}-multiple${St}`]:{fontSize:he.fontSize,[qe]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Ve}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${We-Le}px ${Le*2}px`,borderRadius:he.borderRadius,[`${Ve}-show-search&`]:{cursor:"text"},[`${Ve}-disabled&`]:{background:he.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Le}px 0`,lineHeight:`${Ye}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${Ve}-show-arrow ${Ve}-selector,
|
|
|
&${Ve}-allow-clear ${Ve}-selector
|
|
|
`]:{paddingInlineEnd:he.fontSizeIcon+he.controlPaddingHorizontal},[`${Ve}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ye,marginTop:Le,marginBottom:Le,lineHeight:`${Ye-he.lineWidth*2}px`,background:he.multipleItemBg,border:`${he.lineWidth}px ${he.lineType} ${he.multipleItemBorderColor}`,borderRadius:he.borderRadiusSM,cursor:"default",transition:`font-size ${he.motionDurationSlow}, line-height ${he.motionDurationSlow}, height ${he.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Le*2,paddingInlineStart:he.paddingXS,paddingInlineEnd:he.paddingXS/2,[`${Ve}-disabled&`]:{color:he.multipleItemColorDisabled,borderColor:he.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:he.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ae.Ro)()),{display:"inline-flex",alignItems:"center",color:he.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ge}`]:{verticalAlign:"-0.2em"},"&:hover":{color:he.colorIconHover}})},[`${qe}-item + ${qe}-item`]:{[`${Ve}-selection-search`]:{marginInlineStart:0}},[`${Ve}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:he.inputPaddingHorizontalBase-We,"\n &-input,\n &-mirror\n ":{height:Ye,fontFamily:he.fontFamily,lineHeight:`${Ye}px`,transition:`all ${he.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ve}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:he.inputPaddingHorizontalBase,insetInlineEnd:he.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${he.motionDurationSlow}`}}}}var ot=he=>{const{componentCls:je}=he,Ve=(0,Re.TS)(he,{controlHeight:he.controlHeightSM,multipleSelectItemHeight:he.controlHeightXS,borderRadius:he.borderRadiusSM,borderRadiusSM:he.borderRadiusXS}),Ge=(0,Re.TS)(he,{fontSize:he.fontSizeLG,controlHeight:he.controlHeightLG,multipleSelectItemHeight:he.multipleItemHeightLG,borderRadius:he.borderRadiusLG,borderRadiusSM:he.borderRadius}),[,qe]=mt(he);return[Ie(he),Ie(Ve,"sm"),{[`${je}-multiple${je}-sm`]:{[`${je}-selection-placeholder`]:{insetInline:he.controlPaddingHorizontalSM-he.lineWidth},[`${je}-selection-search`]:{marginInlineStart:qe}}},Ie(Ge,"lg")]};function dt(he,je){const{componentCls:Ve,inputPaddingHorizontalBase:Ge,borderRadius:qe}=he,Ye=he.controlHeight-he.lineWidth*2,We=Math.ceil(he.fontSize*1.25),St=je?`${Ve}-${je}`:"";return{[`${Ve}-single${St}`]:{fontSize:he.fontSize,[`${Ve}-selector`]:Object.assign(Object.assign({},(0,ae.Wf)(he)),{display:"flex",borderRadius:qe,[`${Ve}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Ge,insetInlineEnd:Ge,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${Ve}-selection-item,
|
|
|
${Ve}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${Ye}px`,transition:`all ${he.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Ye}px`}},[`${Ve}-selection-item`]:{position:"relative",userSelect:"none"},[`${Ve}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ve}-selection-item:after`,`${Ve}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${Ve}-show-arrow ${Ve}-selection-item,
|
|
|
&${Ve}-show-arrow ${Ve}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:We},[`&${Ve}-open ${Ve}-selection-item`]:{color:he.colorTextPlaceholder},[`&:not(${Ve}-customize-input)`]:{[`${Ve}-selector`]:{width:"100%",height:he.controlHeight,padding:`0 ${Ge}px`,[`${Ve}-selection-search-input`]:{height:Ye},"&:after":{lineHeight:`${Ye}px`}}},[`&${Ve}-customize-input`]:{[`${Ve}-selector`]:{"&:after":{display:"none"},[`${Ve}-selection-search`]:{position:"static",width:"100%"},[`${Ve}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ge}px`,"&:after":{display:"none"}}}}}}}function nt(he){const{componentCls:je}=he,Ve=he.controlPaddingHorizontalSM-he.lineWidth;return[dt(he),dt((0,Re.TS)(he,{controlHeight:he.controlHeightSM,borderRadius:he.borderRadiusSM}),"sm"),{[`${je}-single${je}-sm`]:{[`&:not(${je}-customize-input)`]:{[`${je}-selection-search`]:{insetInlineStart:Ve,insetInlineEnd:Ve},[`${je}-selector`]:{padding:`0 ${Ve}px`},[`&${je}-show-arrow ${je}-selection-search`]:{insetInlineEnd:Ve+he.fontSize*1.5},[`
|
|
|
&${je}-show-arrow ${je}-selection-item,
|
|
|
&${je}-show-arrow ${je}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:he.fontSize*1.5}}}},dt((0,Re.TS)(he,{controlHeight:he.singleItemHeightLG,fontSize:he.fontSizeLG,borderRadius:he.borderRadiusLG}),"lg")]}const Me=he=>{const{componentCls:je,selectorBg:Ve}=he;return{position:"relative",backgroundColor:Ve,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,transition:`all ${he.motionDurationMid} ${he.motionEaseInOut}`,input:{cursor:"pointer"},[`${je}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${je}-disabled&`]:{color:he.colorTextDisabled,background:he.colorBgContainerDisabled,cursor:"not-allowed",[`${je}-multiple&`]:{background:he.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},ut=function(he,je){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Ge,borderHoverColor:qe,outlineColor:Ye,antCls:We}=je,St=Ve?{[`${Ge}-selector`]:{borderColor:qe}}:{};return{[he]:{[`&:not(${Ge}-disabled):not(${Ge}-customize-input):not(${We}-pagination-size-changer)`]:Object.assign(Object.assign({},St),{[`${Ge}-focused& ${Ge}-selector`]:{borderColor:qe,boxShadow:`0 0 0 ${je.controlOutlineWidth}px ${Ye}`,outline:0},[`&:hover ${Ge}-selector`]:{borderColor:qe}})}}},Ut=he=>{const{componentCls:je}=he;return{[`${je}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},at=he=>{const{componentCls:je,inputPaddingHorizontalBase:Ve,iconCls:Ge}=he;return{[je]:Object.assign(Object.assign({},(0,ae.Wf)(he)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${je}-customize-input) ${je}-selector`]:Object.assign(Object.assign({},Me(he)),Ut(he)),[`${je}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ae.vS),[`${je}-selection-placeholder`]:Object.assign(Object.assign({},ae.vS),{flex:1,color:he.colorTextPlaceholder,pointerEvents:"none"}),[`${je}-arrow`]:Object.assign(Object.assign({},(0,ae.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ve,height:he.fontSizeIcon,marginTop:-he.fontSizeIcon/2,color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Ge]:{verticalAlign:"top",transition:`transform ${he.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${je}-suffix)`]:{pointerEvents:"auto"}},[`${je}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${je}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ve,zIndex:1,display:"inline-block",width:he.fontSizeIcon,height:he.fontSizeIcon,marginTop:-he.fontSizeIcon/2,color:he.colorTextQuaternary,fontSize:he.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:he.clearBg,cursor:"pointer",opacity:0,transition:`color ${he.motionDurationMid} ease, opacity ${he.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:he.colorTextTertiary}},"&:hover":{[`${je}-clear`]:{opacity:1}}}),[`${je}-has-feedback`]:{[`${je}-clear`]:{insetInlineEnd:Ve+he.fontSize+he.paddingXS}}}},ht=he=>{const{componentCls:je}=he;return[{[je]:{[`&-borderless ${je}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${je}-in-form-item`]:{width:"100%"}}},at(he),nt(he),ot(he),me(he),{[`${je}-rtl`]:{direction:"rtl"}},ut(je,(0,Re.TS)(he,{borderHoverColor:he.colorPrimaryHover,outlineColor:he.controlOutline})),ut(`${je}-status-error`,(0,Re.TS)(he,{borderHoverColor:he.colorErrorHover,outlineColor:he.colorErrorOutline}),!0),ut(`${je}-status-warning`,(0,Re.TS)(he,{borderHoverColor:he.colorWarningHover,outlineColor:he.colorWarningOutline}),!0),(0,Oe.c)(he,{borderElCls:`${je}-selector`,focusElCls:`${je}-focused`})]};var we=(0,Ze.Z)("Select",(he,je)=>{let{rootPrefixCls:Ve}=je;const Ge=(0,Re.TS)(he,{rootPrefixCls:Ve,inputPaddingHorizontalBase:he.paddingSM-1,multipleSelectItemHeight:he.multipleItemHeight});return[ht(Ge)]},he=>{const{fontSize:je,lineHeight:Ve,controlHeight:Ge,controlPaddingHorizontal:qe,zIndexPopupBase:Ye,colorText:We,fontWeightStrong:St,controlItemBgActive:lt,controlItemBgHover:zt,colorBgContainer:Dt,colorFillSecondary:pn,controlHeightLG:Kn,controlHeightSM:tr,colorBgContainerDisabled:it,colorTextDisabled:Ce}=he;return{zIndexPopup:Ye+50,optionSelectedColor:We,optionSelectedFontWeight:St,optionSelectedBg:lt,optionActiveBg:zt,optionPadding:`${(Ge-je*Ve)/2}px ${qe}px`,optionFontSize:je,optionLineHeight:Ve,optionHeight:Ge,selectorBg:Dt,clearBg:Dt,singleItemHeightLG:Kn,multipleItemBg:pn,multipleItemBorderColor:"transparent",multipleItemHeight:tr,multipleItemHeightLG:Ge,multipleSelectorBgDisabled:it,multipleItemColorDisabled:Ce,multipleItemBorderColorDisabled:"transparent"}})},13458:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});const ae=Re=>{const ve={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Re==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},ve),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ve),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ve),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ve),{points:["br","tr"],offset:[0,-4]})}};function Oe(Re,Ze){return Re||ae(Ze)}},78642:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ae}});function ae(Oe,Re){return Re!==void 0?Re:Oe!==null}},46163:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(18299),Oe=ie(16646),Re=ie(73475),Ze=ie(42922),ve=ie(3407),Ee=ie(72395),ke=ie(67294);function ye(me){let{suffixIcon:Le,clearIcon:mt,menuItemSelectedIcon:Ie,removeIcon:Xe,loading:ot,multiple:dt,hasFeedback:nt,prefixCls:Me,showSuffixIcon:ut,feedbackIcon:Ut,showArrow:at,componentName:ht}=me;const we=mt!=null?mt:ke.createElement(Oe.Z,null),he=qe=>Le===null&&!nt&&!at?null:ke.createElement(ke.Fragment,null,ut!==!1&&qe,nt&&Ut);let je=null;if(Le!==void 0)je=he(Le);else if(ot)je=he(ke.createElement(ve.Z,{spin:!0}));else{const qe=`${Me}-suffix`;je=Ye=>{let{open:We,showSearch:St}=Ye;return he(We&&St?ke.createElement(Ee.Z,{className:qe}):ke.createElement(Ze.Z,{className:qe}))}}let Ve=null;Ie!==void 0?Ve=Ie:dt?Ve=ke.createElement(ae.Z,null):Ve=null;let Ge=null;return Xe!==void 0?Ge=Xe:Ge=ke.createElement(Re.Z,null),{clearIcon:we,suffixIcon:je,itemIcon:Ve,removeIcon:Ge}}},46303:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ue}});var ae=ie(94184),Oe=ie.n(ae),Re=ie(67294),Ze=ie(53124),ve=ie(10366),ke=pe=>{const{prefixCls:de,className:le,style:De,size:Ke,shape:Et}=pe,Yt=Oe()({[`${de}-lg`]:Ke==="large",[`${de}-sm`]:Ke==="small"}),Kt=Oe()({[`${de}-circle`]:Et==="circle",[`${de}-square`]:Et==="square",[`${de}-round`]:Et==="round"}),nn=Re.useMemo(()=>typeof Ke=="number"?{width:Ke,height:Ke,lineHeight:`${Ke}px`}:{},[Ke]);return Re.createElement("span",{className:Oe()(de,Yt,Kt,le),style:Object.assign(Object.assign({},nn),De)})},ye=ie(45930),me=ie(67968),Le=ie(45503);const mt=new ye.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ie=pe=>({height:pe,lineHeight:`${pe}px`}),Xe=pe=>Object.assign({width:pe},Ie(pe)),ot=pe=>({background:pe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:mt,animationDuration:pe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),dt=pe=>Object.assign({width:pe*5,minWidth:pe*5},Ie(pe)),nt=pe=>{const{skeletonAvatarCls:de,gradientFromColor:le,controlHeight:De,controlHeightLG:Ke,controlHeightSM:Et}=pe;return{[`${de}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:le},Xe(De)),[`${de}${de}-circle`]:{borderRadius:"50%"},[`${de}${de}-lg`]:Object.assign({},Xe(Ke)),[`${de}${de}-sm`]:Object.assign({},Xe(Et))}},Me=pe=>{const{controlHeight:de,borderRadiusSM:le,skeletonInputCls:De,controlHeightLG:Ke,controlHeightSM:Et,gradientFromColor:Yt}=pe;return{[`${De}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yt,borderRadius:le},dt(de)),[`${De}-lg`]:Object.assign({},dt(Ke)),[`${De}-sm`]:Object.assign({},dt(Et))}},ut=pe=>Object.assign({width:pe},Ie(pe)),Ut=pe=>{const{skeletonImageCls:de,imageSizeBase:le,gradientFromColor:De,borderRadiusSM:Ke}=pe;return{[`${de}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:De,borderRadius:Ke},ut(le*2)),{[`${de}-path`]:{fill:"#bfbfbf"},[`${de}-svg`]:Object.assign(Object.assign({},ut(le)),{maxWidth:le*4,maxHeight:le*4}),[`${de}-svg${de}-svg-circle`]:{borderRadius:"50%"}}),[`${de}${de}-circle`]:{borderRadius:"50%"}}},at=(pe,de,le)=>{const{skeletonButtonCls:De}=pe;return{[`${le}${De}-circle`]:{width:de,minWidth:de,borderRadius:"50%"},[`${le}${De}-round`]:{borderRadius:de}}},ht=pe=>Object.assign({width:pe*2,minWidth:pe*2},Ie(pe)),we=pe=>{const{borderRadiusSM:de,skeletonButtonCls:le,controlHeight:De,controlHeightLG:Ke,controlHeightSM:Et,gradientFromColor:Yt}=pe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yt,borderRadius:de,width:De*2,minWidth:De*2},ht(De))},at(pe,De,le)),{[`${le}-lg`]:Object.assign({},ht(Ke))}),at(pe,Ke,`${le}-lg`)),{[`${le}-sm`]:Object.assign({},ht(Et))}),at(pe,Et,`${le}-sm`))},he=pe=>{const{componentCls:de,skeletonAvatarCls:le,skeletonTitleCls:De,skeletonParagraphCls:Ke,skeletonButtonCls:Et,skeletonInputCls:Yt,skeletonImageCls:Kt,controlHeight:nn,controlHeightLG:$t,controlHeightSM:gr,gradientFromColor:kr,padding:rn,marginSM:gn,borderRadius:hr,titleHeight:Er,blockRadius:yt,paragraphLiHeight:It,controlHeightXS:$n,paragraphMarginTop:Qn}=pe;return{[`${de}`]:{display:"table",width:"100%",[`${de}-header`]:{display:"table-cell",paddingInlineEnd:rn,verticalAlign:"top",[`${le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kr},Xe(nn)),[`${le}-circle`]:{borderRadius:"50%"},[`${le}-lg`]:Object.assign({},Xe($t)),[`${le}-sm`]:Object.assign({},Xe(gr))},[`${de}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${De}`]:{width:"100%",height:Er,background:kr,borderRadius:yt,[`+ ${Ke}`]:{marginBlockStart:gr}},[`${Ke}`]:{padding:0,"> li":{width:"100%",height:It,listStyle:"none",background:kr,borderRadius:yt,"+ li":{marginBlockStart:$n}}},[`${Ke}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${de}-content`]:{[`${De}, ${Ke} > li`]:{borderRadius:hr}}},[`${de}-with-avatar ${de}-content`]:{[`${De}`]:{marginBlockStart:gn,[`+ ${Ke}`]:{marginBlockStart:Qn}}},[`${de}${de}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},we(pe)),nt(pe)),Me(pe)),Ut(pe)),[`${de}${de}-block`]:{width:"100%",[`${Et}`]:{width:"100%"},[`${Yt}`]:{width:"100%"}},[`${de}${de}-active`]:{[`
|
|
|
${De},
|
|
|
${Ke} > li,
|
|
|
${le},
|
|
|
${Et},
|
|
|
${Yt},
|
|
|
${Kt}
|
|
|
`]:Object.assign({},ot(pe))}}};var je=(0,me.Z)("Skeleton",pe=>{const{componentCls:de}=pe,le=(0,Le.TS)(pe,{skeletonAvatarCls:`${de}-avatar`,skeletonTitleCls:`${de}-title`,skeletonParagraphCls:`${de}-paragraph`,skeletonButtonCls:`${de}-button`,skeletonInputCls:`${de}-input`,skeletonImageCls:`${de}-image`,imageSizeBase:pe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${pe.gradientFromColor} 25%, ${pe.gradientToColor} 37%, ${pe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[he(le)]},pe=>{const{colorFillContent:de,colorFill:le}=pe,De=de,Ke=le;return{color:De,colorGradientEnd:Ke,gradientFromColor:De,gradientToColor:Ke,titleHeight:pe.controlHeight/2,blockRadius:pe.borderRadiusSM,paragraphMarginTop:pe.marginLG+pe.marginXXS,paragraphLiHeight:pe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=pe=>{const{prefixCls:de,className:le,rootClassName:De,active:Ke,shape:Et="circle",size:Yt="default"}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=(0,ve.Z)(pe,["prefixCls","className"]),rn=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Ke},le,De,gr);return $t(Re.createElement("div",{className:rn},Re.createElement(ke,Object.assign({prefixCls:`${nn}-avatar`,shape:Et,size:Yt},kr))))},Ye=pe=>{const{prefixCls:de,className:le,rootClassName:De,active:Ke,block:Et=!1,size:Yt="default"}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=(0,ve.Z)(pe,["prefixCls"]),rn=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Ke,[`${nn}-block`]:Et},le,De,gr);return $t(Re.createElement("div",{className:rn},Re.createElement(ke,Object.assign({prefixCls:`${nn}-button`,size:Yt},kr))))};const We="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var lt=pe=>{const{prefixCls:de,className:le,rootClassName:De,style:Ke,active:Et}=pe,{getPrefixCls:Yt}=Re.useContext(Ze.E_),Kt=Yt("skeleton",de),[nn,$t]=je(Kt),gr=Oe()(Kt,`${Kt}-element`,{[`${Kt}-active`]:Et},le,De,$t);return nn(Re.createElement("div",{className:gr},Re.createElement("div",{className:Oe()(`${Kt}-image`,le),style:Ke},Re.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Kt}-image-svg`},Re.createElement("path",{d:We,className:`${Kt}-image-path`})))))},Dt=pe=>{const{prefixCls:de,className:le,rootClassName:De,active:Ke,block:Et,size:Yt="default"}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=(0,ve.Z)(pe,["prefixCls"]),rn=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Ke,[`${nn}-block`]:Et},le,De,gr);return $t(Re.createElement("div",{className:rn},Re.createElement(ke,Object.assign({prefixCls:`${nn}-input`,size:Yt},kr))))},pn=ie(87462),Kn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},tr=Kn,it=ie(74643),Ce=function(de,le){return Re.createElement(it.Z,(0,pn.Z)({},de,{ref:le,icon:tr}))},wt=Re.forwardRef(Ce),Tt=pe=>{const{prefixCls:de,className:le,rootClassName:De,style:Ke,active:Et,children:Yt}=pe,{getPrefixCls:Kt}=Re.useContext(Ze.E_),nn=Kt("skeleton",de),[$t,gr]=je(nn),kr=Oe()(nn,`${nn}-element`,{[`${nn}-active`]:Et},gr,le,De),rn=Yt!=null?Yt:Re.createElement(wt,null);return $t(Re.createElement("div",{className:kr},Re.createElement("div",{className:Oe()(`${nn}-image`,le),style:Ke},rn)))},rt=ie(74902),Wt=pe=>{const de=Kt=>{const{width:nn,rows:$t=2}=pe;if(Array.isArray(nn))return nn[Kt];if($t-1===Kt)return nn},{prefixCls:le,className:De,style:Ke,rows:Et}=pe,Yt=(0,rt.Z)(Array(Et)).map((Kt,nn)=>Re.createElement("li",{key:nn,style:{width:de(nn)}}));return Re.createElement("ul",{className:Oe()(le,De),style:Ke},Yt)},Xt=pe=>{let{prefixCls:de,className:le,width:De,style:Ke}=pe;return Re.createElement("h3",{className:Oe()(de,le),style:Object.assign({width:De},Ke)})};function Ht(pe){return pe&&typeof pe=="object"?pe:{}}function un(pe,de){return pe&&!de?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function kn(pe,de){return!pe&&de?{width:"38%"}:pe&&de?{width:"50%"}:{}}function yn(pe,de){const le={};return(!pe||!de)&&(le.width="61%"),!pe&&de?le.rows=3:le.rows=2,le}const Fe=pe=>{const{prefixCls:de,loading:le,className:De,rootClassName:Ke,style:Et,children:Yt,avatar:Kt=!1,title:nn=!0,paragraph:$t=!0,active:gr,round:kr}=pe,{getPrefixCls:rn,direction:gn,skeleton:hr}=Re.useContext(Ze.E_),Er=rn("skeleton",de),[yt,It]=je(Er);if(le||!("loading"in pe)){const $n=!!Kt,Qn=!!nn,wr=!!$t;let _r;if($n){const ri=Object.assign(Object.assign({prefixCls:`${Er}-avatar`},un(Qn,wr)),Ht(Kt));_r=Re.createElement("div",{className:`${Er}-header`},Re.createElement(ke,Object.assign({},ri)))}let ei;if(Qn||wr){let ri;if(Qn){const Cr=Object.assign(Object.assign({prefixCls:`${Er}-title`},kn($n,wr)),Ht(nn));ri=Re.createElement(Xt,Object.assign({},Cr))}let fi;if(wr){const Cr=Object.assign(Object.assign({prefixCls:`${Er}-paragraph`},yn($n,Qn)),Ht($t));fi=Re.createElement(Wt,Object.assign({},Cr))}ei=Re.createElement("div",{className:`${Er}-content`},ri,fi)}const Xr=Oe()(Er,{[`${Er}-with-avatar`]:$n,[`${Er}-active`]:gr,[`${Er}-rtl`]:gn==="rtl",[`${Er}-round`]:kr},hr==null?void 0:hr.className,De,Ke,It);return yt(Re.createElement("div",{className:Xr,style:Object.assign(Object.assign({},hr==null?void 0:hr.style),Et)},_r,ei))}return typeof Yt!="undefined"?Yt:null};Fe.Button=Ye,Fe.Avatar=Ge,Fe.Input=Dt,Fe.Image=lt,Fe.Node=Tt;var ce=Fe,ue=ce},55054:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return je}});var ae=ie(67294),Oe=ie(57838),Re=ie(96159),Ze=ie(94184),ve=ie.n(Ze),Ee=ie(53124),ke=ie(46303),me=Ve=>{const{value:Ge,formatter:qe,precision:Ye,decimalSeparator:We,groupSeparator:St="",prefixCls:lt}=Ve;let zt;if(typeof qe=="function")zt=qe(Ge);else{const Dt=String(Ge),pn=Dt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!pn||Dt==="-")zt=Dt;else{const Kn=pn[1];let tr=pn[2]||"0",it=pn[4]||"";tr=tr.replace(/\B(?=(\d{3})+(?!\d))/g,St),typeof Ye=="number"&&(it=it.padEnd(Ye,"0").slice(0,Ye>0?Ye:0)),it&&(it=`${We}${it}`),zt=[ae.createElement("span",{key:"int",className:`${lt}-content-value-int`},Kn,tr),it&&ae.createElement("span",{key:"decimal",className:`${lt}-content-value-decimal`},it)]}}return ae.createElement("span",{className:`${lt}-content-value`},zt)},Le=ie(14747),mt=ie(67968),Ie=ie(45503);const Xe=Ve=>{const{componentCls:Ge,marginXXS:qe,padding:Ye,colorTextDescription:We,titleFontSize:St,colorTextHeading:lt,contentFontSize:zt,fontFamily:Dt}=Ve;return{[`${Ge}`]:Object.assign(Object.assign({},(0,Le.Wf)(Ve)),{[`${Ge}-title`]:{marginBottom:qe,color:We,fontSize:St},[`${Ge}-skeleton`]:{paddingTop:Ye},[`${Ge}-content`]:{color:lt,fontSize:zt,fontFamily:Dt,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:qe},[`${Ge}-content-suffix`]:{marginInlineStart:qe}}})}};var ot=(0,mt.Z)("Statistic",Ve=>{const Ge=(0,Ie.TS)(Ve,{});return[Xe(Ge)]},Ve=>{const{fontSizeHeading3:Ge,fontSize:qe}=Ve;return{titleFontSize:qe,contentFontSize:Ge}}),nt=Ve=>{const{prefixCls:Ge,className:qe,rootClassName:Ye,style:We,valueStyle:St,value:lt=0,title:zt,valueRender:Dt,prefix:pn,suffix:Kn,loading:tr=!1,onMouseEnter:it,onMouseLeave:Ce,decimalSeparator:wt=".",groupSeparator:An=","}=Ve,{getPrefixCls:Tt,direction:rt,statistic:ft}=ae.useContext(Ee.E_),Wt=Tt("statistic",Ge),[qt,Xt]=ot(Wt),Ht=ae.createElement(me,Object.assign({decimalSeparator:wt,groupSeparator:An,prefixCls:Wt},Ve,{value:lt})),un=ve()(Wt,{[`${Wt}-rtl`]:rt==="rtl"},ft==null?void 0:ft.className,qe,Ye,Xt);return qt(ae.createElement("div",{className:un,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),We),onMouseEnter:it,onMouseLeave:Ce},zt&&ae.createElement("div",{className:`${Wt}-title`},zt),ae.createElement(ke.Z,{paragraph:!1,loading:tr,className:`${Wt}-skeleton`},ae.createElement("div",{style:St,className:`${Wt}-content`},pn&&ae.createElement("span",{className:`${Wt}-content-prefix`},pn),Dt?Dt(Ht):Ht,Kn&&ae.createElement("span",{className:`${Wt}-content-suffix`},Kn)))))};const Me=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function ut(Ve,Ge){let qe=Ve;const Ye=/\[[^\]]*]/g,We=(Ge.match(Ye)||[]).map(Dt=>Dt.slice(1,-1)),St=Ge.replace(Ye,"[]"),lt=Me.reduce((Dt,pn)=>{let[Kn,tr]=pn;if(Dt.includes(Kn)){const it=Math.floor(qe/tr);return qe-=it*tr,Dt.replace(new RegExp(`${Kn}+`,"g"),Ce=>{const wt=Ce.length;return it.toString().padStart(wt,"0")})}return Dt},St);let zt=0;return lt.replace(Ye,()=>{const Dt=We[zt];return zt+=1,Dt})}function Ut(Ve,Ge){const{format:qe=""}=Ge,Ye=new Date(Ve).getTime(),We=Date.now(),St=Math.max(Ye-We,0);return ut(St,qe)}const at=1e3/30;function ht(Ve){return new Date(Ve).getTime()}const we=Ve=>{const{value:Ge,format:qe="HH:mm:ss",onChange:Ye,onFinish:We}=Ve,St=(0,Oe.Z)(),lt=ae.useRef(null),zt=()=>{We==null||We(),lt.current&&(clearInterval(lt.current),lt.current=null)},Dt=()=>{const tr=ht(Ge);tr>=Date.now()&&(lt.current=setInterval(()=>{St(),Ye==null||Ye(tr-Date.now()),tr<Date.now()&&zt()},at))};ae.useEffect(()=>(Dt(),()=>{lt.current&&(clearInterval(lt.current),lt.current=null)}),[Ge]);const pn=(tr,it)=>Ut(tr,Object.assign(Object.assign({},it),{format:qe})),Kn=tr=>(0,Re.Tm)(tr,{title:void 0});return ae.createElement(nt,Object.assign({},Ve,{valueRender:Kn,formatter:pn}))};var he=ae.memo(we);nt.Countdown=he;var je=nt},33507:function(mn,en){"use strict";const ie=ae=>({[ae.componentCls]:{[`${ae.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ae.motionDurationMid} ${ae.motionEaseInOut},
|
|
|
opacity ${ae.motionDurationMid} ${ae.motionEaseInOut} !important`}},[`${ae.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ae.motionDurationMid} ${ae.motionEaseInOut},
|
|
|
opacity ${ae.motionDurationMid} ${ae.motionEaseInOut} !important`}}});en.Z=ie},33297:function(mn,en,ie){"use strict";ie.d(en,{Fm:function(){return Ie}});var ae=ie(45930),Oe=ie(93590);const Re=new ae.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ze=new ae.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ve=new ae.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ee=new ae.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ke=new ae.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ye=new ae.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),me=new ae.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Le=new ae.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),mt={"move-up":{inKeyframes:me,outKeyframes:Le},"move-down":{inKeyframes:Re,outKeyframes:Ze},"move-left":{inKeyframes:ve,outKeyframes:Ee},"move-right":{inKeyframes:ke,outKeyframes:ye}},Ie=(Xe,ot)=>{const{antCls:dt}=Xe,nt=`${dt}-${ot}`,{inKeyframes:Me,outKeyframes:ut}=mt[ot];return[(0,Oe.R)(nt,Me,ut,Xe.motionDurationMid),{[`
|
|
|
${nt}-enter,
|
|
|
${nt}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:Xe.motionEaseOutCirc},[`${nt}-leave`]:{animationTimingFunction:Xe.motionEaseInOutCirc}}]}},67771:function(mn,en,ie){"use strict";ie.d(en,{Qt:function(){return ve},Uw:function(){return Ze},fJ:function(){return Re},ly:function(){return Ee},oN:function(){return Ie}});var ae=ie(45930),Oe=ie(93590);const Re=new ae.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ze=new ae.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ve=new ae.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ee=new ae.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ke=new ae.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ye=new ae.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),me=new ae.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Le=new ae.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),mt={"slide-up":{inKeyframes:Re,outKeyframes:Ze},"slide-down":{inKeyframes:ve,outKeyframes:Ee},"slide-left":{inKeyframes:ke,outKeyframes:ye},"slide-right":{inKeyframes:me,outKeyframes:Le}},Ie=(Xe,ot)=>{const{antCls:dt}=Xe,nt=`${dt}-${ot}`,{inKeyframes:Me,outKeyframes:ut}=mt[ot];return[(0,Oe.R)(nt,Me,ut,Xe.motionDurationMid),{[`
|
|
|
${nt}-enter,
|
|
|
${nt}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Xe.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${nt}-leave`]:{animationTimingFunction:Xe.motionEaseInQuint}}]}},47897:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return pe}});var ae=ie(3407),Oe=ie(94184),Re=ie.n(Oe);function Ze(){return Ze=Object.assign?Object.assign.bind():function(de){for(var le=1;le<arguments.length;le++){var De=arguments[le];for(var Ke in De)Object.prototype.hasOwnProperty.call(De,Ke)&&(de[Ke]=De[Ke])}return de},Ze.apply(this,arguments)}function ve(de){"@babel/helpers - typeof";return ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(le){return typeof le}:function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},ve(de)}function Ee(de,le){if(ve(de)!=="object"||de===null)return de;var De=de[Symbol.toPrimitive];if(De!==void 0){var Ke=De.call(de,le||"default");if(ve(Ke)!=="object")return Ke;throw new TypeError("@@toPrimitive must return a primitive value.")}return(le==="string"?String:Number)(de)}function ke(de){var le=Ee(de,"string");return ve(le)==="symbol"?le:String(le)}function ye(de,le,De){return le=ke(le),le in de?Object.defineProperty(de,le,{value:De,enumerable:!0,configurable:!0,writable:!0}):de[le]=De,de}function me(de){if(Array.isArray(de))return de}function Le(de,le){var De=de==null?null:typeof Symbol!="undefined"&&de[Symbol.iterator]||de["@@iterator"];if(De!=null){var Ke,Et,Yt,Kt,nn=[],$t=!0,gr=!1;try{if(Yt=(De=De.call(de)).next,le===0){if(Object(De)!==De)return;$t=!1}else for(;!($t=(Ke=Yt.call(De)).done)&&(nn.push(Ke.value),nn.length!==le);$t=!0);}catch(kr){gr=!0,Et=kr}finally{try{if(!$t&&De.return!=null&&(Kt=De.return(),Object(Kt)!==Kt))return}finally{if(gr)throw Et}}return nn}}function mt(de,le){(le==null||le>de.length)&&(le=de.length);for(var De=0,Ke=new Array(le);De<le;De++)Ke[De]=de[De];return Ke}function Ie(de,le){if(de){if(typeof de=="string")return mt(de,le);var De=Object.prototype.toString.call(de).slice(8,-1);if(De==="Object"&&de.constructor&&(De=de.constructor.name),De==="Map"||De==="Set")return Array.from(de);if(De==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return mt(de,le)}}function Xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ot(de,le){return me(de)||Le(de,le)||Ie(de,le)||Xe()}function dt(de,le){if(de==null)return{};var De={},Ke=Object.keys(de),Et,Yt;for(Yt=0;Yt<Ke.length;Yt++)Et=Ke[Yt],!(le.indexOf(Et)>=0)&&(De[Et]=de[Et]);return De}function nt(de,le){if(de==null)return{};var De=dt(de,le),Ke,Et;if(Object.getOwnPropertySymbols){var Yt=Object.getOwnPropertySymbols(de);for(Et=0;Et<Yt.length;Et++)Ke=Yt[Et],!(le.indexOf(Ke)>=0)&&Object.prototype.propertyIsEnumerable.call(de,Ke)&&(De[Ke]=de[Ke])}return De}var Me=ie(67294);function ut(de){if(Array.isArray(de))return de}function Ut(de,le){var De=de==null?null:typeof Symbol!="undefined"&&de[Symbol.iterator]||de["@@iterator"];if(De!=null){var Ke,Et,Yt,Kt,nn=[],$t=!0,gr=!1;try{if(Yt=(De=De.call(de)).next,le===0){if(Object(De)!==De)return;$t=!1}else for(;!($t=(Ke=Yt.call(De)).done)&&(nn.push(Ke.value),nn.length!==le);$t=!0);}catch(kr){gr=!0,Et=kr}finally{try{if(!$t&&De.return!=null&&(Kt=De.return(),Object(Kt)!==Kt))return}finally{if(gr)throw Et}}return nn}}function at(de,le){(le==null||le>de.length)&&(le=de.length);for(var De=0,Ke=new Array(le);De<le;De++)Ke[De]=de[De];return Ke}function ht(de,le){if(de){if(typeof de=="string")return at(de,le);var De=Object.prototype.toString.call(de).slice(8,-1);if(De==="Object"&&de.constructor&&(De=de.constructor.name),De==="Map"||De==="Set")return Array.from(de);if(De==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return at(de,le)}}function we(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function he(de,le){return ut(de)||Ut(de,le)||ht(de,le)||we()}function je(de){var le=Me.useRef();le.current=de;var De=Me.useCallback(function(){for(var Ke,Et=arguments.length,Yt=new Array(Et),Kt=0;Kt<Et;Kt++)Yt[Kt]=arguments[Kt];return(Ke=le.current)===null||Ke===void 0?void 0:Ke.call.apply(Ke,[le].concat(Yt))},[]);return De}function Ve(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ve()?Me.useLayoutEffect:Me.useEffect,qe=function(le,De){var Ke=Me.useRef(!0);Ge(function(){return le(Ke.current)},De),Ge(function(){return Ke.current=!1,function(){Ke.current=!0}},[])},Ye=function(le,De){qe(function(Ke){if(!Ke)return le()},De)},We=null;function St(de){var le=Me.useRef(!1),De=Me.useState(de),Ke=he(De,2),Et=Ke[0],Yt=Ke[1];Me.useEffect(function(){return le.current=!1,function(){le.current=!0}},[]);function Kt(nn,$t){$t&&le.current||Yt(nn)}return[Et,Kt]}function lt(de){return de!==void 0}function zt(de,le){var De=le||{},Ke=De.defaultValue,Et=De.value,Yt=De.onChange,Kt=De.postState,nn=St(function(){return lt(Et)?Et:lt(Ke)?typeof Ke=="function"?Ke():Ke:typeof de=="function"?de():de}),$t=he(nn,2),gr=$t[0],kr=$t[1],rn=Et!==void 0?Et:gr,gn=Kt?Kt(rn):rn,hr=je(Yt),Er=St([rn]),yt=he(Er,2),It=yt[0],$n=yt[1];Ye(function(){var wr=It[0];gr!==wr&&hr(gr,wr)},[It]),Ye(function(){lt(Et)||kr(Et)},[Et]);var Qn=je(function(wr,_r){kr(wr,_r),$n([rn],_r)});return[gn,Qn]}var Dt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(le){var De=le.keyCode;if(le.altKey&&!le.ctrlKey||le.metaKey||De>=Dt.F1&&De<=Dt.F12)return!1;switch(De){case Dt.ALT:case Dt.CAPS_LOCK:case Dt.CONTEXT_MENU:case Dt.CTRL:case Dt.DOWN:case Dt.END:case Dt.ESC:case Dt.HOME:case Dt.INSERT:case Dt.LEFT:case Dt.MAC_FF_META:case Dt.META:case Dt.NUMLOCK:case Dt.NUM_CENTER:case Dt.PAGE_DOWN:case Dt.PAGE_UP:case Dt.PAUSE:case Dt.PRINT_SCREEN:case Dt.RIGHT:case Dt.SHIFT:case Dt.UP:case Dt.WIN_KEY:case Dt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(le){if(le>=Dt.ZERO&&le<=Dt.NINE||le>=Dt.NUM_ZERO&&le<=Dt.NUM_MULTIPLY||le>=Dt.A&&le<=Dt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&le===0)return!0;switch(le){case Dt.SPACE:case Dt.QUESTION_MARK:case Dt.NUM_PLUS:case Dt.NUM_MINUS:case Dt.NUM_PERIOD:case Dt.NUM_DIVISION:case Dt.SEMICOLON:case Dt.DASH:case Dt.EQUALS:case Dt.COMMA:case Dt.PERIOD:case Dt.SLASH:case Dt.APOSTROPHE:case Dt.SINGLE_QUOTE:case Dt.OPEN_SQUARE_BRACKET:case Dt.BACKSLASH:case Dt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},pn=Dt,Kn=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],tr=Me.forwardRef(function(de,le){var De,Ke=de.prefixCls,Et=Ke===void 0?"rc-switch":Ke,Yt=de.className,Kt=de.checked,nn=de.defaultChecked,$t=de.disabled,gr=de.loadingIcon,kr=de.checkedChildren,rn=de.unCheckedChildren,gn=de.onClick,hr=de.onChange,Er=de.onKeyDown,yt=nt(de,Kn),It=zt(!1,{value:Kt,defaultValue:nn}),$n=ot(It,2),Qn=$n[0],wr=$n[1];function _r(fi,Cr){var yi=Qn;return $t||(yi=fi,wr(yi),hr==null||hr(yi,Cr)),yi}function ei(fi){fi.which===pn.LEFT?_r(!1,fi):fi.which===pn.RIGHT&&_r(!0,fi),Er==null||Er(fi)}function Xr(fi){var Cr=_r(!Qn,fi);gn==null||gn(Cr,fi)}var ri=Re()(Et,Yt,(De={},ye(De,"".concat(Et,"-checked"),Qn),ye(De,"".concat(Et,"-disabled"),$t),De));return Me.createElement("button",Ze({},yt,{type:"button",role:"switch","aria-checked":Qn,disabled:$t,className:ri,ref:le,onKeyDown:ei,onClick:Xr}),gr,Me.createElement("span",{className:"".concat(Et,"-inner")},Me.createElement("span",{className:"".concat(Et,"-inner-checked")},kr),Me.createElement("span",{className:"".concat(Et,"-inner-unchecked")},rn)))});tr.displayName="Switch";var it=tr,Ce=ie(45353),wt=ie(53124),An=ie(98866),Tt=ie(98675),rt=ie(84780),ft=ie(14747),Wt=ie(67968),qt=ie(45503);const Xt=de=>{const{componentCls:le,trackHeightSM:De,trackPadding:Ke,trackMinWidthSM:Et,innerMinMarginSM:Yt,innerMaxMarginSM:Kt,handleSizeSM:nn}=de,$t=`${le}-inner`;return{[le]:{[`&${le}-small`]:{minWidth:Et,height:De,lineHeight:`${De}px`,[`${le}-inner`]:{paddingInlineStart:Kt,paddingInlineEnd:Yt,[`${$t}-checked`]:{marginInlineStart:`calc(-100% + ${nn+Ke*2}px - ${Kt*2}px)`,marginInlineEnd:`calc(100% - ${nn+Ke*2}px + ${Kt*2}px)`},[`${$t}-unchecked`]:{marginTop:-De,marginInlineStart:0,marginInlineEnd:0}},[`${le}-handle`]:{width:nn,height:nn},[`${le}-loading-icon`]:{top:(nn-de.switchLoadingIconSize)/2,fontSize:de.switchLoadingIconSize},[`&${le}-checked`]:{[`${le}-inner`]:{paddingInlineStart:Yt,paddingInlineEnd:Kt,[`${$t}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${$t}-unchecked`]:{marginInlineStart:`calc(100% - ${nn+Ke*2}px + ${Kt*2}px)`,marginInlineEnd:`calc(-100% + ${nn+Ke*2}px - ${Kt*2}px)`}},[`${le}-handle`]:{insetInlineStart:`calc(100% - ${nn+Ke}px)`}},[`&:not(${le}-disabled):active`]:{[`&:not(${le}-checked) ${$t}`]:{[`${$t}-unchecked`]:{marginInlineStart:de.marginXXS/2,marginInlineEnd:-de.marginXXS/2}},[`&${le}-checked ${$t}`]:{[`${$t}-checked`]:{marginInlineStart:-de.marginXXS/2,marginInlineEnd:de.marginXXS/2}}}}}}},Ht=de=>{const{componentCls:le,handleSize:De}=de;return{[le]:{[`${le}-loading-icon${de.iconCls}`]:{position:"relative",top:(De-de.fontSize)/2,color:de.switchLoadingIconColor,verticalAlign:"top"},[`&${le}-checked ${le}-loading-icon`]:{color:de.switchColor}}}},un=de=>{const{componentCls:le,motion:De,trackPadding:Ke,handleBg:Et,handleShadow:Yt,handleSize:Kt}=de,nn=`${le}-handle`;return{[le]:{[nn]:{position:"absolute",top:Ke,insetInlineStart:Ke,width:Kt,height:Kt,transition:`all ${de.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Et,borderRadius:Kt/2,boxShadow:Yt,transition:`all ${de.switchDuration} ease-in-out`,content:'""'}},[`&${le}-checked ${nn}`]:{insetInlineStart:`calc(100% - ${Kt+Ke}px)`},[`&:not(${le}-disabled):active`]:De?{[`${nn}::before`]:{insetInlineEnd:de.switchHandleActiveInset,insetInlineStart:0},[`&${le}-checked ${nn}::before`]:{insetInlineEnd:0,insetInlineStart:de.switchHandleActiveInset}}:{}}}},kn=de=>{const{componentCls:le,trackHeight:De,trackPadding:Ke,innerMinMargin:Et,innerMaxMargin:Yt,handleSize:Kt}=de,nn=`${le}-inner`;return{[le]:{[nn]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Yt,paddingInlineEnd:Et,transition:`padding-inline-start ${de.switchDuration} ease-in-out, padding-inline-end ${de.switchDuration} ease-in-out`,[`${nn}-checked, ${nn}-unchecked`]:{display:"block",color:de.colorTextLightSolid,fontSize:de.fontSizeSM,transition:`margin-inline-start ${de.switchDuration} ease-in-out, margin-inline-end ${de.switchDuration} ease-in-out`,pointerEvents:"none"},[`${nn}-checked`]:{marginInlineStart:`calc(-100% + ${Kt+Ke*2}px - ${Yt*2}px)`,marginInlineEnd:`calc(100% - ${Kt+Ke*2}px + ${Yt*2}px)`},[`${nn}-unchecked`]:{marginTop:-De,marginInlineStart:0,marginInlineEnd:0}},[`&${le}-checked ${nn}`]:{paddingInlineStart:Et,paddingInlineEnd:Yt,[`${nn}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nn}-unchecked`]:{marginInlineStart:`calc(100% - ${Kt+Ke*2}px + ${Yt*2}px)`,marginInlineEnd:`calc(-100% + ${Kt+Ke*2}px - ${Yt*2}px)`}},[`&:not(${le}-disabled):active`]:{[`&:not(${le}-checked) ${nn}`]:{[`${nn}-unchecked`]:{marginInlineStart:Ke*2,marginInlineEnd:-Ke*2}},[`&${le}-checked ${nn}`]:{[`${nn}-checked`]:{marginInlineStart:-Ke*2,marginInlineEnd:Ke*2}}}}}},yn=de=>{const{componentCls:le,trackHeight:De,trackMinWidth:Ke}=de;return{[le]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ft.Wf)(de)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ke,height:De,lineHeight:`${De}px`,verticalAlign:"middle",background:de.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${de.motionDurationMid}`,userSelect:"none",[`&:hover:not(${le}-disabled)`]:{background:de.colorTextTertiary}}),(0,ft.Qy)(de)),{[`&${le}-checked`]:{background:de.switchColor,[`&:hover:not(${le}-disabled)`]:{background:de.colorPrimaryHover}},[`&${le}-loading, &${le}-disabled`]:{cursor:"not-allowed",opacity:de.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${le}-rtl`]:{direction:"rtl"}})}};var Fe=(0,Wt.Z)("Switch",de=>{const le=(0,qt.TS)(de,{switchDuration:de.motionDurationMid,switchColor:de.colorPrimary,switchDisabledOpacity:de.opacityLoading,switchLoadingIconSize:de.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${de.opacityLoading})`,switchHandleActiveInset:"-30%"});return[yn(le),kn(le),un(le),Ht(le),Xt(le)]},de=>{const{fontSize:le,lineHeight:De,controlHeight:Ke,colorWhite:Et}=de,Yt=le*De,Kt=Ke/2,nn=2,$t=Yt-nn*2,gr=Kt-nn*2;return{trackHeight:Yt,trackHeightSM:Kt,trackMinWidth:$t*2+nn*4,trackMinWidthSM:gr*2+nn*2,trackPadding:nn,handleBg:Et,handleSize:$t,handleSizeSM:gr,handleShadow:`0 2px 4px 0 ${new rt.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:$t/2,innerMaxMargin:$t+nn+nn*2,innerMinMarginSM:gr/2,innerMaxMarginSM:gr+nn+nn*2}}),ce=function(de,le){var De={};for(var Ke in de)Object.prototype.hasOwnProperty.call(de,Ke)&&le.indexOf(Ke)<0&&(De[Ke]=de[Ke]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Ke=Object.getOwnPropertySymbols(de);Et<Ke.length;Et++)le.indexOf(Ke[Et])<0&&Object.prototype.propertyIsEnumerable.call(de,Ke[Et])&&(De[Ke[Et]]=de[Ke[Et]]);return De};const ue=Me.forwardRef((de,le)=>{const{prefixCls:De,size:Ke,disabled:Et,loading:Yt,className:Kt,rootClassName:nn,style:$t}=de,gr=ce(de,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:kr,direction:rn,switch:gn}=Me.useContext(wt.E_),hr=Me.useContext(An.Z),Er=(Et!=null?Et:hr)||Yt,yt=kr("switch",De),It=Me.createElement("div",{className:`${yt}-handle`},Yt&&Me.createElement(ae.Z,{className:`${yt}-loading-icon`})),[$n,Qn]=Fe(yt),wr=(0,Tt.Z)(Ke),_r=Re()(gn==null?void 0:gn.className,{[`${yt}-small`]:wr==="small",[`${yt}-loading`]:Yt,[`${yt}-rtl`]:rn==="rtl"},Kt,nn,Qn),ei=Object.assign(Object.assign({},gn==null?void 0:gn.style),$t);return $n(Me.createElement(Ce.Z,{component:"Switch"},Me.createElement(it,Object.assign({},gr,{prefixCls:yt,className:_r,style:ei,disabled:Er,ref:le,loadingIcon:It}))))});ue.__ANT_SWITCH=!0;var pe=ue},66368:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return ta}});var ae=ie(73475),Oe=ie(25877),Re=ie(38308),Ze=ie(94184),ve=ie.n(Ze),Ee=ie(87462),ke=ie(4942),ye=ie(1413),me=ie(97685),Le=ie(71002),mt=ie(45987),Ie=ie(67294),Xe=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ze=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ze)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ze==null?void 0:ze.substr(0,4))};function ot(ze){var Je=Ie.useRef();Je.current=ze;var et=Ie.useCallback(function(){for(var st,Ct=arguments.length,Bt=new Array(Ct),Jt=0;Jt<Ct;Jt++)Bt[Jt]=arguments[Jt];return(st=Je.current)===null||st===void 0?void 0:st.call.apply(st,[Je].concat(Bt))},[]);return et}function dt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var nt=dt()?Ie.useLayoutEffect:Ie.useEffect,Me=function(Je,et){var st=Ie.useRef(!0);nt(function(){return Je(st.current)},et),nt(function(){return st.current=!1,function(){st.current=!0}},[])},ut=function(Je,et){Me(function(st){if(!st)return Je()},et)},Ut=null;function at(ze){var Je=Ie.useRef(!1),et=Ie.useState(ze),st=(0,me.Z)(et,2),Ct=st[0],Bt=st[1];Ie.useEffect(function(){return Je.current=!1,function(){Je.current=!0}},[]);function Jt(Tn,Nn){Nn&&Je.current||Bt(Tn)}return[Ct,Jt]}function ht(ze){return ze!==void 0}function we(ze,Je){var et=Je||{},st=et.defaultValue,Ct=et.value,Bt=et.onChange,Jt=et.postState,Tn=at(function(){return ht(Ct)?Ct:ht(st)?typeof st=="function"?st():st:typeof ze=="function"?ze():ze}),Nn=(0,me.Z)(Tn,2),Fr=Nn[0],Jr=Nn[1],Ar=Ct!==void 0?Ct:Fr,er=Jt?Jt(Ar):Ar,Wn=ot(Bt),ur=at([Ar]),mr=(0,me.Z)(ur,2),Vr=mr[0],Dr=mr[1];ut(function(){var Tr=Vr[0];Fr!==Tr&&Wn(Fr,Tr)},[Vr]),ut(function(){ht(Ct)||Jr(Ct)},[Ct]);var Mr=ot(function(Tr,Or){Jr(Tr,Or),Dr([Ar],Or)});return[er,Mr]}var he=ie(62874),je=(0,Ie.createContext)(null),Ve=Ie.forwardRef(function(ze,Je){var et=ze.prefixCls,st=ze.className,Ct=ze.style,Bt=ze.id,Jt=ze.active,Tn=ze.tabKey,Nn=ze.children;return Ie.createElement("div",{id:Bt&&"".concat(Bt,"-panel-").concat(Tn),role:"tabpanel",tabIndex:Jt?0:-1,"aria-labelledby":Bt&&"".concat(Bt,"-tab-").concat(Tn),"aria-hidden":!Jt,style:Ct,className:ve()(et,Jt&&"".concat(et,"-active"),st),ref:Je},Nn)}),Ge=Ve,qe=["key","forceRender","style","className"];function Ye(ze){var Je=ze.id,et=ze.activeKey,st=ze.animated,Ct=ze.tabPosition,Bt=ze.destroyInactiveTabPane,Jt=Ie.useContext(je),Tn=Jt.prefixCls,Nn=Jt.tabs,Fr=st.tabPane,Jr="".concat(Tn,"-tabpane");return Ie.createElement("div",{className:ve()("".concat(Tn,"-content-holder"))},Ie.createElement("div",{className:ve()("".concat(Tn,"-content"),"".concat(Tn,"-content-").concat(Ct),(0,ke.Z)({},"".concat(Tn,"-content-animated"),Fr))},Nn.map(function(Ar){var er=Ar.key,Wn=Ar.forceRender,ur=Ar.style,mr=Ar.className,Vr=(0,mt.Z)(Ar,qe),Dr=er===et;return Ie.createElement(he.Z,(0,Ee.Z)({key:er,visible:Dr,forceRender:Wn,removeOnLeave:!!Bt,leavedClassName:"".concat(Jr,"-hidden")},st.tabPaneMotion),function(Mr,Tr){var Or=Mr.style,qr=Mr.className;return Ie.createElement(Ge,(0,Ee.Z)({},Vr,{prefixCls:Jr,id:Je,tabKey:er,animated:Fr,active:Dr,style:(0,ye.Z)((0,ye.Z)({},ur),Or),className:ve()(mr,qr),ref:Tr}))})})))}var We=ie(74902),St=ie(48555),lt=ie(59864);function zt(ze,Je,et){var st=Ie.useRef({});return(!("value"in st.current)||et(st.current.condition,Je))&&(st.current.value=ze(),st.current.condition=Je),st.current.value}function Dt(ze,Je){typeof ze=="function"?ze(Je):(0,Le.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Je)}function pn(){for(var ze=arguments.length,Je=new Array(ze),et=0;et<ze;et++)Je[et]=arguments[et];var st=Je.filter(function(Ct){return Ct});return st.length<=1?st[0]:function(Ct){Je.forEach(function(Bt){Dt(Bt,Ct)})}}function Kn(){for(var ze=arguments.length,Je=new Array(ze),et=0;et<ze;et++)Je[et]=arguments[et];return zt(function(){return pn.apply(void 0,Je)},Je,function(st,Ct){return st.length===Ct.length&&st.every(function(Bt,Jt){return Bt===Ct[Jt]})})}function tr(ze){var Je,et,st=isMemo(ze)?ze.type.type:ze.type;return!(typeof st=="function"&&!((Je=st.prototype)!==null&&Je!==void 0&&Je.render)||typeof ze=="function"&&!((et=ze.prototype)!==null&&et!==void 0&&et.render))}var it={width:0,height:0,left:0,top:0};function Ce(ze,Je,et){return(0,Ie.useMemo)(function(){for(var st,Ct=new Map,Bt=Je.get((st=ze[0])===null||st===void 0?void 0:st.key)||it,Jt=Bt.left+Bt.width,Tn=0;Tn<ze.length;Tn+=1){var Nn=ze[Tn].key,Fr=Je.get(Nn);if(!Fr){var Jr;Fr=Je.get((Jr=ze[Tn-1])===null||Jr===void 0?void 0:Jr.key)||it}var Ar=Ct.get(Nn)||(0,ye.Z)({},Fr);Ar.right=Jt-Ar.left-Ar.width,Ct.set(Nn,Ar)}return Ct},[ze.map(function(st){return st.key}).join("_"),Je,et])}function wt(ze,Je){var et=Ie.useRef(ze),st=Ie.useState({}),Ct=(0,me.Z)(st,2),Bt=Ct[1];function Jt(Tn){var Nn=typeof Tn=="function"?Tn(et.current):Tn;Nn!==et.current&&Je(Nn,et.current),et.current=Nn,Bt({})}return[et.current,Jt]}var An=.1,Tt=.01,rt=20,ft=Math.pow(.995,rt);function Wt(ze,Je){var et=(0,Ie.useState)(),st=(0,me.Z)(et,2),Ct=st[0],Bt=st[1],Jt=(0,Ie.useState)(0),Tn=(0,me.Z)(Jt,2),Nn=Tn[0],Fr=Tn[1],Jr=(0,Ie.useState)(0),Ar=(0,me.Z)(Jr,2),er=Ar[0],Wn=Ar[1],ur=(0,Ie.useState)(),mr=(0,me.Z)(ur,2),Vr=mr[0],Dr=mr[1],Mr=(0,Ie.useRef)();function Tr(Pt){var xn=Pt.touches[0],Zn=xn.screenX,Jn=xn.screenY;Bt({x:Zn,y:Jn}),window.clearInterval(Mr.current)}function Or(Pt){if(Ct){Pt.preventDefault();var xn=Pt.touches[0],Zn=xn.screenX,Jn=xn.screenY;Bt({x:Zn,y:Jn});var yr=Zn-Ct.x,xt=Jn-Ct.y;Je(yr,xt);var ct=Date.now();Fr(ct),Wn(ct-Nn),Dr({x:yr,y:xt})}}function qr(){if(Ct&&(Bt(null),Dr(null),Vr)){var Pt=Vr.x/er,xn=Vr.y/er,Zn=Math.abs(Pt),Jn=Math.abs(xn);if(Math.max(Zn,Jn)<An)return;var yr=Pt,xt=xn;Mr.current=window.setInterval(function(){if(Math.abs(yr)<Tt&&Math.abs(xt)<Tt){window.clearInterval(Mr.current);return}yr*=ft,xt*=ft,Je(yr*rt,xt*rt)},rt)}}var Ue=(0,Ie.useRef)();function tt(Pt){var xn=Pt.deltaX,Zn=Pt.deltaY,Jn=0,yr=Math.abs(xn),xt=Math.abs(Zn);yr===xt?Jn=Ue.current==="x"?xn:Zn:yr>xt?(Jn=xn,Ue.current="x"):(Jn=Zn,Ue.current="y"),Je(-Jn,-Jn)&&Pt.preventDefault()}var tn=(0,Ie.useRef)(null);tn.current={onTouchStart:Tr,onTouchMove:Or,onTouchEnd:qr,onWheel:tt},Ie.useEffect(function(){function Pt(yr){tn.current.onTouchStart(yr)}function xn(yr){tn.current.onTouchMove(yr)}function Zn(yr){tn.current.onTouchEnd(yr)}function Jn(yr){tn.current.onWheel(yr)}return document.addEventListener("touchmove",xn,{passive:!1}),document.addEventListener("touchend",Zn,{passive:!1}),ze.current.addEventListener("touchstart",Pt,{passive:!1}),ze.current.addEventListener("wheel",Jn),function(){document.removeEventListener("touchmove",xn),document.removeEventListener("touchend",Zn)}},[])}function qt(ze){var Je=(0,Ie.useState)(0),et=(0,me.Z)(Je,2),st=et[0],Ct=et[1],Bt=(0,Ie.useRef)(0),Jt=(0,Ie.useRef)();return Jt.current=ze,ut(function(){var Tn;(Tn=Jt.current)===null||Tn===void 0||Tn.call(Jt)},[st]),function(){Bt.current===st&&(Bt.current+=1,Ct(Bt.current))}}function Xt(ze){var Je=(0,Ie.useRef)([]),et=(0,Ie.useState)({}),st=(0,me.Z)(et,2),Ct=st[1],Bt=(0,Ie.useRef)(typeof ze=="function"?ze():ze),Jt=qt(function(){var Nn=Bt.current;Je.current.forEach(function(Fr){Nn=Fr(Nn)}),Je.current=[],Bt.current=Nn,Ct({})});function Tn(Nn){Je.current.push(Nn),Jt()}return[Bt.current,Tn]}var Ht={width:0,height:0,left:0,top:0,right:0};function un(ze,Je,et,st,Ct,Bt,Jt){var Tn=Jt.tabs,Nn=Jt.tabPosition,Fr=Jt.rtl,Jr,Ar,er;return["top","bottom"].includes(Nn)?(Jr="width",Ar=Fr?"right":"left",er=Math.abs(et)):(Jr="height",Ar="top",er=-et),(0,Ie.useMemo)(function(){if(!Tn.length)return[0,0];for(var Wn=Tn.length,ur=Wn,mr=0;mr<Wn;mr+=1){var Vr=ze.get(Tn[mr].key)||Ht;if(Vr[Ar]+Vr[Jr]>er+Je){ur=mr-1;break}}for(var Dr=0,Mr=Wn-1;Mr>=0;Mr-=1){var Tr=ze.get(Tn[Mr].key)||Ht;if(Tr[Ar]<er){Dr=Mr+1;break}}return Dr>=ur?[0,0]:[Dr,ur]},[ze,Je,st,Ct,Bt,er,Nn,Tn.map(function(Wn){return Wn.key}).join("_"),Fr])}function kn(ze){var Je;return ze instanceof Map?(Je={},ze.forEach(function(et,st){Je[st]=et})):Je=ze,JSON.stringify(Je)}var yn="TABS_DQ";function Fe(ze){return String(ze).replace(/"/g,yn)}function ce(ze,Je,et,st){return!(!et||st||ze===!1||ze===void 0&&(Je===!1||Je===null))}function ue(ze,Je){var et=ze.prefixCls,st=ze.editable,Ct=ze.locale,Bt=ze.style;return!st||st.showAdd===!1?null:Ie.createElement("button",{ref:Je,type:"button",className:"".concat(et,"-nav-add"),style:Bt,"aria-label":(Ct==null?void 0:Ct.addAriaLabel)||"Add tab",onClick:function(Tn){st.onEdit("add",{event:Tn})}},st.addIcon||"+")}var pe=Ie.forwardRef(ue),de=Ie.forwardRef(function(ze,Je){var et=ze.position,st=ze.prefixCls,Ct=ze.extra;if(!Ct)return null;var Bt,Jt={};return(0,Le.Z)(Ct)==="object"&&!Ie.isValidElement(Ct)?Jt=Ct:Jt.right=Ct,et==="right"&&(Bt=Jt.right),et==="left"&&(Bt=Jt.left),Bt?Ie.createElement("div",{className:"".concat(st,"-extra-content"),ref:Je},Bt):null}),le=de,De=ie(62709);function Ke(ze,Je,et){var st=React.useRef({});return(!("value"in st.current)||et(st.current.condition,Je))&&(st.current.value=ze(),st.current.condition=Je),st.current.value}function Et(ze,Je){typeof ze=="function"?ze(Je):(0,Le.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Je)}function Yt(){for(var ze=arguments.length,Je=new Array(ze),et=0;et<ze;et++)Je[et]=arguments[et];var st=Je.filter(function(Ct){return Ct});return st.length<=1?st[0]:function(Ct){Je.forEach(function(Bt){Et(Bt,Ct)})}}function Kt(){for(var ze=arguments.length,Je=new Array(ze),et=0;et<ze;et++)Je[et]=arguments[et];return useMemo(function(){return Yt.apply(void 0,Je)},Je,function(st,Ct){return st.length===Ct.length&&st.every(function(Bt,Jt){return Bt===Ct[Jt]})})}function nn(ze){var Je,et,st=(0,lt.isMemo)(ze)?ze.type.type:ze.type;return!(typeof st=="function"&&!((Je=st.prototype)!==null&&Je!==void 0&&Je.render)||typeof ze=="function"&&!((et=ze.prototype)!==null&&et!==void 0&&et.render))}var $t={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Je){var et=Je.keyCode;if(Je.altKey&&!Je.ctrlKey||Je.metaKey||et>=$t.F1&&et<=$t.F12)return!1;switch(et){case $t.ALT:case $t.CAPS_LOCK:case $t.CONTEXT_MENU:case $t.CTRL:case $t.DOWN:case $t.END:case $t.ESC:case $t.HOME:case $t.INSERT:case $t.LEFT:case $t.MAC_FF_META:case $t.META:case $t.NUMLOCK:case $t.NUM_CENTER:case $t.PAGE_DOWN:case $t.PAGE_UP:case $t.PAUSE:case $t.PRINT_SCREEN:case $t.RIGHT:case $t.SHIFT:case $t.UP:case $t.WIN_KEY:case $t.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Je){if(Je>=$t.ZERO&&Je<=$t.NINE||Je>=$t.NUM_ZERO&&Je<=$t.NUM_MULTIPLY||Je>=$t.A&&Je<=$t.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Je===0)return!0;switch(Je){case $t.SPACE:case $t.QUESTION_MARK:case $t.NUM_PLUS:case $t.NUM_MINUS:case $t.NUM_PERIOD:case $t.NUM_DIVISION:case $t.SEMICOLON:case $t.DASH:case $t.EQUALS:case $t.COMMA:case $t.PERIOD:case $t.SLASH:case $t.APOSTROPHE:case $t.SINGLE_QUOTE:case $t.OPEN_SQUARE_BRACKET:case $t.BACKSLASH:case $t.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},gr=$t,kr=function(Je){return+setTimeout(Je,16)},rn=function(Je){return clearTimeout(Je)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(kr=function(Je){return window.requestAnimationFrame(Je)},rn=function(Je){return window.cancelAnimationFrame(Je)});var gn=0,hr=new Map;function Er(ze){hr.delete(ze)}var yt=function(Je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;gn+=1;var st=gn;function Ct(Bt){if(Bt===0)Er(st),Je();else{var Jt=kr(function(){Ct(Bt-1)});hr.set(st,Jt)}}return Ct(et),st};yt.cancel=function(ze){var Je=hr.get(ze);return Er(Je),rn(Je)};var It=yt,$n=gr.ESC,Qn=gr.TAB;function wr(ze){var Je=ze.visible,et=ze.triggerRef,st=ze.onVisibleChange,Ct=ze.autoFocus,Bt=ze.overlayRef,Jt=Ie.useRef(!1),Tn=function(){if(Je){var Ar,er;(Ar=et.current)===null||Ar===void 0||(er=Ar.focus)===null||er===void 0||er.call(Ar),st==null||st(!1)}},Nn=function(){var Ar;return(Ar=Bt.current)!==null&&Ar!==void 0&&Ar.focus?(Bt.current.focus(),Jt.current=!0,!0):!1},Fr=function(Ar){switch(Ar.keyCode){case $n:Tn();break;case Qn:{var er=!1;Jt.current||(er=Nn()),er?Ar.preventDefault():Tn();break}}};Ie.useEffect(function(){return Je?(window.addEventListener("keydown",Fr),Ct&&It(Nn,3),function(){window.removeEventListener("keydown",Fr),Jt.current=!1}):function(){Jt.current=!1}},[Je])}var _r=(0,Ie.forwardRef)(function(ze,Je){var et=ze.overlay,st=ze.arrow,Ct=ze.prefixCls,Bt=(0,Ie.useMemo)(function(){var Tn;return typeof et=="function"?Tn=et():Tn=et,Tn},[et]),Jt=Yt(Je,Bt==null?void 0:Bt.ref);return Ie.createElement(Ie.Fragment,null,st&&Ie.createElement("div",{className:"".concat(Ct,"-arrow")}),Ie.cloneElement(Bt,{ref:nn(Bt)?Jt:void 0}))}),ei=_r,Xr={adjustX:1,adjustY:1},ri=[0,0],fi={topLeft:{points:["bl","tl"],overflow:Xr,offset:[0,-4],targetOffset:ri},top:{points:["bc","tc"],overflow:Xr,offset:[0,-4],targetOffset:ri},topRight:{points:["br","tr"],overflow:Xr,offset:[0,-4],targetOffset:ri},bottomLeft:{points:["tl","bl"],overflow:Xr,offset:[0,4],targetOffset:ri},bottom:{points:["tc","bc"],overflow:Xr,offset:[0,4],targetOffset:ri},bottomRight:{points:["tr","br"],overflow:Xr,offset:[0,4],targetOffset:ri}},Cr=fi,yi=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Gi(ze,Je){var et,st=ze.arrow,Ct=st===void 0?!1:st,Bt=ze.prefixCls,Jt=Bt===void 0?"rc-dropdown":Bt,Tn=ze.transitionName,Nn=ze.animation,Fr=ze.align,Jr=ze.placement,Ar=Jr===void 0?"bottomLeft":Jr,er=ze.placements,Wn=er===void 0?Cr:er,ur=ze.getPopupContainer,mr=ze.showAction,Vr=ze.hideAction,Dr=ze.overlayClassName,Mr=ze.overlayStyle,Tr=ze.visible,Or=ze.trigger,qr=Or===void 0?["hover"]:Or,Ue=ze.autoFocus,tt=ze.overlay,tn=ze.children,Pt=ze.onVisibleChange,xn=(0,mt.Z)(ze,yi),Zn=Ie.useState(),Jn=(0,me.Z)(Zn,2),yr=Jn[0],xt=Jn[1],ct="visible"in ze?Tr:yr,Lt=Ie.useRef(null),dn=Ie.useRef(null),qn=Ie.useRef(null);Ie.useImperativeHandle(Je,function(){return Lt.current});var In=function(Wr){xt(Wr),Pt==null||Pt(Wr)};wr({visible:ct,triggerRef:qn,onVisibleChange:In,autoFocus:Ue,overlayRef:dn});var wn=function(Wr){var Nr=ze.onOverlayClick;xt(!1),Nr&&Nr(Wr)},xr=function(){return Ie.createElement(ei,{ref:dn,overlay:tt,prefixCls:Jt,arrow:Ct})},pr=function(){return typeof tt=="function"?xr:xr()},Pr=function(){var Wr=ze.minOverlayWidthMatchTrigger,Nr=ze.alignPoint;return"minOverlayWidthMatchTrigger"in ze?Wr:!Nr},dr=function(){var Wr=ze.openClassName;return Wr!==void 0?Wr:"".concat(Jt,"-open")},Vn=Ie.cloneElement(tn,{className:ve()((et=tn.props)===null||et===void 0?void 0:et.className,ct&&dr()),ref:nn(tn)?Yt(qn,tn.ref):void 0}),Hr=Vr;return!Hr&&qr.indexOf("contextMenu")!==-1&&(Hr=["click"]),Ie.createElement(De.Z,(0,Ee.Z)({builtinPlacements:Wn},xn,{prefixCls:Jt,ref:Lt,popupClassName:ve()(Dr,(0,ke.Z)({},"".concat(Jt,"-show-arrow"),Ct)),popupStyle:Mr,action:qr,showAction:mr,hideAction:Hr,popupPlacement:Ar,popupAlign:Fr,popupTransitionName:Tn,popupAnimation:Nn,popupVisible:ct,stretch:Pr()?"minWidth":"",popup:pr(),onPopupVisibleChange:In,onPopupClick:wn,getPopupContainer:ur}),Vn)}var oi=Ie.forwardRef(Gi),ea=oi,Di=ie(78595),Ot={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Je){var et=Je.keyCode;if(Je.altKey&&!Je.ctrlKey||Je.metaKey||et>=Ot.F1&&et<=Ot.F12)return!1;switch(et){case Ot.ALT:case Ot.CAPS_LOCK:case Ot.CONTEXT_MENU:case Ot.CTRL:case Ot.DOWN:case Ot.END:case Ot.ESC:case Ot.HOME:case Ot.INSERT:case Ot.LEFT:case Ot.MAC_FF_META:case Ot.META:case Ot.NUMLOCK:case Ot.NUM_CENTER:case Ot.PAGE_DOWN:case Ot.PAGE_UP:case Ot.PAUSE:case Ot.PRINT_SCREEN:case Ot.RIGHT:case Ot.SHIFT:case Ot.UP:case Ot.WIN_KEY:case Ot.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Je){if(Je>=Ot.ZERO&&Je<=Ot.NINE||Je>=Ot.NUM_ZERO&&Je<=Ot.NUM_MULTIPLY||Je>=Ot.A&&Je<=Ot.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Je===0)return!0;switch(Je){case Ot.SPACE:case Ot.QUESTION_MARK:case Ot.NUM_PLUS:case Ot.NUM_MINUS:case Ot.NUM_PERIOD:case Ot.NUM_DIVISION:case Ot.SEMICOLON:case Ot.DASH:case Ot.EQUALS:case Ot.COMMA:case Ot.PERIOD:case Ot.SLASH:case Ot.APOSTROPHE:case Ot.SINGLE_QUOTE:case Ot.OPEN_SQUARE_BRACKET:case Ot.BACKSLASH:case Ot.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Nt=Ot;function cn(ze,Je){var et=ze.prefixCls,st=ze.id,Ct=ze.tabs,Bt=ze.locale,Jt=ze.mobile,Tn=ze.moreIcon,Nn=Tn===void 0?"More":Tn,Fr=ze.moreTransitionName,Jr=ze.style,Ar=ze.className,er=ze.editable,Wn=ze.tabBarGutter,ur=ze.rtl,mr=ze.removeAriaLabel,Vr=ze.onTabClick,Dr=ze.getPopupContainer,Mr=ze.popupClassName,Tr=(0,Ie.useState)(!1),Or=(0,me.Z)(Tr,2),qr=Or[0],Ue=Or[1],tt=(0,Ie.useState)(null),tn=(0,me.Z)(tt,2),Pt=tn[0],xn=tn[1],Zn="".concat(st,"-more-popup"),Jn="".concat(et,"-dropdown"),yr=Pt!==null?"".concat(Zn,"-").concat(Pt):null,xt=Bt==null?void 0:Bt.dropdownAriaLabel;function ct(pr,Pr){pr.preventDefault(),pr.stopPropagation(),er.onEdit("remove",{key:Pr,event:pr})}var Lt=Ie.createElement(Di.ZP,{onClick:function(Pr){var dr=Pr.key,Vn=Pr.domEvent;Vr(dr,Vn),Ue(!1)},prefixCls:"".concat(Jn,"-menu"),id:Zn,tabIndex:-1,role:"listbox","aria-activedescendant":yr,selectedKeys:[Pt],"aria-label":xt!==void 0?xt:"expanded dropdown"},Ct.map(function(pr){var Pr=pr.closable,dr=pr.disabled,Vn=pr.closeIcon,Hr=pr.key,ni=pr.label,Wr=ce(Pr,Vn,er,dr);return Ie.createElement(Di.sN,{key:Hr,id:"".concat(Zn,"-").concat(Hr),role:"option","aria-controls":st&&"".concat(st,"-panel-").concat(Hr),disabled:dr},Ie.createElement("span",null,ni),Wr&&Ie.createElement("button",{type:"button","aria-label":mr||"remove",tabIndex:0,className:"".concat(Jn,"-menu-item-remove"),onClick:function(Gr){Gr.stopPropagation(),ct(Gr,Hr)}},Vn||er.removeIcon||"\xD7"))}));function dn(pr){for(var Pr=Ct.filter(function(Wr){return!Wr.disabled}),dr=Pr.findIndex(function(Wr){return Wr.key===Pt})||0,Vn=Pr.length,Hr=0;Hr<Vn;Hr+=1){dr=(dr+pr+Vn)%Vn;var ni=Pr[dr];if(!ni.disabled){xn(ni.key);return}}}function qn(pr){var Pr=pr.which;if(!qr){[Nt.DOWN,Nt.SPACE,Nt.ENTER].includes(Pr)&&(Ue(!0),pr.preventDefault());return}switch(Pr){case Nt.UP:dn(-1),pr.preventDefault();break;case Nt.DOWN:dn(1),pr.preventDefault();break;case Nt.ESC:Ue(!1);break;case Nt.SPACE:case Nt.ENTER:Pt!==null&&Vr(Pt,pr);break}}(0,Ie.useEffect)(function(){var pr=document.getElementById(yr);pr&&pr.scrollIntoView&&pr.scrollIntoView(!1)},[Pt]),(0,Ie.useEffect)(function(){qr||xn(null)},[qr]);var In=(0,ke.Z)({},ur?"marginRight":"marginLeft",Wn);Ct.length||(In.visibility="hidden",In.order=1);var wn=ve()((0,ke.Z)({},"".concat(Jn,"-rtl"),ur)),xr=Jt?null:Ie.createElement(ea,{prefixCls:Jn,overlay:Lt,trigger:["hover"],visible:Ct.length?qr:!1,transitionName:Fr,onVisibleChange:Ue,overlayClassName:ve()(wn,Mr),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:Dr},Ie.createElement("button",{type:"button",className:"".concat(et,"-nav-more"),style:In,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Zn,id:"".concat(st,"-more"),"aria-expanded":qr,onKeyDown:qn},Nn));return Ie.createElement("div",{className:ve()("".concat(et,"-nav-operations"),Ar),style:Jr,ref:Je},xr,Ie.createElement(pe,{prefixCls:et,locale:Bt,editable:er}))}var bn=Ie.memo(Ie.forwardRef(cn),function(ze,Je){return Je.tabMoving});function rr(ze){var Je,et=ze.prefixCls,st=ze.id,Ct=ze.active,Bt=ze.tab,Jt=Bt.key,Tn=Bt.label,Nn=Bt.disabled,Fr=Bt.closeIcon,Jr=ze.closable,Ar=ze.renderWrapper,er=ze.removeAriaLabel,Wn=ze.editable,ur=ze.onClick,mr=ze.onFocus,Vr=ze.style,Dr="".concat(et,"-tab"),Mr=ce(Jr,Fr,Wn,Nn);function Tr(Ue){Nn||ur(Ue)}function Or(Ue){Ue.preventDefault(),Ue.stopPropagation(),Wn.onEdit("remove",{key:Jt,event:Ue})}var qr=Ie.createElement("div",{key:Jt,"data-node-key":Fe(Jt),className:ve()(Dr,(Je={},(0,ke.Z)(Je,"".concat(Dr,"-with-remove"),Mr),(0,ke.Z)(Je,"".concat(Dr,"-active"),Ct),(0,ke.Z)(Je,"".concat(Dr,"-disabled"),Nn),Je)),style:Vr,onClick:Tr},Ie.createElement("div",{role:"tab","aria-selected":Ct,id:st&&"".concat(st,"-tab-").concat(Jt),className:"".concat(Dr,"-btn"),"aria-controls":st&&"".concat(st,"-panel-").concat(Jt),"aria-disabled":Nn,tabIndex:Nn?null:0,onClick:function(tt){tt.stopPropagation(),Tr(tt)},onKeyDown:function(tt){[Nt.SPACE,Nt.ENTER].includes(tt.which)&&(tt.preventDefault(),Tr(tt))},onFocus:mr},Tn),Mr&&Ie.createElement("button",{type:"button","aria-label":er||"remove",tabIndex:0,className:"".concat(Dr,"-remove"),onClick:function(tt){tt.stopPropagation(),Or(tt)}},Fr||Wn.removeIcon||"\xD7"));return Ar?Ar(qr):qr}var Fn=rr,ir=function(Je){return+setTimeout(Je,16)},Xn=function(Je){return clearTimeout(Je)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ir=function(Je){return window.requestAnimationFrame(Je)},Xn=function(Je){return window.cancelAnimationFrame(Je)});var pt=0,At=new Map;function Mt(ze){At.delete(ze)}var fn=function(Je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pt+=1;var st=pt;function Ct(Bt){if(Bt===0)Mt(st),Je();else{var Jt=ir(function(){Ct(Bt-1)});At.set(st,Jt)}}return Ct(et),st};fn.cancel=function(ze){var Je=At.get(ze);return Mt(Je),Xn(Je)};var $e=fn,Ft=function(Je){var et=Je.activeTabOffset,st=Je.horizontal,Ct=Je.rtl,Bt=Je.indicatorSize,Jt=(0,Ie.useState)(),Tn=(0,me.Z)(Jt,2),Nn=Tn[0],Fr=Tn[1],Jr=(0,Ie.useRef)(),Ar=function(ur){return typeof Bt=="function"?Bt(ur):typeof Bt=="number"?Bt:ur};function er(){$e.cancel(Jr.current)}return(0,Ie.useEffect)(function(){var Wn={};return et&&(st?(Ct?(Wn.right=et.right+et.width/2,Wn.transform="translateX(50%)"):(Wn.left=et.left+et.width/2,Wn.transform="translateX(-50%)"),Wn.width=Ar(et.width)):(Wn.top=et.top+et.height/2,Wn.transform="translateY(-50%)",Wn.height=Ar(et.height))),er(),Jr.current=$e(function(){Fr(Wn)}),er},[et,st,Ct,Bt]),{style:Nn}},on=Ft,_t=function(Je){var et=Je.current||{},st=et.offsetWidth,Ct=st===void 0?0:st,Bt=et.offsetHeight,Jt=Bt===void 0?0:Bt;return[Ct,Jt]},En=function(Je,et){return Je[et?0:1]};function Sn(ze,Je){var et,st=Ie.useContext(je),Ct=st.prefixCls,Bt=st.tabs,Jt=ze.className,Tn=ze.style,Nn=ze.id,Fr=ze.animated,Jr=ze.activeKey,Ar=ze.rtl,er=ze.extra,Wn=ze.editable,ur=ze.locale,mr=ze.tabPosition,Vr=ze.tabBarGutter,Dr=ze.children,Mr=ze.onTabClick,Tr=ze.onTabScroll,Or=ze.indicatorSize,qr=(0,Ie.useRef)(),Ue=(0,Ie.useRef)(),tt=(0,Ie.useRef)(),tn=(0,Ie.useRef)(),Pt=(0,Ie.useRef)(),xn=(0,Ie.useRef)(),Zn=(0,Ie.useRef)(),Jn=mr==="top"||mr==="bottom",yr=wt(0,function(ja,be){Jn&&Tr&&Tr({direction:ja>be?"left":"right"})}),xt=(0,me.Z)(yr,2),ct=xt[0],Lt=xt[1],dn=wt(0,function(ja,be){!Jn&&Tr&&Tr({direction:ja>be?"top":"bottom"})}),qn=(0,me.Z)(dn,2),In=qn[0],wn=qn[1],xr=(0,Ie.useState)([0,0]),pr=(0,me.Z)(xr,2),Pr=pr[0],dr=pr[1],Vn=(0,Ie.useState)([0,0]),Hr=(0,me.Z)(Vn,2),ni=Hr[0],Wr=Hr[1],Nr=(0,Ie.useState)([0,0]),Gr=(0,me.Z)(Nr,2),Li=Gr[0],xi=Gr[1],Ei=(0,Ie.useState)([0,0]),$i=(0,me.Z)(Ei,2),Aa=$i[0],_i=$i[1],la=Xt(new Map),Ai=(0,me.Z)(la,2),Ki=Ai[0],ua=Ai[1],pa=Ce(Bt,Ki,ni[0]),ao=En(Pr,Jn),no=En(ni,Jn),ro=En(Li,Jn),Ha=En(Aa,Jn),wa=ao<no+ro,Wi=wa?ao-Ha:ao-ro,co="".concat(Ct,"-nav-operations-hidden"),aa=0,Bi=0;Jn&&Ar?(aa=0,Bi=Math.max(0,no-Wi)):(aa=Math.min(0,Wi-no),Bi=0);function ma(ja){return ja<aa?aa:ja>Bi?Bi:ja}var Ja=(0,Ie.useRef)(),Ba=(0,Ie.useState)(),Va=(0,me.Z)(Ba,2),na=Va[0],oo=Va[1];function fo(){oo(Date.now())}function to(){window.clearTimeout(Ja.current)}Wt(tn,function(ja,be){function Be(Pe,gt){Pe(function(vt){var vn=ma(vt+gt);return vn})}return wa?(Jn?Be(Lt,ja):Be(wn,be),to(),fo(),!0):!1}),(0,Ie.useEffect)(function(){return to(),na&&(Ja.current=window.setTimeout(function(){oo(0)},100)),to},[na]);var ho=un(pa,Wi,Jn?ct:In,no,ro,Ha,(0,ye.Z)((0,ye.Z)({},ze),{},{tabs:Bt})),bo=(0,me.Z)(ho,2),Lo=bo[0],io=bo[1],lo=ot(function(){var ja=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jr,be=pa.get(ja)||{width:0,height:0,left:0,right:0,top:0};if(Jn){var Be=ct;Ar?be.right<ct?Be=be.right:be.right+be.width>ct+Wi&&(Be=be.right+be.width-Wi):be.left<-ct?Be=-be.left:be.left+be.width>-ct+Wi&&(Be=-(be.left+be.width-Wi)),wn(0),Lt(ma(Be))}else{var Pe=In;be.top<-In?Pe=-be.top:be.top+be.height>-In+Wi&&(Pe=-(be.top+be.height-Wi)),Lt(0),wn(ma(Pe))}}),Ko={};mr==="top"||mr==="bottom"?Ko[Ar?"marginRight":"marginLeft"]=Vr:Ko.marginTop=Vr;var Wo=Bt.map(function(ja,be){var Be=ja.key;return Ie.createElement(Fn,{id:Nn,prefixCls:Ct,key:Be,tab:ja,style:be===0?void 0:Ko,closable:ja.closable,editable:Wn,active:Be===Jr,renderWrapper:Dr,removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,onClick:function(gt){Mr(Be,gt)},onFocus:function(){lo(Be),fo(),tn.current&&(Ar||(tn.current.scrollLeft=0),tn.current.scrollTop=0)}})}),Jo=function(){return ua(function(){var be=new Map;return Bt.forEach(function(Be){var Pe,gt=Be.key,vt=(Pe=Pt.current)===null||Pe===void 0?void 0:Pe.querySelector('[data-node-key="'.concat(Fe(gt),'"]'));vt&&be.set(gt,{width:vt.offsetWidth,height:vt.offsetHeight,left:vt.offsetLeft,top:vt.offsetTop})}),be})};(0,Ie.useEffect)(function(){Jo()},[Bt.map(function(ja){return ja.key}).join("_")]);var Fo=qt(function(){var ja=_t(qr),be=_t(Ue),Be=_t(tt);dr([ja[0]-be[0]-Be[0],ja[1]-be[1]-Be[1]]);var Pe=_t(Zn);xi(Pe);var gt=_t(xn);_i(gt);var vt=_t(Pt);Wr([vt[0]-Pe[0],vt[1]-Pe[1]]),Jo()}),po=Bt.slice(0,Lo),ga=Bt.slice(io+1),Sa=[].concat((0,We.Z)(po),(0,We.Z)(ga)),qa=pa.get(Jr),mo=on({activeTabOffset:qa,horizontal:Jn,rtl:Ar,indicatorSize:Or}),Io=mo.style;(0,Ie.useEffect)(function(){lo()},[Jr,aa,Bi,kn(qa),kn(pa),Jn]),(0,Ie.useEffect)(function(){Fo()},[Ar]);var Go=!!Sa.length,qo="".concat(Ct,"-nav-wrap"),ls,Ss,$o,Cs;return Jn?Ar?(Ss=ct>0,ls=ct!==Bi):(ls=ct<0,Ss=ct!==aa):($o=In<0,Cs=In!==aa),Ie.createElement(St.Z,{onResize:Fo},Ie.createElement("div",{ref:Kn(Je,qr),role:"tablist",className:ve()("".concat(Ct,"-nav"),Jt),style:Tn,onKeyDown:function(){fo()}},Ie.createElement(le,{ref:Ue,position:"left",extra:er,prefixCls:Ct}),Ie.createElement(St.Z,{onResize:Fo},Ie.createElement("div",{className:ve()(qo,(et={},(0,ke.Z)(et,"".concat(qo,"-ping-left"),ls),(0,ke.Z)(et,"".concat(qo,"-ping-right"),Ss),(0,ke.Z)(et,"".concat(qo,"-ping-top"),$o),(0,ke.Z)(et,"".concat(qo,"-ping-bottom"),Cs),et)),ref:tn},Ie.createElement(St.Z,{onResize:Fo},Ie.createElement("div",{ref:Pt,className:"".concat(Ct,"-nav-list"),style:{transform:"translate(".concat(ct,"px, ").concat(In,"px)"),transition:na?"none":void 0}},Wo,Ie.createElement(pe,{ref:Zn,prefixCls:Ct,locale:ur,editable:Wn,style:(0,ye.Z)((0,ye.Z)({},Wo.length===0?void 0:Ko),{},{visibility:Go?"hidden":null})}),Ie.createElement("div",{className:ve()("".concat(Ct,"-ink-bar"),(0,ke.Z)({},"".concat(Ct,"-ink-bar-animated"),Fr.inkBar)),style:Io}))))),Ie.createElement(bn,(0,Ee.Z)({},ze,{removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,ref:xn,prefixCls:Ct,tabs:Sa,className:!Go&&co,tabMoving:!!na})),Ie.createElement(le,{ref:tt,position:"right",extra:er,prefixCls:Ct})))}var Bn=Ie.forwardRef(Sn),Qr=["renderTabBar"],Lr=["label","key"];function Sr(ze){var Je=ze.renderTabBar,et=(0,mt.Z)(ze,Qr),st=Ie.useContext(je),Ct=st.tabs;if(Je){var Bt=(0,ye.Z)((0,ye.Z)({},et),{},{panes:Ct.map(function(Jt){var Tn=Jt.label,Nn=Jt.key,Fr=(0,mt.Z)(Jt,Lr);return Ie.createElement(Ge,(0,Ee.Z)({tab:Tn,key:Nn,tabKey:Nn},Fr))})});return Je(Bt,Bn)}return Ie.createElement(Bn,et)}var jr={},zr=[],Rt=function(Je){zr.push(Je)};function kt(ze,Je){if(0)var et}function jt(ze,Je){if(0)var et}function zn(){jr={}}function lr(ze,Je,et){!Je&&!jr[et]&&(ze(!1,et),jr[et]=!0)}function Hn(ze,Je){lr(kt,ze,Je)}function _n(ze,Je){lr(jt,ze,Je)}Hn.preMessage=Rt,Hn.resetWarned=zn,Hn.noteOnce=_n;var Gn=null;function or(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Je;return ze===!1?Je={inkBar:!1,tabPane:!1}:ze===!0?Je={inkBar:!0,tabPane:!1}:Je=(0,ye.Z)({inkBar:!0},(0,Le.Z)(ze)==="object"?ze:{}),Je.tabPaneMotion&&Je.tabPane===void 0&&(Je.tabPane=!0),!Je.tabPaneMotion&&Je.tabPane&&(Je.tabPane=!1),Je}var Kr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Ln=0;function Fi(ze,Je){var et,st=ze.id,Ct=ze.prefixCls,Bt=Ct===void 0?"rc-tabs":Ct,Jt=ze.className,Tn=ze.items,Nn=ze.direction,Fr=ze.activeKey,Jr=ze.defaultActiveKey,Ar=ze.editable,er=ze.animated,Wn=ze.tabPosition,ur=Wn===void 0?"top":Wn,mr=ze.tabBarGutter,Vr=ze.tabBarStyle,Dr=ze.tabBarExtraContent,Mr=ze.locale,Tr=ze.moreIcon,Or=ze.moreTransitionName,qr=ze.destroyInactiveTabPane,Ue=ze.renderTabBar,tt=ze.onChange,tn=ze.onTabClick,Pt=ze.onTabScroll,xn=ze.getPopupContainer,Zn=ze.popupClassName,Jn=ze.indicatorSize,yr=(0,mt.Z)(ze,Kr),xt=Ie.useMemo(function(){return(Tn||[]).filter(function(_i){return _i&&(0,Le.Z)(_i)==="object"&&"key"in _i})},[Tn]),ct=Nn==="rtl",Lt=or(er),dn=(0,Ie.useState)(!1),qn=(0,me.Z)(dn,2),In=qn[0],wn=qn[1];(0,Ie.useEffect)(function(){wn(Xe())},[]);var xr=we(function(){var _i;return(_i=xt[0])===null||_i===void 0?void 0:_i.key},{value:Fr,defaultValue:Jr}),pr=(0,me.Z)(xr,2),Pr=pr[0],dr=pr[1],Vn=(0,Ie.useState)(function(){return xt.findIndex(function(_i){return _i.key===Pr})}),Hr=(0,me.Z)(Vn,2),ni=Hr[0],Wr=Hr[1];(0,Ie.useEffect)(function(){var _i=xt.findIndex(function(Ai){return Ai.key===Pr});if(_i===-1){var la;_i=Math.max(0,Math.min(ni,xt.length-1)),dr((la=xt[_i])===null||la===void 0?void 0:la.key)}Wr(_i)},[xt.map(function(_i){return _i.key}).join("_"),Pr,ni]);var Nr=we(null,{value:st}),Gr=(0,me.Z)(Nr,2),Li=Gr[0],xi=Gr[1];(0,Ie.useEffect)(function(){st||(xi("rc-tabs-".concat(Ln)),Ln+=1)},[]);function Ei(_i,la){tn==null||tn(_i,la);var Ai=_i!==Pr;dr(_i),Ai&&(tt==null||tt(_i))}var $i={id:Li,activeKey:Pr,animated:Lt,tabPosition:ur,rtl:ct,mobile:In},Aa=(0,ye.Z)((0,ye.Z)({},$i),{},{editable:Ar,locale:Mr,moreIcon:Tr,moreTransitionName:Or,tabBarGutter:mr,onTabClick:Ei,onTabScroll:Pt,extra:Dr,style:Vr,panes:null,getPopupContainer:xn,popupClassName:Zn,indicatorSize:Jn});return Ie.createElement(je.Provider,{value:{tabs:xt,prefixCls:Bt}},Ie.createElement("div",(0,Ee.Z)({ref:Je,id:st,className:ve()(Bt,"".concat(Bt,"-").concat(ur),(et={},(0,ke.Z)(et,"".concat(Bt,"-mobile"),In),(0,ke.Z)(et,"".concat(Bt,"-editable"),Ar),(0,ke.Z)(et,"".concat(Bt,"-rtl"),ct),et),Jt)},yr),Ie.createElement(Sr,(0,Ee.Z)({},Aa,{renderTabBar:Ue})),Ie.createElement(Ye,(0,Ee.Z)({destroyInactiveTabPane:qr},$i,{animated:Lt}))))}var pi=Ie.forwardRef(Fi),ha=pi,ra=ha,Qi=ie(53124),Ca=ie(98675),Ri=()=>null,sa=ie(33603);const Da={motionAppear:!1,motionEnter:!0,motionLeave:!0};function ki(ze){let Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},et;return Je===!1?et={inkBar:!1,tabPane:!1}:Je===!0?et={inkBar:!0,tabPane:!0}:et=Object.assign({inkBar:!0},typeof Je=="object"?Je:{}),et.tabPane&&(et.tabPaneMotion=Object.assign(Object.assign({},Da),{motionName:(0,sa.m)(ze,"switch")})),et}var Ji=ie(37419),Ea=function(ze,Je){var et={};for(var st in ze)Object.prototype.hasOwnProperty.call(ze,st)&&Je.indexOf(st)<0&&(et[st]=ze[st]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,st=Object.getOwnPropertySymbols(ze);Ct<st.length;Ct++)Je.indexOf(st[Ct])<0&&Object.prototype.propertyIsEnumerable.call(ze,st[Ct])&&(et[st[Ct]]=ze[st[Ct]]);return et};function _a(ze){return ze.filter(Je=>Je)}function Oa(ze,Je){if(ze)return ze;const et=(0,Ji.Z)(Je).map(st=>{if(Ie.isValidElement(st)){const{key:Ct,props:Bt}=st,Jt=Bt||{},{tab:Tn}=Jt,Nn=Ea(Jt,["tab"]);return Object.assign(Object.assign({key:String(Ct)},Nn),{label:Tn})}return null});return _a(et)}var Oi=ie(14747),Qt=ie(67968),Zt=ie(45503),Mn=ie(67771),sr=ze=>{const{componentCls:Je,motionDurationSlow:et}=ze;return[{[Je]:{[`${Je}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${et}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${et}`}}}}},[(0,Mn.oN)(ze,"slide-up"),(0,Mn.oN)(ze,"slide-down")]]};const Yr=ze=>{const{componentCls:Je,tabsCardPadding:et,cardBg:st,cardGutter:Ct,colorBorderSecondary:Bt,itemSelectedColor:Jt}=ze;return{[`${Je}-card`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{margin:0,padding:et,background:st,border:`${ze.lineWidth}px ${ze.lineType} ${Bt}`,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOut}`},[`${Je}-tab-active`]:{color:Jt,background:ze.colorBgContainer},[`${Je}-ink-bar`]:{visibility:"hidden"}},[`&${Je}-top, &${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab + ${Je}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Ct}px`}}}},[`&${Je}-top`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:`${ze.borderRadiusLG}px ${ze.borderRadiusLG}px 0 0`},[`${Je}-tab-active`]:{borderBottomColor:ze.colorBgContainer}}},[`&${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:`0 0 ${ze.borderRadiusLG}px ${ze.borderRadiusLG}px`},[`${Je}-tab-active`]:{borderTopColor:ze.colorBgContainer}}},[`&${Je}-left, &${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab + ${Je}-tab`]:{marginTop:`${Ct}px`}}},[`&${Je}-left`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ze.borderRadiusLG}px 0 0 ${ze.borderRadiusLG}px`}},[`${Je}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:ze.colorBgContainer}}}},[`&${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ze.borderRadiusLG}px ${ze.borderRadiusLG}px 0`}},[`${Je}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:ze.colorBgContainer}}}}}}},si=ze=>{const{componentCls:Je,itemHoverColor:et,dropdownEdgeChildVerticalPadding:st}=ze;return{[`${Je}-dropdown`]:Object.assign(Object.assign({},(0,Oi.Wf)(ze)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ze.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Je}-dropdown-menu`]:{maxHeight:ze.tabsDropdownHeight,margin:0,padding:`${st}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:ze.colorBgContainer,backgroundClip:"padding-box",borderRadius:ze.borderRadiusLG,outline:"none",boxShadow:ze.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Oi.vS),{display:"flex",alignItems:"center",minWidth:ze.tabsDropdownWidth,margin:0,padding:`${ze.paddingXXS}px ${ze.paddingSM}px`,color:ze.colorText,fontWeight:"normal",fontSize:ze.fontSize,lineHeight:ze.lineHeight,cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:ze.marginSM},color:ze.colorTextDescription,fontSize:ze.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:et}},"&:hover":{background:ze.controlItemBgHover},"&-disabled":{"&, &:hover":{color:ze.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},mi=ze=>{const{componentCls:Je,margin:et,colorBorderSecondary:st,horizontalMargin:Ct,verticalItemPadding:Bt,verticalItemMargin:Jt}=ze;return{[`${Je}-top, ${Je}-bottom`]:{flexDirection:"column",[`> ${Je}-nav, > div > ${Je}-nav`]:{margin:Ct,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${ze.lineWidth}px ${ze.lineType} ${st}`,content:"''"},[`${Je}-ink-bar`]:{height:ze.lineWidthBold,"&-animated":{transition:`width ${ze.motionDurationSlow}, left ${ze.motionDurationSlow},
|
|
|
right ${ze.motionDurationSlow}`}},[`${Je}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:ze.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:ze.boxShadowTabsOverflowRight},[`&${Je}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Je}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Je}-top`]:{[`> ${Je}-nav,
|
|
|
> div > ${Je}-nav`]:{"&::before":{bottom:0},[`${Je}-ink-bar`]:{bottom:0}}},[`${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{order:1,marginTop:`${et}px`,marginBottom:0,"&::before":{top:0},[`${Je}-ink-bar`]:{top:0}},[`> ${Je}-content-holder, > div > ${Je}-content-holder`]:{order:0}},[`${Je}-left, ${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{flexDirection:"column",minWidth:ze.controlHeight*1.25,[`${Je}-tab`]:{padding:Bt,textAlign:"center"},[`${Je}-tab + ${Je}-tab`]:{margin:Jt},[`${Je}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:ze.controlHeight},"&::before":{top:0,boxShadow:ze.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:ze.boxShadowTabsOverflowBottom},[`&${Je}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Je}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Je}-ink-bar`]:{width:ze.lineWidthBold,"&-animated":{transition:`height ${ze.motionDurationSlow}, top ${ze.motionDurationSlow}`}},[`${Je}-nav-list, ${Je}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Je}-left`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Je}-content-holder, > div > ${Je}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${ze.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`},[`> ${Je}-content > ${Je}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:ze.paddingLG}}}},[`${Je}-right`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{order:1,[`${Je}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Je}-content-holder, > div > ${Je}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-ze.lineWidth},borderRight:{_skip_check_:!0,value:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`},[`> ${Je}-content > ${Je}-tabpane`]:{paddingRight:{_skip_check_:!0,value:ze.paddingLG}}}}}},Ci=ze=>{const{componentCls:Je,cardPaddingSM:et,cardPaddingLG:st,horizontalItemPaddingSM:Ct,horizontalItemPaddingLG:Bt}=ze;return{[Je]:{"&-small":{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:Ct,fontSize:ze.titleFontSizeSM}}},"&-large":{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:Bt,fontSize:ze.titleFontSizeLG}}}},[`${Je}-card`]:{[`&${Je}-small`]:{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:et}},[`&${Je}-bottom`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:`0 0 ${ze.borderRadius}px ${ze.borderRadius}px`}},[`&${Je}-top`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:`${ze.borderRadius}px ${ze.borderRadius}px 0 0`}},[`&${Je}-right`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ze.borderRadius}px ${ze.borderRadius}px 0`}}},[`&${Je}-left`]:{[`> ${Je}-nav ${Je}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ze.borderRadius}px 0 0 ${ze.borderRadius}px`}}}},[`&${Je}-large`]:{[`> ${Je}-nav`]:{[`${Je}-tab`]:{padding:st}}}}}},gi=ze=>{const{componentCls:Je,itemActiveColor:et,itemHoverColor:st,iconCls:Ct,tabsHorizontalItemMargin:Bt,horizontalItemPadding:Jt,itemSelectedColor:Tn,itemColor:Nn}=ze,Fr=`${Je}-tab`;return{[Fr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:Jt,fontSize:ze.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Nn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:et}},(0,Oi.Qy)(ze)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-ze.marginXXS},marginLeft:{_skip_check_:!0,value:ze.marginXS},color:ze.colorTextDescription,fontSize:ze.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,"&:hover":{color:ze.colorTextHeading}},"&:hover":{color:st},[`&${Fr}-active ${Fr}-btn`]:{color:Tn,textShadow:ze.tabsActiveTextShadow},[`&${Fr}-disabled`]:{color:ze.colorTextDisabled,cursor:"not-allowed"},[`&${Fr}-disabled ${Fr}-btn, &${Fr}-disabled ${Je}-remove`]:{"&:focus, &:active":{color:ze.colorTextDisabled}},[`& ${Fr}-remove ${Ct}`]:{margin:0},[Ct]:{marginRight:{_skip_check_:!0,value:ze.marginSM}}},[`${Fr} + ${Fr}`]:{margin:{_skip_check_:!0,value:Bt}}}},Ti=ze=>{const{componentCls:Je,tabsHorizontalItemMarginRTL:et,iconCls:st,cardGutter:Ct}=ze;return{[`${Je}-rtl`]:{direction:"rtl",[`${Je}-nav`]:{[`${Je}-tab`]:{margin:{_skip_check_:!0,value:et},[`${Je}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[st]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${ze.marginSM}px`}},[`${Je}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${ze.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${ze.marginXXS}px`},[st]:{margin:0}}}},[`&${Je}-left`]:{[`> ${Je}-nav`]:{order:1},[`> ${Je}-content-holder`]:{order:0}},[`&${Je}-right`]:{[`> ${Je}-nav`]:{order:0},[`> ${Je}-content-holder`]:{order:1}},[`&${Je}-card${Je}-top, &${Je}-card${Je}-bottom`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-tab + ${Je}-tab`]:{marginRight:{_skip_check_:!0,value:Ct},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Je}-dropdown-rtl`]:{direction:"rtl"},[`${Je}-menu-item`]:{[`${Je}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},qi=ze=>{const{componentCls:Je,tabsCardPadding:et,cardHeight:st,cardGutter:Ct,itemHoverColor:Bt,itemActiveColor:Jt,colorBorderSecondary:Tn}=ze;return{[Je]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oi.Wf)(ze)),{display:"flex",[`> ${Je}-nav, > div > ${Je}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Je}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${ze.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Je}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${ze.motionDurationSlow}`},[`${Je}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Je}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Je}-nav-more`]:{position:"relative",padding:et,background:"transparent",border:0,color:ze.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:ze.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Je}-nav-add`]:Object.assign({minWidth:st,marginLeft:{_skip_check_:!0,value:Ct},padding:`0 ${ze.paddingXS}px`,background:"transparent",border:`${ze.lineWidth}px ${ze.lineType} ${Tn}`,borderRadius:`${ze.borderRadiusLG}px ${ze.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:ze.colorText,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOut}`,"&:hover":{color:Bt},"&:active, &:focus:not(:focus-visible)":{color:Jt}},(0,Oi.Qy)(ze))},[`${Je}-extra-content`]:{flex:"none"},[`${Je}-ink-bar`]:{position:"absolute",background:ze.inkBarColor,pointerEvents:"none"}}),gi(ze)),{[`${Je}-content`]:{position:"relative",width:"100%"},[`${Je}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Je}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Je}-centered`]:{[`> ${Je}-nav, > div > ${Je}-nav`]:{[`${Je}-nav-wrap`]:{[`&:not([class*='${Je}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var li=(0,Qt.Z)("Tabs",ze=>{const Je=(0,Zt.TS)(ze,{tabsCardPadding:ze.cardPadding||`${(ze.cardHeight-Math.round(ze.fontSize*ze.lineHeight))/2-ze.lineWidth}px ${ze.padding}px`,dropdownEdgeChildVerticalPadding:ze.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${ze.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${ze.horizontalItemGutter}px`});return[Ci(Je),Ti(Je),mi(Je),si(Je),Yr(Je),qi(Je),sr(Je)]},ze=>{const Je=ze.controlHeightLG;return{zIndexPopup:ze.zIndexPopupBase+50,cardBg:ze.colorFillAlter,cardHeight:Je,cardPadding:"",cardPaddingSM:`${ze.paddingXXS*1.5}px ${ze.padding}px`,cardPaddingLG:`${ze.paddingXS}px ${ze.padding}px ${ze.paddingXXS*1.5}px`,titleFontSize:ze.fontSize,titleFontSizeLG:ze.fontSizeLG,titleFontSizeSM:ze.fontSize,inkBarColor:ze.colorPrimary,horizontalMargin:`0 0 ${ze.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${ze.paddingSM}px 0`,horizontalItemPaddingSM:`${ze.paddingXS}px 0`,horizontalItemPaddingLG:`${ze.padding}px 0`,verticalItemPadding:`${ze.paddingXS}px ${ze.paddingLG}px`,verticalItemMargin:`${ze.margin}px 0 0 0`,itemColor:ze.colorText,itemSelectedColor:ze.colorPrimary,itemHoverColor:ze.colorPrimaryHover,itemActiveColor:ze.colorPrimaryActive,cardGutter:ze.marginXXS/2}}),Vi=function(ze,Je){var et={};for(var st in ze)Object.prototype.hasOwnProperty.call(ze,st)&&Je.indexOf(st)<0&&(et[st]=ze[st]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,st=Object.getOwnPropertySymbols(ze);Ct<st.length;Ct++)Je.indexOf(st[Ct])<0&&Object.prototype.propertyIsEnumerable.call(ze,st[Ct])&&(et[st[Ct]]=ze[st[Ct]]);return et};const ia=ze=>{const{type:Je,className:et,rootClassName:st,size:Ct,onEdit:Bt,hideAdd:Jt,centered:Tn,addIcon:Nn,popupClassName:Fr,children:Jr,items:Ar,animated:er,style:Wn,indicatorSize:ur}=ze,mr=Vi(ze,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Vr,moreIcon:Dr=Ie.createElement(Oe.Z,null)}=mr,{direction:Mr,tabs:Tr,getPrefixCls:Or,getPopupContainer:qr}=Ie.useContext(Qi.E_),Ue=Or("tabs",Vr),[tt,tn]=li(Ue);let Pt;Je==="editable-card"&&(Pt={onEdit:(ct,Lt)=>{let{key:dn,event:qn}=Lt;Bt==null||Bt(ct==="add"?qn:dn,ct)},removeIcon:Ie.createElement(ae.Z,null),addIcon:Nn||Ie.createElement(Re.Z,null),showAdd:Jt!==!0});const xn=Or(),Zn=Oa(Ar,Jr),Jn=ki(Ue,er),yr=(0,Ca.Z)(Ct),xt=Object.assign(Object.assign({},Tr==null?void 0:Tr.style),Wn);return tt(Ie.createElement(ra,Object.assign({direction:Mr,getPopupContainer:qr,moreTransitionName:`${xn}-slide-up`},mr,{items:Zn,className:ve()({[`${Ue}-${yr}`]:yr,[`${Ue}-card`]:["card","editable-card"].includes(Je),[`${Ue}-editable-card`]:Je==="editable-card",[`${Ue}-centered`]:Tn},Tr==null?void 0:Tr.className,et,st,tn),popupClassName:ve()(Fr,tn),style:xt,editable:Pt,moreIcon:Dr,prefixCls:Ue,animated:Jn,indicatorSize:ur!=null?ur:Tr==null?void 0:Tr.indicatorSize})))};ia.TabPane=Ri;var ta=ia},59810:function(mn,en,ie){"use strict";ie.d(en,{default:function(){return zr}});var ae=ie(67294),Oe=ie(74902),Re=ie(94184),Ze=ie.n(Re),ve=ie(87462),Ee=ie(15671),ke=ie(43144),ye=ie(60136),me=ie(51630),Le=ie(4942),mt=ie(45987),Ie=ie(74165),Xe=ie(71002),ot=ie(15861),dt=ie(64217);function nt(Rt,kt){var jt="cannot ".concat(Rt.method," ").concat(Rt.action," ").concat(kt.status,"'"),zn=new Error(jt);return zn.status=kt.status,zn.method=Rt.method,zn.url=Rt.action,zn}function Me(Rt){var kt=Rt.responseText||Rt.response;if(!kt)return kt;try{return JSON.parse(kt)}catch(jt){return kt}}function ut(Rt){var kt=new XMLHttpRequest;Rt.onProgress&&kt.upload&&(kt.upload.onprogress=function(Hn){Hn.total>0&&(Hn.percent=Hn.loaded/Hn.total*100),Rt.onProgress(Hn)});var jt=new FormData;Rt.data&&Object.keys(Rt.data).forEach(function(lr){var Hn=Rt.data[lr];if(Array.isArray(Hn)){Hn.forEach(function(_n){jt.append("".concat(lr,"[]"),_n)});return}jt.append(lr,Hn)}),Rt.file instanceof Blob?jt.append(Rt.filename,Rt.file,Rt.file.name):jt.append(Rt.filename,Rt.file),kt.onerror=function(Hn){Rt.onError(Hn)},kt.onload=function(){return kt.status<200||kt.status>=300?Rt.onError(nt(Rt,kt),Me(kt)):Rt.onSuccess(Me(kt),kt)},kt.open(Rt.method,Rt.action,!0),Rt.withCredentials&&"withCredentials"in kt&&(kt.withCredentials=!0);var zn=Rt.headers||{};return zn["X-Requested-With"]!==null&&kt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(zn).forEach(function(lr){zn[lr]!==null&&kt.setRequestHeader(lr,zn[lr])}),kt.send(jt),{abort:function(){kt.abort()}}}var Ut=+new Date,at=0;function ht(){return"rc-upload-".concat(Ut,"-").concat(++at)}var we=ie(80334),he=function(Rt,kt){if(Rt&&kt){var jt=Array.isArray(kt)?kt:kt.split(","),zn=Rt.name||"",lr=Rt.type||"",Hn=lr.replace(/\/.*$/,"");return jt.some(function(_n){var Gn=_n.trim();if(/^\*(\/\*)?$/.test(_n))return!0;if(Gn.charAt(0)==="."){var or=zn.toLowerCase(),Kr=Gn.toLowerCase(),Ln=[Kr];return(Kr===".jpg"||Kr===".jpeg")&&(Ln=[".jpg",".jpeg"]),Ln.some(function(Fi){return or.endsWith(Fi)})}return/\/\*$/.test(Gn)?Hn===Gn.replace(/\/.*$/,""):lr===Gn?!0:/^\w+$/.test(Gn)?((0,we.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Gn,"'.Skip for check.")),!0):!1})}return!0};function je(Rt,kt){var jt=Rt.createReader(),zn=[];function lr(){jt.readEntries(function(Hn){var _n=Array.prototype.slice.apply(Hn);zn=zn.concat(_n);var Gn=!_n.length;Gn?kt(zn):lr()})}lr()}var Ve=function(kt,jt,zn){var lr=function Hn(_n,Gn){_n&&(_n.path=Gn||"",_n.isFile?_n.file(function(or){zn(or)&&(_n.fullPath&&!or.webkitRelativePath&&(Object.defineProperties(or,{webkitRelativePath:{writable:!0}}),or.webkitRelativePath=_n.fullPath.replace(/^\//,""),Object.defineProperties(or,{webkitRelativePath:{writable:!1}})),jt([or]))}):_n.isDirectory&&je(_n,function(or){or.forEach(function(Kr){Hn(Kr,"".concat(Gn).concat(_n.name,"/"))})}))};kt.forEach(function(Hn){lr(Hn.webkitGetAsEntry())})},Ge=Ve,qe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ye=function(Rt){(0,ye.Z)(jt,Rt);var kt=(0,me.Z)(jt);function jt(){var zn;(0,Ee.Z)(this,jt);for(var lr=arguments.length,Hn=new Array(lr),_n=0;_n<lr;_n++)Hn[_n]=arguments[_n];return zn=kt.call.apply(kt,[this].concat(Hn)),zn.state={uid:ht()},zn.reqs={},zn.fileInput=void 0,zn._isMounted=void 0,zn.onChange=function(Gn){var or=zn.props,Kr=or.accept,Ln=or.directory,Fi=Gn.target.files,pi=(0,Oe.Z)(Fi).filter(function(ha){return!Ln||he(ha,Kr)});zn.uploadFiles(pi),zn.reset()},zn.onClick=function(Gn){var or=zn.fileInput;if(or){var Kr=zn.props,Ln=Kr.children,Fi=Kr.onClick;if(Ln&&Ln.type==="button"){var pi=or.parentNode;pi.focus(),pi.querySelector("button").blur()}or.click(),Fi&&Fi(Gn)}},zn.onKeyDown=function(Gn){Gn.key==="Enter"&&zn.onClick(Gn)},zn.onFileDrop=function(Gn){var or=zn.props.multiple;if(Gn.preventDefault(),Gn.type!=="dragover")if(zn.props.directory)Ge(Array.prototype.slice.call(Gn.dataTransfer.items),zn.uploadFiles,function(Ln){return he(Ln,zn.props.accept)});else{var Kr=(0,Oe.Z)(Gn.dataTransfer.files).filter(function(Ln){return he(Ln,zn.props.accept)});or===!1&&(Kr=Kr.slice(0,1)),zn.uploadFiles(Kr)}},zn.uploadFiles=function(Gn){var or=(0,Oe.Z)(Gn),Kr=or.map(function(Ln){return Ln.uid=ht(),zn.processFile(Ln,or)});Promise.all(Kr).then(function(Ln){var Fi=zn.props.onBatchStart;Fi==null||Fi(Ln.map(function(pi){var ha=pi.origin,ra=pi.parsedFile;return{file:ha,parsedFile:ra}})),Ln.filter(function(pi){return pi.parsedFile!==null}).forEach(function(pi){zn.post(pi)})})},zn.processFile=function(){var Gn=(0,ot.Z)((0,Ie.Z)().mark(function or(Kr,Ln){var Fi,pi,ha,ra,Qi,Ca,Xi,Ri,sa;return(0,Ie.Z)().wrap(function(ki){for(;;)switch(ki.prev=ki.next){case 0:if(Fi=zn.props.beforeUpload,pi=Kr,!Fi){ki.next=14;break}return ki.prev=3,ki.next=6,Fi(Kr,Ln);case 6:pi=ki.sent,ki.next=12;break;case 9:ki.prev=9,ki.t0=ki.catch(3),pi=!1;case 12:if(pi!==!1){ki.next=14;break}return ki.abrupt("return",{origin:Kr,parsedFile:null,action:null,data:null});case 14:if(ha=zn.props.action,typeof ha!="function"){ki.next=21;break}return ki.next=18,ha(Kr);case 18:ra=ki.sent,ki.next=22;break;case 21:ra=ha;case 22:if(Qi=zn.props.data,typeof Qi!="function"){ki.next=29;break}return ki.next=26,Qi(Kr);case 26:Ca=ki.sent,ki.next=30;break;case 29:Ca=Qi;case 30:return Xi=((0,Xe.Z)(pi)==="object"||typeof pi=="string")&&pi?pi:Kr,Xi instanceof File?Ri=Xi:Ri=new File([Xi],Kr.name,{type:Kr.type}),sa=Ri,sa.uid=Kr.uid,ki.abrupt("return",{origin:Kr,data:Ca,parsedFile:sa,action:ra});case 35:case"end":return ki.stop()}},or,null,[[3,9]])}));return function(or,Kr){return Gn.apply(this,arguments)}}(),zn.saveFileInput=function(Gn){zn.fileInput=Gn},zn}return(0,ke.Z)(jt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(lr){var Hn=this,_n=lr.data,Gn=lr.origin,or=lr.action,Kr=lr.parsedFile;if(this._isMounted){var Ln=this.props,Fi=Ln.onStart,pi=Ln.customRequest,ha=Ln.name,ra=Ln.headers,Qi=Ln.withCredentials,Ca=Ln.method,Xi=Gn.uid,Ri=pi||ut,sa={action:or,filename:ha,data:_n,file:Kr,headers:ra,withCredentials:Qi,method:Ca||"post",onProgress:function(ki){var Ji=Hn.props.onProgress;Ji==null||Ji(ki,Kr)},onSuccess:function(ki,Ji){var Ea=Hn.props.onSuccess;Ea==null||Ea(ki,Kr,Ji),delete Hn.reqs[Xi]},onError:function(ki,Ji){var Ea=Hn.props.onError;Ea==null||Ea(ki,Ji,Kr),delete Hn.reqs[Xi]}};Fi(Gn),this.reqs[Xi]=Ri(sa)}}},{key:"reset",value:function(){this.setState({uid:ht()})}},{key:"abort",value:function(lr){var Hn=this.reqs;if(lr){var _n=lr.uid?lr.uid:lr;Hn[_n]&&Hn[_n].abort&&Hn[_n].abort(),delete Hn[_n]}else Object.keys(Hn).forEach(function(Gn){Hn[Gn]&&Hn[Gn].abort&&Hn[Gn].abort(),delete Hn[Gn]})}},{key:"render",value:function(){var lr,Hn=this.props,_n=Hn.component,Gn=Hn.prefixCls,or=Hn.className,Kr=Hn.disabled,Ln=Hn.id,Fi=Hn.style,pi=Hn.multiple,ha=Hn.accept,ra=Hn.capture,Qi=Hn.children,Ca=Hn.directory,Xi=Hn.openFileDialogOnClick,Ri=Hn.onMouseEnter,sa=Hn.onMouseLeave,Da=(0,mt.Z)(Hn,qe),ki=Ze()((lr={},(0,Le.Z)(lr,Gn,!0),(0,Le.Z)(lr,"".concat(Gn,"-disabled"),Kr),(0,Le.Z)(lr,or,or),lr)),Ji=Ca?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Ea=Kr?{}:{onClick:Xi?this.onClick:function(){},onKeyDown:Xi?this.onKeyDown:function(){},onMouseEnter:Ri,onMouseLeave:sa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ae.createElement(_n,(0,ve.Z)({},Ea,{className:ki,role:"button",style:Fi}),ae.createElement("input",(0,ve.Z)({},(0,dt.Z)(Da,{aria:!0,data:!0}),{id:Ln,disabled:Kr,type:"file",ref:this.saveFileInput,onClick:function(Oa){return Oa.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ha},Ji,{multiple:pi,onChange:this.onChange},ra!=null?{capture:ra}:{})),Qi)}}]),jt}(ae.Component),We=Ye;function St(){}var lt=function(Rt){(0,ye.Z)(jt,Rt);var kt=(0,me.Z)(jt);function jt(){var zn;(0,Ee.Z)(this,jt);for(var lr=arguments.length,Hn=new Array(lr),_n=0;_n<lr;_n++)Hn[_n]=arguments[_n];return zn=kt.call.apply(kt,[this].concat(Hn)),zn.uploader=void 0,zn.saveUploader=function(Gn){zn.uploader=Gn},zn}return(0,ke.Z)(jt,[{key:"abort",value:function(lr){this.uploader.abort(lr)}},{key:"render",value:function(){return ae.createElement(We,(0,ve.Z)({},this.props,{ref:this.saveUploader}))}}]),jt}(ae.Component);lt.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:St,onError:St,onSuccess:St,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var zt=lt,Dt=zt,pn=ie(5663),Kn=ie(73935),tr=ie(53124),it=ie(98866),Ce=ie(10110),wt=ie(24457),An={icon:function(kt,jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:jt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:kt}}]}},name:"file",theme:"twotone"},Tt=An,rt=ie(74643),ft=function(kt,jt){return ae.createElement(rt.Z,(0,ve.Z)({},kt,{ref:jt,icon:Tt}))},Wt=ae.forwardRef(ft),qt=ie(3407),Xt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Ht=Xt,un=function(kt,jt){return ae.createElement(rt.Z,(0,ve.Z)({},kt,{ref:jt,icon:Ht}))},kn=ae.forwardRef(un),yn={icon:function(kt,jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:kt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:jt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:jt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:jt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:kt}}]}},name:"picture",theme:"twotone"},Fe=yn,ce=function(kt,jt){return ae.createElement(rt.Z,(0,ve.Z)({},kt,{ref:jt,icon:Fe}))},ue=ae.forwardRef(ce),pe=ie(38379),de=ie(57838),le=ie(33603),De=ie(96159),Ke=ie(71577);function Et(Rt){return Object.assign(Object.assign({},Rt),{lastModified:Rt.lastModified,lastModifiedDate:Rt.lastModifiedDate,name:Rt.name,size:Rt.size,type:Rt.type,uid:Rt.uid,percent:0,originFileObj:Rt})}function Yt(Rt,kt){const jt=(0,Oe.Z)(kt),zn=jt.findIndex(lr=>{let{uid:Hn}=lr;return Hn===Rt.uid});return zn===-1?jt.push(Rt):jt[zn]=Rt,jt}function Kt(Rt,kt){const jt=Rt.uid!==void 0?"uid":"name";return kt.filter(zn=>zn[jt]===Rt[jt])[0]}function nn(Rt,kt){const jt=Rt.uid!==void 0?"uid":"name",zn=kt.filter(lr=>lr[jt]!==Rt[jt]);return zn.length===kt.length?null:zn}const $t=function(){const kt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),zn=kt[kt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(zn)||[""])[0]},gr=Rt=>Rt.indexOf("image/")===0,kr=Rt=>{if(Rt.type&&!Rt.thumbUrl)return gr(Rt.type);const kt=Rt.thumbUrl||Rt.url||"",jt=$t(kt);return/^data:image\//.test(kt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(jt)?!0:!(/^data:/.test(kt)||jt)},rn=200;function gn(Rt){return new Promise(kt=>{if(!Rt.type||!gr(Rt.type)){kt("");return}const jt=document.createElement("canvas");jt.width=rn,jt.height=rn,jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${rn}px; height: ${rn}px; z-index: 9999; display: none;`,document.body.appendChild(jt);const zn=jt.getContext("2d"),lr=new Image;if(lr.onload=()=>{const{width:Hn,height:_n}=lr;let Gn=rn,or=rn,Kr=0,Ln=0;Hn>_n?(or=_n*(rn/Hn),Ln=-(or-Gn)/2):(Gn=Hn*(rn/_n),Kr=-(Gn-or)/2),zn.drawImage(lr,Kr,Ln,Gn,or);const Fi=jt.toDataURL();document.body.removeChild(jt),window.URL.revokeObjectURL(lr.src),kt(Fi)},lr.crossOrigin="anonymous",Rt.type.startsWith("image/svg+xml")){const Hn=new FileReader;Hn.onload=()=>{Hn.result&&(lr.src=Hn.result)},Hn.readAsDataURL(Rt)}else if(Rt.type.startsWith("image/gif")){const Hn=new FileReader;Hn.onload=()=>{Hn.result&&kt(Hn.result)},Hn.readAsDataURL(Rt)}else lr.src=window.URL.createObjectURL(Rt)})}var hr=ie(84249),Er=ie(90674),yt=ie(99569),It=ie(38703),$n=ie(83062),wr=ae.forwardRef((Rt,kt)=>{let{prefixCls:jt,className:zn,style:lr,locale:Hn,listType:_n,file:Gn,items:or,progress:Kr,iconRender:Ln,actionIconRender:Fi,itemRender:pi,isImgUrl:ha,showPreviewIcon:ra,showRemoveIcon:Qi,showDownloadIcon:Ca,previewIcon:Xi,removeIcon:Ri,downloadIcon:sa,onPreview:Da,onDownload:ki,onClose:Ji}=Rt;var Ea,_a;const{status:Oa}=Gn,[Oi,Qt]=ae.useState(Oa);ae.useEffect(()=>{Oa!=="removed"&&Qt(Oa)},[Oa]);const[Zt,Mn]=ae.useState(!1);ae.useEffect(()=>{const Ct=setTimeout(()=>{Mn(!0)},300);return()=>{clearTimeout(Ct)}},[]);const jn=Ln(Gn);let sr=ae.createElement("div",{className:`${jt}-icon`},jn);if(_n==="picture"||_n==="picture-card"||_n==="picture-circle")if(Oi==="uploading"||!Gn.thumbUrl&&!Gn.url){const Ct=Ze()(`${jt}-list-item-thumbnail`,{[`${jt}-list-item-file`]:Oi!=="uploading"});sr=ae.createElement("div",{className:Ct},jn)}else{const Ct=ha!=null&&ha(Gn)?ae.createElement("img",{src:Gn.thumbUrl||Gn.url,alt:Gn.name,className:`${jt}-list-item-image`,crossOrigin:Gn.crossOrigin}):jn,Bt=Ze()(`${jt}-list-item-thumbnail`,{[`${jt}-list-item-file`]:ha&&!ha(Gn)});sr=ae.createElement("a",{className:Bt,onClick:Jt=>Da(Gn,Jt),href:Gn.url||Gn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ct)}const Yr=Ze()(`${jt}-list-item`,`${jt}-list-item-${Oi}`),si=typeof Gn.linkProps=="string"?JSON.parse(Gn.linkProps):Gn.linkProps,mi=Qi?Fi((typeof Ri=="function"?Ri(Gn):Ri)||ae.createElement(hr.Z,null),()=>Ji(Gn),jt,Hn.removeFile):null,Ci=Ca&&Oi==="done"?Fi((typeof sa=="function"?sa(Gn):sa)||ae.createElement(Er.Z,null),()=>ki(Gn),jt,Hn.downloadFile):null,gi=_n!=="picture-card"&&_n!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:Ze()(`${jt}-list-item-actions`,{picture:_n==="picture"})},Ci,mi),Ti=Ze()(`${jt}-list-item-name`),qi=Gn.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ti,title:Gn.name},si,{href:Gn.url,onClick:Ct=>Da(Gn,Ct)}),Gn.name),gi]:[ae.createElement("span",{key:"view",className:Ti,onClick:Ct=>Da(Gn,Ct),title:Gn.name},Gn.name),gi],li={pointerEvents:"none",opacity:.5},Vi=ra?ae.createElement("a",{href:Gn.url||Gn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Gn.url||Gn.thumbUrl?void 0:li,onClick:Ct=>Da(Gn,Ct),title:Hn.previewFile},typeof Xi=="function"?Xi(Gn):Xi||ae.createElement(yt.Z,null)):null,ia=(_n==="picture-card"||_n==="picture-circle")&&Oi!=="uploading"&&ae.createElement("span",{className:`${jt}-list-item-actions`},Vi,Oi==="done"&&Ci,mi),{getPrefixCls:ta}=ae.useContext(tr.E_),ze=ta(),Je=ae.createElement("div",{className:Yr},sr,qi,ia,Zt&&ae.createElement(pe.default,{motionName:`${ze}-fade`,visible:Oi==="uploading",motionDeadline:2e3},Ct=>{let{className:Bt}=Ct;const Jt="percent"in Gn?ae.createElement(It.Z,Object.assign({},Kr,{type:"line",percent:Gn.percent,"aria-label":Gn["aria-label"],"aria-labelledby":Gn["aria-labelledby"]})):null;return ae.createElement("div",{className:Ze()(`${jt}-list-item-progress`,Bt)},Jt)})),et=Gn.response&&typeof Gn.response=="string"?Gn.response:((Ea=Gn.error)===null||Ea===void 0?void 0:Ea.statusText)||((_a=Gn.error)===null||_a===void 0?void 0:_a.message)||Hn.uploadError,st=Oi==="error"?ae.createElement($n.Z,{title:et,getPopupContainer:Ct=>Ct.parentNode},Je):Je;return ae.createElement("div",{className:Ze()(`${jt}-list-item-container`,zn),style:lr,ref:kt},pi?pi(st,Gn,or,{download:ki.bind(null,Gn),preview:Da.bind(null,Gn),remove:Ji.bind(null,Gn)}):st)});const _r=(Rt,kt)=>{const{listType:jt="text",previewFile:zn=gn,onPreview:lr,onDownload:Hn,onRemove:_n,locale:Gn,iconRender:or,isImageUrl:Kr=kr,prefixCls:Ln,items:Fi=[],showPreviewIcon:pi=!0,showRemoveIcon:ha=!0,showDownloadIcon:ra=!1,removeIcon:Qi,previewIcon:Ca,downloadIcon:Xi,progress:Ri={size:[-1,2],showInfo:!1},appendAction:sa,appendActionVisible:Da=!0,itemRender:ki,disabled:Ji}=Rt,Ea=(0,de.Z)(),[_a,Oa]=ae.useState(!1);ae.useEffect(()=>{jt!=="picture"&&jt!=="picture-card"&&jt!=="picture-circle"||(Fi||[]).forEach(li=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(li.originFileObj instanceof File||li.originFileObj instanceof Blob)||li.thumbUrl!==void 0||(li.thumbUrl="",zn&&zn(li.originFileObj).then(Vi=>{li.thumbUrl=Vi||"",Ea()}))})},[jt,Fi,zn]),ae.useEffect(()=>{Oa(!0)},[]);const Oi=(li,Vi)=>{if(lr)return Vi==null||Vi.preventDefault(),lr(li)},Qt=li=>{typeof Hn=="function"?Hn(li):li.url&&window.open(li.url)},Zt=li=>{_n==null||_n(li)},Mn=li=>{if(or)return or(li,jt);const Vi=li.status==="uploading",ia=Kr&&Kr(li)?ae.createElement(ue,null):ae.createElement(Wt,null);let ta=Vi?ae.createElement(qt.Z,null):ae.createElement(kn,null);return jt==="picture"?ta=Vi?ae.createElement(qt.Z,null):ia:(jt==="picture-card"||jt==="picture-circle")&&(ta=Vi?Gn.uploading:ia),ta},jn=(li,Vi,ia,ta)=>{const ze={type:"text",size:"small",title:ta,onClick:Je=>{Vi(),(0,De.l$)(li)&&li.props.onClick&&li.props.onClick(Je)},className:`${ia}-list-item-action`,disabled:Ji};if((0,De.l$)(li)){const Je=(0,De.Tm)(li,Object.assign(Object.assign({},li.props),{onClick:()=>{}}));return ae.createElement(Ke.ZP,Object.assign({},ze,{icon:Je}))}return ae.createElement(Ke.ZP,Object.assign({},ze),ae.createElement("span",null,li))};ae.useImperativeHandle(kt,()=>({handlePreview:Oi,handleDownload:Qt}));const{getPrefixCls:sr}=ae.useContext(tr.E_),Yr=sr("upload",Ln),si=sr(),mi=Ze()(`${Yr}-list`,`${Yr}-list-${jt}`),Ci=(0,Oe.Z)(Fi.map(li=>({key:li.uid,file:li})));let Ti={motionDeadline:2e3,motionName:`${Yr}-${jt==="picture-card"||jt==="picture-circle"?"animate-inline":"animate"}`,keys:Ci,motionAppear:_a};const qi=ae.useMemo(()=>{const li=Object.assign({},(0,le.Z)(si));return delete li.onAppearEnd,delete li.onEnterEnd,delete li.onLeaveEnd,li},[si]);return jt!=="picture-card"&&jt!=="picture-circle"&&(Ti=Object.assign(Object.assign({},qi),Ti)),ae.createElement("div",{className:mi},ae.createElement(pe.CSSMotionList,Object.assign({},Ti,{component:!1}),li=>{let{key:Vi,file:ia,className:ta,style:ze}=li;return ae.createElement(wr,{key:Vi,locale:Gn,prefixCls:Yr,className:ta,style:ze,file:ia,items:Fi,progress:Ri,listType:jt,isImgUrl:Kr,showPreviewIcon:pi,showRemoveIcon:ha,showDownloadIcon:ra,removeIcon:Qi,previewIcon:Ca,downloadIcon:Xi,iconRender:Mn,actionIconRender:jn,itemRender:ki,onPreview:Oi,onDownload:Qt,onClose:Zt})}),sa&&ae.createElement(pe.default,Object.assign({},Ti,{visible:Da,forceRender:!0}),li=>{let{className:Vi,style:ia}=li;return(0,De.Tm)(sa,ta=>({className:Ze()(ta.className,Vi),style:Object.assign(Object.assign(Object.assign({},ia),{pointerEvents:Vi?"none":void 0}),ta.style)}))}))};var Xr=ae.forwardRef(_r),ri=ie(14747),fi=ie(33507),Cr=ie(67968),yi=ie(45503),oi=Rt=>{const{componentCls:kt,iconCls:jt}=Rt;return{[`${kt}-wrapper`]:{[`${kt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Rt.colorFillAlter,border:`${Rt.lineWidth}px dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[kt]:{padding:`${Rt.padding}px 0`},[`${kt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${kt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${kt}-disabled):hover`]:{borderColor:Rt.colorPrimaryHover},[`p${kt}-drag-icon`]:{marginBottom:Rt.margin,[jt]:{color:Rt.colorPrimary,fontSize:Rt.uploadThumbnailSize}},[`p${kt}-text`]:{margin:`0 0 ${Rt.marginXXS}px`,color:Rt.colorTextHeading,fontSize:Rt.fontSizeLG},[`p${kt}-hint`]:{color:Rt.colorTextDescription,fontSize:Rt.fontSize},[`&${kt}-disabled`]:{cursor:"not-allowed",[`p${kt}-drag-icon ${jt},
|
|
|
p${kt}-text,
|
|
|
p${kt}-hint
|
|
|
`]:{color:Rt.colorTextDisabled}}}}}},Di=Rt=>{const{componentCls:kt,antCls:jt,iconCls:zn,fontSize:lr,lineHeight:Hn}=Rt,_n=`${kt}-list-item`,Gn=`${_n}-actions`,or=`${_n}-action`,Kr=Math.round(lr*Hn);return{[`${kt}-wrapper`]:{[`${kt}-list`]:Object.assign(Object.assign({},(0,ri.dF)()),{lineHeight:Rt.lineHeight,[_n]:{position:"relative",height:Rt.lineHeight*lr,marginTop:Rt.marginXS,fontSize:lr,display:"flex",alignItems:"center",transition:`background-color ${Rt.motionDurationSlow}`,"&:hover":{backgroundColor:Rt.controlItemBgHover},[`${_n}-name`]:Object.assign(Object.assign({},ri.vS),{padding:`0 ${Rt.paddingXS}px`,lineHeight:Hn,flex:"auto",transition:`all ${Rt.motionDurationSlow}`}),[Gn]:{[or]:{opacity:0},[`${or}${jt}-btn-sm`]:{height:Kr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
|
${or}:focus-visible,
|
|
|
&.picture ${or}
|
|
|
`]:{opacity:1},[zn]:{color:Rt.actionsColor,transition:`all ${Rt.motionDurationSlow}`},[`&:hover ${zn}`]:{color:Rt.colorText}},[`${kt}-icon ${zn}`]:{color:Rt.colorTextDescription,fontSize:lr},[`${_n}-progress`]:{position:"absolute",bottom:-Rt.uploadProgressOffset,width:"100%",paddingInlineStart:lr+Rt.paddingXS,fontSize:lr,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${_n}:hover ${or}`]:{opacity:1,color:Rt.colorText},[`${_n}-error`]:{color:Rt.colorError,[`${_n}-name, ${kt}-icon ${zn}`]:{color:Rt.colorError},[Gn]:{[`${zn}, ${zn}:hover`]:{color:Rt.colorError},[or]:{opacity:1}}},[`${kt}-list-item-container`]:{transition:`opacity ${Rt.motionDurationSlow}, height ${Rt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ot=ie(45930),Nt=ie(16932);const cn=new Ot.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),bn=new Ot.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Fn=Rt=>{const{componentCls:kt}=Rt,jt=`${kt}-animate-inline`;return[{[`${kt}-wrapper`]:{[`${jt}-appear, ${jt}-enter, ${jt}-leave`]:{animationDuration:Rt.motionDurationSlow,animationTimingFunction:Rt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${jt}-appear, ${jt}-enter`]:{animationName:cn},[`${jt}-leave`]:{animationName:bn}}},{[`${kt}-wrapper`]:(0,Nt.J$)(Rt)},cn,bn]},ir=ie(47448),Xn=ie(84780);const pt=Rt=>{const{componentCls:kt,iconCls:jt,uploadThumbnailSize:zn,uploadProgressOffset:lr}=Rt,Hn=`${kt}-list`,_n=`${Hn}-item`;return{[`${kt}-wrapper`]:{[`
|
|
|
${Hn}${Hn}-picture,
|
|
|
${Hn}${Hn}-picture-card,
|
|
|
${Hn}${Hn}-picture-circle
|
|
|
`]:{[_n]:{position:"relative",height:zn+Rt.lineWidth*2+Rt.paddingXS*2,padding:Rt.paddingXS,border:`${Rt.lineWidth}px ${Rt.lineType} ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,"&:hover":{background:"transparent"},[`${_n}-thumbnail`]:Object.assign(Object.assign({},ri.vS),{width:zn,height:zn,lineHeight:`${zn+Rt.paddingSM}px`,textAlign:"center",flex:"none",[jt]:{fontSize:Rt.fontSizeHeading2,color:Rt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${_n}-progress`]:{bottom:lr,width:`calc(100% - ${Rt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:zn+Rt.paddingXS}},[`${_n}-error`]:{borderColor:Rt.colorError,[`${_n}-thumbnail ${jt}`]:{[`svg path[fill='${ir.blue[0]}']`]:{fill:Rt.colorErrorBg},[`svg path[fill='${ir.blue.primary}']`]:{fill:Rt.colorError}}},[`${_n}-uploading`]:{borderStyle:"dashed",[`${_n}-name`]:{marginBottom:lr}}},[`${Hn}${Hn}-picture-circle ${_n}`]:{[`&, &::before, ${_n}-thumbnail`]:{borderRadius:"50%"}}}}},At=Rt=>{const{componentCls:kt,iconCls:jt,fontSizeLG:zn,colorTextLightSolid:lr}=Rt,Hn=`${kt}-list`,_n=`${Hn}-item`,Gn=Rt.uploadPicCardSize;return{[`
|
|
|
${kt}-wrapper${kt}-picture-card-wrapper,
|
|
|
${kt}-wrapper${kt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,ri.dF)()),{display:"inline-block",width:"100%",[`${kt}${kt}-select`]:{width:Gn,height:Gn,marginInlineEnd:Rt.marginXS,marginBottom:Rt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Rt.colorFillAlter,border:`${Rt.lineWidth}px dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[`> ${kt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${kt}-disabled):hover`]:{borderColor:Rt.colorPrimary}},[`${Hn}${Hn}-picture-card, ${Hn}${Hn}-picture-circle`]:{[`${Hn}-item-container`]:{display:"inline-block",width:Gn,height:Gn,marginBlock:`0 ${Rt.marginXS}px`,marginInline:`0 ${Rt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[_n]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Rt.paddingXS*2}px)`,height:`calc(100% - ${Rt.paddingXS*2}px)`,backgroundColor:Rt.colorBgMask,opacity:0,transition:`all ${Rt.motionDurationSlow}`,content:'" "'}},[`${_n}:hover`]:{[`&::before, ${_n}-actions`]:{opacity:1}},[`${_n}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Rt.motionDurationSlow}`,[`${jt}-eye, ${jt}-download, ${jt}-delete`]:{zIndex:10,width:zn,margin:`0 ${Rt.marginXXS}px`,fontSize:zn,cursor:"pointer",transition:`all ${Rt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${_n}-actions, ${_n}-actions:hover`]:{[`${jt}-eye, ${jt}-download, ${jt}-delete`]:{color:new Xn.C(lr).setAlpha(.65).toRgbString(),"&:hover":{color:lr}}},[`${_n}-thumbnail, ${_n}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${_n}-name`]:{display:"none",textAlign:"center"},[`${_n}-file + ${_n}-name`]:{position:"absolute",bottom:Rt.margin,display:"block",width:`calc(100% - ${Rt.paddingXS*2}px)`},[`${_n}-uploading`]:{[`&${_n}`]:{backgroundColor:Rt.colorFillAlter},[`&::before, ${jt}-eye, ${jt}-download, ${jt}-delete`]:{display:"none"}},[`${_n}-progress`]:{bottom:Rt.marginXL,width:`calc(100% - ${Rt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${kt}-wrapper${kt}-picture-circle-wrapper`]:{[`${kt}${kt}-select`]:{borderRadius:"50%"}}}};var fn=Rt=>{const{componentCls:kt}=Rt;return{[`${kt}-rtl`]:{direction:"rtl"}}};const $e=Rt=>{const{componentCls:kt,colorTextDisabled:jt}=Rt;return{[`${kt}-wrapper`]:Object.assign(Object.assign({},(0,ri.Wf)(Rt)),{[kt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${kt}-select`]:{display:"inline-block"},[`${kt}-disabled`]:{color:jt,cursor:"not-allowed"}})}};var Ft=(0,Cr.Z)("Upload",Rt=>{const{fontSizeHeading3:kt,fontSize:jt,lineHeight:zn,lineWidth:lr,controlHeightLG:Hn}=Rt,_n=Math.round(jt*zn),Gn=(0,yi.TS)(Rt,{uploadThumbnailSize:kt*2,uploadProgressOffset:_n/2+lr,uploadPicCardSize:Hn*2.55});return[$e(Gn),oi(Gn),pt(Gn),At(Gn),Di(Gn),Fn(Gn),fn(Gn),(0,fi.Z)(Gn)]},Rt=>({actionsColor:Rt.colorTextDescription})),on=function(Rt,kt,jt,zn){function lr(Hn){return Hn instanceof jt?Hn:new jt(function(_n){_n(Hn)})}return new(jt||(jt=Promise))(function(Hn,_n){function Gn(Ln){try{Kr(zn.next(Ln))}catch(Fi){_n(Fi)}}function or(Ln){try{Kr(zn.throw(Ln))}catch(Fi){_n(Fi)}}function Kr(Ln){Ln.done?Hn(Ln.value):lr(Ln.value).then(Gn,or)}Kr((zn=zn.apply(Rt,kt||[])).next())})};const _t=`__LIST_IGNORE_${Date.now()}__`,En=(Rt,kt)=>{const{fileList:jt,defaultFileList:zn,onRemove:lr,showUploadList:Hn=!0,listType:_n="text",onPreview:Gn,onDownload:or,onChange:Kr,onDrop:Ln,previewFile:Fi,disabled:pi,locale:ha,iconRender:ra,isImageUrl:Qi,progress:Ca,prefixCls:Xi,className:Ri,type:sa="select",children:Da,style:ki,itemRender:Ji,maxCount:Ea,data:_a={},multiple:Oa=!1,action:Oi="",accept:Qt="",supportServerRender:Zt=!0,rootClassName:Mn}=Rt,jn=ae.useContext(it.Z),sr=pi!=null?pi:jn,[Yr,si]=(0,pn.Z)(zn||[],{value:jt,postState:Ue=>Ue!=null?Ue:[]}),[mi,Ci]=ae.useState("drop"),gi=ae.useRef(null);ae.useMemo(()=>{const Ue=Date.now();(jt||[]).forEach((tt,tn)=>{!tt.uid&&!Object.isFrozen(tt)&&(tt.uid=`__AUTO__${Ue}_${tn}__`)})},[jt]);const Ti=(Ue,tt,tn)=>{let Pt=(0,Oe.Z)(tt),xn=!1;Ea===1?Pt=Pt.slice(-1):Ea&&(xn=Pt.length>Ea,Pt=Pt.slice(0,Ea)),(0,Kn.flushSync)(()=>{si(Pt)});const Zn={file:Ue,fileList:Pt};tn&&(Zn.event=tn),(!xn||Pt.some(Jn=>Jn.uid===Ue.uid))&&(0,Kn.flushSync)(()=>{Kr==null||Kr(Zn)})},qi=(Ue,tt)=>on(void 0,void 0,void 0,function*(){const{beforeUpload:tn,transformFile:Pt}=Rt;let xn=Ue;if(tn){const Zn=yield tn(Ue,tt);if(Zn===!1)return!1;if(delete Ue[_t],Zn===_t)return Object.defineProperty(Ue,_t,{value:!0,configurable:!0}),!1;typeof Zn=="object"&&Zn&&(xn=Zn)}return Pt&&(xn=yield Pt(xn)),xn}),li=Ue=>{const tt=Ue.filter(xn=>!xn.file[_t]);if(!tt.length)return;const tn=tt.map(xn=>Et(xn.file));let Pt=(0,Oe.Z)(Yr);tn.forEach(xn=>{Pt=Yt(xn,Pt)}),tn.forEach((xn,Zn)=>{let Jn=xn;if(tt[Zn].parsedFile)xn.status="uploading";else{const{originFileObj:yr}=xn;let xt;try{xt=new File([yr],yr.name,{type:yr.type})}catch(ct){xt=new Blob([yr],{type:yr.type}),xt.name=yr.name,xt.lastModifiedDate=new Date,xt.lastModified=new Date().getTime()}xt.uid=xn.uid,Jn=xt}Ti(Jn,Pt)})},Vi=(Ue,tt,tn)=>{try{typeof Ue=="string"&&(Ue=JSON.parse(Ue))}catch(Zn){}if(!Kt(tt,Yr))return;const Pt=Et(tt);Pt.status="done",Pt.percent=100,Pt.response=Ue,Pt.xhr=tn;const xn=Yt(Pt,Yr);Ti(Pt,xn)},ia=(Ue,tt)=>{if(!Kt(tt,Yr))return;const tn=Et(tt);tn.status="uploading",tn.percent=Ue.percent;const Pt=Yt(tn,Yr);Ti(tn,Pt,Ue)},ta=(Ue,tt,tn)=>{if(!Kt(tn,Yr))return;const Pt=Et(tn);Pt.error=Ue,Pt.response=tt,Pt.status="error";const xn=Yt(Pt,Yr);Ti(Pt,xn)},ze=Ue=>{let tt;Promise.resolve(typeof lr=="function"?lr(Ue):lr).then(tn=>{var Pt;if(tn===!1)return;const xn=nn(Ue,Yr);xn&&(tt=Object.assign(Object.assign({},Ue),{status:"removed"}),Yr==null||Yr.forEach(Zn=>{const Jn=tt.uid!==void 0?"uid":"name";Zn[Jn]===tt[Jn]&&!Object.isFrozen(Zn)&&(Zn.status="removed")}),(Pt=gi.current)===null||Pt===void 0||Pt.abort(tt),Ti(tt,xn))})},Je=Ue=>{Ci(Ue.type),Ue.type==="drop"&&(Ln==null||Ln(Ue))};ae.useImperativeHandle(kt,()=>({onBatchStart:li,onSuccess:Vi,onProgress:ia,onError:ta,fileList:Yr,upload:gi.current}));const{getPrefixCls:et,direction:st,upload:Ct}=ae.useContext(tr.E_),Bt=et("upload",Xi),Jt=Object.assign(Object.assign({onBatchStart:li,onError:ta,onProgress:ia,onSuccess:Vi},Rt),{data:_a,multiple:Oa,action:Oi,accept:Qt,supportServerRender:Zt,prefixCls:Bt,disabled:sr,beforeUpload:qi,onChange:void 0});delete Jt.className,delete Jt.style,(!Da||sr)&&delete Jt.id;const[Tn,Nn]=Ft(Bt),[Fr]=(0,Ce.Z)("Upload",wt.Z.Upload),{showRemoveIcon:Jr,showPreviewIcon:Ar,showDownloadIcon:er,removeIcon:Wn,previewIcon:ur,downloadIcon:mr}=typeof Hn=="boolean"?{}:Hn,Vr=(Ue,tt)=>Hn?ae.createElement(Xr,{prefixCls:Bt,listType:_n,items:Yr,previewFile:Fi,onPreview:Gn,onDownload:or,onRemove:ze,showRemoveIcon:!sr&&Jr,showPreviewIcon:Ar,showDownloadIcon:er,removeIcon:Wn,previewIcon:ur,downloadIcon:mr,iconRender:ra,locale:Object.assign(Object.assign({},Fr),ha),isImageUrl:Qi,progress:Ca,appendAction:Ue,appendActionVisible:tt,itemRender:Ji,disabled:sr}):Ue,Dr=Ze()(`${Bt}-wrapper`,Ri,Mn,Nn,Ct==null?void 0:Ct.className,{[`${Bt}-rtl`]:st==="rtl",[`${Bt}-picture-card-wrapper`]:_n==="picture-card",[`${Bt}-picture-circle-wrapper`]:_n==="picture-circle"}),Mr=Object.assign(Object.assign({},Ct==null?void 0:Ct.style),ki);if(sa==="drag"){const Ue=Ze()(Nn,Bt,`${Bt}-drag`,{[`${Bt}-drag-uploading`]:Yr.some(tt=>tt.status==="uploading"),[`${Bt}-drag-hover`]:mi==="dragover",[`${Bt}-disabled`]:sr,[`${Bt}-rtl`]:st==="rtl"});return Tn(ae.createElement("span",{className:Dr},ae.createElement("div",{className:Ue,style:Mr,onDrop:Je,onDragOver:Je,onDragLeave:Je},ae.createElement(Dt,Object.assign({},Jt,{ref:gi,className:`${Bt}-btn`}),ae.createElement("div",{className:`${Bt}-drag-container`},Da))),Vr()))}const Tr=Ze()(Bt,`${Bt}-select`,{[`${Bt}-disabled`]:sr}),qr=(Ue=>ae.createElement("div",{className:Tr,style:Ue},ae.createElement(Dt,Object.assign({},Jt,{ref:gi}))))(Da?void 0:{display:"none"});return Tn(_n==="picture-card"||_n==="picture-circle"?ae.createElement("span",{className:Dr},Vr(qr,!!Da)):ae.createElement("span",{className:Dr},qr,Vr()))};var Bn=ae.forwardRef(En),Qr=function(Rt,kt){var jt={};for(var zn in Rt)Object.prototype.hasOwnProperty.call(Rt,zn)&&kt.indexOf(zn)<0&&(jt[zn]=Rt[zn]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lr=0,zn=Object.getOwnPropertySymbols(Rt);lr<zn.length;lr++)kt.indexOf(zn[lr])<0&&Object.prototype.propertyIsEnumerable.call(Rt,zn[lr])&&(jt[zn[lr]]=Rt[zn[lr]]);return jt},Sr=ae.forwardRef((Rt,kt)=>{var{style:jt,height:zn}=Rt,lr=Qr(Rt,["style","height"]);return ae.createElement(Bn,Object.assign({ref:kt},lr,{type:"drag",style:Object.assign(Object.assign({},jt),{height:zn})}))});const jr=Bn;jr.Dragger=Sr,jr.LIST_IGNORE=_t;var zr=jr},97909:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en=1e3,ie=6e4,ae=36e5,Oe="millisecond",Re="second",Ze="minute",ve="hour",Ee="day",ke="week",ye="month",me="quarter",Le="year",mt="date",Ie="Invalid Date",Xe=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ot=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,dt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(qe){var Ye=["th","st","nd","rd"],We=qe%100;return"["+qe+(Ye[(We-20)%10]||Ye[We]||Ye[0])+"]"}},nt=function(qe,Ye,We){var St=String(qe);return!St||St.length>=Ye?qe:""+Array(Ye+1-St.length).join(We)+qe},Me={s:nt,z:function(qe){var Ye=-qe.utcOffset(),We=Math.abs(Ye),St=Math.floor(We/60),lt=We%60;return(Ye<=0?"+":"-")+nt(St,2,"0")+":"+nt(lt,2,"0")},m:function qe(Ye,We){if(Ye.date()<We.date())return-qe(We,Ye);var St=12*(We.year()-Ye.year())+(We.month()-Ye.month()),lt=Ye.clone().add(St,ye),zt=We-lt<0,Dt=Ye.clone().add(St+(zt?-1:1),ye);return+(-(St+(We-lt)/(zt?lt-Dt:Dt-lt))||0)},a:function(qe){return qe<0?Math.ceil(qe)||0:Math.floor(qe)},p:function(qe){return{M:ye,y:Le,w:ke,d:Ee,D:mt,h:ve,m:Ze,s:Re,ms:Oe,Q:me}[qe]||String(qe||"").toLowerCase().replace(/s$/,"")},u:function(qe){return qe===void 0}},ut="en",Ut={};Ut[ut]=dt;var at="$isDayjsObject",ht=function(qe){return qe instanceof Ve||!(!qe||!qe[at])},we=function qe(Ye,We,St){var lt;if(!Ye)return ut;if(typeof Ye=="string"){var zt=Ye.toLowerCase();Ut[zt]&&(lt=zt),We&&(Ut[zt]=We,lt=zt);var Dt=Ye.split("-");if(!lt&&Dt.length>1)return qe(Dt[0])}else{var pn=Ye.name;Ut[pn]=Ye,lt=pn}return!St&<&&(ut=lt),lt||!St&&ut},he=function(qe,Ye){if(ht(qe))return qe.clone();var We=typeof Ye=="object"?Ye:{};return We.date=qe,We.args=arguments,new Ve(We)},je=Me;je.l=we,je.i=ht,je.w=function(qe,Ye){return he(qe,{locale:Ye.$L,utc:Ye.$u,x:Ye.$x,$offset:Ye.$offset})};var Ve=function(){function qe(We){this.$L=we(We.locale,null,!0),this.parse(We),this.$x=this.$x||We.x||{},this[at]=!0}var Ye=qe.prototype;return Ye.parse=function(We){this.$d=function(St){var lt=St.date,zt=St.utc;if(lt===null)return new Date(NaN);if(je.u(lt))return new Date;if(lt instanceof Date)return new Date(lt);if(typeof lt=="string"&&!/Z$/i.test(lt)){var Dt=lt.match(Xe);if(Dt){var pn=Dt[2]-1||0,Kn=(Dt[7]||"0").substring(0,3);return zt?new Date(Date.UTC(Dt[1],pn,Dt[3]||1,Dt[4]||0,Dt[5]||0,Dt[6]||0,Kn)):new Date(Dt[1],pn,Dt[3]||1,Dt[4]||0,Dt[5]||0,Dt[6]||0,Kn)}}return new Date(lt)}(We),this.init()},Ye.init=function(){var We=this.$d;this.$y=We.getFullYear(),this.$M=We.getMonth(),this.$D=We.getDate(),this.$W=We.getDay(),this.$H=We.getHours(),this.$m=We.getMinutes(),this.$s=We.getSeconds(),this.$ms=We.getMilliseconds()},Ye.$utils=function(){return je},Ye.isValid=function(){return this.$d.toString()!==Ie},Ye.isSame=function(We,St){var lt=he(We);return this.startOf(St)<=lt&<<=this.endOf(St)},Ye.isAfter=function(We,St){return he(We)<this.startOf(St)},Ye.isBefore=function(We,St){return this.endOf(St)<he(We)},Ye.$g=function(We,St,lt){return je.u(We)?this[St]:this.set(lt,We)},Ye.unix=function(){return Math.floor(this.valueOf()/1e3)},Ye.valueOf=function(){return this.$d.getTime()},Ye.startOf=function(We,St){var lt=this,zt=!!je.u(St)||St,Dt=je.p(We),pn=function(rt,ft){var Wt=je.w(lt.$u?Date.UTC(lt.$y,ft,rt):new Date(lt.$y,ft,rt),lt);return zt?Wt:Wt.endOf(Ee)},Kn=function(rt,ft){return je.w(lt.toDate()[rt].apply(lt.toDate("s"),(zt?[0,0,0,0]:[23,59,59,999]).slice(ft)),lt)},tr=this.$W,it=this.$M,Ce=this.$D,wt="set"+(this.$u?"UTC":"");switch(Dt){case Le:return zt?pn(1,0):pn(31,11);case ye:return zt?pn(1,it):pn(0,it+1);case ke:var An=this.$locale().weekStart||0,Tt=(tr<An?tr+7:tr)-An;return pn(zt?Ce-Tt:Ce+(6-Tt),it);case Ee:case mt:return Kn(wt+"Hours",0);case ve:return Kn(wt+"Minutes",1);case Ze:return Kn(wt+"Seconds",2);case Re:return Kn(wt+"Milliseconds",3);default:return this.clone()}},Ye.endOf=function(We){return this.startOf(We,!1)},Ye.$set=function(We,St){var lt,zt=je.p(We),Dt="set"+(this.$u?"UTC":""),pn=(lt={},lt[Ee]=Dt+"Date",lt[mt]=Dt+"Date",lt[ye]=Dt+"Month",lt[Le]=Dt+"FullYear",lt[ve]=Dt+"Hours",lt[Ze]=Dt+"Minutes",lt[Re]=Dt+"Seconds",lt[Oe]=Dt+"Milliseconds",lt)[zt],Kn=zt===Ee?this.$D+(St-this.$W):St;if(zt===ye||zt===Le){var tr=this.clone().set(mt,1);tr.$d[pn](Kn),tr.init(),this.$d=tr.set(mt,Math.min(this.$D,tr.daysInMonth())).$d}else pn&&this.$d[pn](Kn);return this.init(),this},Ye.set=function(We,St){return this.clone().$set(We,St)},Ye.get=function(We){return this[je.p(We)]()},Ye.add=function(We,St){var lt,zt=this;We=Number(We);var Dt=je.p(St),pn=function(it){var Ce=he(zt);return je.w(Ce.date(Ce.date()+Math.round(it*We)),zt)};if(Dt===ye)return this.set(ye,this.$M+We);if(Dt===Le)return this.set(Le,this.$y+We);if(Dt===Ee)return pn(1);if(Dt===ke)return pn(7);var Kn=(lt={},lt[Ze]=ie,lt[ve]=ae,lt[Re]=en,lt)[Dt]||1,tr=this.$d.getTime()+We*Kn;return je.w(tr,this)},Ye.subtract=function(We,St){return this.add(-1*We,St)},Ye.format=function(We){var St=this,lt=this.$locale();if(!this.isValid())return lt.invalidDate||Ie;var zt=We||"YYYY-MM-DDTHH:mm:ssZ",Dt=je.z(this),pn=this.$H,Kn=this.$m,tr=this.$M,it=lt.weekdays,Ce=lt.months,wt=lt.meridiem,An=function(ft,Wt,qt,Xt){return ft&&(ft[Wt]||ft(St,zt))||qt[Wt].slice(0,Xt)},Tt=function(ft){return je.s(pn%12||12,ft,"0")},rt=wt||function(ft,Wt,qt){var Xt=ft<12?"AM":"PM";return qt?Xt.toLowerCase():Xt};return zt.replace(ot,function(ft,Wt){return Wt||function(qt){switch(qt){case"YY":return String(St.$y).slice(-2);case"YYYY":return je.s(St.$y,4,"0");case"M":return tr+1;case"MM":return je.s(tr+1,2,"0");case"MMM":return An(lt.monthsShort,tr,Ce,3);case"MMMM":return An(Ce,tr);case"D":return St.$D;case"DD":return je.s(St.$D,2,"0");case"d":return String(St.$W);case"dd":return An(lt.weekdaysMin,St.$W,it,2);case"ddd":return An(lt.weekdaysShort,St.$W,it,3);case"dddd":return it[St.$W];case"H":return String(pn);case"HH":return je.s(pn,2,"0");case"h":return Tt(1);case"hh":return Tt(2);case"a":return rt(pn,Kn,!0);case"A":return rt(pn,Kn,!1);case"m":return String(Kn);case"mm":return je.s(Kn,2,"0");case"s":return String(St.$s);case"ss":return je.s(St.$s,2,"0");case"SSS":return je.s(St.$ms,3,"0");case"Z":return Dt}return null}(ft)||Dt.replace(":","")})},Ye.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ye.diff=function(We,St,lt){var zt,Dt=this,pn=je.p(St),Kn=he(We),tr=(Kn.utcOffset()-this.utcOffset())*ie,it=this-Kn,Ce=function(){return je.m(Dt,Kn)};switch(pn){case Le:zt=Ce()/12;break;case ye:zt=Ce();break;case me:zt=Ce()/3;break;case ke:zt=(it-tr)/6048e5;break;case Ee:zt=(it-tr)/864e5;break;case ve:zt=it/ae;break;case Ze:zt=it/ie;break;case Re:zt=it/en;break;default:zt=it}return lt?zt:je.a(zt)},Ye.daysInMonth=function(){return this.endOf(ye).$D},Ye.$locale=function(){return Ut[this.$L]},Ye.locale=function(We,St){if(!We)return this.$L;var lt=this.clone(),zt=we(We,St,!0);return zt&&(lt.$L=zt),lt},Ye.clone=function(){return je.w(this.$d,this)},Ye.toDate=function(){return new Date(this.valueOf())},Ye.toJSON=function(){return this.isValid()?this.toISOString():null},Ye.toISOString=function(){return this.$d.toISOString()},Ye.toString=function(){return this.$d.toUTCString()},qe}(),Ge=Ve.prototype;return he.prototype=Ge,[["$ms",Oe],["$s",Re],["$m",Ze],["$H",ve],["$W",Ee],["$M",ye],["$y",Le],["$D",mt]].forEach(function(qe){Ge[qe[1]]=function(Ye){return this.$g(Ye,qe[0],qe[1])}}),he.extend=function(qe,Ye){return qe.$i||(qe(Ye,Ve,he),qe.$i=!0),he},he.locale=we,he.isDayjs=ht,he.unix=function(qe){return he(1e3*qe)},he.en=Ut[ut],he.Ls=Ut,he.p={},he})},86625:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie){var ae=ie.prototype,Oe=ae.format;ae.format=function(Re){var Ze=this,ve=this.$locale();if(!this.isValid())return Oe.bind(this)(Re);var Ee=this.$utils(),ke=(Re||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(ye){switch(ye){case"Q":return Math.ceil((Ze.$M+1)/3);case"Do":return ve.ordinal(Ze.$D);case"gggg":return Ze.weekYear();case"GGGG":return Ze.isoWeekYear();case"wo":return ve.ordinal(Ze.week(),"W");case"w":case"ww":return Ee.s(Ze.week(),ye==="w"?1:2,"0");case"W":case"WW":return Ee.s(Ze.isoWeek(),ye==="W"?1:2,"0");case"k":case"kk":return Ee.s(String(Ze.$H===0?24:Ze.$H),ye==="k"?1:2,"0");case"X":return Math.floor(Ze.$d.getTime()/1e3);case"x":return Ze.$d.getTime();case"z":return"["+Ze.offsetName()+"]";case"zzz":return"["+Ze.offsetName("long")+"]";default:return ye}});return Oe.bind(this)(ke)}}})},40618:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ie=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ae=/\d\d/,Oe=/\d\d?/,Re=/\d*[^-_:/,()\s\d]+/,Ze={},ve=function(Ie){return(Ie=+Ie)+(Ie>68?1900:2e3)},Ee=function(Ie){return function(Xe){this[Ie]=+Xe}},ke=[/[+-]\d\d:?(\d\d)?|Z/,function(Ie){(this.zone||(this.zone={})).offset=function(Xe){if(!Xe||Xe==="Z")return 0;var ot=Xe.match(/([+-]|\d\d)/g),dt=60*ot[1]+(+ot[2]||0);return dt===0?0:ot[0]==="+"?-dt:dt}(Ie)}],ye=function(Ie){var Xe=Ze[Ie];return Xe&&(Xe.indexOf?Xe:Xe.s.concat(Xe.f))},me=function(Ie,Xe){var ot,dt=Ze.meridiem;if(dt){for(var nt=1;nt<=24;nt+=1)if(Ie.indexOf(dt(nt,0,Xe))>-1){ot=nt>12;break}}else ot=Ie===(Xe?"pm":"PM");return ot},Le={A:[Re,function(Ie){this.afternoon=me(Ie,!1)}],a:[Re,function(Ie){this.afternoon=me(Ie,!0)}],S:[/\d/,function(Ie){this.milliseconds=100*+Ie}],SS:[ae,function(Ie){this.milliseconds=10*+Ie}],SSS:[/\d{3}/,function(Ie){this.milliseconds=+Ie}],s:[Oe,Ee("seconds")],ss:[Oe,Ee("seconds")],m:[Oe,Ee("minutes")],mm:[Oe,Ee("minutes")],H:[Oe,Ee("hours")],h:[Oe,Ee("hours")],HH:[Oe,Ee("hours")],hh:[Oe,Ee("hours")],D:[Oe,Ee("day")],DD:[ae,Ee("day")],Do:[Re,function(Ie){var Xe=Ze.ordinal,ot=Ie.match(/\d+/);if(this.day=ot[0],Xe)for(var dt=1;dt<=31;dt+=1)Xe(dt).replace(/\[|\]/g,"")===Ie&&(this.day=dt)}],M:[Oe,Ee("month")],MM:[ae,Ee("month")],MMM:[Re,function(Ie){var Xe=ye("months"),ot=(ye("monthsShort")||Xe.map(function(dt){return dt.slice(0,3)})).indexOf(Ie)+1;if(ot<1)throw new Error;this.month=ot%12||ot}],MMMM:[Re,function(Ie){var Xe=ye("months").indexOf(Ie)+1;if(Xe<1)throw new Error;this.month=Xe%12||Xe}],Y:[/[+-]?\d+/,Ee("year")],YY:[ae,function(Ie){this.year=ve(Ie)}],YYYY:[/\d{4}/,Ee("year")],Z:ke,ZZ:ke};function mt(Ie){var Xe,ot;Xe=Ie,ot=Ze&&Ze.formats;for(var dt=(Ie=Xe.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(we,he,je){var Ve=je&&je.toUpperCase();return he||ot[je]||en[je]||ot[Ve].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ge,qe,Ye){return qe||Ye.slice(1)})})).match(ie),nt=dt.length,Me=0;Me<nt;Me+=1){var ut=dt[Me],Ut=Le[ut],at=Ut&&Ut[0],ht=Ut&&Ut[1];dt[Me]=ht?{regex:at,parser:ht}:ut.replace(/^\[|\]$/g,"")}return function(we){for(var he={},je=0,Ve=0;je<nt;je+=1){var Ge=dt[je];if(typeof Ge=="string")Ve+=Ge.length;else{var qe=Ge.regex,Ye=Ge.parser,We=we.slice(Ve),St=qe.exec(We)[0];Ye.call(he,St),we=we.replace(St,"")}}return function(lt){var zt=lt.afternoon;if(zt!==void 0){var Dt=lt.hours;zt?Dt<12&&(lt.hours+=12):Dt===12&&(lt.hours=0),delete lt.afternoon}}(he),he}}return function(Ie,Xe,ot){ot.p.customParseFormat=!0,Ie&&Ie.parseTwoDigitYear&&(ve=Ie.parseTwoDigitYear);var dt=Xe.prototype,nt=dt.parse;dt.parse=function(Me){var ut=Me.date,Ut=Me.utc,at=Me.args;this.$u=Ut;var ht=at[1];if(typeof ht=="string"){var we=at[2]===!0,he=at[3]===!0,je=we||he,Ve=at[2];he&&(Ve=at[2]),Ze=this.$locale(),!we&&Ve&&(Ze=ot.Ls[Ve]),this.$d=function(We,St,lt){try{if(["x","X"].indexOf(St)>-1)return new Date((St==="X"?1e3:1)*We);var zt=mt(St)(We),Dt=zt.year,pn=zt.month,Kn=zt.day,tr=zt.hours,it=zt.minutes,Ce=zt.seconds,wt=zt.milliseconds,An=zt.zone,Tt=new Date,rt=Kn||(Dt||pn?1:Tt.getDate()),ft=Dt||Tt.getFullYear(),Wt=0;Dt&&!pn||(Wt=pn>0?pn-1:Tt.getMonth());var qt=tr||0,Xt=it||0,Ht=Ce||0,un=wt||0;return An?new Date(Date.UTC(ft,Wt,rt,qt,Xt,Ht,un+60*An.offset*1e3)):lt?new Date(Date.UTC(ft,Wt,rt,qt,Xt,Ht,un)):new Date(ft,Wt,rt,qt,Xt,Ht,un)}catch(kn){return new Date("")}}(ut,ht,Ut),this.init(),Ve&&Ve!==!0&&(this.$L=this.locale(Ve).$L),je&&ut!=this.format(ht)&&(this.$d=new Date("")),Ze={}}else if(ht instanceof Array)for(var Ge=ht.length,qe=1;qe<=Ge;qe+=1){at[1]=ht[qe-1];var Ye=ot.apply(this,at);if(Ye.isValid()){this.$d=Ye.$d,this.$L=Ye.$L,this.init();break}qe===Ge&&(this.$d=new Date(""))}else nt.call(this,Me)}}})},26850:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie,ae){var Oe=ie.prototype,Re=function(ye){return ye&&(ye.indexOf?ye:ye.s)},Ze=function(ye,me,Le,mt,Ie){var Xe=ye.name?ye:ye.$locale(),ot=Re(Xe[me]),dt=Re(Xe[Le]),nt=ot||dt.map(function(ut){return ut.slice(0,mt)});if(!Ie)return nt;var Me=Xe.weekStart;return nt.map(function(ut,Ut){return nt[(Ut+(Me||0))%7]})},ve=function(){return ae.Ls[ae.locale()]},Ee=function(ye,me){return ye.formats[me]||function(Le){return Le.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(mt,Ie,Xe){return Ie||Xe.slice(1)})}(ye.formats[me.toUpperCase()])},ke=function(){var ye=this;return{months:function(me){return me?me.format("MMMM"):Ze(ye,"months")},monthsShort:function(me){return me?me.format("MMM"):Ze(ye,"monthsShort","months",3)},firstDayOfWeek:function(){return ye.$locale().weekStart||0},weekdays:function(me){return me?me.format("dddd"):Ze(ye,"weekdays")},weekdaysMin:function(me){return me?me.format("dd"):Ze(ye,"weekdaysMin","weekdays",2)},weekdaysShort:function(me){return me?me.format("ddd"):Ze(ye,"weekdaysShort","weekdays",3)},longDateFormat:function(me){return Ee(ye.$locale(),me)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};Oe.localeData=function(){return ke.bind(this)()},ae.localeData=function(){var ye=ve();return{firstDayOfWeek:function(){return ye.weekStart||0},weekdays:function(){return ae.weekdays()},weekdaysShort:function(){return ae.weekdaysShort()},weekdaysMin:function(){return ae.weekdaysMin()},months:function(){return ae.months()},monthsShort:function(){return ae.monthsShort()},longDateFormat:function(me){return Ee(ye,me)},meridiem:ye.meridiem,ordinal:ye.ordinal}},ae.months=function(){return Ze(ve(),"months")},ae.monthsShort=function(){return Ze(ve(),"monthsShort","months",3)},ae.weekdays=function(ye){return Ze(ve(),"weekdays",null,null,ye)},ae.weekdaysShort=function(ye){return Ze(ve(),"weekdaysShort","weekdays",3,ye)},ae.weekdaysMin=function(ye){return Ze(ve(),"weekdaysMin","weekdays",2,ye)}}})},23082:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en="week",ie="year";return function(ae,Oe,Re){var Ze=Oe.prototype;Ze.week=function(ve){if(ve===void 0&&(ve=null),ve!==null)return this.add(7*(ve-this.week()),"day");var Ee=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var ke=Re(this).startOf(ie).add(1,ie).date(Ee),ye=Re(this).endOf(en);if(ke.isBefore(ye))return 1}var me=Re(this).startOf(ie).date(Ee).startOf(en).subtract(1,"millisecond"),Le=this.diff(me,en,!0);return Le<0?Re(this).startOf("week").week():Math.ceil(Le)},Ze.weeks=function(ve){return ve===void 0&&(ve=null),this.week(ve)}}})},99873:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie){ie.prototype.weekYear=function(){var ae=this.month(),Oe=this.week(),Re=this.year();return Oe===1&&ae===11?Re+1:ae===0&&Oe>=52?Re-1:Re}}})},33088:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";return function(en,ie){ie.prototype.weekday=function(ae){var Oe=this.$locale().weekStart||0,Re=this.$W,Ze=(Re<Oe?Re+7:Re)-Oe;return this.$utils().u(ae)?Ze:this.subtract(Ze,"day").add(ae,"day")}}})},72665:function(mn,en){"use strict";var ie;var ae=typeof Symbol=="function"&&Symbol.for,Oe=ae?Symbol.for("react.element"):60103,Re=ae?Symbol.for("react.portal"):60106,Ze=ae?Symbol.for("react.fragment"):60107,ve=ae?Symbol.for("react.strict_mode"):60108,Ee=ae?Symbol.for("react.profiler"):60114,ke=ae?Symbol.for("react.provider"):60109,ye=ae?Symbol.for("react.context"):60110,me=ae?Symbol.for("react.async_mode"):60111,Le=ae?Symbol.for("react.concurrent_mode"):60111,mt=ae?Symbol.for("react.forward_ref"):60112,Ie=ae?Symbol.for("react.suspense"):60113,Xe=ae?Symbol.for("react.suspense_list"):60120,ot=ae?Symbol.for("react.memo"):60115,dt=ae?Symbol.for("react.lazy"):60116,nt=ae?Symbol.for("react.block"):60121,Me=ae?Symbol.for("react.fundamental"):60117,ut=ae?Symbol.for("react.responder"):60118,Ut=ae?Symbol.for("react.scope"):60119;function at(we){if(typeof we=="object"&&we!==null){var he=we.$$typeof;switch(he){case Oe:switch(we=we.type,we){case me:case Le:case Ze:case Ee:case ve:case Ie:return we;default:switch(we=we&&we.$$typeof,we){case ye:case mt:case dt:case ot:case ke:return we;default:return he}}case Re:return he}}}function ht(we){return at(we)===Le}ie=me,ie=Le,ie=ye,ie=ke,ie=Oe,ie=mt,ie=Ze,ie=dt,ie=ot,ie=Re,ie=Ee,ie=ve,ie=Ie,ie=function(we){return ht(we)||at(we)===me},ie=ht,ie=function(we){return at(we)===ye},ie=function(we){return at(we)===ke},ie=function(we){return typeof we=="object"&&we!==null&&we.$$typeof===Oe},ie=function(we){return at(we)===mt},ie=function(we){return at(we)===Ze},ie=function(we){return at(we)===dt},en.isMemo=function(we){return at(we)===ot},ie=function(we){return at(we)===Re},ie=function(we){return at(we)===Ee},ie=function(we){return at(we)===ve},ie=function(we){return at(we)===Ie},ie=function(we){return typeof we=="string"||typeof we=="function"||we===Ze||we===Le||we===Ee||we===ve||we===Ie||we===Xe||typeof we=="object"&&we!==null&&(we.$$typeof===dt||we.$$typeof===ot||we.$$typeof===ke||we.$$typeof===ye||we.$$typeof===mt||we.$$typeof===Me||we.$$typeof===ut||we.$$typeof===Ut||we.$$typeof===nt)},ie=at},12060:function(mn,en,ie){"use strict";mn.exports=ie(72665)},41771:function(mn,en){"use strict";var ie;var ae=typeof Symbol=="function"&&Symbol.for,Oe=ae?Symbol.for("react.element"):60103,Re=ae?Symbol.for("react.portal"):60106,Ze=ae?Symbol.for("react.fragment"):60107,ve=ae?Symbol.for("react.strict_mode"):60108,Ee=ae?Symbol.for("react.profiler"):60114,ke=ae?Symbol.for("react.provider"):60109,ye=ae?Symbol.for("react.context"):60110,me=ae?Symbol.for("react.async_mode"):60111,Le=ae?Symbol.for("react.concurrent_mode"):60111,mt=ae?Symbol.for("react.forward_ref"):60112,Ie=ae?Symbol.for("react.suspense"):60113,Xe=ae?Symbol.for("react.suspense_list"):60120,ot=ae?Symbol.for("react.memo"):60115,dt=ae?Symbol.for("react.lazy"):60116,nt=ae?Symbol.for("react.block"):60121,Me=ae?Symbol.for("react.fundamental"):60117,ut=ae?Symbol.for("react.responder"):60118,Ut=ae?Symbol.for("react.scope"):60119;function at(we){if(typeof we=="object"&&we!==null){var he=we.$$typeof;switch(he){case Oe:switch(we=we.type,we){case me:case Le:case Ze:case Ee:case ve:case Ie:return we;default:switch(we=we&&we.$$typeof,we){case ye:case mt:case dt:case ot:case ke:return we;default:return he}}case Re:return he}}}function ht(we){return at(we)===Le}ie=me,ie=Le,ie=ye,ie=ke,ie=Oe,ie=mt,ie=Ze,ie=dt,ie=ot,ie=Re,ie=Ee,ie=ve,ie=Ie,ie=function(we){return ht(we)||at(we)===me},ie=ht,ie=function(we){return at(we)===ye},ie=function(we){return at(we)===ke},ie=function(we){return typeof we=="object"&&we!==null&&we.$$typeof===Oe},ie=function(we){return at(we)===mt},en.isFragment=function(we){return at(we)===Ze},ie=function(we){return at(we)===dt},ie=function(we){return at(we)===ot},ie=function(we){return at(we)===Re},ie=function(we){return at(we)===Ee},ie=function(we){return at(we)===ve},ie=function(we){return at(we)===Ie},ie=function(we){return typeof we=="string"||typeof we=="function"||we===Ze||we===Le||we===Ee||we===ve||we===Ie||we===Xe||typeof we=="object"&&we!==null&&(we.$$typeof===dt||we.$$typeof===ot||we.$$typeof===ke||we.$$typeof===ye||we.$$typeof===mt||we.$$typeof===Me||we.$$typeof===ut||we.$$typeof===Ut||we.$$typeof===nt)},ie=at},47655:function(mn,en,ie){"use strict";mn.exports=ie(41771)},64701:function(mn,en,ie){"use strict";ie.r(en),ie.d(en,{ResizableTextArea:function(){return An},default:function(){return Xt}});var ae=ie(87462),Oe=ie(1413),Re=ie(4942),Ze=ie(71002),ve=ie(97685),Ee=ie(45987),ke=ie(74902),ye=ie(94184),me=ie.n(ye),Le=ie(67656),mt=ie(87887),Ie=ie(67294);function Xe(Ht){var un=Ie.useRef();un.current=Ht;var kn=Ie.useCallback(function(){for(var yn,Fe=arguments.length,ce=new Array(Fe),ue=0;ue<Fe;ue++)ce[ue]=arguments[ue];return(yn=un.current)===null||yn===void 0?void 0:yn.call.apply(yn,[un].concat(ce))},[]);return kn}function ot(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var dt=ot()?Ie.useLayoutEffect:Ie.useEffect,nt=dt,Me=function(un,kn){var yn=Ie.useRef(!0);dt(function(){if(!yn.current)return un()},kn),dt(function(){return yn.current=!1,function(){yn.current=!0}},[])};function ut(Ht){var un=Ie.useRef(!1),kn=Ie.useState(Ht),yn=(0,ve.Z)(kn,2),Fe=yn[0],ce=yn[1];Ie.useEffect(function(){return un.current=!1,function(){un.current=!0}},[]);function ue(pe,de){de&&un.current||ce(pe)}return[Fe,ue]}function Ut(Ht){return Ht!==void 0}function at(Ht,un){var kn=un||{},yn=kn.defaultValue,Fe=kn.value,ce=kn.onChange,ue=kn.postState,pe=ut(function(){return Ut(Fe)?Fe:Ut(yn)?typeof yn=="function"?yn():yn:typeof Ht=="function"?Ht():Ht}),de=(0,ve.Z)(pe,2),le=de[0],De=de[1],Ke=Fe!==void 0?Fe:le,Et=ue?ue(Ke):Ke,Yt=Xe(ce),Kt=ut([Ke]),nn=(0,ve.Z)(Kt,2),$t=nn[0],gr=nn[1];Me(function(){var rn=$t[0];le!==rn&&Yt(le,rn)},[$t]),Me(function(){Ut(Fe)||De(Fe)},[Fe]);var kr=Xe(function(rn,gn){De(rn,gn),gr([Ke],gn)});return[Et,kr]}var ht=ie(48555),we=function(un){return+setTimeout(un,16)},he=function(un){return clearTimeout(un)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(we=function(un){return window.requestAnimationFrame(un)},he=function(un){return window.cancelAnimationFrame(un)});var je=0,Ve=new Map;function Ge(Ht){Ve.delete(Ht)}var qe=function(un){var kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;je+=1;var yn=je;function Fe(ce){if(ce===0)Ge(yn),un();else{var ue=we(function(){Fe(ce-1)});Ve.set(yn,ue)}}return Fe(kn),yn};qe.cancel=function(Ht){var un=Ve.get(Ht);return Ge(un),he(un)};var Ye=qe,We=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,St=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],lt={},zt;function Dt(Ht){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kn=Ht.getAttribute("id")||Ht.getAttribute("data-reactid")||Ht.getAttribute("name");if(un&<[kn])return lt[kn];var yn=window.getComputedStyle(Ht),Fe=yn.getPropertyValue("box-sizing")||yn.getPropertyValue("-moz-box-sizing")||yn.getPropertyValue("-webkit-box-sizing"),ce=parseFloat(yn.getPropertyValue("padding-bottom"))+parseFloat(yn.getPropertyValue("padding-top")),ue=parseFloat(yn.getPropertyValue("border-bottom-width"))+parseFloat(yn.getPropertyValue("border-top-width")),pe=St.map(function(le){return"".concat(le,":").concat(yn.getPropertyValue(le))}).join(";"),de={sizingStyle:pe,paddingSize:ce,borderSize:ue,boxSizing:Fe};return un&&kn&&(lt[kn]=de),de}function pn(Ht){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,yn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;zt||(zt=document.createElement("textarea"),zt.setAttribute("tab-index","-1"),zt.setAttribute("aria-hidden","true"),document.body.appendChild(zt)),Ht.getAttribute("wrap")?zt.setAttribute("wrap",Ht.getAttribute("wrap")):zt.removeAttribute("wrap");var Fe=Dt(Ht,un),ce=Fe.paddingSize,ue=Fe.borderSize,pe=Fe.boxSizing,de=Fe.sizingStyle;zt.setAttribute("style","".concat(de,";").concat(We)),zt.value=Ht.value||Ht.placeholder||"";var le=void 0,De=void 0,Ke,Et=zt.scrollHeight;if(pe==="border-box"?Et+=ue:pe==="content-box"&&(Et-=ce),kn!==null||yn!==null){zt.value=" ";var Yt=zt.scrollHeight-ce;kn!==null&&(le=Yt*kn,pe==="border-box"&&(le=le+ce+ue),Et=Math.max(le,Et)),yn!==null&&(De=Yt*yn,pe==="border-box"&&(De=De+ce+ue),Ke=Et>De?"":"hidden",Et=Math.min(De,Et))}var Kt={height:Et,overflowY:Ke,resize:"none"};return le&&(Kt.minHeight=le),De&&(Kt.maxHeight=De),Kt}var Kn=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],tr=0,it=1,Ce=2,wt=Ie.forwardRef(function(Ht,un){var kn=Ht,yn=kn.prefixCls,Fe=kn.onPressEnter,ce=kn.defaultValue,ue=kn.value,pe=kn.autoSize,de=kn.onResize,le=kn.className,De=kn.style,Ke=kn.disabled,Et=kn.onChange,Yt=kn.onInternalAutoSize,Kt=(0,Ee.Z)(kn,Kn),nn=at(ce,{value:ue,postState:function(bn){return bn!=null?bn:""}}),$t=(0,ve.Z)(nn,2),gr=$t[0],kr=$t[1],rn=function(bn){kr(bn.target.value),Et==null||Et(bn)},gn=Ie.useRef();Ie.useImperativeHandle(un,function(){return{textArea:gn.current}});var hr=Ie.useMemo(function(){return pe&&(0,Ze.Z)(pe)==="object"?[pe.minRows,pe.maxRows]:[]},[pe]),Er=(0,ve.Z)(hr,2),yt=Er[0],It=Er[1],$n=!!pe,Qn=function(){try{if(document.activeElement===gn.current){var bn=gn.current,rr=bn.selectionStart,Fn=bn.selectionEnd,ir=bn.scrollTop;gn.current.setSelectionRange(rr,Fn),gn.current.scrollTop=ir}}catch(Xn){}},wr=Ie.useState(Ce),_r=(0,ve.Z)(wr,2),ei=_r[0],Xr=_r[1],ri=Ie.useState(),fi=(0,ve.Z)(ri,2),Cr=fi[0],yi=fi[1],Gi=function(){Xr(tr)};nt(function(){$n&&Gi()},[ue,yt,It,$n]),nt(function(){if(ei===tr)Xr(it);else if(ei===it){var cn=pn(gn.current,!1,yt,It);Xr(Ce),yi(cn)}else Qn()},[ei]);var oi=Ie.useRef(),ea=function(){Ye.cancel(oi.current)},Di=function(bn){ei===Ce&&(de==null||de(bn),pe&&(ea(),oi.current=Ye(function(){Gi()})))};Ie.useEffect(function(){return ea},[]);var Ot=$n?Cr:null,Nt=(0,Oe.Z)((0,Oe.Z)({},De),Ot);return(ei===tr||ei===it)&&(Nt.overflowY="hidden",Nt.overflowX="hidden"),Ie.createElement(ht.Z,{onResize:Di,disabled:!(pe||de)},Ie.createElement("textarea",(0,ae.Z)({},Kt,{ref:gn,style:Nt,className:me()(yn,le,(0,Re.Z)({},"".concat(yn,"-disabled"),Ke)),disabled:Ke,value:gr,onChange:rn})))}),An=wt,Tt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function rt(Ht,un){return(0,ke.Z)(Ht||"").slice(0,un).join("")}function ft(Ht,un,kn,yn){var Fe=kn;return Ht?Fe=rt(kn,yn):(0,ke.Z)(un||"").length<kn.length&&(0,ke.Z)(kn||"").length>yn&&(Fe=un),Fe}var Wt=Ie.forwardRef(function(Ht,un){var kn,yn=Ht.defaultValue,Fe=Ht.value,ce=Ht.onFocus,ue=Ht.onBlur,pe=Ht.onChange,de=Ht.allowClear,le=Ht.maxLength,De=Ht.onCompositionStart,Ke=Ht.onCompositionEnd,Et=Ht.suffix,Yt=Ht.prefixCls,Kt=Yt===void 0?"rc-textarea":Yt,nn=Ht.classes,$t=Ht.showCount,gr=Ht.className,kr=Ht.style,rn=Ht.disabled,gn=Ht.hidden,hr=Ht.classNames,Er=Ht.styles,yt=Ht.onResize,It=(0,Ee.Z)(Ht,Tt),$n=at(yn,{value:Fe,defaultValue:yn}),Qn=(0,ve.Z)($n,2),wr=Qn[0],_r=Qn[1],ei=(0,Ie.useRef)(null),Xr=Ie.useState(!1),ri=(0,ve.Z)(Xr,2),fi=ri[0],Cr=ri[1],yi=Ie.useState(!1),Gi=(0,ve.Z)(yi,2),oi=Gi[0],ea=Gi[1],Di=Ie.useRef(),Ot=Ie.useRef(0),Nt=Ie.useState(null),cn=(0,ve.Z)(Nt,2),bn=cn[0],rr=cn[1],Fn=function(){var jr;(jr=ei.current)===null||jr===void 0||jr.textArea.focus()};(0,Ie.useImperativeHandle)(un,function(){return{resizableTextArea:ei.current,focus:Fn,blur:function(){var jr;(jr=ei.current)===null||jr===void 0||jr.textArea.blur()}}}),(0,Ie.useEffect)(function(){Cr(function(Sr){return!rn&&Sr})},[rn]);var ir=Number(le)>0,Xn=function(jr){ea(!0),Di.current=wr,Ot.current=jr.currentTarget.selectionStart,De==null||De(jr)},pt=function(jr){ea(!1);var zr=jr.currentTarget.value;if(ir){var Rt,kt=Ot.current>=le+1||Ot.current===((Rt=Di.current)===null||Rt===void 0?void 0:Rt.length);zr=ft(kt,Di.current,zr,le)}zr!==wr&&(_r(zr),(0,mt.rJ)(jr.currentTarget,jr,pe,zr)),Ke==null||Ke(jr)},At=function(jr){var zr=jr.target.value;if(!oi&&ir){var Rt=jr.target.selectionStart>=le+1||jr.target.selectionStart===zr.length||!jr.target.selectionStart;zr=ft(Rt,wr,zr,le)}_r(zr),(0,mt.rJ)(jr.currentTarget,jr,pe,zr)},Mt=function(jr){var zr=It.onPressEnter,Rt=It.onKeyDown;jr.key==="Enter"&&zr&&zr(jr),Rt==null||Rt(jr)},fn=function(jr){Cr(!0),ce==null||ce(jr)},$e=function(jr){Cr(!1),ue==null||ue(jr)},Ft=function(jr){var zr;_r(""),Fn(),(0,mt.rJ)((zr=ei.current)===null||zr===void 0?void 0:zr.textArea,jr,pe)},on=(0,mt.D7)(wr);!oi&&ir&&Fe==null&&(on=rt(on,le));var _t=Et,En;if($t){var Sn=(0,ke.Z)(on).length;(0,Ze.Z)($t)==="object"?En=$t.formatter({value:on,count:Sn,maxLength:le}):En="".concat(Sn).concat(ir?" / ".concat(le):""),_t=Ie.createElement(Ie.Fragment,null,_t,Ie.createElement("span",{className:me()("".concat(Kt,"-data-count"),hr==null?void 0:hr.count),style:Er==null?void 0:Er.count},En))}var Bn=function(jr){var zr;yt==null||yt(jr),(zr=ei.current)!==null&&zr!==void 0&&zr.textArea.style.height&&rr(!0)},Qr=!It.autoSize&&!$t&&!de,Lr=Ie.createElement(Le.BaseInput,{value:on,allowClear:de,handleReset:Ft,suffix:_t,prefixCls:Kt,classes:{affixWrapper:me()(nn==null?void 0:nn.affixWrapper,(kn={},(0,Re.Z)(kn,"".concat(Kt,"-show-count"),$t),(0,Re.Z)(kn,"".concat(Kt,"-textarea-allow-clear"),de),kn))},disabled:rn,focused:fi,className:gr,style:(0,Oe.Z)((0,Oe.Z)({},kr),bn&&!Qr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof En=="string"?En:void 0}},hidden:gn,inputElement:Ie.createElement(An,(0,ae.Z)({},It,{onKeyDown:Mt,onChange:At,onFocus:fn,onBlur:$e,onCompositionStart:Xn,onCompositionEnd:pt,className:hr==null?void 0:hr.textarea,style:(0,Oe.Z)((0,Oe.Z)({},Er==null?void 0:Er.textarea),{},{resize:kr==null?void 0:kr.resize}),disabled:rn,prefixCls:Kt,onResize:Bn,ref:ei}))});return Lr}),qt=Wt,Xt=qt},92389:function(mn,en){"use strict";var ie={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Oe){var Re=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||Re>=ie.F1&&Re<=ie.F12)return!1;switch(Re){case ie.ALT:case ie.CAPS_LOCK:case ie.CONTEXT_MENU:case ie.CTRL:case ie.DOWN:case ie.END:case ie.ESC:case ie.HOME:case ie.INSERT:case ie.LEFT:case ie.MAC_FF_META:case ie.META:case ie.NUMLOCK:case ie.NUM_CENTER:case ie.PAGE_DOWN:case ie.PAGE_UP:case ie.PAUSE:case ie.PRINT_SCREEN:case ie.RIGHT:case ie.SHIFT:case ie.UP:case ie.WIN_KEY:case ie.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Oe){if(Oe>=ie.ZERO&&Oe<=ie.NINE||Oe>=ie.NUM_ZERO&&Oe<=ie.NUM_MULTIPLY||Oe>=ie.A&&Oe<=ie.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){case ie.SPACE:case ie.QUESTION_MARK:case ie.NUM_PLUS:case ie.NUM_MINUS:case ie.NUM_PERIOD:case ie.NUM_DIVISION:case ie.SEMICOLON:case ie.DASH:case ie.EQUALS:case ie.COMMA:case ie.PERIOD:case ie.SLASH:case ie.APOSTROPHE:case ie.SINGLE_QUOTE:case ie.OPEN_SQUARE_BRACKET:case ie.BACKSLASH:case ie.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};en.Z=ie},1337:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(1413),Oe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,Re=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ze="".concat(Oe," ").concat(Re).split(/[\s\n]+/),ve="aria-",Ee="data-";function ke(me,Le){return me.indexOf(Le)===0}function ye(me){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt;Le===!1?mt={aria:!0,data:!0,attr:!0}:Le===!0?mt={aria:!0}:mt=(0,ae.Z)({},Le);var Ie={};return Object.keys(me).forEach(function(Xe){(mt.aria&&(Xe==="role"||ke(Xe,ve))||mt.data&&ke(Xe,Ee)||mt.attr&&Ze.includes(Xe))&&(Ie[Xe]=me[Xe])}),Ie}},88386:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){ae.defineOption("placeholder","",function(ye,me,Le){var mt=Le&&Le!=ae.Init;if(me&&!mt)ye.on("blur",ve),ye.on("change",Ee),ye.on("swapDoc",Ee),ae.on(ye.getInputField(),"compositionupdate",ye.state.placeholderCompose=function(){Ze(ye)}),Ee(ye);else if(!me&&mt){ye.off("blur",ve),ye.off("change",Ee),ye.off("swapDoc",Ee),ae.off(ye.getInputField(),"compositionupdate",ye.state.placeholderCompose),Oe(ye);var Ie=ye.getWrapperElement();Ie.className=Ie.className.replace(" CodeMirror-empty","")}me&&!ye.hasFocus()&&ve(ye)});function Oe(ye){ye.state.placeholder&&(ye.state.placeholder.parentNode.removeChild(ye.state.placeholder),ye.state.placeholder=null)}function Re(ye){Oe(ye);var me=ye.state.placeholder=document.createElement("pre");me.style.cssText="height: 0; overflow: visible",me.style.direction=ye.getOption("direction"),me.className="CodeMirror-placeholder CodeMirror-line-like";var Le=ye.getOption("placeholder");typeof Le=="string"&&(Le=document.createTextNode(Le)),me.appendChild(Le),ye.display.lineSpace.insertBefore(me,ye.display.lineSpace.firstChild)}function Ze(ye){setTimeout(function(){var me=!1,Le=ye.getInputField();Le.nodeName=="TEXTAREA"?me=!Le.value:ye.lineCount()==1&&(me=!/[^\u200b]/.test(Le.querySelector(".CodeMirror-line").textContent)),me?Re(ye):Oe(ye)},20)}function ve(ye){ke(ye)&&Re(ye)}function Ee(ye){var me=ye.getWrapperElement(),Le=ke(ye);me.className=me.className.replace(" CodeMirror-empty","")+(Le?" CodeMirror-empty":""),Le?Re(ye):Oe(ye)}function ke(ye){return ye.lineCount()===1&&ye.getLine(0)===""}})},82801:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){var Oe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Re=ae.Pos;ae.defineOption("autoCloseBrackets",!1,function(dt,nt,Me){Me&&Me!=ae.Init&&(dt.removeKeyMap(ve),dt.state.closeBrackets=null),nt&&(Ee(Ze(nt,"pairs")),dt.state.closeBrackets=nt,dt.addKeyMap(ve))});function Ze(dt,nt){return nt=="pairs"&&typeof dt=="string"?dt:typeof dt=="object"&&dt[nt]!=null?dt[nt]:Oe[nt]}var ve={Backspace:me,Enter:Le};function Ee(dt){for(var nt=0;nt<dt.length;nt++){var Me=dt.charAt(nt),ut="'"+Me+"'";ve[ut]||(ve[ut]=ke(Me))}}Ee(Oe.pairs+"`");function ke(dt){return function(nt){return Ie(nt,dt)}}function ye(dt){var nt=dt.state.closeBrackets;if(!nt||nt.override)return nt;var Me=dt.getModeAt(dt.getCursor());return Me.closeBrackets||nt}function me(dt){var nt=ye(dt);if(!nt||dt.getOption("disableInput"))return ae.Pass;for(var Me=Ze(nt,"pairs"),ut=dt.listSelections(),Ut=0;Ut<ut.length;Ut++){if(!ut[Ut].empty())return ae.Pass;var at=Xe(dt,ut[Ut].head);if(!at||Me.indexOf(at)%2!=0)return ae.Pass}for(var Ut=ut.length-1;Ut>=0;Ut--){var ht=ut[Ut].head;dt.replaceRange("",Re(ht.line,ht.ch-1),Re(ht.line,ht.ch+1),"+delete")}}function Le(dt){var nt=ye(dt),Me=nt&&Ze(nt,"explode");if(!Me||dt.getOption("disableInput"))return ae.Pass;for(var ut=dt.listSelections(),Ut=0;Ut<ut.length;Ut++){if(!ut[Ut].empty())return ae.Pass;var at=Xe(dt,ut[Ut].head);if(!at||Me.indexOf(at)%2!=0)return ae.Pass}dt.operation(function(){var ht=dt.lineSeparator()||`
|
|
|
`;dt.replaceSelection(ht+ht,null),dt.execCommand("goCharLeft"),ut=dt.listSelections();for(var we=0;we<ut.length;we++){var he=ut[we].head.line;dt.indentLine(he,null,!0),dt.indentLine(he+1,null,!0)}})}function mt(dt){var nt=ae.cmpPos(dt.anchor,dt.head)>0;return{anchor:new Re(dt.anchor.line,dt.anchor.ch+(nt?-1:1)),head:new Re(dt.head.line,dt.head.ch+(nt?1:-1))}}function Ie(dt,nt){var Me=ye(dt);if(!Me||dt.getOption("disableInput"))return ae.Pass;var ut=Ze(Me,"pairs"),Ut=ut.indexOf(nt);if(Ut==-1)return ae.Pass;for(var at=Ze(Me,"closeBefore"),ht=Ze(Me,"triples"),we=ut.charAt(Ut+1)==nt,he=dt.listSelections(),je=Ut%2==0,Ve,Ge=0;Ge<he.length;Ge++){var qe=he[Ge],Ye=qe.head,We,St=dt.getRange(Ye,Re(Ye.line,Ye.ch+1));if(je&&!qe.empty())We="surround";else if((we||!je)&&St==nt)we&&ot(dt,Ye)?We="both":ht.indexOf(nt)>=0&&dt.getRange(Ye,Re(Ye.line,Ye.ch+3))==nt+nt+nt?We="skipThree":We="skip";else if(we&&Ye.ch>1&&ht.indexOf(nt)>=0&&dt.getRange(Re(Ye.line,Ye.ch-2),Ye)==nt+nt){if(Ye.ch>2&&/\bstring/.test(dt.getTokenTypeAt(Re(Ye.line,Ye.ch-2))))return ae.Pass;We="addFour"}else if(we){var lt=Ye.ch==0?" ":dt.getRange(Re(Ye.line,Ye.ch-1),Ye);if(!ae.isWordChar(St)&<!=nt&&!ae.isWordChar(lt))We="both";else return ae.Pass}else if(je&&(St.length===0||/\s/.test(St)||at.indexOf(St)>-1))We="both";else return ae.Pass;if(!Ve)Ve=We;else if(Ve!=We)return ae.Pass}var zt=Ut%2?ut.charAt(Ut-1):nt,Dt=Ut%2?nt:ut.charAt(Ut+1);dt.operation(function(){if(Ve=="skip")dt.execCommand("goCharRight");else if(Ve=="skipThree")for(var pn=0;pn<3;pn++)dt.execCommand("goCharRight");else if(Ve=="surround"){for(var Kn=dt.getSelections(),pn=0;pn<Kn.length;pn++)Kn[pn]=zt+Kn[pn]+Dt;dt.replaceSelections(Kn,"around"),Kn=dt.listSelections().slice();for(var pn=0;pn<Kn.length;pn++)Kn[pn]=mt(Kn[pn]);dt.setSelections(Kn)}else Ve=="both"?(dt.replaceSelection(zt+Dt,null),dt.triggerElectric(zt+Dt),dt.execCommand("goCharLeft")):Ve=="addFour"&&(dt.replaceSelection(zt+zt+zt+zt,"before"),dt.execCommand("goCharRight"))})}function Xe(dt,nt){var Me=dt.getRange(Re(nt.line,nt.ch-1),Re(nt.line,nt.ch+1));return Me.length==2?Me:null}function ot(dt,nt){var Me=dt.getTokenAt(Re(nt.line,nt.ch+1));return/\bstring/.test(Me.type)&&Me.start==nt.ch&&(nt.ch==0||!/\bstring/.test(dt.getTokenTypeAt(nt)))}})},57341:function(mn,en,ie){(function(ae){ae(ie(4631),ie(4786))})(function(ae){ae.defineOption("autoCloseTags",!1,function(me,Le,mt){if(mt!=ae.Init&&mt&&me.removeKeyMap("autoCloseTags"),!!Le){var Ie={name:"autoCloseTags"};(typeof Le!="object"||Le.whenClosing!==!1)&&(Ie["'/'"]=function(Xe){return Ee(Xe)}),(typeof Le!="object"||Le.whenOpening!==!1)&&(Ie["'>'"]=function(Xe){return Ze(Xe)}),me.addKeyMap(Ie)}});var Oe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Re=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Ze(me){if(me.getOption("disableInput"))return ae.Pass;for(var Le=me.listSelections(),mt=[],Ie=me.getOption("autoCloseTags"),Xe=0;Xe<Le.length;Xe++){if(!Le[Xe].empty())return ae.Pass;var ot=Le[Xe].head,dt=me.getTokenAt(ot),nt=ae.innerMode(me.getMode(),dt.state),Me=nt.state,ut=nt.mode.xmlCurrentTag&&nt.mode.xmlCurrentTag(Me),Ut=ut&&ut.name;if(!Ut)return ae.Pass;var at=nt.mode.configuration=="html",ht=typeof Ie=="object"&&Ie.dontCloseTags||at&&Oe,we=typeof Ie=="object"&&Ie.indentTags||at&ℜdt.end>ot.ch&&(Ut=Ut.slice(0,Ut.length-dt.end+ot.ch));var he=Ut.toLowerCase();if(!Ut||dt.type=="string"&&(dt.end!=ot.ch||!/[\"\']/.test(dt.string.charAt(dt.string.length-1))||dt.string.length==1)||dt.type=="tag"&&ut.close||dt.string.indexOf("/")==ot.ch-dt.start-1||ht&&ke(ht,he)>-1||ye(me,nt.mode.xmlCurrentContext&&nt.mode.xmlCurrentContext(Me)||[],Ut,ot,!0))return ae.Pass;var je=typeof Ie=="object"&&Ie.emptyTags;if(je&&ke(je,Ut)>-1){mt[Xe]={text:"/>",newPos:ae.Pos(ot.line,ot.ch+2)};continue}var Ve=we&&ke(we,he)>-1;mt[Xe]={indent:Ve,text:">"+(Ve?`
|
|
|
|
|
|
`:"")+"</"+Ut+">",newPos:Ve?ae.Pos(ot.line+1,0):ae.Pos(ot.line,ot.ch+1)}}for(var Ge=typeof Ie=="object"&&Ie.dontIndentOnAutoClose,Xe=Le.length-1;Xe>=0;Xe--){var qe=mt[Xe];me.replaceRange(qe.text,Le[Xe].head,Le[Xe].anchor,"+insert");var Ye=me.listSelections().slice(0);Ye[Xe]={head:qe.newPos,anchor:qe.newPos},me.setSelections(Ye),!Ge&&qe.indent&&(me.indentLine(qe.newPos.line,null,!0),me.indentLine(qe.newPos.line+1,null,!0))}}function ve(me,Le){for(var mt=me.listSelections(),Ie=[],Xe=Le?"/":"</",ot=me.getOption("autoCloseTags"),dt=typeof ot=="object"&&ot.dontIndentOnSlash,nt=0;nt<mt.length;nt++){if(!mt[nt].empty())return ae.Pass;var Me=mt[nt].head,ut=me.getTokenAt(Me),Ut=ae.innerMode(me.getMode(),ut.state),at=Ut.state;if(Le&&(ut.type=="string"||ut.string.charAt(0)!="<"||ut.start!=Me.ch-1))return ae.Pass;var ht,we=Ut.mode.name!="xml"&&me.getMode().name=="htmlmixed";if(we&&Ut.mode.name=="javascript")ht=Xe+"script";else if(we&&Ut.mode.name=="css")ht=Xe+"style";else{var he=Ut.mode.xmlCurrentContext&&Ut.mode.xmlCurrentContext(at);if(!he||he.length&&ye(me,he,he[he.length-1],Me))return ae.Pass;ht=Xe+he[he.length-1]}me.getLine(Me.line).charAt(ut.end)!=">"&&(ht+=">"),Ie[nt]=ht}if(me.replaceSelections(Ie),mt=me.listSelections(),!dt)for(var nt=0;nt<mt.length;nt++)(nt==mt.length-1||mt[nt].head.line<mt[nt+1].head.line)&&me.indentLine(mt[nt].head.line)}function Ee(me){return me.getOption("disableInput")?ae.Pass:ve(me,!0)}ae.commands.closeTag=function(me){return ve(me)};function ke(me,Le){if(me.indexOf)return me.indexOf(Le);for(var mt=0,Ie=me.length;mt<Ie;++mt)if(me[mt]==Le)return mt;return-1}function ye(me,Le,mt,Ie,Xe){if(!ae.scanForClosingTag)return!1;var ot=Math.min(me.lastLine()+1,Ie.line+500),dt=ae.scanForClosingTag(me,Ie,null,ot);if(!dt||dt.tag!=mt)return!1;for(var nt=Xe?1:0,Me=Le.length-1;Me>=0&&Le[Me]==mt;Me--)++nt;Ie=dt.to;for(var Me=1;Me<nt;Me++){var ut=ae.scanForClosingTag(me,Ie,null,ot);if(!ut||ut.tag!=mt)return!1;Ie=ut.to}return!0}})},4786:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){"use strict";var Oe=ae.Pos;function Re(Me,ut){return Me.line-ut.line||Me.ch-ut.ch}var Ze="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ve=Ze+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ee=new RegExp("<(/?)(["+Ze+"]["+ve+"]*)","g");function ke(Me,ut,Ut,at){this.line=ut,this.ch=Ut,this.cm=Me,this.text=Me.getLine(ut),this.min=at?Math.max(at.from,Me.firstLine()):Me.firstLine(),this.max=at?Math.min(at.to-1,Me.lastLine()):Me.lastLine()}function ye(Me,ut){var Ut=Me.cm.getTokenTypeAt(Oe(Me.line,ut));return Ut&&/\btag\b/.test(Ut)}function me(Me){if(!(Me.line>=Me.max))return Me.ch=0,Me.text=Me.cm.getLine(++Me.line),!0}function Le(Me){if(!(Me.line<=Me.min))return Me.text=Me.cm.getLine(--Me.line),Me.ch=Me.text.length,!0}function mt(Me){for(;;){var ut=Me.text.indexOf(">",Me.ch);if(ut==-1){if(me(Me))continue;return}if(!ye(Me,ut+1)){Me.ch=ut+1;continue}var Ut=Me.text.lastIndexOf("/",ut),at=Ut>-1&&!/\S/.test(Me.text.slice(Ut+1,ut));return Me.ch=ut+1,at?"selfClose":"regular"}}function Ie(Me){for(;;){var ut=Me.ch?Me.text.lastIndexOf("<",Me.ch-1):-1;if(ut==-1){if(Le(Me))continue;return}if(!ye(Me,ut+1)){Me.ch=ut;continue}Ee.lastIndex=ut,Me.ch=ut;var Ut=Ee.exec(Me.text);if(Ut&&Ut.index==ut)return Ut}}function Xe(Me){for(;;){Ee.lastIndex=Me.ch;var ut=Ee.exec(Me.text);if(!ut){if(me(Me))continue;return}if(!ye(Me,ut.index+1)){Me.ch=ut.index+1;continue}return Me.ch=ut.index+ut[0].length,ut}}function ot(Me){for(;;){var ut=Me.ch?Me.text.lastIndexOf(">",Me.ch-1):-1;if(ut==-1){if(Le(Me))continue;return}if(!ye(Me,ut+1)){Me.ch=ut;continue}var Ut=Me.text.lastIndexOf("/",ut),at=Ut>-1&&!/\S/.test(Me.text.slice(Ut+1,ut));return Me.ch=ut+1,at?"selfClose":"regular"}}function dt(Me,ut){for(var Ut=[];;){var at=Xe(Me),ht,we=Me.line,he=Me.ch-(at?at[0].length:0);if(!at||!(ht=mt(Me)))return;if(ht!="selfClose")if(at[1]){for(var je=Ut.length-1;je>=0;--je)if(Ut[je]==at[2]){Ut.length=je;break}if(je<0&&(!ut||ut==at[2]))return{tag:at[2],from:Oe(we,he),to:Oe(Me.line,Me.ch)}}else Ut.push(at[2])}}function nt(Me,ut){for(var Ut=[];;){var at=ot(Me);if(!at)return;if(at=="selfClose"){Ie(Me);continue}var ht=Me.line,we=Me.ch,he=Ie(Me);if(!he)return;if(he[1])Ut.push(he[2]);else{for(var je=Ut.length-1;je>=0;--je)if(Ut[je]==he[2]){Ut.length=je;break}if(je<0&&(!ut||ut==he[2]))return{tag:he[2],from:Oe(Me.line,Me.ch),to:Oe(ht,we)}}}}ae.registerHelper("fold","xml",function(Me,ut){for(var Ut=new ke(Me,ut.line,0);;){var at=Xe(Ut);if(!at||Ut.line!=ut.line)return;var ht=mt(Ut);if(!ht)return;if(!at[1]&&ht!="selfClose"){var we=Oe(Ut.line,Ut.ch),he=dt(Ut,at[2]);return he&&Re(he.from,we)>0?{from:we,to:he.from}:null}}}),ae.findMatchingTag=function(Me,ut,Ut){var at=new ke(Me,ut.line,ut.ch,Ut);if(!(at.text.indexOf(">")==-1&&at.text.indexOf("<")==-1)){var ht=mt(at),we=ht&&Oe(at.line,at.ch),he=ht&&Ie(at);if(!(!ht||!he||Re(at,ut)>0)){var je={from:Oe(at.line,at.ch),to:we,tag:he[2]};return ht=="selfClose"?{open:je,close:null,at:"open"}:he[1]?{open:nt(at,he[2]),close:je,at:"close"}:(at=new ke(Me,we.line,we.ch,Ut),{open:je,close:dt(at,he[2]),at:"open"})}}},ae.findEnclosingTag=function(Me,ut,Ut,at){for(var ht=new ke(Me,ut.line,ut.ch,Ut);;){var we=nt(ht,at);if(!we)break;var he=new ke(Me,ut.line,ut.ch,Ut),je=dt(he,we.tag);if(je)return{open:we,close:je}}},ae.scanForClosingTag=function(Me,ut,Ut,at){var ht=new ke(Me,ut.line,ut.ch,at?{from:0,to:at}:null);return dt(ht,Ut)}})},4631:function(mn){(function(en,ie){mn.exports=ie()})(this,function(){"use strict";var en=navigator.userAgent,ie=navigator.platform,ae=/gecko\/\d/i.test(en),Oe=/MSIE \d/.test(en),Re=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(en),Ze=/Edge\/(\d+)/.exec(en),ve=Oe||Re||Ze,Ee=ve&&(Oe?document.documentMode||6:+(Ze||Re)[1]),ke=!Ze&&/WebKit\//.test(en),ye=ke&&/Qt\/\d+\.\d+/.test(en),me=!Ze&&/Chrome\//.test(en),Le=/Opera\//.test(en),mt=/Apple Computer/.test(navigator.vendor),Ie=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(en),Xe=/PhantomJS/.test(en),ot=!Ze&&/AppleWebKit/.test(en)&&/Mobile\/\w+/.test(en),dt=/Android/.test(en),nt=ot||dt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(en),Me=ot||/Mac/.test(ie),ut=/\bCrOS\b/.test(en),Ut=/win/i.test(ie),at=Le&&en.match(/Version\/(\d*\.\d*)/);at&&(at=Number(at[1])),at&&at>=15&&(Le=!1,ke=!0);var ht=Me&&(ye||Le&&(at==null||at<12.11)),we=ae||ve&&Ee>=9;function he(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var je=function(x,z){var ne=x.className,te=he(z).exec(ne);if(te){var oe=ne.slice(te.index+te[0].length);x.className=ne.slice(0,te.index)+(oe?te[1]+oe:"")}};function Ve(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function Ge(x,z){return Ve(x).appendChild(z)}function qe(x,z,ne,te){var oe=document.createElement(x);if(ne&&(oe.className=ne),te&&(oe.style.cssText=te),typeof z=="string")oe.appendChild(document.createTextNode(z));else if(z)for(var fe=0;fe<z.length;++fe)oe.appendChild(z[fe]);return oe}function Ye(x,z,ne,te){var oe=qe(x,z,ne,te);return oe.setAttribute("role","presentation"),oe}var We;document.createRange?We=function(x,z,ne,te){var oe=document.createRange();return oe.setEnd(te||x,ne),oe.setStart(x,z),oe}:We=function(x,z,ne){var te=document.body.createTextRange();try{te.moveToElementText(x.parentNode)}catch(oe){return te}return te.collapse(!0),te.moveEnd("character",ne),te.moveStart("character",z),te};function St(x,z){if(z.nodeType==3&&(z=z.parentNode),x.contains)return x.contains(z);do if(z.nodeType==11&&(z=z.host),z==x)return!0;while(z=z.parentNode)}function lt(){var x;try{x=document.activeElement}catch(z){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function zt(x,z){var ne=x.className;he(z).test(ne)||(x.className+=(ne?" ":"")+z)}function Dt(x,z){for(var ne=x.split(" "),te=0;te<ne.length;te++)ne[te]&&!he(ne[te]).test(z)&&(z+=" "+ne[te]);return z}var pn=function(x){x.select()};ot?pn=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:ve&&(pn=function(x){try{x.select()}catch(z){}});function Kn(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function tr(x,z,ne){z||(z={});for(var te in x)x.hasOwnProperty(te)&&(ne!==!1||!z.hasOwnProperty(te))&&(z[te]=x[te]);return z}function it(x,z,ne,te,oe){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var fe=te||0,Se=oe||0;;){var Ne=x.indexOf(" ",fe);if(Ne<0||Ne>=z)return Se+(z-fe);Se+=Ne-fe,Se+=ne-Se%ne,fe=Ne+1}}var Ce=function(){this.id=null,this.f=null,this.time=0,this.handler=Kn(this.onTimeout,this)};Ce.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ce.prototype.set=function(x,z){this.f=z;var ne=+new Date+x;(!this.id||ne<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ne)};function wt(x,z){for(var ne=0;ne<x.length;++ne)if(x[ne]==z)return ne;return-1}var An=50,Tt={toString:function(){return"CodeMirror.Pass"}},rt={scroll:!1},ft={origin:"*mouse"},Wt={origin:"+move"};function qt(x,z,ne){for(var te=0,oe=0;;){var fe=x.indexOf(" ",te);fe==-1&&(fe=x.length);var Se=fe-te;if(fe==x.length||oe+Se>=z)return te+Math.min(Se,z-oe);if(oe+=fe-te,oe+=ne-oe%ne,te=fe+1,oe>=z)return te}}var Xt=[""];function Ht(x){for(;Xt.length<=x;)Xt.push(un(Xt)+" ");return Xt[x]}function un(x){return x[x.length-1]}function kn(x,z){for(var ne=[],te=0;te<x.length;te++)ne[te]=z(x[te],te);return ne}function yn(x,z,ne){for(var te=0,oe=ne(z);te<x.length&&ne(x[te])<=oe;)te++;x.splice(te,0,z)}function Fe(){}function ce(x,z){var ne;return Object.create?ne=Object.create(x):(Fe.prototype=x,ne=new Fe),z&&tr(z,ne),ne}var ue=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function pe(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ue.test(x))}function de(x,z){return z?z.source.indexOf("\\w")>-1&&pe(x)?!0:z.test(x):pe(x)}function le(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var De=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ke(x){return x.charCodeAt(0)>=768&&De.test(x)}function Et(x,z,ne){for(;(ne<0?z>0:z<x.length)&&Ke(x.charAt(z));)z+=ne;return z}function Yt(x,z,ne){for(var te=z>ne?-1:1;;){if(z==ne)return z;var oe=(z+ne)/2,fe=te<0?Math.ceil(oe):Math.floor(oe);if(fe==z)return x(fe)?z:ne;x(fe)?ne=fe:z=fe+te}}function Kt(x,z,ne,te){if(!x)return te(z,ne,"ltr",0);for(var oe=!1,fe=0;fe<x.length;++fe){var Se=x[fe];(Se.from<ne&&Se.to>z||z==ne&&Se.to==z)&&(te(Math.max(Se.from,z),Math.min(Se.to,ne),Se.level==1?"rtl":"ltr",fe),oe=!0)}oe||te(z,ne,"ltr")}var nn=null;function $t(x,z,ne){var te;nn=null;for(var oe=0;oe<x.length;++oe){var fe=x[oe];if(fe.from<z&&fe.to>z)return oe;fe.to==z&&(fe.from!=fe.to&&ne=="before"?te=oe:nn=oe),fe.from==z&&(fe.from!=fe.to&&ne!="before"?te=oe:nn=oe)}return te!=null?te:nn}var gr=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(_e){return _e<=247?x.charAt(_e):1424<=_e&&_e<=1524?"R":1536<=_e&&_e<=1785?z.charAt(_e-1536):1774<=_e&&_e<=2220?"r":8192<=_e&&_e<=8203?"w":_e==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,fe=/[LRr]/,Se=/[Lb1n]/,Ne=/[1n]/;function He(_e,Vt,sn){this.level=_e,this.from=Vt,this.to=sn}return function(_e,Vt){var sn=Vt=="ltr"?"L":"R";if(_e.length==0||Vt=="ltr"&&!te.test(_e))return!1;for(var Yn=_e.length,On=[],Ir=0;Ir<Yn;++Ir)On.push(ne(_e.charCodeAt(Ir)));for(var ti=0,vi=sn;ti<Yn;++ti){var Ii=On[ti];Ii=="m"?On[ti]=vi:vi=Ii}for(var ji=0,Mi=sn;ji<Yn;++ji){var Ui=On[ji];Ui=="1"&&Mi=="r"?On[ji]="n":fe.test(Ui)&&(Mi=Ui,Ui=="r"&&(On[ji]="R"))}for(var ka=1,Pa=On[0];ka<Yn-1;++ka){var yo=On[ka];yo=="+"&&Pa=="1"&&On[ka+1]=="1"?On[ka]="1":yo==","&&Pa==On[ka+1]&&(Pa=="1"||Pa=="n")&&(On[ka]=Pa),Pa=yo}for(var is=0;is<Yn;++is){var _s=On[is];if(_s==",")On[is]="N";else if(_s=="%"){var xs=void 0;for(xs=is+1;xs<Yn&&On[xs]=="%";++xs);for(var bl=is&&On[is-1]=="!"||xs<Yn&&On[xs]=="1"?"1":"N",xl=is;xl<xs;++xl)On[xl]=bl;is=xs-1}}for(var Ns=0,wl=sn;Ns<Yn;++Ns){var Xa=On[Ns];wl=="L"&&Xa=="1"?On[Ns]="L":fe.test(Xa)&&(wl=Xa)}for(var As=0;As<Yn;++As)if(oe.test(On[As])){var ws=void 0;for(ws=As+1;ws<Yn&&oe.test(On[ws]);++ws);for(var Ms=(As?On[As-1]:sn)=="L",Fs=(ws<Yn?On[ws]:sn)=="L",mc=Ms==Fs?Ms?"L":"R":sn,kl=As;kl<ws;++kl)On[kl]=mc;As=ws-1}for(var el=[],Ro,Vs=0;Vs<Yn;)if(Se.test(On[Vs])){var bd=Vs;for(++Vs;Vs<Yn&&Se.test(On[Vs]);++Vs);el.push(new He(0,bd,Vs))}else{var Iu=Vs,Gu=el.length,xu=Vt=="rtl"?1:0;for(++Vs;Vs<Yn&&On[Vs]!="L";++Vs);for(var Rs=Iu;Rs<Vs;)if(Ne.test(On[Rs])){Iu<Rs&&(el.splice(Gu,0,new He(1,Iu,Rs)),Gu+=xu);var gc=Rs;for(++Rs;Rs<Vs&&Ne.test(On[Rs]);++Rs);el.splice(Gu,0,new He(2,gc,Rs)),Gu+=xu,Iu=Rs}else++Rs;Iu<Vs&&el.splice(Gu,0,new He(1,Iu,Vs))}return Vt=="ltr"&&(el[0].level==1&&(Ro=_e.match(/^\s+/))&&(el[0].from=Ro[0].length,el.unshift(new He(0,0,Ro[0].length))),un(el).level==1&&(Ro=_e.match(/\s+$/))&&(un(el).to-=Ro[0].length,el.push(new He(0,Yn-Ro[0].length,Yn)))),Vt=="rtl"?el.reverse():el}}();function kr(x,z){var ne=x.order;return ne==null&&(ne=x.order=gr(x.text,z)),ne}var rn=[],gn=function(x,z,ne){if(x.addEventListener)x.addEventListener(z,ne,!1);else if(x.attachEvent)x.attachEvent("on"+z,ne);else{var te=x._handlers||(x._handlers={});te[z]=(te[z]||rn).concat(ne)}};function hr(x,z){return x._handlers&&x._handlers[z]||rn}function Er(x,z,ne){if(x.removeEventListener)x.removeEventListener(z,ne,!1);else if(x.detachEvent)x.detachEvent("on"+z,ne);else{var te=x._handlers,oe=te&&te[z];if(oe){var fe=wt(oe,ne);fe>-1&&(te[z]=oe.slice(0,fe).concat(oe.slice(fe+1)))}}}function yt(x,z){var ne=hr(x,z);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),oe=0;oe<ne.length;++oe)ne[oe].apply(null,te)}function It(x,z,ne){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),yt(x,ne||z.type,x,z),Xr(z)||z.codemirrorIgnore}function $n(x){var z=x._handlers&&x._handlers.cursorActivity;if(z)for(var ne=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),te=0;te<z.length;++te)wt(ne,z[te])==-1&&ne.push(z[te])}function Qn(x,z){return hr(x,z).length>0}function wr(x){x.prototype.on=function(z,ne){gn(this,z,ne)},x.prototype.off=function(z,ne){Er(this,z,ne)}}function _r(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function ei(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Xr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function ri(x){_r(x),ei(x)}function fi(x){return x.target||x.srcElement}function Cr(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),Me&&x.ctrlKey&&z==1&&(z=3),z}var yi=function(){if(ve&&Ee<9)return!1;var x=qe("div");return"draggable"in x||"dragDrop"in x}(),Gi;function oi(x){if(Gi==null){var z=qe("span","\u200B");Ge(x,qe("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Gi=z.offsetWidth<=1&&z.offsetHeight>2&&!(ve&&Ee<8))}var ne=Gi?qe("span","\u200B"):qe("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var ea;function Di(x){if(ea!=null)return ea;var z=Ge(x,document.createTextNode("A\u062EA")),ne=We(z,0,1).getBoundingClientRect(),te=We(z,1,2).getBoundingClientRect();return Ve(x),!ne||ne.left==ne.right?!1:ea=te.right-ne.right<3}var Ot=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(x){for(var z=0,ne=[],te=x.length;z<=te;){var oe=x.indexOf(`
|
|
|
`,z);oe==-1&&(oe=x.length);var fe=x.slice(z,x.charAt(oe-1)=="\r"?oe-1:oe),Se=fe.indexOf("\r");Se!=-1?(ne.push(fe.slice(0,Se)),z+=Se+1):(ne.push(fe),z=oe+1)}return ne}:function(x){return x.split(/\r\n?|\n/)},Nt=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(z){return!1}}:function(x){var z;try{z=x.ownerDocument.selection.createRange()}catch(ne){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},cn=function(){var x=qe("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),bn=null;function rr(x){if(bn!=null)return bn;var z=Ge(x,qe("span","x")),ne=z.getBoundingClientRect(),te=We(z,0,1).getBoundingClientRect();return bn=Math.abs(ne.left-te.left)>1}var Fn={},ir={};function Xn(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),Fn[x]=z}function pt(x,z){ir[x]=z}function At(x){if(typeof x=="string"&&ir.hasOwnProperty(x))x=ir[x];else if(x&&typeof x.name=="string"&&ir.hasOwnProperty(x.name)){var z=ir[x.name];typeof z=="string"&&(z={name:z}),x=ce(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return At("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return At("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Mt(x,z){z=At(z);var ne=Fn[z.name];if(!ne)return Mt(x,"text/plain");var te=ne(x,z);if(fn.hasOwnProperty(z.name)){var oe=fn[z.name];for(var fe in oe)oe.hasOwnProperty(fe)&&(te.hasOwnProperty(fe)&&(te["_"+fe]=te[fe]),te[fe]=oe[fe])}if(te.name=z.name,z.helperType&&(te.helperType=z.helperType),z.modeProps)for(var Se in z.modeProps)te[Se]=z.modeProps[Se];return te}var fn={};function $e(x,z){var ne=fn.hasOwnProperty(x)?fn[x]:fn[x]={};tr(z,ne)}function Ft(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ne={};for(var te in z){var oe=z[te];oe instanceof Array&&(oe=oe.concat([])),ne[te]=oe}return ne}function on(x,z){for(var ne;x.innerMode&&(ne=x.innerMode(z),!(!ne||ne.mode==x));)z=ne.state,x=ne.mode;return ne||{mode:x,state:z}}function _t(x,z,ne){return x.startState?x.startState(z,ne):!0}var En=function(x,z,ne){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};En.prototype.eol=function(){return this.pos>=this.string.length},En.prototype.sol=function(){return this.pos==this.lineStart},En.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},En.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},En.prototype.eat=function(x){var z=this.string.charAt(this.pos),ne;if(typeof x=="string"?ne=z==x:ne=z&&(x.test?x.test(z):x(z)),ne)return++this.pos,z},En.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},En.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},En.prototype.skipToEnd=function(){this.pos=this.string.length},En.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},En.prototype.backUp=function(x){this.pos-=x},En.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=it(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?it(this.string,this.lineStart,this.tabSize):0)},En.prototype.indentation=function(){return it(this.string,null,this.tabSize)-(this.lineStart?it(this.string,this.lineStart,this.tabSize):0)},En.prototype.match=function(x,z,ne){if(typeof x=="string"){var te=function(Se){return ne?Se.toLowerCase():Se},oe=this.string.substr(this.pos,x.length);if(te(oe)==te(x))return z!==!1&&(this.pos+=x.length),!0}else{var fe=this.string.slice(this.pos).match(x);return fe&&fe.index>0?null:(fe&&z!==!1&&(this.pos+=fe[0].length),fe)}},En.prototype.current=function(){return this.string.slice(this.start,this.pos)},En.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},En.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},En.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function Sn(x,z){if(z-=x.first,z<0||z>=x.size)throw new Error("There is no line "+(z+x.first)+" in the document.");for(var ne=x;!ne.lines;)for(var te=0;;++te){var oe=ne.children[te],fe=oe.chunkSize();if(z<fe){ne=oe;break}z-=fe}return ne.lines[z]}function Bn(x,z,ne){var te=[],oe=z.line;return x.iter(z.line,ne.line+1,function(fe){var Se=fe.text;oe==ne.line&&(Se=Se.slice(0,ne.ch)),oe==z.line&&(Se=Se.slice(z.ch)),te.push(Se),++oe}),te}function Qr(x,z,ne){var te=[];return x.iter(z,ne,function(oe){te.push(oe.text)}),te}function Lr(x,z){var ne=z-x.height;if(ne)for(var te=x;te;te=te.parent)te.height+=ne}function Sr(x){if(x.parent==null)return null;for(var z=x.parent,ne=wt(z.lines,x),te=z.parent;te;z=te,te=te.parent)for(var oe=0;te.children[oe]!=z;++oe)ne+=te.children[oe].chunkSize();return ne+z.first}function jr(x,z){var ne=x.first;e:do{for(var te=0;te<x.children.length;++te){var oe=x.children[te],fe=oe.height;if(z<fe){x=oe;continue e}z-=fe,ne+=oe.chunkSize()}return ne}while(!x.lines);for(var Se=0;Se<x.lines.length;++Se){var Ne=x.lines[Se],He=Ne.height;if(z<He)break;z-=He}return ne+Se}function zr(x,z){return z>=x.first&&z<x.first+x.size}function Rt(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function kt(x,z,ne){if(ne===void 0&&(ne=null),!(this instanceof kt))return new kt(x,z,ne);this.line=x,this.ch=z,this.sticky=ne}function jt(x,z){return x.line-z.line||x.ch-z.ch}function zn(x,z){return x.sticky==z.sticky&&jt(x,z)==0}function lr(x){return kt(x.line,x.ch)}function Hn(x,z){return jt(x,z)<0?z:x}function _n(x,z){return jt(x,z)<0?x:z}function Gn(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function or(x,z){if(z.line<x.first)return kt(x.first,0);var ne=x.first+x.size-1;return z.line>ne?kt(ne,Sn(x,ne).text.length):Kr(z,Sn(x,z.line).text.length)}function Kr(x,z){var ne=x.ch;return ne==null||ne>z?kt(x.line,z):ne<0?kt(x.line,0):x}function Ln(x,z){for(var ne=[],te=0;te<z.length;te++)ne[te]=or(x,z[te]);return ne}var Fi=function(x,z){this.state=x,this.lookAhead=z},pi=function(x,z,ne,te){this.state=z,this.doc=x,this.line=ne,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};pi.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},pi.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var z=this.baseTokens[this.baseTokenPos+1];return{type:z&&z.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},pi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},pi.fromSaved=function(x,z,ne){return z instanceof Fi?new pi(x,Ft(x.mode,z.state),ne,z.lookAhead):new pi(x,Ft(x.mode,z),ne)},pi.prototype.save=function(x){var z=x!==!1?Ft(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Fi(z,this.maxLookAhead):z};function ha(x,z,ne,te){var oe=[x.state.modeGen],fe={};Ji(x,z.text,x.doc.mode,ne,function(_e,Vt){return oe.push(_e,Vt)},fe,te);for(var Se=ne.state,Ne=function(_e){ne.baseTokens=oe;var Vt=x.state.overlays[_e],sn=1,Yn=0;ne.state=!0,Ji(x,z.text,Vt.mode,ne,function(On,Ir){for(var ti=sn;Yn<On;){var vi=oe[sn];vi>On&&oe.splice(sn,1,On,oe[sn+1],vi),sn+=2,Yn=Math.min(On,vi)}if(Ir)if(Vt.opaque)oe.splice(ti,sn-ti,On,"overlay "+Ir),sn=ti+2;else for(;ti<sn;ti+=2){var Ii=oe[ti+1];oe[ti+1]=(Ii?Ii+" ":"")+"overlay "+Ir}},fe),ne.state=Se,ne.baseTokens=null,ne.baseTokenPos=1},He=0;He<x.state.overlays.length;++He)Ne(He);return{styles:oe,classes:fe.bgClass||fe.textClass?fe:null}}function ra(x,z,ne){if(!z.styles||z.styles[0]!=x.state.modeGen){var te=Qi(x,Sr(z)),oe=z.text.length>x.options.maxHighlightLength&&Ft(x.doc.mode,te.state),fe=ha(x,z,te);oe&&(te.state=oe),z.stateAfter=te.save(!oe),z.styles=fe.styles,fe.classes?z.styleClasses=fe.classes:z.styleClasses&&(z.styleClasses=null),ne===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function Qi(x,z,ne){var te=x.doc,oe=x.display;if(!te.mode.startState)return new pi(te,!0,z);var fe=Ea(x,z,ne),Se=fe>te.first&&Sn(te,fe-1).stateAfter,Ne=Se?pi.fromSaved(te,Se,fe):new pi(te,_t(te.mode),fe);return te.iter(fe,z,function(He){Ca(x,He.text,Ne);var _e=Ne.line;He.stateAfter=_e==z-1||_e%5==0||_e>=oe.viewFrom&&_e<oe.viewTo?Ne.save():null,Ne.nextLine()}),ne&&(te.modeFrontier=Ne.line),Ne}function Ca(x,z,ne,te){var oe=x.doc.mode,fe=new En(z,x.options.tabSize,ne);for(fe.start=fe.pos=te||0,z==""&&Xi(oe,ne.state);!fe.eol();)Ri(oe,fe,ne.state),fe.start=fe.pos}function Xi(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var ne=on(x,z);if(ne.mode.blankLine)return ne.mode.blankLine(ne.state)}}function Ri(x,z,ne,te){for(var oe=0;oe<10;oe++){te&&(te[0]=on(x,ne).mode);var fe=x.token(z,ne);if(z.pos>z.start)return fe}throw new Error("Mode "+x.name+" failed to advance stream.")}var sa=function(x,z,ne){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ne};function Da(x,z,ne,te){var oe=x.doc,fe=oe.mode,Se;z=or(oe,z);var Ne=Sn(oe,z.line),He=Qi(x,z.line,ne),_e=new En(Ne.text,x.options.tabSize,He),Vt;for(te&&(Vt=[]);(te||_e.pos<z.ch)&&!_e.eol();)_e.start=_e.pos,Se=Ri(fe,_e,He.state),te&&Vt.push(new sa(_e,Se,Ft(oe.mode,He.state)));return te?Vt:new sa(_e,Se,He.state)}function ki(x,z){if(x)for(;;){var ne=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ne)break;x=x.slice(0,ne.index)+x.slice(ne.index+ne[0].length);var te=ne[1]?"bgClass":"textClass";z[te]==null?z[te]=ne[2]:new RegExp("(?:^|\\s)"+ne[2]+"(?:$|\\s)").test(z[te])||(z[te]+=" "+ne[2])}return x}function Ji(x,z,ne,te,oe,fe,Se){var Ne=ne.flattenSpans;Ne==null&&(Ne=x.options.flattenSpans);var He=0,_e=null,Vt=new En(z,x.options.tabSize,te),sn,Yn=x.options.addModeClass&&[null];for(z==""&&ki(Xi(ne,te.state),fe);!Vt.eol();){if(Vt.pos>x.options.maxHighlightLength?(Ne=!1,Se&&Ca(x,z,te,Vt.pos),Vt.pos=z.length,sn=null):sn=ki(Ri(ne,Vt,te.state,Yn),fe),Yn){var On=Yn[0].name;On&&(sn="m-"+(sn?On+" "+sn:On))}if(!Ne||_e!=sn){for(;He<Vt.start;)He=Math.min(Vt.start,He+5e3),oe(He,_e);_e=sn}Vt.start=Vt.pos}for(;He<Vt.pos;){var Ir=Math.min(Vt.pos,He+5e3);oe(Ir,_e),He=Ir}}function Ea(x,z,ne){for(var te,oe,fe=x.doc,Se=ne?-1:z-(x.doc.mode.innerMode?1e3:100),Ne=z;Ne>Se;--Ne){if(Ne<=fe.first)return fe.first;var He=Sn(fe,Ne-1),_e=He.stateAfter;if(_e&&(!ne||Ne+(_e instanceof Fi?_e.lookAhead:0)<=fe.modeFrontier))return Ne;var Vt=it(He.text,null,x.options.tabSize);(oe==null||te>Vt)&&(oe=Ne-1,te=Vt)}return oe}function _a(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontier<z-10)){for(var ne=x.first,te=z-1;te>ne;te--){var oe=Sn(x,te).stateAfter;if(oe&&(!(oe instanceof Fi)||te+oe.lookAhead<z)){ne=te+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ne)}}var Oa=!1,Oi=!1;function Qt(){Oa=!0}function Zt(){Oi=!0}function Mn(x,z,ne){this.marker=x,this.from=z,this.to=ne}function jn(x,z){if(x)for(var ne=0;ne<x.length;++ne){var te=x[ne];if(te.marker==z)return te}}function sr(x,z){for(var ne,te=0;te<x.length;++te)x[te]!=z&&(ne||(ne=[])).push(x[te]);return ne}function Yr(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function si(x,z,ne){var te;if(x)for(var oe=0;oe<x.length;++oe){var fe=x[oe],Se=fe.marker,Ne=fe.from==null||(Se.inclusiveLeft?fe.from<=z:fe.from<z);if(Ne||fe.from==z&&Se.type=="bookmark"&&(!ne||!fe.marker.insertLeft)){var He=fe.to==null||(Se.inclusiveRight?fe.to>=z:fe.to>z);(te||(te=[])).push(new Mn(Se,fe.from,He?null:fe.to))}}return te}function mi(x,z,ne){var te;if(x)for(var oe=0;oe<x.length;++oe){var fe=x[oe],Se=fe.marker,Ne=fe.to==null||(Se.inclusiveRight?fe.to>=z:fe.to>z);if(Ne||fe.from==z&&Se.type=="bookmark"&&(!ne||fe.marker.insertLeft)){var He=fe.from==null||(Se.inclusiveLeft?fe.from<=z:fe.from<z);(te||(te=[])).push(new Mn(Se,He?null:fe.from-z,fe.to==null?null:fe.to-z))}}return te}function Ci(x,z){if(z.full)return null;var ne=zr(x,z.from.line)&&Sn(x,z.from.line).markedSpans,te=zr(x,z.to.line)&&Sn(x,z.to.line).markedSpans;if(!ne&&!te)return null;var oe=z.from.ch,fe=z.to.ch,Se=jt(z.from,z.to)==0,Ne=si(ne,oe,Se),He=mi(te,fe,Se),_e=z.text.length==1,Vt=un(z.text).length+(_e?oe:0);if(Ne)for(var sn=0;sn<Ne.length;++sn){var Yn=Ne[sn];if(Yn.to==null){var On=jn(He,Yn.marker);On?_e&&(Yn.to=On.to==null?null:On.to+Vt):Yn.to=oe}}if(He)for(var Ir=0;Ir<He.length;++Ir){var ti=He[Ir];if(ti.to!=null&&(ti.to+=Vt),ti.from==null){var vi=jn(Ne,ti.marker);vi||(ti.from=Vt,_e&&(Ne||(Ne=[])).push(ti))}else ti.from+=Vt,_e&&(Ne||(Ne=[])).push(ti)}Ne&&(Ne=gi(Ne)),He&&He!=Ne&&(He=gi(He));var Ii=[Ne];if(!_e){var ji=z.text.length-2,Mi;if(ji>0&&Ne)for(var Ui=0;Ui<Ne.length;++Ui)Ne[Ui].to==null&&(Mi||(Mi=[])).push(new Mn(Ne[Ui].marker,null,null));for(var ka=0;ka<ji;++ka)Ii.push(Mi);Ii.push(He)}return Ii}function gi(x){for(var z=0;z<x.length;++z){var ne=x[z];ne.from!=null&&ne.from==ne.to&&ne.marker.clearWhenEmpty!==!1&&x.splice(z--,1)}return x.length?x:null}function Ti(x,z,ne){var te=null;if(x.iter(z.line,ne.line+1,function(On){if(On.markedSpans)for(var Ir=0;Ir<On.markedSpans.length;++Ir){var ti=On.markedSpans[Ir].marker;ti.readOnly&&(!te||wt(te,ti)==-1)&&(te||(te=[])).push(ti)}}),!te)return null;for(var oe=[{from:z,to:ne}],fe=0;fe<te.length;++fe)for(var Se=te[fe],Ne=Se.find(0),He=0;He<oe.length;++He){var _e=oe[He];if(!(jt(_e.to,Ne.from)<0||jt(_e.from,Ne.to)>0)){var Vt=[He,1],sn=jt(_e.from,Ne.from),Yn=jt(_e.to,Ne.to);(sn<0||!Se.inclusiveLeft&&!sn)&&Vt.push({from:_e.from,to:Ne.from}),(Yn>0||!Se.inclusiveRight&&!Yn)&&Vt.push({from:Ne.to,to:_e.to}),oe.splice.apply(oe,Vt),He+=Vt.length-3}}return oe}function qi(x){var z=x.markedSpans;if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.detachLine(x);x.markedSpans=null}}function li(x,z){if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.attachLine(x);x.markedSpans=z}}function Vi(x){return x.inclusiveLeft?-1:0}function ia(x){return x.inclusiveRight?1:0}function ta(x,z){var ne=x.lines.length-z.lines.length;if(ne!=0)return ne;var te=x.find(),oe=z.find(),fe=jt(te.from,oe.from)||Vi(x)-Vi(z);if(fe)return-fe;var Se=jt(te.to,oe.to)||ia(x)-ia(z);return Se||z.id-x.id}function ze(x,z){var ne=Oi&&x.markedSpans,te;if(ne)for(var oe=void 0,fe=0;fe<ne.length;++fe)oe=ne[fe],oe.marker.collapsed&&(z?oe.from:oe.to)==null&&(!te||ta(te,oe.marker)<0)&&(te=oe.marker);return te}function Je(x){return ze(x,!0)}function et(x){return ze(x,!1)}function st(x,z){var ne=Oi&&x.markedSpans,te;if(ne)for(var oe=0;oe<ne.length;++oe){var fe=ne[oe];fe.marker.collapsed&&(fe.from==null||fe.from<z)&&(fe.to==null||fe.to>z)&&(!te||ta(te,fe.marker)<0)&&(te=fe.marker)}return te}function Ct(x,z,ne,te,oe){var fe=Sn(x,z),Se=Oi&&fe.markedSpans;if(Se)for(var Ne=0;Ne<Se.length;++Ne){var He=Se[Ne];if(He.marker.collapsed){var _e=He.marker.find(0),Vt=jt(_e.from,ne)||Vi(He.marker)-Vi(oe),sn=jt(_e.to,te)||ia(He.marker)-ia(oe);if(!(Vt>=0&&sn<=0||Vt<=0&&sn>=0)&&(Vt<=0&&(He.marker.inclusiveRight&&oe.inclusiveLeft?jt(_e.to,ne)>=0:jt(_e.to,ne)>0)||Vt>=0&&(He.marker.inclusiveRight&&oe.inclusiveLeft?jt(_e.from,te)<=0:jt(_e.from,te)<0)))return!0}}}function Bt(x){for(var z;z=Je(x);)x=z.find(-1,!0).line;return x}function Jt(x){for(var z;z=et(x);)x=z.find(1,!0).line;return x}function Tn(x){for(var z,ne;z=et(x);)x=z.find(1,!0).line,(ne||(ne=[])).push(x);return ne}function Nn(x,z){var ne=Sn(x,z),te=Bt(ne);return ne==te?z:Sr(te)}function Fr(x,z){if(z>x.lastLine())return z;var ne=Sn(x,z),te;if(!Jr(x,ne))return z;for(;te=et(ne);)ne=te.find(1,!0).line;return Sr(ne)+1}function Jr(x,z){var ne=Oi&&z.markedSpans;if(ne){for(var te=void 0,oe=0;oe<ne.length;++oe)if(te=ne[oe],!!te.marker.collapsed){if(te.from==null)return!0;if(!te.marker.widgetNode&&te.from==0&&te.marker.inclusiveLeft&&Ar(x,z,te))return!0}}}function Ar(x,z,ne){if(ne.to==null){var te=ne.marker.find(1,!0);return Ar(x,te.line,jn(te.line.markedSpans,ne.marker))}if(ne.marker.inclusiveRight&&ne.to==z.text.length)return!0;for(var oe=void 0,fe=0;fe<z.markedSpans.length;++fe)if(oe=z.markedSpans[fe],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==ne.to&&(oe.to==null||oe.to!=ne.from)&&(oe.marker.inclusiveLeft||ne.marker.inclusiveRight)&&Ar(x,z,oe))return!0}function er(x){x=Bt(x);for(var z=0,ne=x.parent,te=0;te<ne.lines.length;++te){var oe=ne.lines[te];if(oe==x)break;z+=oe.height}for(var fe=ne.parent;fe;ne=fe,fe=ne.parent)for(var Se=0;Se<fe.children.length;++Se){var Ne=fe.children[Se];if(Ne==ne)break;z+=Ne.height}return z}function Wn(x){if(x.height==0)return 0;for(var z=x.text.length,ne,te=x;ne=Je(te);){var oe=ne.find(0,!0);te=oe.from.line,z+=oe.from.ch-oe.to.ch}for(te=x;ne=et(te);){var fe=ne.find(0,!0);z-=te.text.length-fe.from.ch,te=fe.to.line,z+=te.text.length-fe.to.ch}return z}function ur(x){var z=x.display,ne=x.doc;z.maxLine=Sn(ne,ne.first),z.maxLineLength=Wn(z.maxLine),z.maxLineChanged=!0,ne.iter(function(te){var oe=Wn(te);oe>z.maxLineLength&&(z.maxLineLength=oe,z.maxLine=te)})}var mr=function(x,z,ne){this.text=x,li(this,z),this.height=ne?ne(this):1};mr.prototype.lineNo=function(){return Sr(this)},wr(mr);function Vr(x,z,ne,te){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),qi(x),li(x,ne);var oe=te?te(x):1;oe!=x.height&&Lr(x,oe)}function Dr(x){x.parent=null,qi(x)}var Mr={},Tr={};function Or(x,z){if(!x||/^\s*$/.test(x))return null;var ne=z.addModeClass?Tr:Mr;return ne[x]||(ne[x]=x.replace(/\S+/g,"cm-$&"))}function qr(x,z){var ne=Ye("span",null,null,ke?"padding-right: .1px":null),te={pre:Ye("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var oe=0;oe<=(z.rest?z.rest.length:0);oe++){var fe=oe?z.rest[oe-1]:z.line,Se=void 0;te.pos=0,te.addToken=tt,Di(x.display.measure)&&(Se=kr(fe,x.doc.direction))&&(te.addToken=Pt(te.addToken,Se)),te.map=[];var Ne=z!=x.display.externalMeasured&&Sr(fe);Zn(fe,te,ra(x,fe,Ne)),fe.styleClasses&&(fe.styleClasses.bgClass&&(te.bgClass=Dt(fe.styleClasses.bgClass,te.bgClass||"")),fe.styleClasses.textClass&&(te.textClass=Dt(fe.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(oi(x.display.measure))),oe==0?(z.measure.map=te.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(te.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(ke){var He=te.content.lastChild;(/\bcm-tab\b/.test(He.className)||He.querySelector&&He.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return yt(x,"renderLine",x,z.line,te.pre),te.pre.className&&(te.textClass=Dt(te.pre.className,te.textClass||"")),te}function Ue(x){var z=qe("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function tt(x,z,ne,te,oe,fe,Se){if(z){var Ne=x.splitSpaces?tn(z,x.trailingSpace):z,He=x.cm.state.specialChars,_e=!1,Vt;if(!He.test(z))x.col+=z.length,Vt=document.createTextNode(Ne),x.map.push(x.pos,x.pos+z.length,Vt),ve&&Ee<9&&(_e=!0),x.pos+=z.length;else{Vt=document.createDocumentFragment();for(var sn=0;;){He.lastIndex=sn;var Yn=He.exec(z),On=Yn?Yn.index-sn:z.length-sn;if(On){var Ir=document.createTextNode(Ne.slice(sn,sn+On));ve&&Ee<9?Vt.appendChild(qe("span",[Ir])):Vt.appendChild(Ir),x.map.push(x.pos,x.pos+On,Ir),x.col+=On,x.pos+=On}if(!Yn)break;sn+=On+1;var ti=void 0;if(Yn[0]==" "){var vi=x.cm.options.tabSize,Ii=vi-x.col%vi;ti=Vt.appendChild(qe("span",Ht(Ii),"cm-tab")),ti.setAttribute("role","presentation"),ti.setAttribute("cm-text"," "),x.col+=Ii}else Yn[0]=="\r"||Yn[0]==`
|
|
|
`?(ti=Vt.appendChild(qe("span",Yn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ti.setAttribute("cm-text",Yn[0]),x.col+=1):(ti=x.cm.options.specialCharPlaceholder(Yn[0]),ti.setAttribute("cm-text",Yn[0]),ve&&Ee<9?Vt.appendChild(qe("span",[ti])):Vt.appendChild(ti),x.col+=1);x.map.push(x.pos,x.pos+1,ti),x.pos++}}if(x.trailingSpace=Ne.charCodeAt(z.length-1)==32,ne||te||oe||_e||fe||Se){var ji=ne||"";te&&(ji+=te),oe&&(ji+=oe);var Mi=qe("span",[Vt],ji,fe);if(Se)for(var Ui in Se)Se.hasOwnProperty(Ui)&&Ui!="style"&&Ui!="class"&&Mi.setAttribute(Ui,Se[Ui]);return x.content.appendChild(Mi)}x.content.appendChild(Vt)}}function tn(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ne=z,te="",oe=0;oe<x.length;oe++){var fe=x.charAt(oe);fe==" "&&ne&&(oe==x.length-1||x.charCodeAt(oe+1)==32)&&(fe="\xA0"),te+=fe,ne=fe==" "}return te}function Pt(x,z){return function(ne,te,oe,fe,Se,Ne,He){oe=oe?oe+" cm-force-border":"cm-force-border";for(var _e=ne.pos,Vt=_e+te.length;;){for(var sn=void 0,Yn=0;Yn<z.length&&(sn=z[Yn],!(sn.to>_e&&sn.from<=_e));Yn++);if(sn.to>=Vt)return x(ne,te,oe,fe,Se,Ne,He);x(ne,te.slice(0,sn.to-_e),oe,fe,null,Ne,He),fe=null,te=te.slice(sn.to-_e),_e=sn.to}}}function xn(x,z,ne,te){var oe=!te&&ne.widgetNode;oe&&x.map.push(x.pos,x.pos+z,oe),!te&&x.cm.display.input.needsContentAttribute&&(oe||(oe=x.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",ne.id)),oe&&(x.cm.display.input.setUneditable(oe),x.content.appendChild(oe)),x.pos+=z,x.trailingSpace=!1}function Zn(x,z,ne){var te=x.markedSpans,oe=x.text,fe=0;if(!te){for(var Se=1;Se<ne.length;Se+=2)z.addToken(z,oe.slice(fe,fe=ne[Se]),Or(ne[Se+1],z.cm.options));return}for(var Ne=oe.length,He=0,_e=1,Vt="",sn,Yn,On=0,Ir,ti,vi,Ii,ji;;){if(On==He){Ir=ti=vi=Yn="",ji=null,Ii=null,On=1/0;for(var Mi=[],Ui=void 0,ka=0;ka<te.length;++ka){var Pa=te[ka],yo=Pa.marker;if(yo.type=="bookmark"&&Pa.from==He&&yo.widgetNode)Mi.push(yo);else if(Pa.from<=He&&(Pa.to==null||Pa.to>He||yo.collapsed&&Pa.to==He&&Pa.from==He)){if(Pa.to!=null&&Pa.to!=He&&On>Pa.to&&(On=Pa.to,ti=""),yo.className&&(Ir+=" "+yo.className),yo.css&&(Yn=(Yn?Yn+";":"")+yo.css),yo.startStyle&&Pa.from==He&&(vi+=" "+yo.startStyle),yo.endStyle&&Pa.to==On&&(Ui||(Ui=[])).push(yo.endStyle,Pa.to),yo.title&&((ji||(ji={})).title=yo.title),yo.attributes)for(var is in yo.attributes)(ji||(ji={}))[is]=yo.attributes[is];yo.collapsed&&(!Ii||ta(Ii.marker,yo)<0)&&(Ii=Pa)}else Pa.from>He&&On>Pa.from&&(On=Pa.from)}if(Ui)for(var _s=0;_s<Ui.length;_s+=2)Ui[_s+1]==On&&(ti+=" "+Ui[_s]);if(!Ii||Ii.from==He)for(var xs=0;xs<Mi.length;++xs)xn(z,0,Mi[xs]);if(Ii&&(Ii.from||0)==He){if(xn(z,(Ii.to==null?Ne+1:Ii.to)-He,Ii.marker,Ii.from==null),Ii.to==null)return;Ii.to==He&&(Ii=!1)}}if(He>=Ne)break;for(var bl=Math.min(Ne,On);;){if(Vt){var xl=He+Vt.length;if(!Ii){var Ns=xl>bl?Vt.slice(0,bl-He):Vt;z.addToken(z,Ns,sn?sn+Ir:Ir,vi,He+Ns.length==On?ti:"",Yn,ji)}if(xl>=bl){Vt=Vt.slice(bl-He),He=bl;break}He=xl,vi=""}Vt=oe.slice(fe,fe=ne[_e++]),sn=Or(ne[_e++],z.cm.options)}}}function Jn(x,z,ne){this.line=z,this.rest=Tn(z),this.size=this.rest?Sr(un(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=Jr(x,z)}function yr(x,z,ne){for(var te=[],oe,fe=z;fe<ne;fe=oe){var Se=new Jn(x.doc,Sn(x.doc,fe),fe);oe=fe+Se.size,te.push(Se)}return te}var xt=null;function ct(x){xt?xt.ops.push(x):x.ownsGroup=xt={ops:[x],delayedCallbacks:[]}}function Lt(x){var z=x.delayedCallbacks,ne=0;do{for(;ne<z.length;ne++)z[ne].call(null);for(var te=0;te<x.ops.length;te++){var oe=x.ops[te];if(oe.cursorActivityHandlers)for(;oe.cursorActivityCalled<oe.cursorActivityHandlers.length;)oe.cursorActivityHandlers[oe.cursorActivityCalled++].call(null,oe.cm)}}while(ne<z.length)}function dn(x,z){var ne=x.ownsGroup;if(ne)try{Lt(ne)}finally{xt=null,z(ne)}}var qn=null;function In(x,z){var ne=hr(x,z);if(ne.length){var te=Array.prototype.slice.call(arguments,2),oe;xt?oe=xt.delayedCallbacks:qn?oe=qn:(oe=qn=[],setTimeout(wn,0));for(var fe=function(Ne){oe.push(function(){return ne[Ne].apply(null,te)})},Se=0;Se<ne.length;++Se)fe(Se)}}function wn(){var x=qn;qn=null;for(var z=0;z<x.length;++z)x[z]()}function xr(x,z,ne,te){for(var oe=0;oe<z.changes.length;oe++){var fe=z.changes[oe];fe=="text"?Vn(x,z):fe=="gutter"?ni(x,z,ne,te):fe=="class"?Hr(x,z):fe=="widget"&&Wr(x,z,te)}z.changes=null}function pr(x){return x.node==x.text&&(x.node=qe("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),ve&&Ee<8&&(x.node.style.zIndex=2)),x.node}function Pr(x,z){var ne=z.bgClass?z.bgClass+" "+(z.line.bgClass||""):z.line.bgClass;if(ne&&(ne+=" CodeMirror-linebackground"),z.background)ne?z.background.className=ne:(z.background.parentNode.removeChild(z.background),z.background=null);else if(ne){var te=pr(z);z.background=te.insertBefore(qe("div",null,ne),te.firstChild),x.display.input.setUneditable(z.background)}}function dr(x,z){var ne=x.display.externalMeasured;return ne&&ne.line==z.line?(x.display.externalMeasured=null,z.measure=ne.measure,ne.built):qr(x,z)}function Vn(x,z){var ne=z.text.className,te=dr(x,z);z.text==z.node&&(z.node=te.pre),z.text.parentNode.replaceChild(te.pre,z.text),z.text=te.pre,te.bgClass!=z.bgClass||te.textClass!=z.textClass?(z.bgClass=te.bgClass,z.textClass=te.textClass,Hr(x,z)):ne&&(z.text.className=ne)}function Hr(x,z){Pr(x,z),z.line.wrapClass?pr(z).className=z.line.wrapClass:z.node!=z.text&&(z.node.className="");var ne=z.textClass?z.textClass+" "+(z.line.textClass||""):z.line.textClass;z.text.className=ne||""}function ni(x,z,ne,te){if(z.gutter&&(z.node.removeChild(z.gutter),z.gutter=null),z.gutterBackground&&(z.node.removeChild(z.gutterBackground),z.gutterBackground=null),z.line.gutterClass){var oe=pr(z);z.gutterBackground=qe("div",null,"CodeMirror-gutter-background "+z.line.gutterClass,"left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),x.display.input.setUneditable(z.gutterBackground),oe.insertBefore(z.gutterBackground,z.text)}var fe=z.line.gutterMarkers;if(x.options.lineNumbers||fe){var Se=pr(z),Ne=z.gutter=qe("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(x.display.input.setUneditable(Ne),Se.insertBefore(Ne,z.text),z.line.gutterClass&&(Ne.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!fe||!fe["CodeMirror-linenumbers"])&&(z.lineNumber=Ne.appendChild(qe("div",Rt(x.options,ne),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),fe)for(var He=0;He<x.display.gutterSpecs.length;++He){var _e=x.display.gutterSpecs[He].className,Vt=fe.hasOwnProperty(_e)&&fe[_e];Vt&&Ne.appendChild(qe("div",[Vt],"CodeMirror-gutter-elt","left: "+te.gutterLeft[_e]+"px; width: "+te.gutterWidth[_e]+"px"))}}}function Wr(x,z,ne){z.alignable&&(z.alignable=null);for(var te=he("CodeMirror-linewidget"),oe=z.node.firstChild,fe=void 0;oe;oe=fe)fe=oe.nextSibling,te.test(oe.className)&&z.node.removeChild(oe);Gr(x,z,ne)}function Nr(x,z,ne,te){var oe=dr(x,z);return z.text=z.node=oe.pre,oe.bgClass&&(z.bgClass=oe.bgClass),oe.textClass&&(z.textClass=oe.textClass),Hr(x,z),ni(x,z,ne,te),Gr(x,z,te),z.node}function Gr(x,z,ne){if(Li(x,z.line,z,ne,!0),z.rest)for(var te=0;te<z.rest.length;te++)Li(x,z.rest[te],z,ne,!1)}function Li(x,z,ne,te,oe){if(z.widgets)for(var fe=pr(ne),Se=0,Ne=z.widgets;Se<Ne.length;++Se){var He=Ne[Se],_e=qe("div",[He.node],"CodeMirror-linewidget"+(He.className?" "+He.className:""));He.handleMouseEvents||_e.setAttribute("cm-ignore-events","true"),xi(He,_e,ne,te),x.display.input.setUneditable(_e),oe&&He.above?fe.insertBefore(_e,ne.gutter||ne.text):fe.appendChild(_e),In(He,"redraw")}}function xi(x,z,ne,te){if(x.noHScroll){(ne.alignable||(ne.alignable=[])).push(z);var oe=te.wrapperWidth;z.style.left=te.fixedPos+"px",x.coverGutter||(oe-=te.gutterTotalWidth,z.style.paddingLeft=te.gutterTotalWidth+"px"),z.style.width=oe+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-te.gutterTotalWidth+"px"))}function Ei(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!St(document.body,x.node)){var ne="position: relative;";x.coverGutter&&(ne+="margin-left: -"+z.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ne+="width: "+z.display.wrapper.clientWidth+"px;"),Ge(z.display.measure,qe("div",[x.node],null,ne))}return x.height=x.node.parentNode.offsetHeight}function $i(x,z){for(var ne=fi(z);ne!=x.wrapper;ne=ne.parentNode)if(!ne||ne.nodeType==1&&ne.getAttribute("cm-ignore-events")=="true"||ne.parentNode==x.sizer&&ne!=x.mover)return!0}function Aa(x){return x.lineSpace.offsetTop}function _i(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function la(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=Ge(x.measure,qe("pre","x","CodeMirror-line-like")),ne=window.getComputedStyle?window.getComputedStyle(z):z.currentStyle,te={left:parseInt(ne.paddingLeft),right:parseInt(ne.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(x.cachedPaddingH=te),te}function Ai(x){return An-x.display.nativeBarWidth}function Ki(x){return x.display.scroller.clientWidth-Ai(x)-x.display.barWidth}function ua(x){return x.display.scroller.clientHeight-Ai(x)-x.display.barHeight}function pa(x,z,ne){var te=x.options.lineWrapping,oe=te&&Ki(x);if(!z.measure.heights||te&&z.measure.width!=oe){var fe=z.measure.heights=[];if(te){z.measure.width=oe;for(var Se=z.text.firstChild.getClientRects(),Ne=0;Ne<Se.length-1;Ne++){var He=Se[Ne],_e=Se[Ne+1];Math.abs(He.bottom-_e.bottom)>2&&fe.push((He.bottom+_e.top)/2-ne.top)}}fe.push(ne.bottom-ne.top)}}function ao(x,z,ne){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var te=0;te<x.rest.length;te++)if(x.rest[te]==z)return{map:x.measure.maps[te],cache:x.measure.caches[te]};for(var oe=0;oe<x.rest.length;oe++)if(Sr(x.rest[oe])>ne)return{map:x.measure.maps[oe],cache:x.measure.caches[oe],before:!0}}function no(x,z){z=Bt(z);var ne=Sr(z),te=x.display.externalMeasured=new Jn(x.doc,z,ne);te.lineN=ne;var oe=te.built=qr(x,te);return te.text=oe.pre,Ge(x.display.lineMeasure,oe.pre),te}function ro(x,z,ne,te){return Wi(x,wa(x,z),ne,te)}function Ha(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[ja(x,z)];var ne=x.display.externalMeasured;if(ne&&z>=ne.lineN&&z<ne.lineN+ne.size)return ne}function wa(x,z){var ne=Sr(z),te=Ha(x,ne);te&&!te.text?te=null:te&&te.changes&&(xr(x,te,ne,qo(x)),x.curOp.forceUpdate=!0),te||(te=no(x,z));var oe=ao(te,z,ne);return{line:z,view:te,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function Wi(x,z,ne,te,oe){z.before&&(ne=-1);var fe=ne+(te||""),Se;return z.cache.hasOwnProperty(fe)?Se=z.cache[fe]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(pa(x,z.view,z.rect),z.hasHeights=!0),Se=ma(x,z,ne,te),Se.bogus||(z.cache[fe]=Se)),{left:Se.left,right:Se.right,top:oe?Se.rtop:Se.top,bottom:oe?Se.rbottom:Se.bottom}}var co={left:0,right:0,top:0,bottom:0};function aa(x,z,ne){for(var te,oe,fe,Se,Ne,He,_e=0;_e<x.length;_e+=3)if(Ne=x[_e],He=x[_e+1],z<Ne?(oe=0,fe=1,Se="left"):z<He?(oe=z-Ne,fe=oe+1):(_e==x.length-3||z==He&&x[_e+3]>z)&&(fe=He-Ne,oe=fe-1,z>=He&&(Se="right")),oe!=null){if(te=x[_e+2],Ne==He&&ne==(te.insertLeft?"left":"right")&&(Se=ne),ne=="left"&&oe==0)for(;_e&&x[_e-2]==x[_e-3]&&x[_e-1].insertLeft;)te=x[(_e-=3)+2],Se="left";if(ne=="right"&&oe==He-Ne)for(;_e<x.length-3&&x[_e+3]==x[_e+4]&&!x[_e+5].insertLeft;)te=x[(_e+=3)+2],Se="right";break}return{node:te,start:oe,end:fe,collapse:Se,coverStart:Ne,coverEnd:He}}function Bi(x,z){var ne=co;if(z=="left")for(var te=0;te<x.length&&(ne=x[te]).left==ne.right;te++);else for(var oe=x.length-1;oe>=0&&(ne=x[oe]).left==ne.right;oe--);return ne}function ma(x,z,ne,te){var oe=aa(z.map,ne,te),fe=oe.node,Se=oe.start,Ne=oe.end,He=oe.collapse,_e;if(fe.nodeType==3){for(var Vt=0;Vt<4;Vt++){for(;Se&&Ke(z.line.text.charAt(oe.coverStart+Se));)--Se;for(;oe.coverStart+Ne<oe.coverEnd&&Ke(z.line.text.charAt(oe.coverStart+Ne));)++Ne;if(ve&&Ee<9&&Se==0&&Ne==oe.coverEnd-oe.coverStart?_e=fe.parentNode.getBoundingClientRect():_e=Bi(We(fe,Se,Ne).getClientRects(),te),_e.left||_e.right||Se==0)break;Ne=Se,Se=Se-1,He="right"}ve&&Ee<11&&(_e=Ja(x.display.measure,_e))}else{Se>0&&(He=te="right");var sn;x.options.lineWrapping&&(sn=fe.getClientRects()).length>1?_e=sn[te=="right"?sn.length-1:0]:_e=fe.getBoundingClientRect()}if(ve&&Ee<9&&!Se&&(!_e||!_e.left&&!_e.right)){var Yn=fe.parentNode.getClientRects()[0];Yn?_e={left:Yn.left,right:Yn.left+Go(x.display),top:Yn.top,bottom:Yn.bottom}:_e=co}for(var On=_e.top-z.rect.top,Ir=_e.bottom-z.rect.top,ti=(On+Ir)/2,vi=z.view.measure.heights,Ii=0;Ii<vi.length-1&&!(ti<vi[Ii]);Ii++);var ji=Ii?vi[Ii-1]:0,Mi=vi[Ii],Ui={left:(He=="right"?_e.right:_e.left)-z.rect.left,right:(He=="left"?_e.left:_e.right)-z.rect.left,top:ji,bottom:Mi};return!_e.left&&!_e.right&&(Ui.bogus=!0),x.options.singleCursorHeightPerLine||(Ui.rtop=On,Ui.rbottom=Ir),Ui}function Ja(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!rr(x))return z;var ne=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:z.left*ne,right:z.right*ne,top:z.top*te,bottom:z.bottom*te}}function Ba(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var z=0;z<x.rest.length;z++)x.measure.caches[z]={}}function Va(x){x.display.externalMeasure=null,Ve(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)Ba(x.display.view[z])}function na(x){Va(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function oo(){return me&&dt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function fo(){return me&&dt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function to(x){var z=0;if(x.widgets)for(var ne=0;ne<x.widgets.length;++ne)x.widgets[ne].above&&(z+=Ei(x.widgets[ne]));return z}function ho(x,z,ne,te,oe){if(!oe){var fe=to(z);ne.top+=fe,ne.bottom+=fe}if(te=="line")return ne;te||(te="local");var Se=er(z);if(te=="local"?Se+=Aa(x.display):Se-=x.display.viewOffset,te=="page"||te=="window"){var Ne=x.display.lineSpace.getBoundingClientRect();Se+=Ne.top+(te=="window"?0:fo());var He=Ne.left+(te=="window"?0:oo());ne.left+=He,ne.right+=He}return ne.top+=Se,ne.bottom+=Se,ne}function bo(x,z,ne){if(ne=="div")return z;var te=z.left,oe=z.top;if(ne=="page")te-=oo(),oe-=fo();else if(ne=="local"||!ne){var fe=x.display.sizer.getBoundingClientRect();te+=fe.left,oe+=fe.top}var Se=x.display.lineSpace.getBoundingClientRect();return{left:te-Se.left,top:oe-Se.top}}function Lo(x,z,ne,te,oe){return te||(te=Sn(x.doc,z.line)),ho(x,te,ro(x,te,z.ch,oe),ne)}function io(x,z,ne,te,oe,fe){te=te||Sn(x.doc,z.line),oe||(oe=wa(x,te));function Se(Ir,ti){var vi=Wi(x,oe,Ir,ti?"right":"left",fe);return ti?vi.left=vi.right:vi.right=vi.left,ho(x,te,vi,ne)}var Ne=kr(te,x.doc.direction),He=z.ch,_e=z.sticky;if(He>=te.text.length?(He=te.text.length,_e="before"):He<=0&&(He=0,_e="after"),!Ne)return Se(_e=="before"?He-1:He,_e=="before");function Vt(Ir,ti,vi){var Ii=Ne[ti],ji=Ii.level==1;return Se(vi?Ir-1:Ir,ji!=vi)}var sn=$t(Ne,He,_e),Yn=nn,On=Vt(He,sn,_e=="before");return Yn!=null&&(On.other=Vt(He,Yn,_e!="before")),On}function lo(x,z){var ne=0;z=or(x.doc,z),x.options.lineWrapping||(ne=Go(x.display)*z.ch);var te=Sn(x.doc,z.line),oe=er(te)+Aa(x.display);return{left:ne,right:ne,top:oe,bottom:oe+te.height}}function Ko(x,z,ne,te,oe){var fe=kt(x,z,ne);return fe.xRel=oe,te&&(fe.outside=te),fe}function Wo(x,z,ne){var te=x.doc;if(ne+=x.display.viewOffset,ne<0)return Ko(te.first,0,null,-1,-1);var oe=jr(te,ne),fe=te.first+te.size-1;if(oe>fe)return Ko(te.first+te.size-1,Sn(te,fe).text.length,null,1,1);z<0&&(z=0);for(var Se=Sn(te,oe);;){var Ne=ga(x,Se,oe,z,ne),He=st(Se,Ne.ch+(Ne.xRel>0||Ne.outside>0?1:0));if(!He)return Ne;var _e=He.find(1);if(_e.line==oe)return _e;Se=Sn(te,oe=_e.line)}}function Jo(x,z,ne,te){te-=to(z);var oe=z.text.length,fe=Yt(function(Se){return Wi(x,ne,Se-1).bottom<=te},oe,0);return oe=Yt(function(Se){return Wi(x,ne,Se).top>te},fe,oe),{begin:fe,end:oe}}function Fo(x,z,ne,te){ne||(ne=wa(x,z));var oe=ho(x,z,Wi(x,ne,te),"line").top;return Jo(x,z,ne,oe)}function po(x,z,ne,te){return x.bottom<=ne?!1:x.top>ne?!0:(te?x.left:x.right)>z}function ga(x,z,ne,te,oe){oe-=er(z);var fe=wa(x,z),Se=to(z),Ne=0,He=z.text.length,_e=!0,Vt=kr(z,x.doc.direction);if(Vt){var sn=(x.options.lineWrapping?qa:Sa)(x,z,ne,fe,Vt,te,oe);_e=sn.level!=1,Ne=_e?sn.from:sn.to-1,He=_e?sn.to:sn.from-1}var Yn=null,On=null,Ir=Yt(function(ka){var Pa=Wi(x,fe,ka);return Pa.top+=Se,Pa.bottom+=Se,po(Pa,te,oe,!1)?(Pa.top<=oe&&Pa.left<=te&&(Yn=ka,On=Pa),!0):!1},Ne,He),ti,vi,Ii=!1;if(On){var ji=te-On.left<On.right-te,Mi=ji==_e;Ir=Yn+(Mi?0:1),vi=Mi?"after":"before",ti=ji?On.left:On.right}else{!_e&&(Ir==He||Ir==Ne)&&Ir++,vi=Ir==0?"after":Ir==z.text.length?"before":Wi(x,fe,Ir-(_e?1:0)).bottom+Se<=oe==_e?"after":"before";var Ui=io(x,kt(ne,Ir,vi),"line",z,fe);ti=Ui.left,Ii=oe<Ui.top?-1:oe>=Ui.bottom?1:0}return Ir=Et(z.text,Ir,1),Ko(ne,Ir,vi,Ii,te-ti)}function Sa(x,z,ne,te,oe,fe,Se){var Ne=Yt(function(sn){var Yn=oe[sn],On=Yn.level!=1;return po(io(x,kt(ne,On?Yn.to:Yn.from,On?"before":"after"),"line",z,te),fe,Se,!0)},0,oe.length-1),He=oe[Ne];if(Ne>0){var _e=He.level!=1,Vt=io(x,kt(ne,_e?He.from:He.to,_e?"after":"before"),"line",z,te);po(Vt,fe,Se,!0)&&Vt.top>Se&&(He=oe[Ne-1])}return He}function qa(x,z,ne,te,oe,fe,Se){var Ne=Jo(x,z,te,Se),He=Ne.begin,_e=Ne.end;/\s/.test(z.text.charAt(_e-1))&&_e--;for(var Vt=null,sn=null,Yn=0;Yn<oe.length;Yn++){var On=oe[Yn];if(!(On.from>=_e||On.to<=He)){var Ir=On.level!=1,ti=Wi(x,te,Ir?Math.min(_e,On.to)-1:Math.max(He,On.from)).right,vi=ti<fe?fe-ti+1e9:ti-fe;(!Vt||sn>vi)&&(Vt=On,sn=vi)}}return Vt||(Vt=oe[oe.length-1]),Vt.from<He&&(Vt={from:He,to:Vt.to,level:Vt.level}),Vt.to>_e&&(Vt={from:Vt.from,to:_e,level:Vt.level}),Vt}var mo;function Io(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(mo==null){mo=qe("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)mo.appendChild(document.createTextNode("x")),mo.appendChild(qe("br"));mo.appendChild(document.createTextNode("x"))}Ge(x.measure,mo);var ne=mo.offsetHeight/50;return ne>3&&(x.cachedTextHeight=ne),Ve(x.measure),ne||1}function Go(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=qe("span","xxxxxxxxxx"),ne=qe("pre",[z],"CodeMirror-line-like");Ge(x.measure,ne);var te=z.getBoundingClientRect(),oe=(te.right-te.left)/10;return oe>2&&(x.cachedCharWidth=oe),oe||10}function qo(x){for(var z=x.display,ne={},te={},oe=z.gutters.clientLeft,fe=z.gutters.firstChild,Se=0;fe;fe=fe.nextSibling,++Se){var Ne=x.display.gutterSpecs[Se].className;ne[Ne]=fe.offsetLeft+fe.clientLeft+oe,te[Ne]=fe.clientWidth}return{fixedPos:ls(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:z.wrapper.clientWidth}}function ls(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Ss(x){var z=Io(x.display),ne=x.options.lineWrapping,te=ne&&Math.max(5,x.display.scroller.clientWidth/Go(x.display)-3);return function(oe){if(Jr(x.doc,oe))return 0;var fe=0;if(oe.widgets)for(var Se=0;Se<oe.widgets.length;Se++)oe.widgets[Se].height&&(fe+=oe.widgets[Se].height);return ne?fe+(Math.ceil(oe.text.length/te)||1)*z:fe+z}}function $o(x){var z=x.doc,ne=Ss(x);z.iter(function(te){var oe=ne(te);oe!=te.height&&Lr(te,oe)})}function Cs(x,z,ne,te){var oe=x.display;if(!ne&&fi(z).getAttribute("cm-not-content")=="true")return null;var fe,Se,Ne=oe.lineSpace.getBoundingClientRect();try{fe=z.clientX-Ne.left,Se=z.clientY-Ne.top}catch(sn){return null}var He=Wo(x,fe,Se),_e;if(te&&He.xRel>0&&(_e=Sn(x.doc,He.line).text).length==He.ch){var Vt=it(_e,_e.length,x.options.tabSize)-_e.length;He=kt(He.line,Math.max(0,Math.round((fe-la(x.display).left)/Go(x.display))-Vt))}return He}function ja(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var ne=x.display.view,te=0;te<ne.length;te++)if(z-=ne[te].size,z<0)return te}function be(x,z,ne,te){z==null&&(z=x.doc.first),ne==null&&(ne=x.doc.first+x.doc.size),te||(te=0);var oe=x.display;if(te&&ne<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>z)&&(oe.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=oe.viewTo)Oi&&Nn(x.doc,z)<oe.viewTo&&Pe(x);else if(ne<=oe.viewFrom)Oi&&Fr(x.doc,ne+te)>oe.viewFrom?Pe(x):(oe.viewFrom+=te,oe.viewTo+=te);else if(z<=oe.viewFrom&&ne>=oe.viewTo)Pe(x);else if(z<=oe.viewFrom){var fe=gt(x,ne,ne+te,1);fe?(oe.view=oe.view.slice(fe.index),oe.viewFrom=fe.lineN,oe.viewTo+=te):Pe(x)}else if(ne>=oe.viewTo){var Se=gt(x,z,z,-1);Se?(oe.view=oe.view.slice(0,Se.index),oe.viewTo=Se.lineN):Pe(x)}else{var Ne=gt(x,z,z,-1),He=gt(x,ne,ne+te,1);Ne&&He?(oe.view=oe.view.slice(0,Ne.index).concat(yr(x,Ne.lineN,He.lineN)).concat(oe.view.slice(He.index)),oe.viewTo+=te):Pe(x)}var _e=oe.externalMeasured;_e&&(ne<_e.lineN?_e.lineN+=te:z<_e.lineN+_e.size&&(oe.externalMeasured=null))}function Be(x,z,ne){x.curOp.viewChanged=!0;var te=x.display,oe=x.display.externalMeasured;if(oe&&z>=oe.lineN&&z<oe.lineN+oe.size&&(te.externalMeasured=null),!(z<te.viewFrom||z>=te.viewTo)){var fe=te.view[ja(x,z)];if(fe.node!=null){var Se=fe.changes||(fe.changes=[]);wt(Se,ne)==-1&&Se.push(ne)}}}function Pe(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function gt(x,z,ne,te){var oe=ja(x,z),fe,Se=x.display.view;if(!Oi||ne==x.doc.first+x.doc.size)return{index:oe,lineN:ne};for(var Ne=x.display.viewFrom,He=0;He<oe;He++)Ne+=Se[He].size;if(Ne!=z){if(te>0){if(oe==Se.length-1)return null;fe=Ne+Se[oe].size-z,oe++}else fe=Ne-z;z+=fe,ne+=fe}for(;Nn(x.doc,ne)!=ne;){if(oe==(te<0?0:Se.length-1))return null;ne+=te*Se[oe-(te<0?1:0)].size,oe+=te}return{index:oe,lineN:ne}}function vt(x,z,ne){var te=x.display,oe=te.view;oe.length==0||z>=te.viewTo||ne<=te.viewFrom?(te.view=yr(x,z,ne),te.viewFrom=z):(te.viewFrom>z?te.view=yr(x,z,te.viewFrom).concat(te.view):te.viewFrom<z&&(te.view=te.view.slice(ja(x,z))),te.viewFrom=z,te.viewTo<ne?te.view=te.view.concat(yr(x,te.viewTo,ne)):te.viewTo>ne&&(te.view=te.view.slice(0,ja(x,ne)))),te.viewTo=ne}function vn(x){for(var z=x.display.view,ne=0,te=0;te<z.length;te++){var oe=z[te];!oe.hidden&&(!oe.node||oe.changes)&&++ne}return ne}function ln(x){x.display.input.showSelection(x.display.input.prepareSelection())}function Un(x,z){z===void 0&&(z=!0);for(var ne=x.doc,te={},oe=te.cursors=document.createDocumentFragment(),fe=te.selection=document.createDocumentFragment(),Se=0;Se<ne.sel.ranges.length;Se++)if(!(!z&&Se==ne.sel.primIndex)){var Ne=ne.sel.ranges[Se];if(!(Ne.from().line>=x.display.viewTo||Ne.to().line<x.display.viewFrom)){var He=Ne.empty();(He||x.options.showCursorWhenSelecting)&&Cn(x,Ne.head,oe),He||nr(x,Ne,fe)}}return te}function Cn(x,z,ne){var te=io(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),oe=ne.appendChild(qe("div","\xA0","CodeMirror-cursor"));if(oe.style.left=te.left+"px",oe.style.top=te.top+"px",oe.style.height=Math.max(0,te.bottom-te.top)*x.options.cursorHeight+"px",te.other){var fe=ne.appendChild(qe("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));fe.style.display="",fe.style.left=te.other.left+"px",fe.style.top=te.other.top+"px",fe.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function hn(x,z){return x.top-z.top||x.left-z.left}function nr(x,z,ne){var te=x.display,oe=x.doc,fe=document.createDocumentFragment(),Se=la(x.display),Ne=Se.left,He=Math.max(te.sizerWidth,Ki(x)-te.sizer.offsetLeft)-Se.right,_e=oe.direction=="ltr";function Vt(Mi,Ui,ka,Pa){Ui<0&&(Ui=0),Ui=Math.round(Ui),Pa=Math.round(Pa),fe.appendChild(qe("div",null,"CodeMirror-selected","position: absolute; left: "+Mi+`px;
|
|
|
top: `+Ui+"px; width: "+(ka==null?He-Mi:ka)+`px;
|
|
|
height: `+(Pa-Ui)+"px"))}function sn(Mi,Ui,ka){var Pa=Sn(oe,Mi),yo=Pa.text.length,is,_s;function xs(Ns,wl){return Lo(x,kt(Mi,Ns),"div",Pa,wl)}function bl(Ns,wl,Xa){var As=Fo(x,Pa,null,Ns),ws=wl=="ltr"==(Xa=="after")?"left":"right",Ms=Xa=="after"?As.begin:As.end-(/\s/.test(Pa.text.charAt(As.end-1))?2:1);return xs(Ms,ws)[ws]}var xl=kr(Pa,oe.direction);return Kt(xl,Ui||0,ka==null?yo:ka,function(Ns,wl,Xa,As){var ws=Xa=="ltr",Ms=xs(Ns,ws?"left":"right"),Fs=xs(wl-1,ws?"right":"left"),mc=Ui==null&&Ns==0,kl=ka==null&&wl==yo,el=As==0,Ro=!xl||As==xl.length-1;if(Fs.top-Ms.top<=3){var Vs=(_e?mc:kl)&&el,bd=(_e?kl:mc)&&Ro,Iu=Vs?Ne:(ws?Ms:Fs).left,Gu=bd?He:(ws?Fs:Ms).right;Vt(Iu,Ms.top,Gu-Iu,Ms.bottom)}else{var xu,Rs,gc,tl;ws?(xu=_e&&mc&&el?Ne:Ms.left,Rs=_e?He:bl(Ns,Xa,"before"),gc=_e?Ne:bl(wl,Xa,"after"),tl=_e&&kl&&Ro?He:Fs.right):(xu=_e?bl(Ns,Xa,"before"):Ne,Rs=!_e&&mc&&el?He:Ms.right,gc=!_e&&kl&&Ro?Ne:Fs.left,tl=_e?bl(wl,Xa,"after"):He),Vt(xu,Ms.top,Rs-xu,Ms.bottom),Ms.bottom<Fs.top&&Vt(Ne,Ms.bottom,null,Fs.top),Vt(gc,Fs.top,tl-gc,Fs.bottom)}(!is||hn(Ms,is)<0)&&(is=Ms),hn(Fs,is)<0&&(is=Fs),(!_s||hn(Ms,_s)<0)&&(_s=Ms),hn(Fs,_s)<0&&(_s=Fs)}),{start:is,end:_s}}var Yn=z.from(),On=z.to();if(Yn.line==On.line)sn(Yn.line,Yn.ch,On.ch);else{var Ir=Sn(oe,Yn.line),ti=Sn(oe,On.line),vi=Bt(Ir)==Bt(ti),Ii=sn(Yn.line,Yn.ch,vi?Ir.text.length+1:null).end,ji=sn(On.line,vi?0:null,On.ch).start;vi&&(Ii.top<ji.top-2?(Vt(Ii.right,Ii.top,null,Ii.bottom),Vt(Ne,ji.top,ji.left,ji.bottom)):Vt(Ii.right,Ii.top,ji.left-Ii.right,Ii.bottom)),Ii.bottom<ji.top&&Vt(Ne,Ii.bottom,null,ji.top)}ne.appendChild(fe)}function Dn(x){if(x.state.focused){var z=x.display;clearInterval(z.blinker);var ne=!0;z.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?z.blinker=setInterval(function(){x.hasFocus()||Rn(x),z.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function Pn(x){x.state.focused||(x.display.input.focus(),br(x))}function vr(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Rn(x))},100)}function br(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(yt(x,"focus",x,z),x.state.focused=!0,zt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),ke&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Dn(x))}function Rn(x,z){x.state.delayingBlurEvent||(x.state.focused&&(yt(x,"blur",x,z),x.state.focused=!1,je(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function fr(x){for(var z=x.display,ne=z.lineDiv.offsetTop,te=0;te<z.view.length;te++){var oe=z.view[te],fe=x.options.lineWrapping,Se=void 0,Ne=0;if(!oe.hidden){if(ve&&Ee<8){var He=oe.node.offsetTop+oe.node.offsetHeight;Se=He-ne,ne=He}else{var _e=oe.node.getBoundingClientRect();Se=_e.bottom-_e.top,!fe&&oe.text.firstChild&&(Ne=oe.text.firstChild.getBoundingClientRect().right-_e.left-1)}var Vt=oe.line.height-Se;if((Vt>.005||Vt<-.005)&&(Lr(oe.line,Se),Rr(oe.line),oe.rest))for(var sn=0;sn<oe.rest.length;sn++)Rr(oe.rest[sn]);if(Ne>x.display.sizerWidth){var Yn=Math.ceil(Ne/Go(x.display));Yn>x.display.maxLineLength&&(x.display.maxLineLength=Yn,x.display.maxLine=oe.line,x.display.maxLineChanged=!0)}}}}function Rr(x){if(x.widgets)for(var z=0;z<x.widgets.length;++z){var ne=x.widgets[z],te=ne.node.parentNode;te&&(ne.height=te.offsetHeight)}}function Ur(x,z,ne){var te=ne&&ne.top!=null?Math.max(0,ne.top):x.scroller.scrollTop;te=Math.floor(te-Aa(x));var oe=ne&&ne.bottom!=null?ne.bottom:te+x.wrapper.clientHeight,fe=jr(z,te),Se=jr(z,oe);if(ne&&ne.ensure){var Ne=ne.ensure.from.line,He=ne.ensure.to.line;Ne<fe?(fe=Ne,Se=jr(z,er(Sn(z,Ne))+x.wrapper.clientHeight)):Math.min(He,z.lastLine())>=Se&&(fe=jr(z,er(Sn(z,He))-x.wrapper.clientHeight),Se=He)}return{from:fe,to:Math.max(Se,fe+1)}}function ii(x,z){if(!It(x,"scrollCursorIntoView")){var ne=x.display,te=ne.sizer.getBoundingClientRect(),oe=null;if(z.top+te.top<0?oe=!0:z.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!Xe){var fe=qe("div","\u200B",null,`position: absolute;
|
|
|
top: `+(z.top-ne.viewOffset-Aa(x.display))+`px;
|
|
|
height: `+(z.bottom-z.top+Ai(x)+ne.barHeight)+`px;
|
|
|
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(fe),fe.scrollIntoView(oe),x.display.lineSpace.removeChild(fe)}}}function bi(x,z,ne,te){te==null&&(te=0);var oe;!x.options.lineWrapping&&z==ne&&(z=z.ch?kt(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ne=z.sticky=="before"?kt(z.line,z.ch+1,"before"):z);for(var fe=0;fe<5;fe++){var Se=!1,Ne=io(x,z),He=!ne||ne==z?Ne:io(x,ne);oe={left:Math.min(Ne.left,He.left),top:Math.min(Ne.top,He.top)-te,right:Math.max(Ne.left,He.left),bottom:Math.max(Ne.bottom,He.bottom)+te};var _e=Si(x,oe),Vt=x.doc.scrollTop,sn=x.doc.scrollLeft;if(_e.scrollTop!=null&&(oa(x,_e.scrollTop),Math.abs(x.doc.scrollTop-Vt)>1&&(Se=!0)),_e.scrollLeft!=null&&(Fa(x,_e.scrollLeft),Math.abs(x.doc.scrollLeft-sn)>1&&(Se=!0)),!Se)break}return oe}function Pi(x,z){var ne=Si(x,z);ne.scrollTop!=null&&oa(x,ne.scrollTop),ne.scrollLeft!=null&&Fa(x,ne.scrollLeft)}function Si(x,z){var ne=x.display,te=Io(x.display);z.top<0&&(z.top=0);var oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ne.scroller.scrollTop,fe=ua(x),Se={};z.bottom-z.top>fe&&(z.bottom=z.top+fe);var Ne=x.doc.height+_i(ne),He=z.top<te,_e=z.bottom>Ne-te;if(z.top<oe)Se.scrollTop=He?0:z.top;else if(z.bottom>oe+fe){var Vt=Math.min(z.top,(_e?Ne:z.bottom)-fe);Vt!=oe&&(Se.scrollTop=Vt)}var sn=x.options.fixedGutter?0:ne.gutters.offsetWidth,Yn=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ne.scroller.scrollLeft-sn,On=Ki(x)-ne.gutters.offsetWidth,Ir=z.right-z.left>On;return Ir&&(z.right=z.left+On),z.left<10?Se.scrollLeft=0:z.left<Yn?Se.scrollLeft=Math.max(0,z.left+sn-(Ir?0:10)):z.right>On+Yn-3&&(Se.scrollLeft=z.right+(Ir?0:10)-On),Se}function ui(x,z){z!=null&&(Ya(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function va(x){Ya(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function ca(x,z,ne){(z!=null||ne!=null)&&Ya(x),z!=null&&(x.curOp.scrollLeft=z),ne!=null&&(x.curOp.scrollTop=ne)}function Ka(x,z){Ya(x),x.curOp.scrollToPos=z}function Ya(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ne=lo(x,z.from),te=lo(x,z.to);La(x,ne,te,z.margin)}}function La(x,z,ne,te){var oe=Si(x,{left:Math.min(z.left,ne.left),top:Math.min(z.top,ne.top)-te,right:Math.max(z.right,ne.right),bottom:Math.max(z.bottom,ne.bottom)+te});ca(x,oe.scrollLeft,oe.scrollTop)}function oa(x,z){Math.abs(x.doc.scrollTop-z)<2||(ae||Bl(x,{top:z}),Ra(x,z,!0),ae&&Bl(x),xo(x,100))}function Ra(x,z,ne){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!ne)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function Fa(x,z,ne,te){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ne?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!te)&&(x.doc.scrollLeft=z,dl(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function ya(x){var z=x.display,ne=z.gutters.offsetWidth,te=Math.round(x.doc.height+_i(x.display));return{clientHeight:z.scroller.clientHeight,viewHeight:z.wrapper.clientHeight,scrollWidth:z.scroller.scrollWidth,clientWidth:z.scroller.clientWidth,viewWidth:z.wrapper.clientWidth,barLeft:x.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+Ai(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ne}}var Ia=function(x,z,ne){this.cm=ne;var te=this.vert=qe("div",[qe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),oe=this.horiz=qe("div",[qe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=oe.tabIndex=-1,x(te),x(oe),gn(te,"scroll",function(){te.clientHeight&&z(te.scrollTop,"vertical")}),gn(oe,"scroll",function(){oe.clientWidth&&z(oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ve&&Ee<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ia.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,ne=x.scrollHeight>x.clientHeight+1,te=x.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=z?te+"px":"0";var oe=x.viewHeight-(z?te:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+oe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(z){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=x.barLeft+"px";var fe=x.viewWidth-x.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+fe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:z?te:0}},Ia.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ia.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ia.prototype.zeroWidthHack=function(){var x=Me&&!Ie?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ce,this.disableVert=new Ce},Ia.prototype.enableZeroWidthBar=function(x,z,ne){x.style.pointerEvents="auto";function te(){var oe=x.getBoundingClientRect(),fe=ne=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);fe!=x?x.style.pointerEvents="none":z.set(1e3,te)}z.set(1e3,te)},Ia.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var za=function(){};za.prototype.update=function(){return{bottom:0,right:0}},za.prototype.setScrollLeft=function(){},za.prototype.setScrollTop=function(){},za.prototype.clear=function(){};function uo(x,z){z||(z=ya(x));var ne=x.display.barWidth,te=x.display.barHeight;go(x,z);for(var oe=0;oe<4&&ne!=x.display.barWidth||te!=x.display.barHeight;oe++)ne!=x.display.barWidth&&x.options.lineWrapping&&fr(x),go(x,ya(x)),ne=x.display.barWidth,te=x.display.barHeight}function go(x,z){var ne=x.display,te=ne.scrollbars.update(z);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=z.gutterWidth+"px"):ne.gutterFiller.style.display=""}var To={native:Ia,null:za};function us(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&je(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new To[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),gn(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,ne){ne=="horizontal"?Fa(x,z):oa(x,z)},x),x.display.scrollbars.addClass&&zt(x.display.wrapper,x.display.scrollbars.addClass)}var ss=0;function _o(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ss},ct(x.curOp)}function Do(x){var z=x.curOp;z&&dn(z,function(ne){for(var te=0;te<ne.ops.length;te++)ne.ops[te].cm.curOp=null;ps(ne)})}function ps(x){for(var z=x.ops,ne=0;ne<z.length;ne++)Oo(z[ne]);for(var te=0;te<z.length;te++)Ma(z[te]);for(var oe=0;oe<z.length;oe++)ba(z[oe]);for(var fe=0;fe<z.length;fe++)Bo(z[fe]);for(var Se=0;Se<z.length;Se++)Ao(z[Se])}function Oo(x){var z=x.cm,ne=z.display;Zo(z),x.updateMaxLine&&ur(z),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ne.viewFrom||x.scrollToPos.to.line>=ne.viewTo)||ne.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new Ho(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Ma(x){x.updatedDisplay=x.mustUpdate&&al(x.cm,x.update)}function ba(x){var z=x.cm,ne=z.display;x.updatedDisplay&&fr(z),x.barMeasure=ya(z),ne.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=ro(z,ne.maxLine,ne.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+x.adjustWidthTo+Ai(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+x.adjustWidthTo-Ki(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ne.input.prepareSelection())}function Bo(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&Fa(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var ne=x.focus&&x.focus==lt();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,ne),(x.updatedDisplay||x.startHeight!=z.doc.height)&&uo(z,x.barMeasure),x.updatedDisplay&&Ds(z,x.barMeasure),x.selectionChanged&&Dn(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),ne&&Pn(x.cm)}function Ao(x){var z=x.cm,ne=z.display,te=z.doc;if(x.updatedDisplay&&zs(z,x.update),ne.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ne.wheelStartX=ne.wheelStartY=null),x.scrollTop!=null&&Ra(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&Fa(z,x.scrollLeft,!0,!0),x.scrollToPos){var oe=bi(z,or(te,x.scrollToPos.from),or(te,x.scrollToPos.to),x.scrollToPos.margin);ii(z,oe)}var fe=x.maybeHiddenMarkers,Se=x.maybeUnhiddenMarkers;if(fe)for(var Ne=0;Ne<fe.length;++Ne)fe[Ne].lines.length||yt(fe[Ne],"hide");if(Se)for(var He=0;He<Se.length;++He)Se[He].lines.length&&yt(Se[He],"unhide");ne.wrapper.offsetHeight&&(te.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&yt(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function Ta(x,z){if(x.curOp)return z();_o(x);try{return z()}finally{Do(x)}}function $a(x,z){return function(){if(x.curOp)return z.apply(x,arguments);_o(x);try{return z.apply(x,arguments)}finally{Do(x)}}}function zi(x){return function(){if(this.curOp)return x.apply(this,arguments);_o(this);try{return x.apply(this,arguments)}finally{Do(this)}}}function Qa(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);_o(z);try{return x.apply(this,arguments)}finally{Do(z)}}}function xo(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,Kn(Yo,x))}function Yo(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var ne=+new Date+x.options.workTime,te=Qi(x,z.highlightFrontier),oe=[];z.iter(te.line,Math.min(z.first+z.size,x.display.viewTo+500),function(fe){if(te.line>=x.display.viewFrom){var Se=fe.styles,Ne=fe.text.length>x.options.maxHighlightLength?Ft(z.mode,te.state):null,He=ha(x,fe,te,!0);Ne&&(te.state=Ne),fe.styles=He.styles;var _e=fe.styleClasses,Vt=He.classes;Vt?fe.styleClasses=Vt:_e&&(fe.styleClasses=null);for(var sn=!Se||Se.length!=fe.styles.length||_e!=Vt&&(!_e||!Vt||_e.bgClass!=Vt.bgClass||_e.textClass!=Vt.textClass),Yn=0;!sn&&Yn<Se.length;++Yn)sn=Se[Yn]!=fe.styles[Yn];sn&&oe.push(te.line),fe.stateAfter=te.save(),te.nextLine()}else fe.text.length<=x.options.maxHighlightLength&&Ca(x,fe.text,te),fe.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>ne)return xo(x,x.options.workDelay),!0}),z.highlightFrontier=te.line,z.modeFrontier=Math.max(z.modeFrontier,te.line),oe.length&&Ta(x,function(){for(var fe=0;fe<oe.length;fe++)Be(x,oe[fe],"text")})}}var Ho=function(x,z,ne){var te=x.display;this.viewport=z,this.visible=Ur(te,x.doc,z),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=Ki(x),this.force=ne,this.dims=qo(x),this.events=[]};Ho.prototype.signal=function(x,z){Qn(x,z)&&this.events.push(arguments)},Ho.prototype.finish=function(){for(var x=0;x<this.events.length;x++)yt.apply(null,this.events[x])};function Zo(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=Ai(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=Ai(x)+"px",z.scrollbarsClipped=!0)}function Es(x){if(x.hasFocus())return null;var z=lt();if(!z||!St(x.display.lineDiv,z))return null;var ne={activeElt:z};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&St(x.display.lineDiv,te.anchorNode)&&(ne.anchorNode=te.anchorNode,ne.anchorOffset=te.anchorOffset,ne.focusNode=te.focusNode,ne.focusOffset=te.focusOffset)}return ne}function Sl(x){if(!(!x||!x.activeElt||x.activeElt==lt())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&St(document.body,x.anchorNode)&&St(document.body,x.focusNode))){var z=window.getSelection(),ne=document.createRange();ne.setEnd(x.anchorNode,x.anchorOffset),ne.collapse(!1),z.removeAllRanges(),z.addRange(ne),z.extend(x.focusNode,x.focusOffset)}}function al(x,z){var ne=x.display,te=x.doc;if(z.editorIsHidden)return Pe(x),!1;if(!z.force&&z.visible.from>=ne.viewFrom&&z.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&vn(x)==0)return!1;Hs(x)&&(Pe(x),z.dims=qo(x));var oe=te.first+te.size,fe=Math.max(z.visible.from-x.options.viewportMargin,te.first),Se=Math.min(oe,z.visible.to+x.options.viewportMargin);ne.viewFrom<fe&&fe-ne.viewFrom<20&&(fe=Math.max(te.first,ne.viewFrom)),ne.viewTo>Se&&ne.viewTo-Se<20&&(Se=Math.min(oe,ne.viewTo)),Oi&&(fe=Nn(x.doc,fe),Se=Fr(x.doc,Se));var Ne=fe!=ne.viewFrom||Se!=ne.viewTo||ne.lastWrapHeight!=z.wrapperHeight||ne.lastWrapWidth!=z.wrapperWidth;vt(x,fe,Se),ne.viewOffset=er(Sn(x.doc,ne.viewFrom)),x.display.mover.style.top=ne.viewOffset+"px";var He=vn(x);if(!Ne&&He==0&&!z.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var _e=Es(x);return He>4&&(ne.lineDiv.style.display="none"),Au(x,ne.updateLineNumbers,z.dims),He>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,Sl(_e),Ve(ne.cursorDiv),Ve(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,Ne&&(ne.lastWrapHeight=z.wrapperHeight,ne.lastWrapWidth=z.wrapperWidth,xo(x,400)),ne.updateLineNumbers=null,!0}function zs(x,z){for(var ne=z.viewport,te=!0;;te=!1){if(!te||!x.options.lineWrapping||z.oldDisplayWidth==Ki(x)){if(ne&&ne.top!=null&&(ne={top:Math.min(x.doc.height+_i(x.display)-ua(x),ne.top)}),z.visible=Ur(x.display,x.doc,ne),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else te&&(z.visible=Ur(x.display,x.doc,ne));if(!al(x,z))break;fr(x);var oe=ya(x);ln(x),uo(x,oe),Ds(x,oe),z.force=!1}z.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(z.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Bl(x,z){var ne=new Ho(x,z);if(al(x,ne)){fr(x),zs(x,ne);var te=ya(x);ln(x),uo(x,te),Ds(x,te),ne.finish()}}function Au(x,z,ne){var te=x.display,oe=x.options.lineNumbers,fe=te.lineDiv,Se=fe.firstChild;function Ne(Ir){var ti=Ir.nextSibling;return ke&&Me&&x.display.currentWheelTarget==Ir?Ir.style.display="none":Ir.parentNode.removeChild(Ir),ti}for(var He=te.view,_e=te.viewFrom,Vt=0;Vt<He.length;Vt++){var sn=He[Vt];if(!sn.hidden)if(!sn.node||sn.node.parentNode!=fe){var Yn=Nr(x,sn,_e,ne);fe.insertBefore(Yn,Se)}else{for(;Se!=sn.node;)Se=Ne(Se);var On=oe&&z!=null&&z<=_e&&sn.lineNumber;sn.changes&&(wt(sn.changes,"gutter")>-1&&(On=!1),xr(x,sn,_e,ne)),On&&(Ve(sn.lineNumber),sn.lineNumber.appendChild(document.createTextNode(Rt(x.options,_e)))),Se=sn.node.nextSibling}_e+=sn.size}for(;Se;)Se=Ne(Se)}function zl(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function Ds(x,z){x.display.sizer.style.minHeight=z.docHeight+"px",x.display.heightForcer.style.top=z.docHeight+"px",x.display.gutters.style.height=z.docHeight+x.display.barHeight+Ai(x)+"px"}function dl(x){var z=x.display,ne=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var te=ls(z)-z.scroller.scrollLeft+x.doc.scrollLeft,oe=z.gutters.offsetWidth,fe=te+"px",Se=0;Se<ne.length;Se++)if(!ne[Se].hidden){x.options.fixedGutter&&(ne[Se].gutter&&(ne[Se].gutter.style.left=fe),ne[Se].gutterBackground&&(ne[Se].gutterBackground.style.left=fe));var Ne=ne[Se].alignable;if(Ne)for(var He=0;He<Ne.length;He++)Ne[He].style.left=fe}x.options.fixedGutter&&(z.gutters.style.left=te+oe+"px")}}function Hs(x){if(!x.options.lineNumbers)return!1;var z=x.doc,ne=Rt(x.options,z.first+z.size-1),te=x.display;if(ne.length!=te.lineNumChars){var oe=te.measure.appendChild(qe("div",[qe("div",ne)],"CodeMirror-linenumber CodeMirror-gutter-elt")),fe=oe.firstChild.offsetWidth,Se=oe.offsetWidth-fe;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(fe,te.lineGutter.offsetWidth-Se)+1,te.lineNumWidth=te.lineNumInnerWidth+Se,te.lineNumChars=te.lineNumInnerWidth?ne.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",zl(x.display),!0}return!1}function Hl(x,z){for(var ne=[],te=!1,oe=0;oe<x.length;oe++){var fe=x[oe],Se=null;if(typeof fe!="string"&&(Se=fe.style,fe=fe.className),fe=="CodeMirror-linenumbers")if(z)te=!0;else continue;ne.push({className:fe,style:Se})}return z&&!te&&ne.push({className:"CodeMirror-linenumbers",style:null}),ne}function Ll(x){var z=x.gutters,ne=x.gutterSpecs;Ve(z),x.lineGutter=null;for(var te=0;te<ne.length;++te){var oe=ne[te],fe=oe.className,Se=oe.style,Ne=z.appendChild(qe("div",null,"CodeMirror-gutter "+fe));Se&&(Ne.style.cssText=Se),fe=="CodeMirror-linenumbers"&&(x.lineGutter=Ne,Ne.style.width=(x.lineNumWidth||1)+"px")}z.style.display=ne.length?"":"none",zl(x)}function Ks(x){Ll(x.display),be(x),dl(x)}function cs(x,z,ne,te){var oe=this;this.input=ne,oe.scrollbarFiller=qe("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=qe("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=Ye("div",null,"CodeMirror-code"),oe.selectionDiv=qe("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=qe("div",null,"CodeMirror-cursors"),oe.measure=qe("div",null,"CodeMirror-measure"),oe.lineMeasure=qe("div",null,"CodeMirror-measure"),oe.lineSpace=Ye("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var fe=Ye("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=qe("div",[fe],null,"position: relative"),oe.sizer=qe("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=qe("div",null,null,"position: absolute; height: "+An+"px; width: 1px;"),oe.gutters=qe("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=qe("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=qe("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),ve&&Ee<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!ke&&!(ae&&nt)&&(oe.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(oe.wrapper):x(oe.wrapper)),oe.viewFrom=oe.viewTo=z.first,oe.reportedViewFrom=oe.reportedViewTo=z.first,oe.view=[],oe.renderedView=null,oe.externalMeasured=null,oe.viewOffset=0,oe.lastWrapHeight=oe.lastWrapWidth=0,oe.updateLineNumbers=null,oe.nativeBarWidth=oe.barHeight=oe.barWidth=0,oe.scrollbarsClipped=!1,oe.lineNumWidth=oe.lineNumInnerWidth=oe.lineNumChars=null,oe.alignWidgets=!1,oe.cachedCharWidth=oe.cachedTextHeight=oe.cachedPaddingH=null,oe.maxLine=null,oe.maxLineLength=0,oe.maxLineChanged=!1,oe.wheelDX=oe.wheelDY=oe.wheelStartX=oe.wheelStartY=null,oe.shift=!1,oe.selForContextMenu=null,oe.activeTouch=null,oe.gutterSpecs=Hl(te.gutters,te.lineNumbers),Ll(oe),ne.init(oe)}var Ts=0,es=null;ve?es=-.53:ae?es=15:me?es=-.7:mt&&(es=-1/3);function Ys(x){var z=x.wheelDeltaX,ne=x.wheelDeltaY;return z==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(z=x.detail),ne==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ne=x.detail:ne==null&&(ne=x.wheelDelta),{x:z,y:ne}}function Qs(x){var z=Ys(x);return z.x*=es,z.y*=es,z}function ol(x,z){var ne=Ys(z),te=ne.x,oe=ne.y,fe=x.display,Se=fe.scroller,Ne=Se.scrollWidth>Se.clientWidth,He=Se.scrollHeight>Se.clientHeight;if(te&&Ne||oe&&He){if(oe&&Me&&ke){e:for(var _e=z.target,Vt=fe.view;_e!=Se;_e=_e.parentNode)for(var sn=0;sn<Vt.length;sn++)if(Vt[sn].node==_e){x.display.currentWheelTarget=_e;break e}}if(te&&!ae&&!Le&&es!=null){oe&&He&&oa(x,Math.max(0,Se.scrollTop+oe*es)),Fa(x,Math.max(0,Se.scrollLeft+te*es)),(!oe||oe&&He)&&_r(z),fe.wheelStartX=null;return}if(oe&&es!=null){var Yn=oe*es,On=x.doc.scrollTop,Ir=On+fe.wrapper.clientHeight;Yn<0?On=Math.max(0,On+Yn-50):Ir=Math.min(x.doc.height,Ir+Yn+50),Bl(x,{top:On,bottom:Ir})}Ts<20&&(fe.wheelStartX==null?(fe.wheelStartX=Se.scrollLeft,fe.wheelStartY=Se.scrollTop,fe.wheelDX=te,fe.wheelDY=oe,setTimeout(function(){if(fe.wheelStartX!=null){var ti=Se.scrollLeft-fe.wheelStartX,vi=Se.scrollTop-fe.wheelStartY,Ii=vi&&fe.wheelDY&&vi/fe.wheelDY||ti&&fe.wheelDX&&ti/fe.wheelDX;fe.wheelStartX=fe.wheelStartY=null,Ii&&(es=(es*Ts+Ii)/(Ts+1),++Ts)}},200)):(fe.wheelDX+=te,fe.wheelDY+=oe))}}var fs=function(x,z){this.ranges=x,this.primIndex=z};fs.prototype.primary=function(){return this.ranges[this.primIndex]},fs.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var z=0;z<this.ranges.length;z++){var ne=this.ranges[z],te=x.ranges[z];if(!zn(ne.anchor,te.anchor)||!zn(ne.head,te.head))return!1}return!0},fs.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new Wa(lr(this.ranges[z].anchor),lr(this.ranges[z].head));return new fs(x,this.primIndex)},fs.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},fs.prototype.contains=function(x,z){z||(z=x);for(var ne=0;ne<this.ranges.length;ne++){var te=this.ranges[ne];if(jt(z,te.from())>=0&&jt(x,te.to())<=0)return ne}return-1};var Wa=function(x,z){this.anchor=x,this.head=z};Wa.prototype.from=function(){return _n(this.anchor,this.head)},Wa.prototype.to=function(){return Hn(this.anchor,this.head)},Wa.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ts(x,z,ne){var te=x&&x.options.selectionsMayTouch,oe=z[ne];z.sort(function(Yn,On){return jt(Yn.from(),On.from())}),ne=wt(z,oe);for(var fe=1;fe<z.length;fe++){var Se=z[fe],Ne=z[fe-1],He=jt(Ne.to(),Se.from());if(te&&!Se.empty()?He>0:He>=0){var _e=_n(Ne.from(),Se.from()),Vt=Hn(Ne.to(),Se.to()),sn=Ne.empty()?Se.from()==Se.head:Ne.from()==Ne.head;fe<=ne&&--ne,z.splice(--fe,2,new Wa(sn?Vt:_e,sn?_e:Vt))}}return new fs(z,ne)}function Os(x,z){return new fs([new Wa(x,z||x)],0)}function jo(x){return x.text?kt(x.from.line+x.text.length-1,un(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Gs(x,z){if(jt(x,z.from)<0)return x;if(jt(x,z.to)<=0)return jo(z);var ne=x.line+z.text.length-(z.to.line-z.from.line)-1,te=x.ch;return x.line==z.to.line&&(te+=jo(z).ch-z.to.ch),kt(ne,te)}function ml(x,z){for(var ne=[],te=0;te<x.sel.ranges.length;te++){var oe=x.sel.ranges[te];ne.push(new Wa(Gs(oe.anchor,z),Gs(oe.head,z)))}return ts(x.cm,ne,x.sel.primIndex)}function Co(x,z,ne){return x.line==z.line?kt(ne.line,x.ch-z.ch+ne.ch):kt(ne.line+(x.line-z.line),x.ch)}function gl(x,z,ne){for(var te=[],oe=kt(x.first,0),fe=oe,Se=0;Se<z.length;Se++){var Ne=z[Se],He=Co(Ne.from,oe,fe),_e=Co(jo(Ne),oe,fe);if(oe=Ne.to,fe=_e,ne=="around"){var Vt=x.sel.ranges[Se],sn=jt(Vt.head,Vt.anchor)<0;te[Se]=new Wa(sn?_e:He,sn?He:_e)}else te[Se]=new Wa(He,He)}return new fs(te,x.sel.primIndex)}function sl(x){x.doc.mode=Mt(x.options,x.doc.modeOption),Ws(x)}function Ws(x){x.doc.iter(function(z){z.stateAfter&&(z.stateAfter=null),z.styles&&(z.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,xo(x,100),x.state.modeGen++,x.curOp&&be(x)}function _l(x,z){return z.from.ch==0&&z.to.ch==0&&un(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Cl(x,z,ne,te){function oe(ji){return ne?ne[ji]:null}function fe(ji,Mi,Ui){Vr(ji,Mi,Ui,te),In(ji,"change",ji,z)}function Se(ji,Mi){for(var Ui=[],ka=ji;ka<Mi;++ka)Ui.push(new mr(_e[ka],oe(ka),te));return Ui}var Ne=z.from,He=z.to,_e=z.text,Vt=Sn(x,Ne.line),sn=Sn(x,He.line),Yn=un(_e),On=oe(_e.length-1),Ir=He.line-Ne.line;if(z.full)x.insert(0,Se(0,_e.length)),x.remove(_e.length,x.size-_e.length);else if(_l(x,z)){var ti=Se(0,_e.length-1);fe(sn,sn.text,On),Ir&&x.remove(Ne.line,Ir),ti.length&&x.insert(Ne.line,ti)}else if(Vt==sn)if(_e.length==1)fe(Vt,Vt.text.slice(0,Ne.ch)+Yn+Vt.text.slice(He.ch),On);else{var vi=Se(1,_e.length-1);vi.push(new mr(Yn+Vt.text.slice(He.ch),On,te)),fe(Vt,Vt.text.slice(0,Ne.ch)+_e[0],oe(0)),x.insert(Ne.line+1,vi)}else if(_e.length==1)fe(Vt,Vt.text.slice(0,Ne.ch)+_e[0]+sn.text.slice(He.ch),oe(0)),x.remove(Ne.line+1,Ir);else{fe(Vt,Vt.text.slice(0,Ne.ch)+_e[0],oe(0)),fe(sn,Yn+sn.text.slice(He.ch),On);var Ii=Se(1,_e.length-1);Ir>1&&x.remove(Ne.line+1,Ir-1),x.insert(Ne.line+1,Ii)}In(x,"change",x,z)}function fl(x,z,ne){function te(oe,fe,Se){if(oe.linked)for(var Ne=0;Ne<oe.linked.length;++Ne){var He=oe.linked[Ne];if(He.doc!=fe){var _e=Se&&He.sharedHist;ne&&!_e||(z(He.doc,_e),te(He.doc,oe,_e))}}}te(x,null,!0)}function El(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,$o(x),sl(x),Za(x),x.options.lineWrapping||ur(x),x.options.mode=z.modeOption,be(x)}function Za(x){(x.doc.direction=="rtl"?zt:je)(x.display.lineDiv,"CodeMirror-rtl")}function Zi(x){Ta(x,function(){Za(x),be(x)})}function eo(x){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=x||1}function ns(x,z){var ne={from:lr(z.from),to:jo(z),text:Bn(x,z.from,z.to)};return Ua(x,ne,z.from.line,z.to.line+1),fl(x,function(te){return Ua(te,ne,z.from.line,z.to.line+1)},!0),ne}function hl(x){for(;x.length;){var z=un(x);if(z.ranges)x.pop();else break}}function Mu(x,z){if(z)return hl(x.done),un(x.done);if(x.done.length&&!un(x.done).ranges)return un(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),un(x.done)}function Yl(x,z,ne,te){var oe=x.history;oe.undone.length=0;var fe=+new Date,Se,Ne;if((oe.lastOp==te||oe.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&oe.lastModTime>fe-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(Se=Mu(oe,oe.lastOp==te)))Ne=un(Se.changes),jt(z.from,z.to)==0&&jt(z.from,Ne.to)==0?Ne.to=jo(z):Se.changes.push(ns(x,z));else{var He=un(oe.done);for((!He||!He.ranges)&&ms(x.sel,oe.done),Se={changes:[ns(x,z)],generation:oe.generation},oe.done.push(Se);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(ne),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=fe,oe.lastOp=oe.lastSelOp=te,oe.lastOrigin=oe.lastSelOrigin=z.origin,Ne||yt(x,"historyAdded")}function ku(x,z,ne,te){var oe=z.charAt(0);return oe=="*"||oe=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Ql(x,z,ne,te){var oe=x.history,fe=te&&te.origin;ne==oe.lastSelOp||fe&&oe.lastSelOrigin==fe&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==fe||ku(x,fe,un(oe.done),z))?oe.done[oe.done.length-1]=z:ms(z,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=fe,oe.lastSelOp=ne,te&&te.clearRedo!==!1&&hl(oe.undone)}function ms(x,z){var ne=un(z);ne&&ne.ranges&&ne.equals(x)||z.push(x)}function Ua(x,z,ne,te){var oe=z["spans_"+x.id],fe=0;x.iter(Math.max(x.first,ne),Math.min(x.first+x.size,te),function(Se){Se.markedSpans&&((oe||(oe=z["spans_"+x.id]={}))[fe]=Se.markedSpans),++fe})}function fu(x){if(!x)return null;for(var z,ne=0;ne<x.length;++ne)x[ne].marker.explicitlyCleared?z||(z=x.slice(0,ne)):z&&z.push(x[ne]);return z?z.length?z:null:x}function vl(x,z){var ne=z["spans_"+x.id];if(!ne)return null;for(var te=[],oe=0;oe<z.text.length;++oe)te.push(fu(ne[oe]));return te}function Nu(x,z){var ne=vl(x,z),te=Ci(x,z);if(!ne)return te;if(!te)return ne;for(var oe=0;oe<ne.length;++oe){var fe=ne[oe],Se=te[oe];if(fe&&Se)e:for(var Ne=0;Ne<Se.length;++Ne){for(var He=Se[Ne],_e=0;_e<fe.length;++_e)if(fe[_e].marker==He.marker)continue e;fe.push(He)}else Se&&(ne[oe]=Se)}return ne}function Xl(x,z,ne){for(var te=[],oe=0;oe<x.length;++oe){var fe=x[oe];if(fe.ranges){te.push(ne?fs.prototype.deepCopy.call(fe):fe);continue}var Se=fe.changes,Ne=[];te.push({changes:Ne});for(var He=0;He<Se.length;++He){var _e=Se[He],Vt=void 0;if(Ne.push({from:_e.from,to:_e.to,text:_e.text}),z)for(var sn in _e)(Vt=sn.match(/^spans_(\d+)$/))&&wt(z,Number(Vt[1]))>-1&&(un(Ne)[sn]=_e[sn],delete _e[sn])}}return te}function Ru(x,z,ne,te){if(te){var oe=x.anchor;if(ne){var fe=jt(z,oe)<0;fe!=jt(ne,oe)<0?(oe=z,z=ne):fe!=jt(z,ne)<0&&(z=ne)}return new Wa(oe,z)}else return new Wa(ne||z,z)}function Kl(x,z,ne,te,oe){oe==null&&(oe=x.cm&&(x.cm.display.shift||x.extend)),Hi(x,new fs([Ru(x.sel.primary(),z,ne,oe)],0),te)}function Ni(x,z,ne){for(var te=[],oe=x.cm&&(x.cm.display.shift||x.extend),fe=0;fe<x.sel.ranges.length;fe++)te[fe]=Ru(x.sel.ranges[fe],z[fe],null,oe);var Se=ts(x.cm,te,x.sel.primIndex);Hi(x,Se,ne)}function Xs(x,z,ne,te){var oe=x.sel.ranges.slice(0);oe[z]=ne,Hi(x,ts(x.cm,oe,x.sel.primIndex),te)}function ac(x,z,ne,te){Hi(x,Os(z,ne),te)}function oc(x,z,ne){var te={ranges:z.ranges,update:function(oe){this.ranges=[];for(var fe=0;fe<oe.length;fe++)this.ranges[fe]=new Wa(or(x,oe[fe].anchor),or(x,oe[fe].head))},origin:ne&&ne.origin};return yt(x,"beforeSelectionChange",x,te),x.cm&&yt(x.cm,"beforeSelectionChange",x.cm,te),te.ranges!=z.ranges?ts(x.cm,te.ranges,te.ranges.length-1):z}function wo(x,z,ne){var te=x.history.done,oe=un(te);oe&&oe.ranges?(te[te.length-1]=z,Bs(x,z,ne)):Hi(x,z,ne)}function Hi(x,z,ne){Bs(x,z,ne),Ql(x,x.sel,x.cm?x.cm.curOp.id:NaN,ne)}function Bs(x,z,ne){(Qn(x,"beforeSelectionChange")||x.cm&&Qn(x.cm,"beforeSelectionChange"))&&(z=oc(x,z,ne));var te=ne&&ne.bias||(jt(z.primary().head,x.sel.primary().head)<0?-1:1);Js(x,hu(x,z,te,!0)),!(ne&&ne.scroll===!1)&&x.cm&&va(x.cm)}function Js(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,$n(x.cm)),In(x,"cursorActivity",x))}function ud(x){Js(x,hu(x,x.sel,null,!1))}function hu(x,z,ne,te){for(var oe,fe=0;fe<z.ranges.length;fe++){var Se=z.ranges[fe],Ne=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[fe],He=sc(x,Se.anchor,Ne&&Ne.anchor,ne,te),_e=sc(x,Se.head,Ne&&Ne.head,ne,te);(oe||He!=Se.anchor||_e!=Se.head)&&(oe||(oe=z.ranges.slice(0,fe)),oe[fe]=new Wa(He,_e))}return oe?ts(x.cm,oe,z.primIndex):z}function qs(x,z,ne,te,oe){var fe=Sn(x,z.line);if(fe.markedSpans)for(var Se=0;Se<fe.markedSpans.length;++Se){var Ne=fe.markedSpans[Se],He=Ne.marker,_e="selectLeft"in He?!He.selectLeft:He.inclusiveLeft,Vt="selectRight"in He?!He.selectRight:He.inclusiveRight;if((Ne.from==null||(_e?Ne.from<=z.ch:Ne.from<z.ch))&&(Ne.to==null||(Vt?Ne.to>=z.ch:Ne.to>z.ch))){if(oe&&(yt(He,"beforeCursorEnter"),He.explicitlyCleared))if(fe.markedSpans){--Se;continue}else break;if(!He.atomic)continue;if(ne){var sn=He.find(te<0?1:-1),Yn=void 0;if((te<0?Vt:_e)&&(sn=Al(x,sn,-te,sn&&sn.line==z.line?fe:null)),sn&&sn.line==z.line&&(Yn=jt(sn,ne))&&(te<0?Yn<0:Yn>0))return qs(x,sn,z,te,oe)}var On=He.find(te<0?-1:1);return(te<0?_e:Vt)&&(On=Al(x,On,te,On.line==z.line?fe:null)),On?qs(x,On,z,te,oe):null}}return z}function sc(x,z,ne,te,oe){var fe=te||1,Se=qs(x,z,ne,fe,oe)||!oe&&qs(x,z,ne,fe,!0)||qs(x,z,ne,-fe,oe)||!oe&&qs(x,z,ne,-fe,!0);return Se||(x.cantEdit=!0,kt(x.first,0))}function Al(x,z,ne,te){return ne<0&&z.ch==0?z.line>x.first?or(x,kt(z.line-1)):null:ne>0&&z.ch==(te||Sn(x,z.line)).text.length?z.line<x.first+x.size-1?kt(z.line+1,0):null:new kt(z.line,z.ch+ne)}function Hc(x){x.setSelection(kt(x.firstLine(),0),kt(x.lastLine()),rt)}function wc(x,z,ne){var te={canceled:!1,from:z.from,to:z.to,text:z.text,origin:z.origin,cancel:function(){return te.canceled=!0}};return ne&&(te.update=function(oe,fe,Se,Ne){oe&&(te.from=or(x,oe)),fe&&(te.to=or(x,fe)),Se&&(te.text=Se),Ne!==void 0&&(te.origin=Ne)}),yt(x,"beforeChange",x,te),x.cm&&yt(x.cm,"beforeChange",x.cm,te),te.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function Jl(x,z,ne){if(x.cm){if(!x.cm.curOp)return $a(x.cm,Jl)(x,z,ne);if(x.cm.state.suppressEdits)return}if(!((Qn(x,"beforeChange")||x.cm&&Qn(x.cm,"beforeChange"))&&(z=wc(x,z,!0),!z))){var te=Oa&&!ne&&Ti(x,z.from,z.to);if(te)for(var oe=te.length-1;oe>=0;--oe)zu(x,{from:te[oe].from,to:te[oe].to,text:oe?[""]:z.text,origin:z.origin});else zu(x,z)}}function zu(x,z){if(!(z.text.length==1&&z.text[0]==""&&jt(z.from,z.to)==0)){var ne=ml(x,z);Yl(x,z,ne,x.cm?x.cm.curOp.id:NaN),Du(x,z,ne,Ci(x,z));var te=[];fl(x,function(oe,fe){!fe&&wt(te,oe.history)==-1&&(uc(oe.history,z),te.push(oe.history)),Du(oe,z,null,Ci(oe,z))})}}function ql(x,z,ne){var te=x.cm&&x.cm.state.suppressEdits;if(!(te&&!ne)){for(var oe=x.history,fe,Se=x.sel,Ne=z=="undo"?oe.done:oe.undone,He=z=="undo"?oe.undone:oe.done,_e=0;_e<Ne.length&&(fe=Ne[_e],!(ne?fe.ranges&&!fe.equals(x.sel):!fe.ranges));_e++);if(_e!=Ne.length){for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(fe=Ne.pop(),fe.ranges){if(ms(fe,He),ne&&!fe.equals(x.sel)){Hi(x,fe,{clearRedo:!1});return}Se=fe}else if(te){Ne.push(fe);return}else break;var Vt=[];ms(Se,He),He.push({changes:Vt,generation:oe.generation}),oe.generation=fe.generation||++oe.maxGeneration;for(var sn=Qn(x,"beforeChange")||x.cm&&Qn(x.cm,"beforeChange"),Yn=function(ti){var vi=fe.changes[ti];if(vi.origin=z,sn&&!wc(x,vi,!1))return Ne.length=0,{};Vt.push(ns(x,vi));var Ii=ti?ml(x,vi):un(Ne);Du(x,vi,Ii,Nu(x,vi)),!ti&&x.cm&&x.cm.scrollIntoView({from:vi.from,to:jo(vi)});var ji=[];fl(x,function(Mi,Ui){!Ui&&wt(ji,Mi.history)==-1&&(uc(Mi.history,vi),ji.push(Mi.history)),Du(Mi,vi,null,Nu(Mi,vi))})},On=fe.changes.length-1;On>=0;--On){var Ir=Yn(On);if(Ir)return Ir.v}}}}function lc(x,z){if(z!=0&&(x.first+=z,x.sel=new fs(kn(x.sel.ranges,function(oe){return new Wa(kt(oe.anchor.line+z,oe.anchor.ch),kt(oe.head.line+z,oe.head.ch))}),x.sel.primIndex),x.cm)){be(x.cm,x.first,x.first-z,z);for(var ne=x.cm.display,te=ne.viewFrom;te<ne.viewTo;te++)Be(x.cm,te,"gutter")}}function Du(x,z,ne,te){if(x.cm&&!x.cm.curOp)return $a(x.cm,Du)(x,z,ne,te);if(z.to.line<x.first){lc(x,z.text.length-1-(z.to.line-z.from.line));return}if(!(z.from.line>x.lastLine())){if(z.from.line<x.first){var oe=z.text.length-1-(x.first-z.from.line);lc(x,oe),z={from:kt(x.first,0),to:kt(z.to.line+oe,z.to.ch),text:[un(z.text)],origin:z.origin}}var fe=x.lastLine();z.to.line>fe&&(z={from:z.from,to:kt(fe,Sn(x,fe).text.length),text:[z.text[0]],origin:z.origin}),z.removed=Bn(x,z.from,z.to),ne||(ne=ml(x,z)),x.cm?Sc(x.cm,z,te):Cl(x,z,te),Bs(x,ne,rt),x.cantEdit&&sc(x,kt(x.firstLine(),0))&&(x.cantEdit=!1)}}function Sc(x,z,ne){var te=x.doc,oe=x.display,fe=z.from,Se=z.to,Ne=!1,He=fe.line;x.options.lineWrapping||(He=Sr(Bt(Sn(te,fe.line))),te.iter(He,Se.line+1,function(On){if(On==oe.maxLine)return Ne=!0,!0})),te.sel.contains(z.from,z.to)>-1&&$n(x),Cl(te,z,ne,Ss(x)),x.options.lineWrapping||(te.iter(He,fe.line+z.text.length,function(On){var Ir=Wn(On);Ir>oe.maxLineLength&&(oe.maxLine=On,oe.maxLineLength=Ir,oe.maxLineChanged=!0,Ne=!1)}),Ne&&(x.curOp.updateMaxLine=!0)),_a(te,fe.line),xo(x,400);var _e=z.text.length-(Se.line-fe.line)-1;z.full?be(x):fe.line==Se.line&&z.text.length==1&&!_l(x.doc,z)?Be(x,fe.line,"text"):be(x,fe.line,Se.line+1,_e);var Vt=Qn(x,"changes"),sn=Qn(x,"change");if(sn||Vt){var Yn={from:fe,to:Se,text:z.text,removed:z.removed,origin:z.origin};sn&&In(x,"change",x,Yn),Vt&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(Yn)}x.display.selForContextMenu=null}function $l(x,z,ne,te,oe){var fe;te||(te=ne),jt(te,ne)<0&&(fe=[te,ne],ne=fe[0],te=fe[1]),typeof z=="string"&&(z=x.splitLines(z)),Jl(x,{from:ne,to:te,text:z,origin:oe})}function Kc(x,z,ne,te){ne<x.line?x.line+=te:z<x.line&&(x.line=z,x.ch=0)}function Wc(x,z,ne,te){for(var oe=0;oe<x.length;++oe){var fe=x[oe],Se=!0;if(fe.ranges){fe.copied||(fe=x[oe]=fe.deepCopy(),fe.copied=!0);for(var Ne=0;Ne<fe.ranges.length;Ne++)Kc(fe.ranges[Ne].anchor,z,ne,te),Kc(fe.ranges[Ne].head,z,ne,te);continue}for(var He=0;He<fe.changes.length;++He){var _e=fe.changes[He];if(ne<_e.from.line)_e.from=kt(_e.from.line+te,_e.from.ch),_e.to=kt(_e.to.line+te,_e.to.ch);else if(z<=_e.to.line){Se=!1;break}}Se||(x.splice(0,oe+1),oe=0)}}function uc(x,z){var ne=z.from.line,te=z.to.line,oe=z.text.length-(te-ne)-1;Wc(x.done,ne,te,oe),Wc(x.undone,ne,te,oe)}function Bu(x,z,ne,te){var oe=z,fe=z;return typeof z=="number"?fe=Sn(x,Gn(x,z)):oe=Sr(z),oe==null?null:(te(fe,oe)&&x.cm&&Be(x.cm,oe,ne),fe)}function Fl(x){this.lines=x,this.parent=null;for(var z=0,ne=0;ne<x.length;++ne)x[ne].parent=this,z+=x[ne].height;this.height=z}Fl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var ne=x,te=x+z;ne<te;++ne){var oe=this.lines[ne];this.height-=oe.height,Dr(oe),In(oe,"delete")}this.lines.splice(x,z)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,z,ne){this.height+=ne,this.lines=this.lines.slice(0,x).concat(z).concat(this.lines.slice(x));for(var te=0;te<z.length;++te)z[te].parent=this},iterN:function(x,z,ne){for(var te=x+z;x<te;++x)if(ne(this.lines[x]))return!0}};function Lu(x){this.children=x;for(var z=0,ne=0,te=0;te<x.length;++te){var oe=x[te];z+=oe.chunkSize(),ne+=oe.height,oe.parent=this}this.size=z,this.height=ne,this.parent=null}Lu.prototype={chunkSize:function(){return this.size},removeInner:function(x,z){this.size-=z;for(var ne=0;ne<this.children.length;++ne){var te=this.children[ne],oe=te.chunkSize();if(x<oe){var fe=Math.min(z,oe-x),Se=te.height;if(te.removeInner(x,fe),this.height-=Se-te.height,oe==fe&&(this.children.splice(ne--,1),te.parent=null),(z-=fe)==0)break;x=0}else x-=oe}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof Fl))){var Ne=[];this.collapse(Ne),this.children=[new Fl(Ne)],this.children[0].parent=this}},collapse:function(x){for(var z=0;z<this.children.length;++z)this.children[z].collapse(x)},insertInner:function(x,z,ne){this.size+=z.length,this.height+=ne;for(var te=0;te<this.children.length;++te){var oe=this.children[te],fe=oe.chunkSize();if(x<=fe){if(oe.insertInner(x,z,ne),oe.lines&&oe.lines.length>50){for(var Se=oe.lines.length%25+25,Ne=Se;Ne<oe.lines.length;){var He=new Fl(oe.lines.slice(Ne,Ne+=25));oe.height-=He.height,this.children.splice(++te,0,He),He.parent=this}oe.lines=oe.lines.slice(0,Se),this.maybeSpill()}break}x-=fe}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var z=x.children.splice(x.children.length-5,5),ne=new Lu(z);if(x.parent){x.size-=ne.size,x.height-=ne.height;var oe=wt(x.parent.children,x);x.parent.children.splice(oe+1,0,ne)}else{var te=new Lu(x.children);te.parent=x,x.children=[te,ne],x=te}ne.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,z,ne){for(var te=0;te<this.children.length;++te){var oe=this.children[te],fe=oe.chunkSize();if(x<fe){var Se=Math.min(z,fe-x);if(oe.iterN(x,Se,ne))return!0;if((z-=Se)==0)break;x=0}else x-=fe}}};var Fu=function(x,z,ne){if(ne)for(var te in ne)ne.hasOwnProperty(te)&&(this[te]=ne[te]);this.doc=x,this.node=z};Fu.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,ne=this.line,te=Sr(ne);if(!(te==null||!z)){for(var oe=0;oe<z.length;++oe)z[oe]==this&&z.splice(oe--,1);z.length||(ne.widgets=null);var fe=Ei(this);Lr(ne,Math.max(0,ne.height-fe)),x&&(Ta(x,function(){cd(x,ne,-fe),Be(x,te,"widget")}),In(x,"lineWidgetCleared",x,this,te))}},Fu.prototype.changed=function(){var x=this,z=this.height,ne=this.doc.cm,te=this.line;this.height=null;var oe=Ei(this)-z;oe&&(Jr(this.doc,te)||Lr(te,te.height+oe),ne&&Ta(ne,function(){ne.curOp.forceUpdate=!0,cd(ne,te,oe),In(ne,"lineWidgetChanged",ne,x,Sr(te))}))},wr(Fu);function cd(x,z,ne){er(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&ui(x,ne)}function Zc(x,z,ne,te){var oe=new Fu(x,ne,te),fe=x.cm;return fe&&oe.noHScroll&&(fe.display.alignWidgets=!0),Bu(x,z,"widget",function(Se){var Ne=Se.widgets||(Se.widgets=[]);if(oe.insertAt==null?Ne.push(oe):Ne.splice(Math.min(Ne.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=Se,fe&&!Jr(x,Se)){var He=er(Se)<x.scrollTop;Lr(Se,Se.height+Ei(oe)),He&&ui(fe,oe.height),fe.curOp.forceUpdate=!0}return!0}),fe&&In(fe,"lineWidgetAdded",fe,oe,typeof z=="number"?z:Sr(z)),oe}var dd=0,pu=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++dd};pu.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&_o(x),Qn(this,"clear")){var ne=this.find();ne&&In(this,"clear",ne.from,ne.to)}for(var te=null,oe=null,fe=0;fe<this.lines.length;++fe){var Se=this.lines[fe],Ne=jn(Se.markedSpans,this);x&&!this.collapsed?Be(x,Sr(Se),"text"):x&&(Ne.to!=null&&(oe=Sr(Se)),Ne.from!=null&&(te=Sr(Se))),Se.markedSpans=sr(Se.markedSpans,Ne),Ne.from==null&&this.collapsed&&!Jr(this.doc,Se)&&x&&Lr(Se,Io(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var He=0;He<this.lines.length;++He){var _e=Bt(this.lines[He]),Vt=Wn(_e);Vt>x.display.maxLineLength&&(x.display.maxLine=_e,x.display.maxLineLength=Vt,x.display.maxLineChanged=!0)}te!=null&&x&&this.collapsed&&be(x,te,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&ud(x.doc)),x&&In(x,"markerCleared",x,this,te,oe),z&&Do(x),this.parent&&this.parent.clear()}},pu.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ne,te,oe=0;oe<this.lines.length;++oe){var fe=this.lines[oe],Se=jn(fe.markedSpans,this);if(Se.from!=null&&(ne=kt(z?fe:Sr(fe),Se.from),x==-1))return ne;if(Se.to!=null&&(te=kt(z?fe:Sr(fe),Se.to),x==1))return te}return ne&&{from:ne,to:te}},pu.prototype.changed=function(){var x=this,z=this.find(-1,!0),ne=this,te=this.doc.cm;!z||!te||Ta(te,function(){var oe=z.line,fe=Sr(z.line),Se=Ha(te,fe);if(Se&&(Ba(Se),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!Jr(ne.doc,oe)&&ne.height!=null){var Ne=ne.height;ne.height=null;var He=Ei(ne)-Ne;He&&Lr(oe,oe.height+He)}In(te,"markerChanged",te,x)})},pu.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||wt(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},pu.prototype.detachLine=function(x){if(this.lines.splice(wt(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},wr(pu);function eu(x,z,ne,te,oe){if(te&&te.shared)return No(x,z,ne,te,oe);if(x.cm&&!x.cm.curOp)return $a(x.cm,eu)(x,z,ne,te,oe);var fe=new pu(x,oe),Se=jt(z,ne);if(te&&tr(te,fe,!1),Se>0||Se==0&&fe.clearWhenEmpty!==!1)return fe;if(fe.replacedWith&&(fe.collapsed=!0,fe.widgetNode=Ye("span",[fe.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||fe.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(fe.widgetNode.insertLeft=!0)),fe.collapsed){if(Ct(x,z.line,z,ne,fe)||z.line!=ne.line&&Ct(x,ne.line,z,ne,fe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Zt()}fe.addToHistory&&Yl(x,{from:z,to:ne,origin:"markText"},x.sel,NaN);var Ne=z.line,He=x.cm,_e;if(x.iter(Ne,ne.line+1,function(sn){He&&fe.collapsed&&!He.options.lineWrapping&&Bt(sn)==He.display.maxLine&&(_e=!0),fe.collapsed&&Ne!=z.line&&Lr(sn,0),Yr(sn,new Mn(fe,Ne==z.line?z.ch:null,Ne==ne.line?ne.ch:null)),++Ne}),fe.collapsed&&x.iter(z.line,ne.line+1,function(sn){Jr(x,sn)&&Lr(sn,0)}),fe.clearOnEnter&&gn(fe,"beforeCursorEnter",function(){return fe.clear()}),fe.readOnly&&(Qt(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),fe.collapsed&&(fe.id=++dd,fe.atomic=!0),He){if(_e&&(He.curOp.updateMaxLine=!0),fe.collapsed)be(He,z.line,ne.line+1);else if(fe.className||fe.startStyle||fe.endStyle||fe.css||fe.attributes||fe.title)for(var Vt=z.line;Vt<=ne.line;Vt++)Be(He,Vt,"text");fe.atomic&&ud(He.doc),In(He,"markerAdded",He,fe)}return fe}var so=function(x,z){this.markers=x,this.primary=z;for(var ne=0;ne<x.length;++ne)x[ne].parent=this};so.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();In(this,"clear")}},so.prototype.find=function(x,z){return this.primary.find(x,z)},wr(so);function No(x,z,ne,te,oe){te=tr(te),te.shared=!1;var fe=[eu(x,z,ne,te,oe)],Se=fe[0],Ne=te.widgetNode;return fl(x,function(He){Ne&&(te.widgetNode=Ne.cloneNode(!0)),fe.push(eu(He,or(He,z),or(He,ne),te,oe));for(var _e=0;_e<He.linked.length;++_e)if(He.linked[_e].isParent)return;Se=un(fe)}),new so(fe,Se)}function tu(x){return x.findMarks(kt(x.first,0),x.clipPos(kt(x.lastLine())),function(z){return z.parent})}function fd(x,z){for(var ne=0;ne<z.length;ne++){var te=z[ne],oe=te.find(),fe=x.clipPos(oe.from),Se=x.clipPos(oe.to);if(jt(fe,Se)){var Ne=eu(x,fe,Se,te.primary,te.primary.type);te.markers.push(Ne),Ne.parent=te}}}function ll(x){for(var z=function(te){var oe=x[te],fe=[oe.primary.doc];fl(oe.primary.doc,function(He){return fe.push(He)});for(var Se=0;Se<oe.markers.length;Se++){var Ne=oe.markers[Se];wt(fe,Ne.doc)==-1&&(Ne.parent=null,oe.markers.splice(Se--,1))}},ne=0;ne<x.length;ne++)z(ne)}var jc=0,ys=function(x,z,ne,te,oe){if(!(this instanceof ys))return new ys(x,z,ne,te,oe);ne==null&&(ne=0),Lu.call(this,[new Fl([new mr("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var fe=kt(ne,0);this.sel=Os(fe),this.history=new eo(null),this.id=++jc,this.modeOption=z,this.lineSep=te,this.direction=oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),Cl(this,{from:fe,to:fe,text:x}),Hi(this,Os(fe),rt)};ys.prototype=ce(Lu.prototype,{constructor:ys,iter:function(x,z,ne){ne?this.iterN(x-this.first,z-x,ne):this.iterN(this.first,this.first+this.size,x)},insert:function(x,z){for(var ne=0,te=0;te<z.length;++te)ne+=z[te].height;this.insertInner(x-this.first,z,ne)},remove:function(x,z){this.removeInner(x-this.first,z)},getValue:function(x){var z=Qr(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:Qa(function(x){var z=kt(this.first,0),ne=this.first+this.size-1;Jl(this,{from:z,to:kt(ne,Sn(this,ne).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&ca(this.cm,0,0),Hi(this,Os(z),rt)}),replaceRange:function(x,z,ne,te){z=or(this,z),ne=ne?or(this,ne):z,$l(this,x,z,ne,te)},getRange:function(x,z,ne){var te=Bn(this,or(this,x),or(this,z));return ne===!1?te:te.join(ne||this.lineSeparator())},getLine:function(x){var z=this.getLineHandle(x);return z&&z.text},getLineHandle:function(x){if(zr(this,x))return Sn(this,x)},getLineNumber:function(x){return Sr(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=Sn(this,x)),Bt(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return or(this,x)},getCursor:function(x){var z=this.sel.primary(),ne;return x==null||x=="head"?ne=z.head:x=="anchor"?ne=z.anchor:x=="end"||x=="to"||x===!1?ne=z.to():ne=z.from(),ne},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Qa(function(x,z,ne){ac(this,or(this,typeof x=="number"?kt(x,z||0):x),null,ne)}),setSelection:Qa(function(x,z,ne){ac(this,or(this,x),or(this,z||x),ne)}),extendSelection:Qa(function(x,z,ne){Kl(this,or(this,x),z&&or(this,z),ne)}),extendSelections:Qa(function(x,z){Ni(this,Ln(this,x),z)}),extendSelectionsBy:Qa(function(x,z){var ne=kn(this.sel.ranges,x);Ni(this,Ln(this,ne),z)}),setSelections:Qa(function(x,z,ne){if(x.length){for(var te=[],oe=0;oe<x.length;oe++)te[oe]=new Wa(or(this,x[oe].anchor),or(this,x[oe].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),Hi(this,ts(this.cm,te,z),ne)}}),addSelection:Qa(function(x,z,ne){var te=this.sel.ranges.slice(0);te.push(new Wa(or(this,x),or(this,z||x))),Hi(this,ts(this.cm,te,te.length-1),ne)}),getSelection:function(x){for(var z=this.sel.ranges,ne,te=0;te<z.length;te++){var oe=Bn(this,z[te].from(),z[te].to());ne=ne?ne.concat(oe):oe}return x===!1?ne:ne.join(x||this.lineSeparator())},getSelections:function(x){for(var z=[],ne=this.sel.ranges,te=0;te<ne.length;te++){var oe=Bn(this,ne[te].from(),ne[te].to());x!==!1&&(oe=oe.join(x||this.lineSeparator())),z[te]=oe}return z},replaceSelection:function(x,z,ne){for(var te=[],oe=0;oe<this.sel.ranges.length;oe++)te[oe]=x;this.replaceSelections(te,z,ne||"+input")},replaceSelections:Qa(function(x,z,ne){for(var te=[],oe=this.sel,fe=0;fe<oe.ranges.length;fe++){var Se=oe.ranges[fe];te[fe]={from:Se.from(),to:Se.to(),text:this.splitLines(x[fe]),origin:ne}}for(var Ne=z&&z!="end"&&gl(this,te,z),He=te.length-1;He>=0;He--)Jl(this,te[He]);Ne?wo(this,Ne):this.cm&&va(this.cm)}),undo:Qa(function(){ql(this,"undo")}),redo:Qa(function(){ql(this,"redo")}),undoSelection:Qa(function(){ql(this,"undo",!0)}),redoSelection:Qa(function(){ql(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,ne=0,te=0;te<x.done.length;te++)x.done[te].ranges||++z;for(var oe=0;oe<x.undone.length;oe++)x.undone[oe].ranges||++ne;return{undo:z,redo:ne}},clearHistory:function(){var x=this;this.history=new eo(this.history.maxGeneration),fl(this,function(z){return z.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:Xl(this.history.done),undone:Xl(this.history.undone)}},setHistory:function(x){var z=this.history=new eo(this.history.maxGeneration);z.done=Xl(x.done.slice(0),null,!0),z.undone=Xl(x.undone.slice(0),null,!0)},setGutterMarker:Qa(function(x,z,ne){return Bu(this,x,"gutter",function(te){var oe=te.gutterMarkers||(te.gutterMarkers={});return oe[z]=ne,!ne&&le(oe)&&(te.gutterMarkers=null),!0})}),clearGutter:Qa(function(x){var z=this;this.iter(function(ne){ne.gutterMarkers&&ne.gutterMarkers[x]&&Bu(z,ne,"gutter",function(){return ne.gutterMarkers[x]=null,le(ne.gutterMarkers)&&(ne.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!zr(this,x)||(z=x,x=Sn(this,x),!x))return null}else if(z=Sr(x),z==null)return null;return{line:z,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:Qa(function(x,z,ne){return Bu(this,x,z=="gutter"?"gutter":"class",function(te){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!te[oe])te[oe]=ne;else{if(he(ne).test(te[oe]))return!1;te[oe]+=" "+ne}return!0})}),removeLineClass:Qa(function(x,z,ne){return Bu(this,x,z=="gutter"?"gutter":"class",function(te){var oe=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",fe=te[oe];if(fe)if(ne==null)te[oe]=null;else{var Se=fe.match(he(ne));if(!Se)return!1;var Ne=Se.index+Se[0].length;te[oe]=fe.slice(0,Se.index)+(!Se.index||Ne==fe.length?"":" ")+fe.slice(Ne)||null}else return!1;return!0})}),addLineWidget:Qa(function(x,z,ne){return Zc(this,x,z,ne)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,ne){return eu(this,or(this,x),or(this,z),ne,ne&&ne.type||"range")},setBookmark:function(x,z){var ne={replacedWith:z&&(z.nodeType==null?z.widget:z),insertLeft:z&&z.insertLeft,clearWhenEmpty:!1,shared:z&&z.shared,handleMouseEvents:z&&z.handleMouseEvents};return x=or(this,x),eu(this,x,x,ne,"bookmark")},findMarksAt:function(x){x=or(this,x);var z=[],ne=Sn(this,x.line).markedSpans;if(ne)for(var te=0;te<ne.length;++te){var oe=ne[te];(oe.from==null||oe.from<=x.ch)&&(oe.to==null||oe.to>=x.ch)&&z.push(oe.marker.parent||oe.marker)}return z},findMarks:function(x,z,ne){x=or(this,x),z=or(this,z);var te=[],oe=x.line;return this.iter(x.line,z.line+1,function(fe){var Se=fe.markedSpans;if(Se)for(var Ne=0;Ne<Se.length;Ne++){var He=Se[Ne];!(He.to!=null&&oe==x.line&&x.ch>=He.to||He.from==null&&oe!=x.line||He.from!=null&&oe==z.line&&He.from>=z.ch)&&(!ne||ne(He.marker))&&te.push(He.marker.parent||He.marker)}++oe}),te},getAllMarks:function(){var x=[];return this.iter(function(z){var ne=z.markedSpans;if(ne)for(var te=0;te<ne.length;++te)ne[te].from!=null&&x.push(ne[te].marker)}),x},posFromIndex:function(x){var z,ne=this.first,te=this.lineSeparator().length;return this.iter(function(oe){var fe=oe.text.length+te;if(fe>x)return z=x,!0;x-=fe,++ne}),or(this,kt(ne,z))},indexFromPos:function(x){x=or(this,x);var z=x.ch;if(x.line<this.first||x.ch<0)return 0;var ne=this.lineSeparator().length;return this.iter(this.first,x.line,function(te){z+=te.text.length+ne}),z},copy:function(x){var z=new ys(Qr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return z.scrollTop=this.scrollTop,z.scrollLeft=this.scrollLeft,z.sel=this.sel,z.extend=!1,x&&(z.history.undoDepth=this.history.undoDepth,z.setHistory(this.getHistory())),z},linkedDoc:function(x){x||(x={});var z=this.first,ne=this.first+this.size;x.from!=null&&x.from>z&&(z=x.from),x.to!=null&&x.to<ne&&(ne=x.to);var te=new ys(Qr(this,z,ne),x.mode||this.modeOption,z,this.lineSep,this.direction);return x.sharedHist&&(te.history=this.history),(this.linked||(this.linked=[])).push({doc:te,sharedHist:x.sharedHist}),te.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],fd(te,tu(this)),te},unlinkDoc:function(x){if(x instanceof Ga&&(x=x.doc),this.linked)for(var z=0;z<this.linked.length;++z){var ne=this.linked[z];if(ne.doc==x){this.linked.splice(z,1),x.unlinkDoc(this),ll(tu(this));break}}if(x.history==this.history){var te=[x.id];fl(x,function(oe){return te.push(oe.id)},!0),x.history=new eo(null),x.history.done=Xl(this.history.done,te),x.history.undone=Xl(this.history.undone,te)}},iterLinkedDocs:function(x){fl(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Ot(x)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Qa(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Zi(this.cm))})}),ys.prototype.eachLine=ys.prototype.iter;var cc=0;function Hd(x){var z=this;if(Hu(z),!(It(z,x)||$i(z.display,x))){_r(x),ve&&(cc=+new Date);var ne=Cs(z,x,!0),te=x.dataTransfer.files;if(!(!ne||z.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var oe=te.length,fe=Array(oe),Se=0,Ne=function(){++Se==oe&&$a(z,function(){ne=or(z.doc,ne);var On={from:ne,to:ne,text:z.doc.splitLines(fe.filter(function(Ir){return Ir!=null}).join(z.doc.lineSeparator())),origin:"paste"};Jl(z.doc,On),wo(z.doc,Os(or(z.doc,ne),or(z.doc,jo(On))))})()},He=function(On,Ir){if(z.options.allowDropFileTypes&&wt(z.options.allowDropFileTypes,On.type)==-1){Ne();return}var ti=new FileReader;ti.onerror=function(){return Ne()},ti.onload=function(){var vi=ti.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(vi)){Ne();return}fe[Ir]=vi,Ne()},ti.readAsText(On)},_e=0;_e<te.length;_e++)He(te[_e],_e);else{if(z.state.draggingText&&z.doc.sel.contains(ne)>-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var Vt=x.dataTransfer.getData("Text");if(Vt){var sn;if(z.state.draggingText&&!z.state.draggingText.copy&&(sn=z.listSelections()),Bs(z.doc,Os(ne,ne)),sn)for(var Yn=0;Yn<sn.length;++Yn)$l(z.doc,"",sn[Yn].anchor,sn[Yn].head,"drag");z.replaceSelection(Vt,"around","paste"),z.display.input.focus()}}catch(On){}}}}function Vc(x,z){if(ve&&(!x.state.draggingText||+new Date-cc<100)){ri(z);return}if(!(It(x,z)||$i(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!mt)){var ne=qe("img",null,null,"position: fixed; left: 0; top: 0;");ne.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Le&&(ne.width=ne.height=1,x.display.wrapper.appendChild(ne),ne._top=ne.offsetTop),z.dataTransfer.setDragImage(ne,0,0),Le&&ne.parentNode.removeChild(ne)}}function Cc(x,z){var ne=Cs(x,z);if(ne){var te=document.createDocumentFragment();Cn(x,ne,te),x.display.dragCursor||(x.display.dragCursor=qe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),Ge(x.display.dragCursor,te)}}function Hu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function mu(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),ne=[],te=0;te<z.length;te++){var oe=z[te].CodeMirror;oe&&ne.push(oe)}ne.length&&ne[0].operation(function(){for(var fe=0;fe<ne.length;fe++)x(ne[fe])})}}var ci=!1;function Uc(){ci||(Ec(),ci=!0)}function Ec(){var x;gn(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,mu(dc)},100))}),gn(window,"blur",function(){return mu(Rn)})}function dc(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var Pl={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},fc=0;fc<10;fc++)Pl[fc+48]=Pl[fc+96]=String(fc);for(var Ac=65;Ac<=90;Ac++)Pl[Ac]=String.fromCharCode(Ac);for(var Ku=1;Ku<=12;Ku++)Pl[Ku+111]=Pl[Ku+63235]="F"+Ku;var Vo={};Vo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Vo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Vo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Vo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Vo.default=Me?Vo.macDefault:Vo.pcDefault;function Kd(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var ne,te,oe,fe,Se=0;Se<z.length-1;Se++){var Ne=z[Se];if(/^(cmd|meta|m)$/i.test(Ne))fe=!0;else if(/^a(lt)?$/i.test(Ne))ne=!0;else if(/^(c|ctrl|control)$/i.test(Ne))te=!0;else if(/^s(hift)?$/i.test(Ne))oe=!0;else throw new Error("Unrecognized modifier name: "+Ne)}return ne&&(x="Alt-"+x),te&&(x="Ctrl-"+x),fe&&(x="Cmd-"+x),oe&&(x="Shift-"+x),x}function Mc(x){var z={};for(var ne in x)if(x.hasOwnProperty(ne)){var te=x[ne];if(/^(name|fallthrough|(de|at)tach)$/.test(ne))continue;if(te=="..."){delete x[ne];continue}for(var oe=kn(ne.split(" "),Kd),fe=0;fe<oe.length;fe++){var Se=void 0,Ne=void 0;fe==oe.length-1?(Ne=oe.join(" "),Se=te):(Ne=oe.slice(0,fe+1).join(" "),Se="...");var He=z[Ne];if(!He)z[Ne]=Se;else if(He!=Se)throw new Error("Inconsistent bindings for "+Ne)}delete x[ne]}for(var _e in z)x[_e]=z[_e];return x}function nu(x,z,ne,te){z=$s(z);var oe=z.call?z.call(x,te):z[x];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&ne(oe))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return nu(x,z.fallthrough,ne,te);for(var fe=0;fe<z.fallthrough.length;fe++){var Se=nu(x,z.fallthrough[fe],ne,te);if(Se)return Se}}}function Wu(x){var z=typeof x=="string"?x:Pl[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function ru(x,z,ne){var te=x;return z.altKey&&te!="Alt"&&(x="Alt-"+x),(ht?z.metaKey:z.ctrlKey)&&te!="Ctrl"&&(x="Ctrl-"+x),(ht?z.ctrlKey:z.metaKey)&&te!="Mod"&&(x="Cmd-"+x),!ne&&z.shiftKey&&te!="Shift"&&(x="Shift-"+x),x}function gu(x,z){if(Le&&x.keyCode==34&&x.char)return!1;var ne=Pl[x.keyCode];return ne==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ne=x.code),ru(ne,x,z))}function $s(x){return typeof x=="string"?Vo[x]:x}function yl(x,z){for(var ne=x.doc.sel.ranges,te=[],oe=0;oe<ne.length;oe++){for(var fe=z(ne[oe]);te.length&&jt(fe.from,un(te).to)<=0;){var Se=te.pop();if(jt(Se.from,fe.from)<0){fe.from=Se.from;break}}te.push(fe)}Ta(x,function(){for(var Ne=te.length-1;Ne>=0;Ne--)$l(x.doc,"",te[Ne].from,te[Ne].to,"+delete");va(x)})}function Zs(x,z,ne){var te=Et(x.text,z+ne,ne);return te<0||te>x.text.length?null:te}function Il(x,z,ne){var te=Zs(x,z.ch,ne);return te==null?null:new kt(z.line,te,ne<0?"after":"before")}function vu(x,z,ne,te,oe){if(x){z.doc.direction=="rtl"&&(oe=-oe);var fe=kr(ne,z.doc.direction);if(fe){var Se=oe<0?un(fe):fe[0],Ne=oe<0==(Se.level==1),He=Ne?"after":"before",_e;if(Se.level>0||z.doc.direction=="rtl"){var Vt=wa(z,ne);_e=oe<0?ne.text.length-1:0;var sn=Wi(z,Vt,_e).top;_e=Yt(function(Yn){return Wi(z,Vt,Yn).top==sn},oe<0==(Se.level==1)?Se.from:Se.to-1,_e),He=="before"&&(_e=Zs(ne,_e,1))}else _e=oe<0?Se.to:Se.from;return new kt(te,_e,He)}}return new kt(te,oe<0?ne.text.length:0,oe<0?"before":"after")}function Tl(x,z,ne,te){var oe=kr(z,x.doc.direction);if(!oe)return Il(z,ne,te);ne.ch>=z.text.length?(ne.ch=z.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var fe=$t(oe,ne.ch,ne.sticky),Se=oe[fe];if(x.doc.direction=="ltr"&&Se.level%2==0&&(te>0?Se.to>ne.ch:Se.from<ne.ch))return Il(z,ne,te);var Ne=function(Ii,ji){return Zs(z,Ii instanceof kt?Ii.ch:Ii,ji)},He,_e=function(Ii){return x.options.lineWrapping?(He=He||wa(x,z),Fo(x,z,He,Ii)):{begin:0,end:z.text.length}},Vt=_e(ne.sticky=="before"?Ne(ne,-1):ne.ch);if(x.doc.direction=="rtl"||Se.level==1){var sn=Se.level==1==te<0,Yn=Ne(ne,sn?1:-1);if(Yn!=null&&(sn?Yn<=Se.to&&Yn<=Vt.end:Yn>=Se.from&&Yn>=Vt.begin)){var On=sn?"before":"after";return new kt(ne.line,Yn,On)}}var Ir=function(Ii,ji,Mi){for(var Ui=function(is,_s){return _s?new kt(ne.line,Ne(is,1),"before"):new kt(ne.line,is,"after")};Ii>=0&&Ii<oe.length;Ii+=ji){var ka=oe[Ii],Pa=ji>0==(ka.level!=1),yo=Pa?Mi.begin:Ne(Mi.end,-1);if(ka.from<=yo&&yo<ka.to||(yo=Pa?ka.from:Ne(ka.to,-1),Mi.begin<=yo&&yo<Mi.end))return Ui(yo,Pa)}},ti=Ir(fe+te,te,Vt);if(ti)return ti;var vi=te>0?Vt.end:Ne(Vt.begin,-1);return vi!=null&&!(te>0&&vi==z.text.length)&&(ti=Ir(te>0?0:oe.length-1,te,_e(vi)),ti)?ti:null}var Zu={selectAll:Hc,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),rt)},killLine:function(x){return yl(x,function(z){if(z.empty()){var ne=Sn(x.doc,z.head.line).text.length;return z.head.ch==ne&&z.head.line<x.lastLine()?{from:z.head,to:kt(z.head.line+1,0)}:{from:z.head,to:kt(z.head.line,ne)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return yl(x,function(z){return{from:kt(z.from().line,0),to:or(x.doc,kt(z.to().line+1,0))}})},delLineLeft:function(x){return yl(x,function(z){return{from:kt(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return yl(x,function(z){var ne=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:ne},"div");return{from:te,to:z.from()}})},delWrappedLineRight:function(x){return yl(x,function(z){var ne=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ne},"div");return{from:z.from(),to:te}})},undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(kt(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(kt(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return Gc(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return hd(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return _c(x,z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ne},"div")},Wt)},goLineLeft:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:0,top:ne},"div")},Wt)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:ne},"div");return te.ch<x.getLine(te.line).search(/\S/)?hd(x,z.head):te},Wt)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var z=[],ne=x.listSelections(),te=x.options.tabSize,oe=0;oe<ne.length;oe++){var fe=ne[oe].from(),Se=it(x.getLine(fe.line),fe.ch,te);z.push(Ht(te-Se%te))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return Ta(x,function(){for(var z=x.listSelections(),ne=[],te=0;te<z.length;te++)if(z[te].empty()){var oe=z[te].head,fe=Sn(x.doc,oe.line).text;if(fe){if(oe.ch==fe.length&&(oe=new kt(oe.line,oe.ch-1)),oe.ch>0)oe=new kt(oe.line,oe.ch+1),x.replaceRange(fe.charAt(oe.ch-1)+fe.charAt(oe.ch-2),kt(oe.line,oe.ch-2),oe,"+transpose");else if(oe.line>x.doc.first){var Se=Sn(x.doc,oe.line-1).text;Se&&(oe=new kt(oe.line,1),x.replaceRange(fe.charAt(0)+x.doc.lineSeparator()+Se.charAt(Se.length-1),kt(oe.line-1,Se.length-1),oe,"+transpose"))}}ne.push(new Wa(oe,oe))}x.setSelections(ne)})},newlineAndIndent:function(x){return Ta(x,function(){for(var z=x.listSelections(),ne=z.length-1;ne>=0;ne--)x.replaceRange(x.doc.lineSeparator(),z[ne].anchor,z[ne].head,"+input");z=x.listSelections();for(var te=0;te<z.length;te++)x.indentLine(z[te].from().line,null,!0);va(x)})},openLine:function(x){return x.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Gc(x,z){var ne=Sn(x.doc,z),te=Bt(ne);return te!=ne&&(z=Sr(te)),vu(!0,x,te,z,1)}function _c(x,z){var ne=Sn(x.doc,z),te=Jt(ne);return te!=ne&&(z=Sr(te)),vu(!0,x,ne,z,-1)}function hd(x,z){var ne=Gc(x,z.line),te=Sn(x.doc,ne.line),oe=kr(te,x.doc.direction);if(!oe||oe[0].level==0){var fe=Math.max(ne.ch,te.text.search(/\S/)),Se=z.line==ne.line&&z.ch<=fe&&z.ch;return kt(ne.line,Se?0:fe,ne.sticky)}return ne}function gs(x,z,ne){if(typeof z=="string"&&(z=Zu[z],!z))return!1;x.display.input.ensurePolled();var te=x.display.shift,oe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ne&&(x.display.shift=!1),oe=z(x)!=Tt}finally{x.display.shift=te,x.state.suppressEdits=!1}return oe}function Wl(x,z,ne){for(var te=0;te<x.state.keyMaps.length;te++){var oe=nu(z,x.state.keyMaps[te],ne,x);if(oe)return oe}return x.options.extraKeys&&nu(z,x.options.extraKeys,ne,x)||nu(z,x.options.keyMap,ne,x)}var Wd=new Ce;function yu(x,z,ne,te){var oe=x.state.keySeq;if(oe){if(Wu(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:Wd.set(50,function(){x.state.keySeq==oe&&(x.state.keySeq=null,x.display.input.reset())}),Ol(x,oe+" "+z,ne,te))return!0}return Ol(x,z,ne,te)}function Ol(x,z,ne,te){var oe=Wl(x,z,te);return oe=="multi"&&(x.state.keySeq=z),oe=="handled"&&In(x,"keyHandled",x,z,ne),(oe=="handled"||oe=="multi")&&(_r(ne),Dn(x)),!!oe}function vo(x,z){var ne=gu(z,!0);return ne?z.shiftKey&&!x.state.keySeq?yu(x,"Shift-"+ne,z,function(te){return gs(x,te,!0)})||yu(x,ne,z,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return gs(x,te)}):yu(x,ne,z,function(te){return gs(x,te)}):!1}function ju(x,z,ne){return yu(x,"'"+ne+"'",z,function(te){return gs(x,te,!0)})}var Zl=null;function Vu(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=lt(),!It(z,x))){ve&&Ee<11&&x.keyCode==27&&(x.returnValue=!1);var ne=x.keyCode;z.display.shift=ne==16||x.shiftKey;var te=vo(z,x);Le&&(Zl=te?ne:null,!te&&ne==88&&!cn&&(Me?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),ae&&!Me&&!te&&ne==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ne==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&Br(z)}}function Br(x){var z=x.display.lineDiv;zt(z,"CodeMirror-crosshair");function ne(te){(te.keyCode==18||!te.altKey)&&(je(z,"CodeMirror-crosshair"),Er(document,"keyup",ne),Er(document,"mouseover",ne))}gn(document,"keyup",ne),gn(document,"mouseover",ne)}function pd(x){x.keyCode==16&&(this.doc.sel.shift=!1),It(this,x)}function md(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!($i(z.display,x)||It(z,x)||x.ctrlKey&&!x.altKey||Me&&x.metaKey)){var ne=x.keyCode,te=x.charCode;if(Le&&ne==Zl){Zl=null,_r(x);return}if(!(Le&&(!x.which||x.which<10)&&vo(z,x))){var oe=String.fromCharCode(te==null?ne:te);oe!="\b"&&(ju(z,x,oe)||z.display.input.onKeyPress(x))}}}var kc=400,Yc=function(x,z,ne){this.time=x,this.pos=z,this.button=ne};Yc.prototype.compare=function(x,z,ne){return this.time+kc>x&&jt(z,this.pos)==0&&ne==this.button};var iu,hc;function gd(x,z){var ne=+new Date;return hc&&hc.compare(ne,x,z)?(iu=hc=null,"triple"):iu&&iu.compare(ne,x,z)?(hc=new Yc(ne,x,z),iu=null,"double"):(iu=new Yc(ne,x,z),hc=null,"single")}function Ls(x){var z=this,ne=z.display;if(!(It(z,x)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=x.shiftKey,$i(ne,x)){ke||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!bs(z,x)){var te=Cs(z,x),oe=Cr(x),fe=te?gd(te,oe):"single";window.focus(),oe==1&&z.state.selectingText&&z.state.selectingText(x),!(te&&jl(z,oe,te,fe,x))&&(oe==1?te?Bc(z,te,fe,x):fi(x)==ne.scroller&&_r(x):oe==2?(te&&Kl(z.doc,te),setTimeout(function(){return ne.input.focus()},20)):oe==3&&(we?z.display.input.onContextMenu(x):vr(z)))}}}function jl(x,z,ne,te,oe){var fe="Click";return te=="double"?fe="Double"+fe:te=="triple"&&(fe="Triple"+fe),fe=(z==1?"Left":z==2?"Middle":"Right")+fe,yu(x,ru(fe,oe),oe,function(Se){if(typeof Se=="string"&&(Se=Zu[Se]),!Se)return!1;var Ne=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),Ne=Se(x,ne)!=Tt}finally{x.state.suppressEdits=!1}return Ne})}function Dc(x,z,ne){var te=x.getOption("configureMouse"),oe=te?te(x,z,ne):{};if(oe.unit==null){var fe=ut?ne.shiftKey&&ne.metaKey:ne.altKey;oe.unit=fe?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(oe.extend==null||x.doc.extend)&&(oe.extend=x.doc.extend||ne.shiftKey),oe.addNew==null&&(oe.addNew=Me?ne.metaKey:ne.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(Me?ne.altKey:ne.ctrlKey)),oe}function Bc(x,z,ne,te){ve?setTimeout(Kn(Pn,x),0):x.curOp.focus=lt();var oe=Dc(x,ne,te),fe=x.doc.sel,Se;x.options.dragDrop&&yi&&!x.isReadOnly()&&ne=="single"&&(Se=fe.contains(z))>-1&&(jt((Se=fe.ranges[Se]).from(),z)<0||z.xRel>0)&&(jt(Se.to(),z)>0||z.xRel<0)?Mo(x,te,z,oe):Na(x,te,z,oe)}function Mo(x,z,ne,te){var oe=x.display,fe=!1,Se=$a(x,function(_e){ke&&(oe.scroller.draggable=!1),x.state.draggingText=!1,Er(oe.wrapper.ownerDocument,"mouseup",Se),Er(oe.wrapper.ownerDocument,"mousemove",Ne),Er(oe.scroller,"dragstart",He),Er(oe.scroller,"drop",Se),fe||(_r(_e),te.addNew||Kl(x.doc,ne,null,null,te.extend),ke&&!mt||ve&&Ee==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),Ne=function(_e){fe=fe||Math.abs(z.clientX-_e.clientX)+Math.abs(z.clientY-_e.clientY)>=10},He=function(){return fe=!0};ke&&(oe.scroller.draggable=!0),x.state.draggingText=Se,Se.copy=!te.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),gn(oe.wrapper.ownerDocument,"mouseup",Se),gn(oe.wrapper.ownerDocument,"mousemove",Ne),gn(oe.scroller,"dragstart",He),gn(oe.scroller,"drop",Se),vr(x),setTimeout(function(){return oe.input.focus()},20)}function da(x,z,ne){if(ne=="char")return new Wa(z,z);if(ne=="word")return x.findWordAt(z);if(ne=="line")return new Wa(kt(z.line,0),or(x.doc,kt(z.line+1,0)));var te=ne(x,z);return new Wa(te.from,te.to)}function Na(x,z,ne,te){var oe=x.display,fe=x.doc;_r(z);var Se,Ne,He=fe.sel,_e=He.ranges;if(te.addNew&&!te.extend?(Ne=fe.sel.contains(ne),Ne>-1?Se=_e[Ne]:Se=new Wa(ne,ne)):(Se=fe.sel.primary(),Ne=fe.sel.primIndex),te.unit=="rectangle")te.addNew||(Se=new Wa(ne,ne)),ne=Cs(x,z,!0,!0),Ne=-1;else{var Vt=da(x,ne,te.unit);te.extend?Se=Ru(Se,Vt.anchor,Vt.head,te.extend):Se=Vt}te.addNew?Ne==-1?(Ne=_e.length,Hi(fe,ts(x,_e.concat([Se]),Ne),{scroll:!1,origin:"*mouse"})):_e.length>1&&_e[Ne].empty()&&te.unit=="char"&&!te.extend?(Hi(fe,ts(x,_e.slice(0,Ne).concat(_e.slice(Ne+1)),0),{scroll:!1,origin:"*mouse"}),He=fe.sel):Xs(fe,Ne,Se,ft):(Ne=0,Hi(fe,new fs([Se],0),ft),He=fe.sel);var sn=ne;function Yn(Mi){if(jt(sn,Mi)!=0)if(sn=Mi,te.unit=="rectangle"){for(var Ui=[],ka=x.options.tabSize,Pa=it(Sn(fe,ne.line).text,ne.ch,ka),yo=it(Sn(fe,Mi.line).text,Mi.ch,ka),is=Math.min(Pa,yo),_s=Math.max(Pa,yo),xs=Math.min(ne.line,Mi.line),bl=Math.min(x.lastLine(),Math.max(ne.line,Mi.line));xs<=bl;xs++){var xl=Sn(fe,xs).text,Ns=qt(xl,is,ka);is==_s?Ui.push(new Wa(kt(xs,Ns),kt(xs,Ns))):xl.length>Ns&&Ui.push(new Wa(kt(xs,Ns),kt(xs,qt(xl,_s,ka))))}Ui.length||Ui.push(new Wa(ne,ne)),Hi(fe,ts(x,He.ranges.slice(0,Ne).concat(Ui),Ne),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Mi)}else{var wl=Se,Xa=da(x,Mi,te.unit),As=wl.anchor,ws;jt(Xa.anchor,As)>0?(ws=Xa.head,As=_n(wl.from(),Xa.anchor)):(ws=Xa.anchor,As=Hn(wl.to(),Xa.head));var Ms=He.ranges.slice(0);Ms[Ne]=ko(x,new Wa(or(fe,As),ws)),Hi(fe,ts(x,Ms,Ne),ft)}}var On=oe.wrapper.getBoundingClientRect(),Ir=0;function ti(Mi){var Ui=++Ir,ka=Cs(x,Mi,!0,te.unit=="rectangle");if(ka)if(jt(ka,sn)!=0){x.curOp.focus=lt(),Yn(ka);var Pa=Ur(oe,fe);(ka.line>=Pa.to||ka.line<Pa.from)&&setTimeout($a(x,function(){Ir==Ui&&ti(Mi)}),150)}else{var yo=Mi.clientY<On.top?-20:Mi.clientY>On.bottom?20:0;yo&&setTimeout($a(x,function(){Ir==Ui&&(oe.scroller.scrollTop+=yo,ti(Mi))}),50)}}function vi(Mi){x.state.selectingText=!1,Ir=1/0,Mi&&(_r(Mi),oe.input.focus()),Er(oe.wrapper.ownerDocument,"mousemove",Ii),Er(oe.wrapper.ownerDocument,"mouseup",ji),fe.history.lastSelOrigin=null}var Ii=$a(x,function(Mi){Mi.buttons===0||!Cr(Mi)?vi(Mi):ti(Mi)}),ji=$a(x,vi);x.state.selectingText=ji,gn(oe.wrapper.ownerDocument,"mousemove",Ii),gn(oe.wrapper.ownerDocument,"mouseup",ji)}function ko(x,z){var ne=z.anchor,te=z.head,oe=Sn(x.doc,ne.line);if(jt(ne,te)==0&&ne.sticky==te.sticky)return z;var fe=kr(oe);if(!fe)return z;var Se=$t(fe,ne.ch,ne.sticky),Ne=fe[Se];if(Ne.from!=ne.ch&&Ne.to!=ne.ch)return z;var He=Se+(Ne.from==ne.ch==(Ne.level!=1)?0:1);if(He==0||He==fe.length)return z;var _e;if(te.line!=ne.line)_e=(te.line-ne.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var Vt=$t(fe,te.ch,te.sticky),sn=Vt-Se||(te.ch-ne.ch)*(Ne.level==1?-1:1);Vt==He-1||Vt==He?_e=sn<0:_e=sn>0}var Yn=fe[He+(_e?-1:0)],On=_e==(Yn.level==1),Ir=On?Yn.from:Yn.to,ti=On?"after":"before";return ne.ch==Ir&&ne.sticky==ti?z:new Wa(new kt(ne.line,Ir,ti),te)}function Uo(x,z,ne,te){var oe,fe;if(z.touches)oe=z.touches[0].clientX,fe=z.touches[0].clientY;else try{oe=z.clientX,fe=z.clientY}catch(Yn){return!1}if(oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;te&&_r(z);var Se=x.display,Ne=Se.lineDiv.getBoundingClientRect();if(fe>Ne.bottom||!Qn(x,ne))return Xr(z);fe-=Ne.top-Se.viewOffset;for(var He=0;He<x.display.gutterSpecs.length;++He){var _e=Se.gutters.childNodes[He];if(_e&&_e.getBoundingClientRect().right>=oe){var Vt=jr(x.doc,fe),sn=x.display.gutterSpecs[He];return yt(x,ne,x,Vt,sn.className,z),Xr(z)}}}function bs(x,z){return Uo(x,z,"gutterClick",!0)}function js(x,z){$i(x.display,z)||au(x,z)||It(x,z,"contextmenu")||we||x.display.input.onContextMenu(z)}function au(x,z){return Qn(x,"gutterContextMenu")?Uo(x,z,"gutterContextMenu",!1):!1}function Vl(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),na(x)}var Ml={toString:function(){return"CodeMirror.Init"}},bu={},pl={};function oh(x){var z=x.optionHandlers;function ne(te,oe,fe,Se){x.defaults[te]=oe,fe&&(z[te]=Se?function(Ne,He,_e){_e!=Ml&&fe(Ne,He,_e)}:fe)}x.defineOption=ne,x.Init=Ml,ne("value","",function(te,oe){return te.setValue(oe)},!0),ne("mode",null,function(te,oe){te.doc.modeOption=oe,sl(te)},!0),ne("indentUnit",2,sl,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){Ws(te),na(te),be(te)},!0),ne("lineSeparator",null,function(te,oe){if(te.doc.lineSep=oe,!!oe){var fe=[],Se=te.doc.first;te.doc.iter(function(He){for(var _e=0;;){var Vt=He.text.indexOf(oe,_e);if(Vt==-1)break;_e=Vt+oe.length,fe.push(kt(Se,Vt))}Se++});for(var Ne=fe.length-1;Ne>=0;Ne--)$l(te.doc,oe,fe[Ne],kt(fe[Ne].line,fe[Ne].ch+oe.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,oe,fe){te.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),fe!=Ml&&te.refresh()}),ne("specialCharPlaceholder",Ue,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",nt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,oe){return te.getInputField().spellcheck=oe},!0),ne("autocorrect",!1,function(te,oe){return te.getInputField().autocorrect=oe},!0),ne("autocapitalize",!1,function(te,oe){return te.getInputField().autocapitalize=oe},!0),ne("rtlMoveVisually",!Ut),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){Vl(te),Ks(te)},!0),ne("keyMap","default",function(te,oe,fe){var Se=$s(oe),Ne=fe!=Ml&&$s(fe);Ne&&Ne.detach&&Ne.detach(te,Se),Se.attach&&Se.attach(te,Ne||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,wf,!0),ne("gutters",[],function(te,oe){te.display.gutterSpecs=Hl(oe,te.options.lineNumbers),Ks(te)},!0),ne("fixedGutter",!0,function(te,oe){te.display.gutters.style.left=oe?ls(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return uo(te)},!0),ne("scrollbarStyle","native",function(te){us(te),uo(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,oe){te.display.gutterSpecs=Hl(te.options.gutters,oe),Ks(te)},!0),ne("firstLineNumber",1,Ks,!0),ne("lineNumberFormatter",function(te){return te},Ks,!0),ne("showCursorWhenSelecting",!1,ln,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,oe){oe=="nocursor"&&(Rn(te),te.display.input.blur()),te.display.input.readOnlyChanged(oe)}),ne("screenReaderLabel",null,function(te,oe){oe=oe===""?null:oe,te.display.input.screenReaderLabelChanged(oe)}),ne("disableInput",!1,function(te,oe){oe||te.display.input.reset()},!0),ne("dragDrop",!0,sh),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,ln,!0),ne("singleCursorHeightPerLine",!0,ln,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,Ws,!0),ne("addModeClass",!1,Ws,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,oe){return te.doc.history.undoDepth=oe}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,Ws,!0),ne("moveInputWithCursor",!0,function(te,oe){oe||te.display.input.resetPosition()}),ne("tabindex",null,function(te,oe){return te.display.input.getField().tabIndex=oe||""}),ne("autofocus",null),ne("direction","ltr",function(te,oe){return te.doc.setDirection(oe)},!0),ne("phrases",null)}function sh(x,z,ne){var te=ne&&ne!=Ml;if(!z!=!te){var oe=x.display.dragFunctions,fe=z?gn:Er;fe(x.display.scroller,"dragstart",oe.start),fe(x.display.scroller,"dragenter",oe.enter),fe(x.display.scroller,"dragover",oe.over),fe(x.display.scroller,"dragleave",oe.leave),fe(x.display.scroller,"drop",oe.drop)}}function wf(x){x.options.lineWrapping?(zt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(je(x.display.wrapper,"CodeMirror-wrap"),ur(x)),$o(x),be(x),na(x),setTimeout(function(){return uo(x)},100)}function Ga(x,z){var ne=this;if(!(this instanceof Ga))return new Ga(x,z);this.options=z=z?tr(z):{},tr(bu,z,!1);var te=z.value;typeof te=="string"?te=new ys(te,z.mode,null,z.lineSeparator,z.direction):z.mode&&(te.modeOption=z.mode),this.doc=te;var oe=new Ga.inputStyles[z.inputStyle](this),fe=this.display=new cs(x,te,oe,z);fe.wrapper.CodeMirror=this,Vl(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),us(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Ce,keySeq:null,specialChars:null},z.autofocus&&!nt&&fe.input.focus(),ve&&Ee<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),lh(this),Uc(),_o(this),this.curOp.forceUpdate=!0,El(this,te),z.autofocus&&!nt||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&br(ne)},20):Rn(this);for(var Se in pl)pl.hasOwnProperty(Se)&&pl[Se](this,z[Se],Ml);Hs(this),z.finishInit&&z.finishInit(this);for(var Ne=0;Ne<Zd.length;++Ne)Zd[Ne](this);Do(this),ke&&z.lineWrapping&&getComputedStyle(fe.lineDiv).textRendering=="optimizelegibility"&&(fe.lineDiv.style.textRendering="auto")}Ga.defaults=bu,Ga.optionHandlers=pl;function lh(x){var z=x.display;gn(z.scroller,"mousedown",$a(x,Ls)),ve&&Ee<11?gn(z.scroller,"dblclick",$a(x,function(He){if(!It(x,He)){var _e=Cs(x,He);if(!(!_e||bs(x,He)||$i(x.display,He))){_r(He);var Vt=x.findWordAt(_e);Kl(x.doc,Vt.anchor,Vt.head)}}})):gn(z.scroller,"dblclick",function(He){return It(x,He)||_r(He)}),gn(z.scroller,"contextmenu",function(He){return js(x,He)}),gn(z.input.getField(),"contextmenu",function(He){z.scroller.contains(He.target)||js(x,He)});var ne,te={end:0};function oe(){z.activeTouch&&(ne=setTimeout(function(){return z.activeTouch=null},1e3),te=z.activeTouch,te.end=+new Date)}function fe(He){if(He.touches.length!=1)return!1;var _e=He.touches[0];return _e.radiusX<=1&&_e.radiusY<=1}function Se(He,_e){if(_e.left==null)return!0;var Vt=_e.left-He.left,sn=_e.top-He.top;return Vt*Vt+sn*sn>20*20}gn(z.scroller,"touchstart",function(He){if(!It(x,He)&&!fe(He)&&!bs(x,He)){z.input.ensurePolled(),clearTimeout(ne);var _e=+new Date;z.activeTouch={start:_e,moved:!1,prev:_e-te.end<=300?te:null},He.touches.length==1&&(z.activeTouch.left=He.touches[0].pageX,z.activeTouch.top=He.touches[0].pageY)}}),gn(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),gn(z.scroller,"touchend",function(He){var _e=z.activeTouch;if(_e&&!$i(z,He)&&_e.left!=null&&!_e.moved&&new Date-_e.start<300){var Vt=x.coordsChar(z.activeTouch,"page"),sn;!_e.prev||Se(_e,_e.prev)?sn=new Wa(Vt,Vt):!_e.prev.prev||Se(_e,_e.prev.prev)?sn=x.findWordAt(Vt):sn=new Wa(kt(Vt.line,0),or(x.doc,kt(Vt.line+1,0))),x.setSelection(sn.anchor,sn.head),x.focus(),_r(He)}oe()}),gn(z.scroller,"touchcancel",oe),gn(z.scroller,"scroll",function(){z.scroller.clientHeight&&(oa(x,z.scroller.scrollTop),Fa(x,z.scroller.scrollLeft,!0),yt(x,"scroll",x))}),gn(z.scroller,"mousewheel",function(He){return ol(x,He)}),gn(z.scroller,"DOMMouseScroll",function(He){return ol(x,He)}),gn(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(He){It(x,He)||ri(He)},over:function(He){It(x,He)||(Cc(x,He),ri(He))},start:function(He){return Vc(x,He)},drop:$a(x,Hd),leave:function(He){It(x,He)||Hu(x)}};var Ne=z.input.getField();gn(Ne,"keyup",function(He){return pd.call(x,He)}),gn(Ne,"keydown",$a(x,Vu)),gn(Ne,"keypress",$a(x,md)),gn(Ne,"focus",function(He){return br(x,He)}),gn(Ne,"blur",function(He){return Rn(x,He)})}var Zd=[];Ga.defineInitHook=function(x){return Zd.push(x)};function ou(x,z,ne,te){var oe=x.doc,fe;ne==null&&(ne="add"),ne=="smart"&&(oe.mode.indent?fe=Qi(x,z).state:ne="prev");var Se=x.options.tabSize,Ne=Sn(oe,z),He=it(Ne.text,null,Se);Ne.stateAfter&&(Ne.stateAfter=null);var _e=Ne.text.match(/^\s*/)[0],Vt;if(!te&&!/\S/.test(Ne.text))Vt=0,ne="not";else if(ne=="smart"&&(Vt=oe.mode.indent(fe,Ne.text.slice(_e.length),Ne.text),Vt==Tt||Vt>150)){if(!te)return;ne="prev"}ne=="prev"?z>oe.first?Vt=it(Sn(oe,z-1).text,null,Se):Vt=0:ne=="add"?Vt=He+x.options.indentUnit:ne=="subtract"?Vt=He-x.options.indentUnit:typeof ne=="number"&&(Vt=He+ne),Vt=Math.max(0,Vt);var sn="",Yn=0;if(x.options.indentWithTabs)for(var On=Math.floor(Vt/Se);On;--On)Yn+=Se,sn+=" ";if(Yn<Vt&&(sn+=Ht(Vt-Yn)),sn!=_e)return $l(oe,sn,kt(z,0),kt(z,_e.length),"+input"),Ne.stateAfter=null,!0;for(var Ir=0;Ir<oe.sel.ranges.length;Ir++){var ti=oe.sel.ranges[Ir];if(ti.head.line==z&&ti.head.ch<_e.length){var vi=kt(z,_e.length);Xs(oe,Ir,new Wa(vi,vi));break}}}var su=null;function Uu(x){su=x}function jd(x,z,ne,te,oe){var fe=x.doc;x.display.shift=!1,te||(te=fe.sel);var Se=+new Date-200,Ne=oe=="paste"||x.state.pasteIncoming>Se,He=Ot(z),_e=null;if(Ne&&te.ranges.length>1)if(su&&su.text.join(`
|
|
|
`)==z){if(te.ranges.length%su.text.length==0){_e=[];for(var Vt=0;Vt<su.text.length;Vt++)_e.push(fe.splitLines(su.text[Vt]))}}else He.length==te.ranges.length&&x.options.pasteLinesPerSelection&&(_e=kn(He,function(Ii){return[Ii]}));for(var sn=x.curOp.updateInput,Yn=te.ranges.length-1;Yn>=0;Yn--){var On=te.ranges[Yn],Ir=On.from(),ti=On.to();On.empty()&&(ne&&ne>0?Ir=kt(Ir.line,Ir.ch-ne):x.state.overwrite&&!Ne?ti=kt(ti.line,Math.min(Sn(fe,ti.line).text.length,ti.ch+un(He).length)):Ne&&su&&su.lineWise&&su.text.join(`
|
|
|
`)==He.join(`
|
|
|
`)&&(Ir=ti=kt(Ir.line,0)));var vi={from:Ir,to:ti,text:_e?_e[Yn%_e.length]:He,origin:oe||(Ne?"paste":x.state.cutIncoming>Se?"cut":"+input")};Jl(x.doc,vi),In(x,"inputRead",x,vi)}z&&!Ne&&Ud(x,z),va(x),x.curOp.updateInput<2&&(x.curOp.updateInput=sn),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Vd(x,z){var ne=x.clipboardData&&x.clipboardData.getData("Text");if(ne)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&Ta(z,function(){return jd(z,ne,0,null,"paste")}),!0}function Ud(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ne=x.doc.sel,te=ne.ranges.length-1;te>=0;te--){var oe=ne.ranges[te];if(!(oe.head.ch>100||te&&ne.ranges[te-1].head.line==oe.head.line)){var fe=x.getModeAt(oe.head),Se=!1;if(fe.electricChars){for(var Ne=0;Ne<fe.electricChars.length;Ne++)if(z.indexOf(fe.electricChars.charAt(Ne))>-1){Se=ou(x,oe.head.line,"smart");break}}else fe.electricInput&&fe.electricInput.test(Sn(x.doc,oe.head.line).text.slice(0,oe.head.ch))&&(Se=ou(x,oe.head.line,"smart"));Se&&In(x,"electricInput",x,oe.head.line)}}}function Lc(x){for(var z=[],ne=[],te=0;te<x.doc.sel.ranges.length;te++){var oe=x.doc.sel.ranges[te].head.line,fe={anchor:kt(oe,0),head:kt(oe+1,0)};ne.push(fe),z.push(x.getRange(fe.anchor,fe.head))}return{text:z,ranges:ne}}function Sf(x,z,ne,te){x.setAttribute("autocorrect",ne?"":"off"),x.setAttribute("autocapitalize",te?"":"off"),x.setAttribute("spellcheck",!!z)}function Gd(){var x=qe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=qe("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ke?x.style.width="1000px":x.setAttribute("wrap","off"),ot&&(x.style.border="1px solid black"),Sf(x),z}function _d(x){var z=x.optionHandlers,ne=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,oe){var fe=this.options,Se=fe[te];fe[te]==oe&&te!="mode"||(fe[te]=oe,z.hasOwnProperty(te)&&$a(this,z[te])(this,oe,Se),yt(this,"optionChange",this,te))},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,oe){this.state.keyMaps[oe?"push":"unshift"]($s(te))},removeKeyMap:function(te){for(var oe=this.state.keyMaps,fe=0;fe<oe.length;++fe)if(oe[fe]==te||oe[fe].name==te)return oe.splice(fe,1),!0},addOverlay:zi(function(te,oe){var fe=te.token?te:x.getMode(this.options,te);if(fe.startState)throw new Error("Overlays may not be stateful.");yn(this.state.overlays,{mode:fe,modeSpec:te,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(Se){return Se.priority}),this.state.modeGen++,be(this)}),removeOverlay:zi(function(te){for(var oe=this.state.overlays,fe=0;fe<oe.length;++fe){var Se=oe[fe].modeSpec;if(Se==te||typeof te=="string"&&Se.name==te){oe.splice(fe,1),this.state.modeGen++,be(this);return}}}),indentLine:zi(function(te,oe,fe){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),zr(this.doc,te)&&ou(this,te,oe,fe)}),indentSelection:zi(function(te){for(var oe=this.doc.sel.ranges,fe=-1,Se=0;Se<oe.length;Se++){var Ne=oe[Se];if(Ne.empty())Ne.head.line>fe&&(ou(this,Ne.head.line,te,!0),fe=Ne.head.line,Se==this.doc.sel.primIndex&&va(this));else{var He=Ne.from(),_e=Ne.to(),Vt=Math.max(fe,He.line);fe=Math.min(this.lastLine(),_e.line-(_e.ch?0:1))+1;for(var sn=Vt;sn<fe;++sn)ou(this,sn,te);var Yn=this.doc.sel.ranges;He.ch==0&&oe.length==Yn.length&&Yn[Se].from().ch>0&&Xs(this.doc,Se,new Wa(He,Yn[Se].to()),rt)}}}),getTokenAt:function(te,oe){return Da(this,te,oe)},getLineTokens:function(te,oe){return Da(this,kt(te),oe,!0)},getTokenTypeAt:function(te){te=or(this.doc,te);var oe=ra(this,Sn(this.doc,te.line)),fe=0,Se=(oe.length-1)/2,Ne=te.ch,He;if(Ne==0)He=oe[2];else for(;;){var _e=fe+Se>>1;if((_e?oe[_e*2-1]:0)>=Ne)Se=_e;else if(oe[_e*2+1]<Ne)fe=_e+1;else{He=oe[_e*2+2];break}}var Vt=He?He.indexOf("overlay "):-1;return Vt<0?He:Vt==0?null:He.slice(0,Vt-1)},getModeAt:function(te){var oe=this.doc.mode;return oe.innerMode?x.innerMode(oe,this.getTokenAt(te).state).mode:oe},getHelper:function(te,oe){return this.getHelpers(te,oe)[0]},getHelpers:function(te,oe){var fe=[];if(!ne.hasOwnProperty(oe))return fe;var Se=ne[oe],Ne=this.getModeAt(te);if(typeof Ne[oe]=="string")Se[Ne[oe]]&&fe.push(Se[Ne[oe]]);else if(Ne[oe])for(var He=0;He<Ne[oe].length;He++){var _e=Se[Ne[oe][He]];_e&&fe.push(_e)}else Ne.helperType&&Se[Ne.helperType]?fe.push(Se[Ne.helperType]):Se[Ne.name]&&fe.push(Se[Ne.name]);for(var Vt=0;Vt<Se._global.length;Vt++){var sn=Se._global[Vt];sn.pred(Ne,this)&&wt(fe,sn.val)==-1&&fe.push(sn.val)}return fe},getStateAfter:function(te,oe){var fe=this.doc;return te=Gn(fe,te==null?fe.first+fe.size-1:te),Qi(this,te+1,oe).state},cursorCoords:function(te,oe){var fe,Se=this.doc.sel.primary();return te==null?fe=Se.head:typeof te=="object"?fe=or(this.doc,te):fe=te?Se.from():Se.to(),io(this,fe,oe||"page")},charCoords:function(te,oe){return Lo(this,or(this.doc,te),oe||"page")},coordsChar:function(te,oe){return te=bo(this,te,oe||"page"),Wo(this,te.left,te.top)},lineAtHeight:function(te,oe){return te=bo(this,{top:te,left:0},oe||"page").top,jr(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,oe,fe){var Se=!1,Ne;if(typeof te=="number"){var He=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>He&&(te=He,Se=!0),Ne=Sn(this.doc,te)}else Ne=te;return ho(this,Ne,{top:0,left:0},oe||"page",fe||Se).top+(Se?this.doc.height-er(Ne):0)},defaultTextHeight:function(){return Io(this.display)},defaultCharWidth:function(){return Go(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,oe,fe,Se,Ne){var He=this.display;te=io(this,or(this.doc,te));var _e=te.bottom,Vt=te.left;if(oe.style.position="absolute",oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(oe),He.sizer.appendChild(oe),Se=="over")_e=te.top;else if(Se=="above"||Se=="near"){var sn=Math.max(He.wrapper.clientHeight,this.doc.height),Yn=Math.max(He.sizer.clientWidth,He.lineSpace.clientWidth);(Se=="above"||te.bottom+oe.offsetHeight>sn)&&te.top>oe.offsetHeight?_e=te.top-oe.offsetHeight:te.bottom+oe.offsetHeight<=sn&&(_e=te.bottom),Vt+oe.offsetWidth>Yn&&(Vt=Yn-oe.offsetWidth)}oe.style.top=_e+"px",oe.style.left=oe.style.right="",Ne=="right"?(Vt=He.sizer.clientWidth-oe.offsetWidth,oe.style.right="0px"):(Ne=="left"?Vt=0:Ne=="middle"&&(Vt=(He.sizer.clientWidth-oe.offsetWidth)/2),oe.style.left=Vt+"px"),fe&&Pi(this,{left:Vt,top:_e,right:Vt+oe.offsetWidth,bottom:_e+oe.offsetHeight})},triggerOnKeyDown:zi(Vu),triggerOnKeyPress:zi(md),triggerOnKeyUp:pd,triggerOnMouseDown:zi(Ls),execCommand:function(te){if(Zu.hasOwnProperty(te))return Zu[te].call(null,this)},triggerElectric:zi(function(te){Ud(this,te)}),findPosH:function(te,oe,fe,Se){var Ne=1;oe<0&&(Ne=-1,oe=-oe);for(var He=or(this.doc,te),_e=0;_e<oe&&(He=vd(this.doc,He,Ne,fe,Se),!He.hitSide);++_e);return He},moveH:zi(function(te,oe){var fe=this;this.extendSelectionsBy(function(Se){return fe.display.shift||fe.doc.extend||Se.empty()?vd(fe.doc,Se.head,te,oe,fe.options.rtlMoveVisually):te<0?Se.from():Se.to()},Wt)}),deleteH:zi(function(te,oe){var fe=this.doc.sel,Se=this.doc;fe.somethingSelected()?Se.replaceSelection("",null,"+delete"):yl(this,function(Ne){var He=vd(Se,Ne.head,te,oe,!1);return te<0?{from:He,to:Ne.head}:{from:Ne.head,to:He}})}),findPosV:function(te,oe,fe,Se){var Ne=1,He=Se;oe<0&&(Ne=-1,oe=-oe);for(var _e=or(this.doc,te),Vt=0;Vt<oe;++Vt){var sn=io(this,_e,"div");if(He==null?He=sn.left:sn.left=He,_e=Cf(this,sn,Ne,fe),_e.hitSide)break}return _e},moveV:zi(function(te,oe){var fe=this,Se=this.doc,Ne=[],He=!this.display.shift&&!Se.extend&&Se.sel.somethingSelected();if(Se.extendSelectionsBy(function(Vt){if(He)return te<0?Vt.from():Vt.to();var sn=io(fe,Vt.head,"div");Vt.goalColumn!=null&&(sn.left=Vt.goalColumn),Ne.push(sn.left);var Yn=Cf(fe,sn,te,oe);return oe=="page"&&Vt==Se.sel.primary()&&ui(fe,Lo(fe,Yn,"div").top-sn.top),Yn},Wt),Ne.length)for(var _e=0;_e<Se.sel.ranges.length;_e++)Se.sel.ranges[_e].goalColumn=Ne[_e]}),findWordAt:function(te){var oe=this.doc,fe=Sn(oe,te.line).text,Se=te.ch,Ne=te.ch;if(fe){var He=this.getHelper(te,"wordChars");(te.sticky=="before"||Ne==fe.length)&&Se?--Se:++Ne;for(var _e=fe.charAt(Se),Vt=de(_e,He)?function(sn){return de(sn,He)}:/\s/.test(_e)?function(sn){return/\s/.test(sn)}:function(sn){return!/\s/.test(sn)&&!de(sn)};Se>0&&Vt(fe.charAt(Se-1));)--Se;for(;Ne<fe.length&&Vt(fe.charAt(Ne));)++Ne}return new Wa(kt(te.line,Se),kt(te.line,Ne))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?zt(this.display.cursorDiv,"CodeMirror-overwrite"):je(this.display.cursorDiv,"CodeMirror-overwrite"),yt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==lt()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:zi(function(te,oe){ca(this,te,oe)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-Ai(this)-this.display.barHeight,width:te.scrollWidth-Ai(this)-this.display.barWidth,clientHeight:ua(this),clientWidth:Ki(this)}},scrollIntoView:zi(function(te,oe){te==null?(te={from:this.doc.sel.primary().head,to:null},oe==null&&(oe=this.options.cursorScrollMargin)):typeof te=="number"?te={from:kt(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=oe||0,te.from.line!=null?Ka(this,te):La(this,te.from,te.to,te.margin)}),setSize:zi(function(te,oe){var fe=this,Se=function(He){return typeof He=="number"||/^\d+$/.test(String(He))?He+"px":He};te!=null&&(this.display.wrapper.style.width=Se(te)),oe!=null&&(this.display.wrapper.style.height=Se(oe)),this.options.lineWrapping&&Va(this);var Ne=this.display.viewFrom;this.doc.iter(Ne,this.display.viewTo,function(He){if(He.widgets){for(var _e=0;_e<He.widgets.length;_e++)if(He.widgets[_e].noHScroll){Be(fe,Ne,"widget");break}}++Ne}),this.curOp.forceUpdate=!0,yt(this,"refresh",this)}),operation:function(te){return Ta(this,te)},startOperation:function(){return _o(this)},endOperation:function(){return Do(this)},refresh:zi(function(){var te=this.display.cachedTextHeight;be(this),this.curOp.forceUpdate=!0,na(this),ca(this,this.doc.scrollLeft,this.doc.scrollTop),zl(this.display),(te==null||Math.abs(te-Io(this.display))>.5||this.options.lineWrapping)&&$o(this),yt(this,"refresh",this)}),swapDoc:zi(function(te){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),El(this,te),na(this),this.display.input.reset(),ca(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,In(this,"swapDoc",this,oe),oe}),phrase:function(te){var oe=this.options.phrases;return oe&&Object.prototype.hasOwnProperty.call(oe,te)?oe[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},wr(x),x.registerHelper=function(te,oe,fe){ne.hasOwnProperty(te)||(ne[te]=x[te]={_global:[]}),ne[te][oe]=fe},x.registerGlobalHelper=function(te,oe,fe,Se){x.registerHelper(te,oe,Se),ne[te]._global.push({pred:fe,val:Se})}}function vd(x,z,ne,te,oe){var fe=z,Se=ne,Ne=Sn(x,z.line),He=oe&&x.direction=="rtl"?-ne:ne;function _e(){var ji=z.line+He;return ji<x.first||ji>=x.first+x.size?!1:(z=new kt(ji,z.ch,z.sticky),Ne=Sn(x,ji))}function Vt(ji){var Mi;if(te=="codepoint"){var Ui=Ne.text.charCodeAt(z.ch+(te>0?0:-1));isNaN(Ui)?Mi=null:Mi=new kt(z.line,Math.max(0,Math.min(Ne.text.length,z.ch+ne*(Ui>=55296&&Ui<56320?2:1))),-ne)}else oe?Mi=Tl(x.cm,Ne,z,ne):Mi=Il(Ne,z,ne);if(Mi==null)if(!ji&&_e())z=vu(oe,x.cm,Ne,z.line,He);else return!1;else z=Mi;return!0}if(te=="char"||te=="codepoint")Vt();else if(te=="column")Vt(!0);else if(te=="word"||te=="group")for(var sn=null,Yn=te=="group",On=x.cm&&x.cm.getHelper(z,"wordChars"),Ir=!0;!(ne<0&&!Vt(!Ir));Ir=!1){var ti=Ne.text.charAt(z.ch)||`
|
|
|
`,vi=de(ti,On)?"w":Yn&&ti==`
|
|
|
`?"n":!Yn||/\s/.test(ti)?null:"p";if(Yn&&!Ir&&!vi&&(vi="s"),sn&&sn!=vi){ne<0&&(ne=1,Vt(),z.sticky="after");break}if(vi&&(sn=vi),ne>0&&!Vt(!Ir))break}var Ii=sc(x,z,fe,Se,!0);return zn(fe,Ii)&&(Ii.hitSide=!0),Ii}function Cf(x,z,ne,te){var oe=x.doc,fe=z.left,Se;if(te=="page"){var Ne=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),He=Math.max(Ne-.5*Io(x.display),3);Se=(ne>0?z.bottom:z.top)+ne*He}else te=="line"&&(Se=ne>0?z.bottom+3:z.top-3);for(var _e;_e=Wo(x,fe,Se),!!_e.outside;){if(ne<0?Se<=0:Se>=oe.height){_e.hitSide=!0;break}Se+=ne*5}return _e}var Qo=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ce,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Qo.prototype.init=function(x){var z=this,ne=this,te=ne.cm,oe=ne.div=x.lineDiv;Sf(oe,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function fe(Ne){for(var He=Ne.target;He;He=He.parentNode){if(He==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(He.className))break}return!1}gn(oe,"paste",function(Ne){!fe(Ne)||It(te,Ne)||Vd(Ne,te)||Ee<=11&&setTimeout($a(te,function(){return z.updateFromDOM()}),20)}),gn(oe,"compositionstart",function(Ne){z.composing={data:Ne.data,done:!1}}),gn(oe,"compositionupdate",function(Ne){z.composing||(z.composing={data:Ne.data,done:!1})}),gn(oe,"compositionend",function(Ne){z.composing&&(Ne.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),gn(oe,"touchstart",function(){return ne.forceCompositionEnd()}),gn(oe,"input",function(){z.composing||z.readFromDOMSoon()});function Se(Ne){if(!(!fe(Ne)||It(te,Ne))){if(te.somethingSelected())Uu({lineWise:!1,text:te.getSelections()}),Ne.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var He=Lc(te);Uu({lineWise:!0,text:He.text}),Ne.type=="cut"&&te.operation(function(){te.setSelections(He.ranges,0,rt),te.replaceSelection("",null,"cut")})}else return;if(Ne.clipboardData){Ne.clipboardData.clearData();var _e=su.text.join(`
|
|
|
`);if(Ne.clipboardData.setData("Text",_e),Ne.clipboardData.getData("Text")==_e){Ne.preventDefault();return}}var Vt=Gd(),sn=Vt.firstChild;te.display.lineSpace.insertBefore(Vt,te.display.lineSpace.firstChild),sn.value=su.text.join(`
|
|
|
`);var Yn=document.activeElement;pn(sn),setTimeout(function(){te.display.lineSpace.removeChild(Vt),Yn.focus(),Yn==oe&&ne.showPrimarySelection()},50)}}gn(oe,"copy",Se),gn(oe,"cut",Se)},Qo.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Qo.prototype.prepareSelection=function(){var x=Un(this.cm,!1);return x.focus=document.activeElement==this.div,x},Qo.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Qo.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qo.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ne=z.doc.sel.primary(),te=ne.from(),oe=ne.to();if(z.display.viewTo==z.display.viewFrom||te.line>=z.display.viewTo||oe.line<z.display.viewFrom){x.removeAllRanges();return}var fe=yd(z,x.anchorNode,x.anchorOffset),Se=yd(z,x.focusNode,x.focusOffset);if(!(fe&&!fe.bad&&Se&&!Se.bad&&jt(_n(fe,Se),te)==0&&jt(Hn(fe,Se),oe)==0)){var Ne=z.display.view,He=te.line>=z.display.viewFrom&&Ef(z,te)||{node:Ne[0].measure.map[2],offset:0},_e=oe.line<z.display.viewTo&&Ef(z,oe);if(!_e){var Vt=Ne[Ne.length-1].measure,sn=Vt.maps?Vt.maps[Vt.maps.length-1]:Vt.map;_e={node:sn[sn.length-1],offset:sn[sn.length-2]-sn[sn.length-3]}}if(!He||!_e){x.removeAllRanges();return}var Yn=x.rangeCount&&x.getRangeAt(0),On;try{On=We(He.node,He.offset,_e.offset,_e.node)}catch(Ir){}On&&(!ae&&z.state.focused?(x.collapse(He.node,He.offset),On.collapsed||(x.removeAllRanges(),x.addRange(On))):(x.removeAllRanges(),x.addRange(On)),Yn&&x.anchorNode==null?x.addRange(Yn):ae&&this.startGracePeriod()),this.rememberSelection()}},Qo.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){x.gracePeriod=!1,x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)},Qo.prototype.showMultipleSelections=function(x){Ge(this.cm.display.cursorDiv,x.cursors),Ge(this.cm.display.selectionDiv,x.selection)},Qo.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},Qo.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return St(this.div,z)},Qo.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Qo.prototype.blur=function(){this.div.blur()},Qo.prototype.getField=function(){return this.div},Qo.prototype.supportsTouch=function(){return!0},Qo.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():Ta(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function z(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,z))}this.polling.set(this.cm.options.pollInterval,z)},Qo.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},Qo.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),z=this.cm;if(dt&&me&&this.cm.display.gutterSpecs.length&&uh(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ne=yd(z,x.anchorNode,x.anchorOffset),te=yd(z,x.focusNode,x.focusOffset);ne&&te&&Ta(z,function(){Hi(z.doc,Os(ne,te),rt),(ne.bad||te.bad)&&(z.curOp.selectionChanged=!0)})}}},Qo.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,z=x.display,ne=x.doc.sel.primary(),te=ne.from(),oe=ne.to();if(te.ch==0&&te.line>x.firstLine()&&(te=kt(te.line-1,Sn(x.doc,te.line-1).length)),oe.ch==Sn(x.doc,oe.line).text.length&&oe.line<x.lastLine()&&(oe=kt(oe.line+1,0)),te.line<z.viewFrom||oe.line>z.viewTo-1)return!1;var fe,Se,Ne;te.line==z.viewFrom||(fe=ja(x,te.line))==0?(Se=Sr(z.view[0].line),Ne=z.view[0].node):(Se=Sr(z.view[fe].line),Ne=z.view[fe-1].node.nextSibling);var He=ja(x,oe.line),_e,Vt;if(He==z.view.length-1?(_e=z.viewTo-1,Vt=z.lineDiv.lastChild):(_e=Sr(z.view[He+1].line)-1,Vt=z.view[He+1].node.previousSibling),!Ne)return!1;for(var sn=x.doc.splitLines(ch(x,Ne,Vt,Se,_e)),Yn=Bn(x.doc,kt(Se,0),kt(_e,Sn(x.doc,_e).text.length));sn.length>1&&Yn.length>1;)if(un(sn)==un(Yn))sn.pop(),Yn.pop(),_e--;else if(sn[0]==Yn[0])sn.shift(),Yn.shift(),Se++;else break;for(var On=0,Ir=0,ti=sn[0],vi=Yn[0],Ii=Math.min(ti.length,vi.length);On<Ii&&ti.charCodeAt(On)==vi.charCodeAt(On);)++On;for(var ji=un(sn),Mi=un(Yn),Ui=Math.min(ji.length-(sn.length==1?On:0),Mi.length-(Yn.length==1?On:0));Ir<Ui&&ji.charCodeAt(ji.length-Ir-1)==Mi.charCodeAt(Mi.length-Ir-1);)++Ir;if(sn.length==1&&Yn.length==1&&Se==te.line)for(;On&&On>te.ch&&ji.charCodeAt(ji.length-Ir-1)==Mi.charCodeAt(Mi.length-Ir-1);)On--,Ir++;sn[sn.length-1]=ji.slice(0,ji.length-Ir).replace(/^\u200b+/,""),sn[0]=sn[0].slice(On).replace(/\u200b+$/,"");var ka=kt(Se,On),Pa=kt(_e,Yn.length?un(Yn).length-Ir:0);if(sn.length>1||sn[0]||jt(ka,Pa))return $l(x.doc,sn,ka,Pa,"+input"),!0},Qo.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qo.prototype.reset=function(){this.forceCompositionEnd()},Qo.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qo.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},Qo.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&Ta(this.cm,function(){return be(x.cm)})},Qo.prototype.setUneditable=function(x){x.contentEditable="false"},Qo.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||$a(this.cm,jd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Qo.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Qo.prototype.onContextMenu=function(){},Qo.prototype.resetPosition=function(){},Qo.prototype.needsContentAttribute=!0;function Ef(x,z){var ne=Ha(x,z.line);if(!ne||ne.hidden)return null;var te=Sn(x.doc,z.line),oe=ao(ne,te,z.line),fe=kr(te,x.doc.direction),Se="left";if(fe){var Ne=$t(fe,z.ch);Se=Ne%2?"right":"left"}var He=aa(oe.map,z.ch,Se);return He.offset=He.collapse=="right"?He.end:He.start,He}function uh(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function Fc(x,z){return z&&(x.bad=!0),x}function ch(x,z,ne,te,oe){var fe="",Se=!1,Ne=x.doc.lineSeparator(),He=!1;function _e(On){return function(Ir){return Ir.id==On}}function Vt(){Se&&(fe+=Ne,He&&(fe+=Ne),Se=He=!1)}function sn(On){On&&(Vt(),fe+=On)}function Yn(On){if(On.nodeType==1){var Ir=On.getAttribute("cm-text");if(Ir){sn(Ir);return}var ti=On.getAttribute("cm-marker"),vi;if(ti){var Ii=x.findMarks(kt(te,0),kt(oe+1,0),_e(+ti));Ii.length&&(vi=Ii[0].find(0))&&sn(Bn(x.doc,vi.from,vi.to).join(Ne));return}if(On.getAttribute("contenteditable")=="false")return;var ji=/^(pre|div|p|li|table|br)$/i.test(On.nodeName);if(!/^br$/i.test(On.nodeName)&&On.textContent.length==0)return;ji&&Vt();for(var Mi=0;Mi<On.childNodes.length;Mi++)Yn(On.childNodes[Mi]);/^(pre|p)$/i.test(On.nodeName)&&(He=!0),ji&&(Se=!0)}else On.nodeType==3&&sn(On.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Yn(z),z!=ne;)z=z.nextSibling,He=!1;return fe}function yd(x,z,ne){var te;if(z==x.display.lineDiv){if(te=x.display.lineDiv.childNodes[ne],!te)return Fc(x.clipPos(kt(x.display.viewTo-1)),!0);z=null,ne=0}else for(te=z;;te=te.parentNode){if(!te||te==x.display.lineDiv)return null;if(te.parentNode&&te.parentNode==x.display.lineDiv)break}for(var oe=0;oe<x.display.view.length;oe++){var fe=x.display.view[oe];if(fe.node==te)return dh(fe,z,ne)}}function dh(x,z,ne){var te=x.text.firstChild,oe=!1;if(!z||!St(te,z))return Fc(kt(Sr(x.line),0),!0);if(z==te&&(oe=!0,z=te.childNodes[ne],ne=0,!z)){var fe=x.rest?un(x.rest):x.line;return Fc(kt(Sr(fe),fe.text.length),oe)}var Se=z.nodeType==3?z:null,Ne=z;for(!Se&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(Se=z.firstChild,ne&&(ne=Se.nodeValue.length));Ne.parentNode!=te;)Ne=Ne.parentNode;var He=x.measure,_e=He.maps;function Vt(vi,Ii,ji){for(var Mi=-1;Mi<(_e?_e.length:0);Mi++)for(var Ui=Mi<0?He.map:_e[Mi],ka=0;ka<Ui.length;ka+=3){var Pa=Ui[ka+2];if(Pa==vi||Pa==Ii){var yo=Sr(Mi<0?x.line:x.rest[Mi]),is=Ui[ka]+ji;return(ji<0||Pa!=vi)&&(is=Ui[ka+(ji?1:0)]),kt(yo,is)}}}var sn=Vt(Se,Ne,ne);if(sn)return Fc(sn,oe);for(var Yn=Ne.nextSibling,On=Se?Se.nodeValue.length-ne:0;Yn;Yn=Yn.nextSibling){if(sn=Vt(Yn,Yn.firstChild,0),sn)return Fc(kt(sn.line,sn.ch-On),oe);On+=Yn.textContent.length}for(var Ir=Ne.previousSibling,ti=ne;Ir;Ir=Ir.previousSibling){if(sn=Vt(Ir,Ir.firstChild,-1),sn)return Fc(kt(sn.line,sn.ch+ti),oe);ti+=Ir.textContent.length}}var rs=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Ce,this.hasSelection=!1,this.composing=null};rs.prototype.init=function(x){var z=this,ne=this,te=this.cm;this.createField(x);var oe=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),ot&&(oe.style.width="0px"),gn(oe,"input",function(){ve&&Ee>=9&&z.hasSelection&&(z.hasSelection=null),ne.poll()}),gn(oe,"paste",function(Se){It(te,Se)||Vd(Se,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function fe(Se){if(!It(te,Se)){if(te.somethingSelected())Uu({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var Ne=Lc(te);Uu({lineWise:!0,text:Ne.text}),Se.type=="cut"?te.setSelections(Ne.ranges,null,rt):(ne.prevInput="",oe.value=Ne.text.join(`
|
|
|
`),pn(oe))}else return;Se.type=="cut"&&(te.state.cutIncoming=+new Date)}}gn(oe,"cut",fe),gn(oe,"copy",fe),gn(x.scroller,"paste",function(Se){if(!($i(x,Se)||It(te,Se))){if(!oe.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var Ne=new Event("paste");Ne.clipboardData=Se.clipboardData,oe.dispatchEvent(Ne)}}),gn(x.lineSpace,"selectstart",function(Se){$i(x,Se)||_r(Se)}),gn(oe,"compositionstart",function(){var Se=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:Se,range:te.markText(Se,te.getCursor("to"),{className:"CodeMirror-composing"})}}),gn(oe,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},rs.prototype.createField=function(x){this.wrapper=Gd(),this.textarea=this.wrapper.firstChild},rs.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},rs.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ne=x.doc,te=Un(x);if(x.options.moveInputWithCursor){var oe=io(x,ne.sel.primary().head,"div"),fe=z.wrapper.getBoundingClientRect(),Se=z.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,oe.top+Se.top-fe.top)),te.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,oe.left+Se.left-fe.left))}return te},rs.prototype.showSelection=function(x){var z=this.cm,ne=z.display;Ge(ne.cursorDiv,x.cursors),Ge(ne.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},rs.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var ne=z.getSelection();this.textarea.value=ne,z.state.focused&&pn(this.textarea),ve&&Ee>=9&&(this.hasSelection=ne)}else x||(this.prevInput=this.textarea.value="",ve&&Ee>=9&&(this.hasSelection=null))}},rs.prototype.getField=function(){return this.textarea},rs.prototype.supportsTouch=function(){return!1},rs.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!nt||lt()!=this.textarea))try{this.textarea.focus()}catch(x){}},rs.prototype.blur=function(){this.textarea.blur()},rs.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},rs.prototype.receivedFocus=function(){this.slowPoll()},rs.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},rs.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function ne(){var te=z.poll();!te&&!x?(x=!0,z.polling.set(60,ne)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,ne)},rs.prototype.poll=function(){var x=this,z=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!z.state.focused||Nt(ne)&&!te&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var oe=ne.value;if(oe==te&&!z.somethingSelected())return!1;if(ve&&Ee>=9&&this.hasSelection===oe||Me&&/[\uf700-\uf7ff]/.test(oe))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var fe=oe.charCodeAt(0);if(fe==8203&&!te&&(te="\u200B"),fe==8666)return this.reset(),this.cm.execCommand("undo")}for(var Se=0,Ne=Math.min(te.length,oe.length);Se<Ne&&te.charCodeAt(Se)==oe.charCodeAt(Se);)++Se;return Ta(z,function(){jd(z,oe.slice(Se),te.length-Se,null,x.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
|
|
|
`)>-1?ne.value=x.prevInput="":x.prevInput=oe,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},rs.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},rs.prototype.onKeyPress=function(){ve&&Ee>=9&&(this.hasSelection=null),this.fastPoll()},rs.prototype.onContextMenu=function(x){var z=this,ne=z.cm,te=ne.display,oe=z.textarea;z.contextMenuPending&&z.contextMenuPending();var fe=Cs(ne,x),Se=te.scroller.scrollTop;if(!fe||Le)return;var Ne=ne.options.resetSelectionOnContextMenu;Ne&&ne.doc.sel.contains(fe)==-1&&$a(ne,Hi)(ne.doc,Os(fe),rt);var He=oe.style.cssText,_e=z.wrapper.style.cssText,Vt=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(x.clientY-Vt.top-5)+"px; left: "+(x.clientX-Vt.left-5)+`px;
|
|
|
z-index: 1000; background: `+(ve?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var sn;ke&&(sn=window.scrollY),te.input.focus(),ke&&window.scrollTo(null,sn),te.input.reset(),ne.somethingSelected()||(oe.value=z.prevInput=" "),z.contextMenuPending=On,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Yn(){if(oe.selectionStart!=null){var ti=ne.somethingSelected(),vi="\u200B"+(ti?oe.value:"");oe.value="\u21DA",oe.value=vi,z.prevInput=ti?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=vi.length,te.selForContextMenu=ne.doc.sel}}function On(){if(z.contextMenuPending==On&&(z.contextMenuPending=!1,z.wrapper.style.cssText=_e,oe.style.cssText=He,ve&&Ee<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=Se),oe.selectionStart!=null)){(!ve||ve&&Ee<9)&&Yn();var ti=0,vi=function(){te.selForContextMenu==ne.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&z.prevInput=="\u200B"?$a(ne,Hc)(ne):ti++<10?te.detectingSelectAll=setTimeout(vi,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(vi,200)}}if(ve&&Ee>=9&&Yn(),we){ri(x);var Ir=function(){Er(window,"mouseup",Ir),setTimeout(On,20)};gn(window,"mouseup",Ir)}else setTimeout(On,50)},rs.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},rs.prototype.setUneditable=function(){},rs.prototype.needsContentAttribute=!1;function pc(x,z){if(z=z?tr(z):{},z.value=x.value,!z.tabindex&&x.tabIndex&&(z.tabindex=x.tabIndex),!z.placeholder&&x.placeholder&&(z.placeholder=x.placeholder),z.autofocus==null){var ne=lt();z.autofocus=ne==x||x.getAttribute("autofocus")!=null&&ne==document.body}function te(){x.value=Ne.getValue()}var oe;if(x.form&&(gn(x.form,"submit",te),!z.leaveSubmitMethodAlone)){var fe=x.form;oe=fe.submit;try{var Se=fe.submit=function(){te(),fe.submit=oe,fe.submit(),fe.submit=Se}}catch(He){}}z.finishInit=function(He){He.save=te,He.getTextArea=function(){return x},He.toTextArea=function(){He.toTextArea=isNaN,te(),x.parentNode.removeChild(He.getWrapperElement()),x.style.display="",x.form&&(Er(x.form,"submit",te),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=oe))}},x.style.display="none";var Ne=Ga(function(He){return x.parentNode.insertBefore(He,x.nextSibling)},z);return Ne}function Pc(x){x.off=Er,x.on=gn,x.wheelEventPixels=Qs,x.Doc=ys,x.splitLines=Ot,x.countColumn=it,x.findColumn=qt,x.isWordChar=pe,x.Pass=Tt,x.signal=yt,x.Line=mr,x.changeEnd=jo,x.scrollbarModel=To,x.Pos=kt,x.cmpPos=jt,x.modes=Fn,x.mimeModes=ir,x.resolveMode=At,x.getMode=Mt,x.modeExtensions=fn,x.extendMode=$e,x.copyState=Ft,x.startState=_t,x.innerMode=on,x.commands=Zu,x.keyMap=Vo,x.keyName=gu,x.isModifierKey=Wu,x.lookupKey=nu,x.normalizeKeyMap=Mc,x.StringStream=En,x.SharedTextMarker=so,x.TextMarker=pu,x.LineWidget=Fu,x.e_preventDefault=_r,x.e_stopPropagation=ei,x.e_stop=ri,x.addClass=zt,x.contains=St,x.rmClass=je,x.keyNames=Pl}oh(Ga),_d(Ga);var Pu="iter insert remove copy getEditor constructor".split(" ");for(var Ul in ys.prototype)ys.prototype.hasOwnProperty(Ul)&&wt(Pu,Ul)<0&&(Ga.prototype[Ul]=function(x){return function(){return x.apply(this.doc,arguments)}}(ys.prototype[Ul]));return wr(ys),Ga.inputStyles={textarea:rs,contenteditable:Qo},Ga.defineMode=function(x){!Ga.defaults.mode&&x!="null"&&(Ga.defaults.mode=x),Xn.apply(this,arguments)},Ga.defineMIME=pt,Ga.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),Ga.defineMIME("text/plain","null"),Ga.defineExtension=function(x,z){Ga.prototype[x]=z},Ga.defineDocExtension=function(x,z){ys.prototype[x]=z},Ga.fromTextArea=pc,Pc(Ga),Ga.version="5.58.2",Ga})},49047:function(mn,en,ie){(function(ae){ae(ie(4631),ie(29589),ie(52539))})(function(ae){"use strict";ae.defineMode("markdown",function(Oe,Re){var Ze=ae.getMode(Oe,"text/html"),ve=Ze.name=="null";function Ee(it){if(ae.findModeByName){var Ce=ae.findModeByName(it);Ce&&(it=Ce.mime||Ce.mimes[0])}var wt=ae.getMode(Oe,it);return wt.name=="null"?null:wt}Re.highlightFormatting===void 0&&(Re.highlightFormatting=!1),Re.maxBlockquoteDepth===void 0&&(Re.maxBlockquoteDepth=0),Re.taskLists===void 0&&(Re.taskLists=!1),Re.strikethrough===void 0&&(Re.strikethrough=!1),Re.emoji===void 0&&(Re.emoji=!1),Re.fencedCodeBlockHighlighting===void 0&&(Re.fencedCodeBlockHighlighting=!0),Re.fencedCodeBlockDefaultMode===void 0&&(Re.fencedCodeBlockDefaultMode="text/plain"),Re.xml===void 0&&(Re.xml=!0),Re.tokenTypeOverrides===void 0&&(Re.tokenTypeOverrides={});var ke={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var ye in ke)ke.hasOwnProperty(ye)&&Re.tokenTypeOverrides[ye]&&(ke[ye]=Re.tokenTypeOverrides[ye]);var me=/^([*\-_])(?:\s*\1){2,}\s*$/,Le=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,mt=/^\[(x| )\](?=\s)/i,Ie=Re.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Xe=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ot=/^[^#!\[\]*_\\<>` "'(~:]+/,dt=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,nt=/^\s*\[[^\]]+?\]:.*$/,Me=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,ut=" ";function Ut(it,Ce,wt){return Ce.f=Ce.inline=wt,wt(it,Ce)}function at(it,Ce,wt){return Ce.f=Ce.block=wt,wt(it,Ce)}function ht(it){return!it||!/\S/.test(it.string)}function we(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==je){var Ce=ve;if(!Ce){var wt=ae.innerMode(Ze,it.htmlState);Ce=wt.mode.name=="xml"&&wt.state.tagStart===null&&!wt.state.context&&wt.state.tokenize.isInText}Ce&&(it.f=Ye,it.block=he,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function he(it,Ce){var wt=it.column()===Ce.indentation,An=ht(Ce.prevLine.stream),Tt=Ce.indentedCode,rt=Ce.prevLine.hr,ft=Ce.list!==!1,Wt=(Ce.listStack[Ce.listStack.length-1]||0)+3;Ce.indentedCode=!1;var qt=Ce.indentation;if(Ce.indentationDiff===null&&(Ce.indentationDiff=Ce.indentation,ft)){for(Ce.list=null;qt<Ce.listStack[Ce.listStack.length-1];)Ce.listStack.pop(),Ce.listStack.length?Ce.indentation=Ce.listStack[Ce.listStack.length-1]:Ce.list=!1;Ce.list!==!1&&(Ce.indentationDiff=qt-Ce.listStack[Ce.listStack.length-1])}var Xt=!An&&!rt&&!Ce.prevLine.header&&(!ft||!Tt)&&!Ce.prevLine.fencedCodeEnd,Ht=(Ce.list===!1||rt||An)&&Ce.indentation<=Wt&&it.match(me),un=null;if(Ce.indentationDiff>=4&&(Tt||Ce.prevLine.fencedCodeEnd||Ce.prevLine.header||An))return it.skipToEnd(),Ce.indentedCode=!0,ke.code;if(it.eatSpace())return null;if(wt&&Ce.indentation<=Wt&&(un=it.match(Ie))&&un[1].length<=6)return Ce.quote=0,Ce.header=un[1].length,Ce.thisLine.header=!0,Re.highlightFormatting&&(Ce.formatting="header"),Ce.f=Ce.inline,Ge(Ce);if(Ce.indentation<=Wt&&it.eat(">"))return Ce.quote=wt?1:Ce.quote+1,Re.highlightFormatting&&(Ce.formatting="quote"),it.eatSpace(),Ge(Ce);if(!Ht&&!Ce.setext&&wt&&Ce.indentation<=Wt&&(un=it.match(Le))){var kn=un[1]?"ol":"ul";return Ce.indentation=qt+it.current().length,Ce.list=!0,Ce.quote=0,Ce.listStack.push(Ce.indentation),Ce.em=!1,Ce.strong=!1,Ce.code=!1,Ce.strikethrough=!1,Re.taskLists&&it.match(mt,!1)&&(Ce.taskList=!0),Ce.f=Ce.inline,Re.highlightFormatting&&(Ce.formatting=["list","list-"+kn]),Ge(Ce)}else{if(wt&&Ce.indentation<=Wt&&(un=it.match(dt,!0)))return Ce.quote=0,Ce.fencedEndRE=new RegExp(un[1]+"+ *$"),Ce.localMode=Re.fencedCodeBlockHighlighting&&Ee(un[2]||Re.fencedCodeBlockDefaultMode),Ce.localMode&&(Ce.localState=ae.startState(Ce.localMode)),Ce.f=Ce.block=Ve,Re.highlightFormatting&&(Ce.formatting="code-block"),Ce.code=-1,Ge(Ce);if(Ce.setext||(!Xt||!ft)&&!Ce.quote&&Ce.list===!1&&!Ce.code&&!Ht&&!nt.test(it.string)&&(un=it.lookAhead(1))&&(un=un.match(Xe)))return Ce.setext?(Ce.header=Ce.setext,Ce.setext=0,it.skipToEnd(),Re.highlightFormatting&&(Ce.formatting="header")):(Ce.header=un[0].charAt(0)=="="?1:2,Ce.setext=Ce.header),Ce.thisLine.header=!0,Ce.f=Ce.inline,Ge(Ce);if(Ht)return it.skipToEnd(),Ce.hr=!0,Ce.thisLine.hr=!0,ke.hr;if(it.peek()==="[")return Ut(it,Ce,Dt)}return Ut(it,Ce,Ce.inline)}function je(it,Ce){var wt=Ze.token(it,Ce.htmlState);if(!ve){var An=ae.innerMode(Ze,Ce.htmlState);(An.mode.name=="xml"&&An.state.tagStart===null&&!An.state.context&&An.state.tokenize.isInText||Ce.md_inside&&it.current().indexOf(">")>-1)&&(Ce.f=Ye,Ce.block=he,Ce.htmlState=null)}return wt}function Ve(it,Ce){var wt=Ce.listStack[Ce.listStack.length-1]||0,An=Ce.indentation<wt,Tt=wt+3;if(Ce.fencedEndRE&&Ce.indentation<=Tt&&(An||it.match(Ce.fencedEndRE))){Re.highlightFormatting&&(Ce.formatting="code-block");var rt;return An||(rt=Ge(Ce)),Ce.localMode=Ce.localState=null,Ce.block=he,Ce.f=Ye,Ce.fencedEndRE=null,Ce.code=0,Ce.thisLine.fencedCodeEnd=!0,An?at(it,Ce,Ce.block):rt}else return Ce.localMode?Ce.localMode.token(it,Ce.localState):(it.skipToEnd(),ke.code)}function Ge(it){var Ce=[];if(it.formatting){Ce.push(ke.formatting),typeof it.formatting=="string"&&(it.formatting=[it.formatting]);for(var wt=0;wt<it.formatting.length;wt++)Ce.push(ke.formatting+"-"+it.formatting[wt]),it.formatting[wt]==="header"&&Ce.push(ke.formatting+"-"+it.formatting[wt]+"-"+it.header),it.formatting[wt]==="quote"&&(!Re.maxBlockquoteDepth||Re.maxBlockquoteDepth>=it.quote?Ce.push(ke.formatting+"-"+it.formatting[wt]+"-"+it.quote):Ce.push("error"))}if(it.taskOpen)return Ce.push("meta"),Ce.length?Ce.join(" "):null;if(it.taskClosed)return Ce.push("property"),Ce.length?Ce.join(" "):null;if(it.linkHref?Ce.push(ke.linkHref,"url"):(it.strong&&Ce.push(ke.strong),it.em&&Ce.push(ke.em),it.strikethrough&&Ce.push(ke.strikethrough),it.emoji&&Ce.push(ke.emoji),it.linkText&&Ce.push(ke.linkText),it.code&&Ce.push(ke.code),it.image&&Ce.push(ke.image),it.imageAltText&&Ce.push(ke.imageAltText,"link"),it.imageMarker&&Ce.push(ke.imageMarker)),it.header&&Ce.push(ke.header,ke.header+"-"+it.header),it.quote&&(Ce.push(ke.quote),!Re.maxBlockquoteDepth||Re.maxBlockquoteDepth>=it.quote?Ce.push(ke.quote+"-"+it.quote):Ce.push(ke.quote+"-"+Re.maxBlockquoteDepth)),it.list!==!1){var An=(it.listStack.length-1)%3;An?An===1?Ce.push(ke.list2):Ce.push(ke.list3):Ce.push(ke.list1)}return it.trailingSpaceNewLine?Ce.push("trailing-space-new-line"):it.trailingSpace&&Ce.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),Ce.length?Ce.join(" "):null}function qe(it,Ce){if(it.match(ot,!0))return Ge(Ce)}function Ye(it,Ce){var wt=Ce.text(it,Ce);if(typeof wt!="undefined")return wt;if(Ce.list)return Ce.list=null,Ge(Ce);if(Ce.taskList){var An=it.match(mt,!0)[1]===" ";return An?Ce.taskOpen=!0:Ce.taskClosed=!0,Re.highlightFormatting&&(Ce.formatting="task"),Ce.taskList=!1,Ge(Ce)}if(Ce.taskOpen=!1,Ce.taskClosed=!1,Ce.header&&it.match(/^#+$/,!0))return Re.highlightFormatting&&(Ce.formatting="header"),Ge(Ce);var Tt=it.next();if(Ce.linkTitle){Ce.linkTitle=!1;var rt=Tt;Tt==="("&&(rt=")"),rt=(rt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ft="^\\s*(?:[^"+rt+"\\\\]+|\\\\\\\\|\\\\.)"+rt;if(it.match(new RegExp(ft),!0))return ke.linkHref}if(Tt==="`"){var Wt=Ce.formatting;Re.highlightFormatting&&(Ce.formatting="code"),it.eatWhile("`");var qt=it.current().length;if(Ce.code==0&&(!Ce.quote||qt==1))return Ce.code=qt,Ge(Ce);if(qt==Ce.code){var Xt=Ge(Ce);return Ce.code=0,Xt}else return Ce.formatting=Wt,Ge(Ce)}else if(Ce.code)return Ge(Ce);if(Tt==="\\"&&(it.next(),Re.highlightFormatting)){var Ht=Ge(Ce),un=ke.formatting+"-escape";return Ht?Ht+" "+un:un}if(Tt==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ce.imageMarker=!0,Ce.image=!0,Re.highlightFormatting&&(Ce.formatting="image"),Ge(Ce);if(Tt==="["&&Ce.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ce.imageMarker=!1,Ce.imageAltText=!0,Re.highlightFormatting&&(Ce.formatting="image"),Ge(Ce);if(Tt==="]"&&Ce.imageAltText){Re.highlightFormatting&&(Ce.formatting="image");var Ht=Ge(Ce);return Ce.imageAltText=!1,Ce.image=!1,Ce.inline=Ce.f=St,Ht}if(Tt==="["&&!Ce.image)return Ce.linkText&&it.match(/^.*?\]/)||(Ce.linkText=!0,Re.highlightFormatting&&(Ce.formatting="link")),Ge(Ce);if(Tt==="]"&&Ce.linkText){Re.highlightFormatting&&(Ce.formatting="link");var Ht=Ge(Ce);return Ce.linkText=!1,Ce.inline=Ce.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?St:Ye,Ht}if(Tt==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ce.f=Ce.inline=We,Re.highlightFormatting&&(Ce.formatting="link");var Ht=Ge(Ce);return Ht?Ht+=" ":Ht="",Ht+ke.linkInline}if(Tt==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ce.f=Ce.inline=We,Re.highlightFormatting&&(Ce.formatting="link");var Ht=Ge(Ce);return Ht?Ht+=" ":Ht="",Ht+ke.linkEmail}if(Re.xml&&Tt==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var kn=it.string.indexOf(">",it.pos);if(kn!=-1){var yn=it.string.substring(it.start,kn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(yn)&&(Ce.md_inside=!0)}return it.backUp(1),Ce.htmlState=ae.startState(Ze),at(it,Ce,je)}if(Re.xml&&Tt==="<"&&it.match(/^\/\w*?>/))return Ce.md_inside=!1,"tag";if(Tt==="*"||Tt==="_"){for(var Fe=1,ce=it.pos==1?" ":it.string.charAt(it.pos-2);Fe<3&&it.eat(Tt);)Fe++;var ue=it.peek()||" ",pe=!/\s/.test(ue)&&(!Me.test(ue)||/\s/.test(ce)||Me.test(ce)),de=!/\s/.test(ce)&&(!Me.test(ce)||/\s/.test(ue)||Me.test(ue)),le=null,De=null;if(Fe%2&&(!Ce.em&&pe&&(Tt==="*"||!de||Me.test(ce))?le=!0:Ce.em==Tt&&de&&(Tt==="*"||!pe||Me.test(ue))&&(le=!1)),Fe>1&&(!Ce.strong&&pe&&(Tt==="*"||!de||Me.test(ce))?De=!0:Ce.strong==Tt&&de&&(Tt==="*"||!pe||Me.test(ue))&&(De=!1)),De!=null||le!=null){Re.highlightFormatting&&(Ce.formatting=le==null?"strong":De==null?"em":"strong em"),le===!0&&(Ce.em=Tt),De===!0&&(Ce.strong=Tt);var Xt=Ge(Ce);return le===!1&&(Ce.em=!1),De===!1&&(Ce.strong=!1),Xt}}else if(Tt===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return Ge(Ce);it.backUp(1)}if(Re.strikethrough){if(Tt==="~"&&it.eatWhile(Tt)){if(Ce.strikethrough){Re.highlightFormatting&&(Ce.formatting="strikethrough");var Xt=Ge(Ce);return Ce.strikethrough=!1,Xt}else if(it.match(/^[^\s]/,!1))return Ce.strikethrough=!0,Re.highlightFormatting&&(Ce.formatting="strikethrough"),Ge(Ce)}else if(Tt===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return Ge(Ce);it.backUp(2)}}if(Re.emoji&&Tt===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ce.emoji=!0,Re.highlightFormatting&&(Ce.formatting="emoji");var Ke=Ge(Ce);return Ce.emoji=!1,Ke}return Tt===" "&&(it.match(/^ +$/,!1)?Ce.trailingSpace++:Ce.trailingSpace&&(Ce.trailingSpaceNewLine=!0)),Ge(Ce)}function We(it,Ce){var wt=it.next();if(wt===">"){Ce.f=Ce.inline=Ye,Re.highlightFormatting&&(Ce.formatting="link");var An=Ge(Ce);return An?An+=" ":An="",An+ke.linkInline}return it.match(/^[^>]+/,!0),ke.linkInline}function St(it,Ce){if(it.eatSpace())return null;var wt=it.next();return wt==="("||wt==="["?(Ce.f=Ce.inline=zt(wt==="("?")":"]"),Re.highlightFormatting&&(Ce.formatting="link-string"),Ce.linkHref=!0,Ge(Ce)):"error"}var lt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function zt(it){return function(Ce,wt){var An=Ce.next();if(An===it){wt.f=wt.inline=Ye,Re.highlightFormatting&&(wt.formatting="link-string");var Tt=Ge(wt);return wt.linkHref=!1,Tt}return Ce.match(lt[it]),wt.linkHref=!0,Ge(wt)}}function Dt(it,Ce){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ce.f=pn,it.next(),Re.highlightFormatting&&(Ce.formatting="link"),Ce.linkText=!0,Ge(Ce)):Ut(it,Ce,Ye)}function pn(it,Ce){if(it.match(/^\]:/,!0)){Ce.f=Ce.inline=Kn,Re.highlightFormatting&&(Ce.formatting="link");var wt=Ge(Ce);return Ce.linkText=!1,wt}return it.match(/^([^\]\\]|\\.)+/,!0),ke.linkText}function Kn(it,Ce){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?Ce.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ce.f=Ce.inline=Ye,ke.linkHref+" url")}var tr={startState:function(){return{f:he,prevLine:{stream:null},thisLine:{stream:null},block:he,htmlState:null,indentation:0,inline:Ye,text:qe,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&ae.copyState(Ze,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?ae.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,Ce){if(Ce.formatting=!1,it!=Ce.thisLine.stream){if(Ce.header=0,Ce.hr=!1,it.match(/^\s*$/,!0))return we(Ce),null;if(Ce.prevLine=Ce.thisLine,Ce.thisLine={stream:it},Ce.taskList=!1,Ce.trailingSpace=0,Ce.trailingSpaceNewLine=!1,!Ce.localState&&(Ce.f=Ce.block,Ce.f!=je)){var wt=it.match(/^\s*/,!0)[0].replace(/\t/g,ut).length;if(Ce.indentation=wt,Ce.indentationDiff=null,wt>0)return null}}return Ce.f(it,Ce)},innerMode:function(it){return it.block==je?{state:it.htmlState,mode:Ze}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:tr}},indent:function(it,Ce,wt){return it.block==je&&Ze.indent?Ze.indent(it.htmlState,Ce,wt):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,Ce,wt):ae.Pass},blankLine:we,getType:Ge,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return tr},"xml"),ae.defineMIME("text/markdown","markdown"),ae.defineMIME("text/x-markdown","markdown")})},52539:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){"use strict";ae.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Oe=0;Oe<ae.modeInfo.length;Oe++){var Re=ae.modeInfo[Oe];Re.mimes&&(Re.mime=Re.mimes[0])}ae.findModeByMIME=function(Ze){Ze=Ze.toLowerCase();for(var ve=0;ve<ae.modeInfo.length;ve++){var Ee=ae.modeInfo[ve];if(Ee.mime==Ze)return Ee;if(Ee.mimes){for(var ke=0;ke<Ee.mimes.length;ke++)if(Ee.mimes[ke]==Ze)return Ee}}if(/\+xml$/.test(Ze))return ae.findModeByMIME("application/xml");if(/\+json$/.test(Ze))return ae.findModeByMIME("application/json")},ae.findModeByExtension=function(Ze){Ze=Ze.toLowerCase();for(var ve=0;ve<ae.modeInfo.length;ve++){var Ee=ae.modeInfo[ve];if(Ee.ext){for(var ke=0;ke<Ee.ext.length;ke++)if(Ee.ext[ke]==Ze)return Ee}}},ae.findModeByFileName=function(Ze){for(var ve=0;ve<ae.modeInfo.length;ve++){var Ee=ae.modeInfo[ve];if(Ee.file&&Ee.file.test(Ze))return Ee}var ke=Ze.lastIndexOf("."),ye=ke>-1&&Ze.substring(ke+1,Ze.length);if(ye)return ae.findModeByExtension(ye)},ae.findModeByName=function(Ze){Ze=Ze.toLowerCase();for(var ve=0;ve<ae.modeInfo.length;ve++){var Ee=ae.modeInfo[ve];if(Ee.name.toLowerCase()==Ze)return Ee;if(Ee.alias){for(var ke=0;ke<Ee.alias.length;ke++)if(Ee.alias[ke].toLowerCase()==Ze)return Ee}}}})},80785:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){"use strict";ae.defineMode("stex",function(Oe,Re){"use strict";function Ze(ot,dt){ot.cmdState.push(dt)}function ve(ot){return ot.cmdState.length>0?ot.cmdState[ot.cmdState.length-1]:null}function Ee(ot){var dt=ot.cmdState.pop();dt&&dt.closeBracket()}function ke(ot){for(var dt=ot.cmdState,nt=dt.length-1;nt>=0;nt--){var Me=dt[nt];if(Me.name!="DEFAULT")return Me}return{styleIdentifier:function(){return null}}}function ye(ot,dt,nt){return function(){this.name=ot,this.bracketNo=0,this.style=dt,this.styles=nt,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var me={};me.importmodule=ye("importmodule","tag",["string","builtin"]),me.documentclass=ye("documentclass","tag",["","atom"]),me.usepackage=ye("usepackage","tag",["atom"]),me.begin=ye("begin","tag",["atom"]),me.end=ye("end","tag",["atom"]),me.label=ye("label","tag",["atom"]),me.ref=ye("ref","tag",["atom"]),me.eqref=ye("eqref","tag",["atom"]),me.cite=ye("cite","tag",["atom"]),me.bibitem=ye("bibitem","tag",["atom"]),me.Bibitem=ye("Bibitem","tag",["atom"]),me.RBibitem=ye("RBibitem","tag",["atom"]),me.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Le(ot,dt){ot.f=dt}function mt(ot,dt){var nt;if(ot.match(/^\\[a-zA-Z@]+/)){var Me=ot.current().slice(1);return nt=me.hasOwnProperty(Me)?me[Me]:me.DEFAULT,nt=new nt,Ze(dt,nt),Le(dt,Xe),nt.style}if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/\\]/))return"tag";if(ot.match("\\["))return Le(dt,function(Ut,at){return Ie(Ut,at,"\\]")}),"keyword";if(ot.match("\\("))return Le(dt,function(Ut,at){return Ie(Ut,at,"\\)")}),"keyword";if(ot.match("$$"))return Le(dt,function(Ut,at){return Ie(Ut,at,"$$")}),"keyword";if(ot.match("$"))return Le(dt,function(Ut,at){return Ie(Ut,at,"$")}),"keyword";var ut=ot.next();if(ut=="%")return ot.skipToEnd(),"comment";if(ut=="}"||ut=="]"){if(nt=ve(dt),nt)nt.closeBracket(ut),Le(dt,Xe);else return"error";return"bracket"}else return ut=="{"||ut=="["?(nt=me.DEFAULT,nt=new nt,Ze(dt,nt),"bracket"):/\d/.test(ut)?(ot.eatWhile(/[\w.%]/),"atom"):(ot.eatWhile(/[\w\-_]/),nt=ke(dt),nt.name=="begin"&&(nt.argument=ot.current()),nt.styleIdentifier())}function Ie(ot,dt,nt){if(ot.eatSpace())return null;if(nt&&ot.match(nt))return Le(dt,mt),"keyword";if(ot.match(/^\\[a-zA-Z@]+/))return"tag";if(ot.match(/^[a-zA-Z]+/))return"variable-2";if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/]/)||ot.match(/^[\^_&]/))return"tag";if(ot.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ot.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Me=ot.next();return Me=="{"||Me=="}"||Me=="["||Me=="]"||Me=="("||Me==")"?"bracket":Me=="%"?(ot.skipToEnd(),"comment"):"error"}function Xe(ot,dt){var nt=ot.peek(),Me;return nt=="{"||nt=="["?(Me=ve(dt),Me.openBracket(nt),ot.eat(nt),Le(dt,mt),"bracket"):/[ \t\r]/.test(nt)?(ot.eat(nt),null):(Le(dt,mt),Ee(dt),mt(ot,dt))}return{startState:function(){var ot=Re.inMathMode?function(dt,nt){return Ie(dt,nt)}:mt;return{cmdState:[],f:ot}},copyState:function(ot){return{cmdState:ot.cmdState.slice(),f:ot.f}},token:function(ot,dt){return dt.f(ot,dt)},blankLine:function(ot){ot.f=mt,ot.cmdState.length=0},lineComment:"%"}}),ae.defineMIME("text/x-stex","stex"),ae.defineMIME("text/x-latex","stex")})},29589:function(mn,en,ie){(function(ae){ae(ie(4631))})(function(ae){"use strict";var Oe={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Re={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ae.defineMode("xml",function(Ze,ve){var Ee=Ze.indentUnit,ke={},ye=ve.htmlMode?Oe:Re;for(var me in ye)ke[me]=ye[me];for(var me in ve)ke[me]=ve[me];var Le,mt;function Ie(We,St){function lt(pn){return St.tokenize=pn,pn(We,St)}var zt=We.next();if(zt=="<")return We.eat("!")?We.eat("[")?We.match("CDATA[")?lt(dt("atom","]]>")):null:We.match("--")?lt(dt("comment","-->")):We.match("DOCTYPE",!0,!0)?(We.eatWhile(/[\w\._\-]/),lt(nt(1))):null:We.eat("?")?(We.eatWhile(/[\w\._\-]/),St.tokenize=dt("meta","?>"),"meta"):(Le=We.eat("/")?"closeTag":"openTag",St.tokenize=Xe,"tag bracket");if(zt=="&"){var Dt;return We.eat("#")?We.eat("x")?Dt=We.eatWhile(/[a-fA-F\d]/)&&We.eat(";"):Dt=We.eatWhile(/[\d]/)&&We.eat(";"):Dt=We.eatWhile(/[\w\.\-:]/)&&We.eat(";"),Dt?"atom":"error"}else return We.eatWhile(/[^&<]/),null}Ie.isInText=!0;function Xe(We,St){var lt=We.next();if(lt==">"||lt=="/"&&We.eat(">"))return St.tokenize=Ie,Le=lt==">"?"endTag":"selfcloseTag","tag bracket";if(lt=="=")return Le="equals",null;if(lt=="<"){St.tokenize=Ie,St.state=at,St.tagName=St.tagStart=null;var zt=St.tokenize(We,St);return zt?zt+" tag error":"tag error"}else return/[\'\"]/.test(lt)?(St.tokenize=ot(lt),St.stringStartCol=We.column(),St.tokenize(We,St)):(We.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ot(We){var St=function(lt,zt){for(;!lt.eol();)if(lt.next()==We){zt.tokenize=Xe;break}return"string"};return St.isInAttribute=!0,St}function dt(We,St){return function(lt,zt){for(;!lt.eol();){if(lt.match(St)){zt.tokenize=Ie;break}lt.next()}return We}}function nt(We){return function(St,lt){for(var zt;(zt=St.next())!=null;){if(zt=="<")return lt.tokenize=nt(We+1),lt.tokenize(St,lt);if(zt==">")if(We==1){lt.tokenize=Ie;break}else return lt.tokenize=nt(We-1),lt.tokenize(St,lt)}return"meta"}}function Me(We,St,lt){this.prev=We.context,this.tagName=St,this.indent=We.indented,this.startOfLine=lt,(ke.doNotIndent.hasOwnProperty(St)||We.context&&We.context.noIndent)&&(this.noIndent=!0)}function ut(We){We.context&&(We.context=We.context.prev)}function Ut(We,St){for(var lt;;){if(!We.context||(lt=We.context.tagName,!ke.contextGrabbers.hasOwnProperty(lt)||!ke.contextGrabbers[lt].hasOwnProperty(St)))return;ut(We)}}function at(We,St,lt){return We=="openTag"?(lt.tagStart=St.column(),ht):We=="closeTag"?we:at}function ht(We,St,lt){return We=="word"?(lt.tagName=St.current(),mt="tag",Ve):ke.allowMissingTagName&&We=="endTag"?(mt="tag bracket",Ve(We,St,lt)):(mt="error",ht)}function we(We,St,lt){if(We=="word"){var zt=St.current();return lt.context&<.context.tagName!=zt&&ke.implicitlyClosed.hasOwnProperty(lt.context.tagName)&&ut(lt),lt.context&<.context.tagName==zt||ke.matchClosing===!1?(mt="tag",he):(mt="tag error",je)}else return ke.allowMissingTagName&&We=="endTag"?(mt="tag bracket",he(We,St,lt)):(mt="error",je)}function he(We,St,lt){return We!="endTag"?(mt="error",he):(ut(lt),at)}function je(We,St,lt){return mt="error",he(We,St,lt)}function Ve(We,St,lt){if(We=="word")return mt="attribute",Ge;if(We=="endTag"||We=="selfcloseTag"){var zt=lt.tagName,Dt=lt.tagStart;return lt.tagName=lt.tagStart=null,We=="selfcloseTag"||ke.autoSelfClosers.hasOwnProperty(zt)?Ut(lt,zt):(Ut(lt,zt),lt.context=new Me(lt,zt,Dt==lt.indented)),at}return mt="error",Ve}function Ge(We,St,lt){return We=="equals"?qe:(ke.allowMissing||(mt="error"),Ve(We,St,lt))}function qe(We,St,lt){return We=="string"?Ye:We=="word"&&ke.allowUnquoted?(mt="string",Ve):(mt="error",Ve(We,St,lt))}function Ye(We,St,lt){return We=="string"?Ye:Ve(We,St,lt)}return{startState:function(We){var St={tokenize:Ie,state:at,indented:We||0,tagName:null,tagStart:null,context:null};return We!=null&&(St.baseIndent=We),St},token:function(We,St){if(!St.tagName&&We.sol()&&(St.indented=We.indentation()),We.eatSpace())return null;Le=null;var lt=St.tokenize(We,St);return(lt||Le)&<!="comment"&&(mt=null,St.state=St.state(Le||lt,We,St),mt&&(lt=mt=="error"?lt+" error":mt)),lt},indent:function(We,St,lt){var zt=We.context;if(We.tokenize.isInAttribute)return We.tagStart==We.indented?We.stringStartCol+1:We.indented+Ee;if(zt&&zt.noIndent)return ae.Pass;if(We.tokenize!=Xe&&We.tokenize!=Ie)return lt?lt.match(/^(\s*)/)[0].length:0;if(We.tagName)return ke.multilineTagIndentPastTag!==!1?We.tagStart+We.tagName.length+2:We.tagStart+Ee*(ke.multilineTagIndentFactor||1);if(ke.alignCDATA&&/<!\[CDATA\[/.test(St))return 0;var Dt=St&&/^<(\/)?([\w_:\.-]*)/.exec(St);if(Dt&&Dt[1])for(;zt;)if(zt.tagName==Dt[2]){zt=zt.prev;break}else if(ke.implicitlyClosed.hasOwnProperty(zt.tagName))zt=zt.prev;else break;else if(Dt)for(;zt;){var pn=ke.contextGrabbers[zt.tagName];if(pn&&pn.hasOwnProperty(Dt[2]))zt=zt.prev;else break}for(;zt&&zt.prev&&!zt.startOfLine;)zt=zt.prev;return zt?zt.indent+Ee:We.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ke.htmlMode?"html":"xml",helperType:ke.htmlMode?"html":"xml",skipAttribute:function(We){We.state==qe&&(We.state=Ve)},xmlCurrentTag:function(We){return We.tagName?{name:We.tagName,close:We.type=="closeTag"}:null},xmlCurrentContext:function(We){for(var St=[],lt=We.context;lt;lt=lt.prev)lt.tagName&&St.push(lt.tagName);return St.reverse()}}}),ae.defineMIME("text/xml","xml"),ae.defineMIME("application/xml","xml"),ae.mimeModes.hasOwnProperty("text/html")||ae.defineMIME("text/html",{name:"xml",htmlMode:!0})})},15979:function(mn,en,ie){"use strict";ie.d(en,{hP:function(){return yn}});var ae=function(Fe,ce){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,pe){ue.__proto__=pe}||function(ue,pe){for(var de in pe)Object.prototype.hasOwnProperty.call(pe,de)&&(ue[de]=pe[de])})(Fe,ce)};function Oe(Fe,ce){function ue(){this.constructor=Fe}ae(Fe,ce),Fe.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)}function Re(Fe,ce,ue,pe){return new(ue||(ue=Promise))(function(de,le){function De(Yt){try{Et(pe.next(Yt))}catch(Kt){le(Kt)}}function Ke(Yt){try{Et(pe.throw(Yt))}catch(Kt){le(Kt)}}function Et(Yt){var Kt;Yt.done?de(Yt.value):(Kt=Yt.value,Kt instanceof ue?Kt:new ue(function(nn){nn(Kt)})).then(De,Ke)}Et((pe=pe.apply(Fe,ce||[])).next())})}function Ze(Fe,ce){var ue,pe,de,le,De={label:0,sent:function(){if(1&de[0])throw de[1];return de[1]},trys:[],ops:[]};return le={next:Ke(0),throw:Ke(1),return:Ke(2)},typeof Symbol=="function"&&(le[Symbol.iterator]=function(){return this}),le;function Ke(Et){return function(Yt){return function(Kt){if(ue)throw new TypeError("Generator is already executing.");for(;De;)try{if(ue=1,pe&&(de=2&Kt[0]?pe.return:Kt[0]?pe.throw||((de=pe.return)&&de.call(pe),0):pe.next)&&!(de=de.call(pe,Kt[1])).done)return de;switch(pe=0,de&&(Kt=[2&Kt[0],de.value]),Kt[0]){case 0:case 1:de=Kt;break;case 4:return De.label++,{value:Kt[1],done:!1};case 5:De.label++,pe=Kt[1],Kt=[0];continue;case 7:Kt=De.ops.pop(),De.trys.pop();continue;default:if(de=De.trys,!((de=de.length>0&&de[de.length-1])||Kt[0]!==6&&Kt[0]!==2)){De=0;continue}if(Kt[0]===3&&(!de||Kt[1]>de[0]&&Kt[1]<de[3])){De.label=Kt[1];break}if(Kt[0]===6&&De.label<de[1]){De.label=de[1],de=Kt;break}if(de&&De.label<de[2]){De.label=de[2],De.ops.push(Kt);break}de[2]&&De.ops.pop(),De.trys.pop();continue}Kt=ce.call(Fe,De)}catch(nn){Kt=[6,nn],pe=0}finally{ue=de=0}if(5&Kt[0])throw Kt[1];return{value:Kt[0]?Kt[1]:void 0,done:!0}}([Et,Yt])}}}function ve(){for(var Fe=0,ce=0,ue=arguments.length;ce<ue;ce++)Fe+=arguments[ce].length;var pe=Array(Fe),de=0;for(ce=0;ce<ue;ce++)for(var le=arguments[ce],De=0,Ke=le.length;De<Ke;De++,de++)pe[de]=le[De];return pe}var Ee=function(){function Fe(){}return Fe.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Fe.setAttributes=function(ce,ue){for(var pe=0,de=ue;pe<de.length;pe++){var le=de[pe],De=le[0],Ke=le[1];ce.setAttribute(De,Ke)}},Fe.createRect=function(ce,ue,pe){var de=document.createElementNS("http://www.w3.org/2000/svg","rect");return de.setAttribute("width",ce.toString()),de.setAttribute("height",ue.toString()),pe&&Fe.setAttributes(de,pe),de},Fe.createLine=function(ce,ue,pe,de,le){var De=document.createElementNS("http://www.w3.org/2000/svg","line");return De.setAttribute("x1",ce.toString()),De.setAttribute("y1",ue.toString()),De.setAttribute("x2",pe.toString()),De.setAttribute("y2",de.toString()),le&&Fe.setAttributes(De,le),De},Fe.createPolygon=function(ce,ue){var pe=document.createElementNS("http://www.w3.org/2000/svg","polygon");return pe.setAttribute("points",ce),ue&&Fe.setAttributes(pe,ue),pe},Fe.createCircle=function(ce,ue){var pe=document.createElementNS("http://www.w3.org/2000/svg","circle");return pe.setAttribute("cx",(ce/2).toString()),pe.setAttribute("cy",(ce/2).toString()),pe.setAttribute("r",ce.toString()),ue&&Fe.setAttributes(pe,ue),pe},Fe.createEllipse=function(ce,ue,pe){var de=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return de.setAttribute("cx",(ce/2).toString()),de.setAttribute("cy",(ue/2).toString()),de.setAttribute("rx",(ce/2).toString()),de.setAttribute("ry",(ue/2).toString()),pe&&Fe.setAttributes(de,pe),de},Fe.createGroup=function(ce){var ue=document.createElementNS("http://www.w3.org/2000/svg","g");return ce&&Fe.setAttributes(ue,ce),ue},Fe.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Fe.createMarker=function(ce,ue,pe,de,le,De,Ke){var Et=document.createElementNS("http://www.w3.org/2000/svg","marker");return Fe.setAttributes(Et,[["id",ce],["orient",ue],["markerWidth",pe.toString()],["markerHeight",de.toString()],["refX",le.toString()],["refY",De.toString()]]),Et.appendChild(Ke),Et},Fe.createText=function(ce){var ue=document.createElementNS("http://www.w3.org/2000/svg","text");return ue.setAttribute("x","0"),ue.setAttribute("y","0"),ce&&Fe.setAttributes(ue,ce),ue},Fe.createTSpan=function(ce,ue){var pe=document.createElementNS("http://www.w3.org/2000/svg","tspan");return pe.textContent=ce,ue&&Fe.setAttributes(pe,ue),pe},Fe.createImage=function(ce){var ue=document.createElementNS("http://www.w3.org/2000/svg","image");return ce&&Fe.setAttributes(ue,ce),ue},Fe.createPoint=function(ce,ue){var pe=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return pe.x=ce,pe.y=ue,pe},Fe.createPath=function(ce,ue){var pe=document.createElementNS("http://www.w3.org/2000/svg","path");return pe.setAttribute("d",ce),ue&&Fe.setAttributes(pe,ue),pe},Fe}(),ke=function(){function Fe(){}return Fe.addKey=function(ce){Fe.key=ce},Object.defineProperty(Fe,"isLicensed",{get:function(){return!!Fe.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Fe.key)},enumerable:!1,configurable:!0}),Fe}(),ye=function(){function Fe(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Fe.prototype.rasterize=function(ce,ue,pe){var de=this;return new Promise(function(le){var De=pe!==void 0?pe:document.createElement("canvas");ce===null&&(de.markersOnly=!0,de.naturalSize=!1);var Ke=document.createElementNS("http://www.w3.org/2000/svg","svg");Ke.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ke.setAttribute("width",ue.width.baseVal.valueAsString),Ke.setAttribute("height",ue.height.baseVal.valueAsString),Ke.setAttribute("viewBox","0 0 "+ue.viewBox.baseVal.width.toString()+" "+ue.viewBox.baseVal.height.toString()),Ke.innerHTML=ue.innerHTML,de.naturalSize===!0?(Ke.width.baseVal.value=ce.naturalWidth,Ke.height.baseVal.value=ce.naturalHeight):de.width!==void 0&&de.height!==void 0&&(Ke.width.baseVal.value=de.width,Ke.height.baseVal.value=de.height),De.width=Ke.width.baseVal.value,De.height=Ke.height.baseVal.value;var Et=Ke.outerHTML,Yt=De.getContext("2d");de.markersOnly!==!0&&Yt.drawImage(ce,0,0,De.width,De.height);var Kt=window.URL,nn=new Image(De.width,De.height);nn.setAttribute("crossOrigin","anonymous");var $t=new Blob([Et],{type:"image/svg+xml"}),gr=Kt.createObjectURL($t);nn.onload=function(){Yt.drawImage(nn,0,0),Kt.revokeObjectURL(gr);var kr=De.toDataURL(de.imageType,de.imageQuality);le(kr)},nn.src=gr})},Fe}(),me=function(){},Le=function(){function Fe(ce){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ce+"_"}return Object.defineProperty(Fe.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Fe.prototype.addClass=function(ce){return this.styleSheet===void 0&&this.addStyleSheet(),ce.name=""+this.classNamePrefix+ce.localName,this.classes.push(ce),this.styleSheet.sheet.insertRule("."+ce.name+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length),ce},Fe.prototype.addRule=function(ce){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ce),this.styleSheet.sheet.insertRule(ce.selector+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length)},Fe.prototype.addStyleSheet=function(){var ce;this.styleSheet=document.createElement("style"),((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).appendChild(this.styleSheet),this.addRule(new mt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new mt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new mt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Ie("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Ie("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},Fe.prototype.removeStyleSheet=function(){var ce;this.styleSheet&&(((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Fe}(),mt=function(Fe,ce){this.selector=Fe,this.style=ce},Ie=function(Fe,ce){this.localName=Fe,this.style=ce},Xe=function(){function Fe(ce,ue,pe,de,le){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ce,this.displayMode=ue,this.markerItems=pe,this.uiStyleSettings=de,this.styles=le,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Fe.prototype.show=function(ce){var ue=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var pe=document.createElement("div");pe.className=this.toolbarBlockStyleClass.name,pe.style.whiteSpace="nowrap",this.uiContainer.appendChild(pe),this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(pe,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(le){var De=document.createElement("div");De.className=""+ue.toolbarButtonStyleClass.name,De.setAttribute("data-type-name",le.typeName),De.innerHTML=le.icon,De.addEventListener("click",function(){ue.markerToolbarButtonClicked(De,le)}),ue.buttons.push(De),ue.markerButtons.push(De)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var de=document.createElement("div");de.className=this.toolbarBlockStyleClass.name,de.style.whiteSpace="nowrap",de.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(de),this.addActionButton(de,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(de,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Fe.prototype.addButtonClickListener=function(ce){this.buttonClickListeners.push(ce)},Fe.prototype.removeButtonClickListener=function(ce){this.buttonClickListeners.indexOf(ce)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ce),1)},Fe.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Fe.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ce=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ue=0;ue<this.markerButtons.length;ue++)ue<ce||ue===ce&&this.markerButtons.length-1===ce?this.markerButtonBlock.appendChild(this.markerButtons[ue]):(ue===ce&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ue]))}},Fe.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},Fe.prototype.resetButtonStyles=function(){var ce=this;this.buttons.forEach(function(ue){ue.className=ue.className.replace(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name,"").trim(),ue.className=ue.className.replace(ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ce.toolbarActiveButtonStyleColorsClass.name,"").trim(),ue.className+=" "+(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name)})},Fe.prototype.addActionButton=function(ce,ue,pe){var de=this,le=document.createElement("div");switch(le.className=""+this.toolbarButtonStyleClass.name,le.innerHTML=ue,le.setAttribute("data-action",pe),le.addEventListener("click",function(){de.actionToolbarButtonClicked(le,pe)}),pe){case"select":le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":le.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":le.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":le.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":le.style.fill=this.uiStyleSettings.closeButtonColor}ce.appendChild(le),this.buttons.push(le)},Fe.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Ie("toolbar",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new Ie("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Ie("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Ie("toolbar-overflow-block",`
|
|
|
position: absolute;
|
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
z-index: 10;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new Ie("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ce=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Ie("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
padding: `+ce+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Ie("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Ie("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new mt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new mt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},Fe.prototype.markerToolbarButtonClicked=function(ce,ue){this.setActiveButton(ce),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(pe){return pe("marker",ue)}),this.markerButtonOverflowBlock.style.display="none"},Fe.prototype.actionToolbarButtonClicked=function(ce,ue){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(pe){return pe("action",ue)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Fe.prototype.setActiveButton=function(ce){this.resetButtonStyles(),ce.className=ce.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ce.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Fe.prototype.setActiveMarkerButton=function(ce){var ue=this.markerButtons.find(function(pe){return pe.getAttribute("data-type-name")===ce});ue&&this.setActiveButton(ue)},Fe.prototype.setCurrentMarker=function(ce){var ue=this;this.currentMarker=ce,this.buttons.filter(function(pe){return/delete|notes/.test(pe.getAttribute("data-action"))}).forEach(function(pe){ue.currentMarker===void 0?(pe.style.fillOpacity="0.4",pe.style.pointerEvents="none"):(pe.style.fillOpacity="1",pe.style.pointerEvents="all")})},Fe}(),ot=function(){function Fe(ce,ue,pe,de){this.panels=[],this.panelButtons=[],this.markerjsContainer=ce,this.displayMode=ue,this.uiStyleSettings=pe,this.styles=de,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Fe.prototype.addStyles=function(){var ce;this.toolboxStyleClass=this.styles.addClass(new Ie("toolbox",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
font-family: sans-serif;
|
|
|
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolboxStyleColorsClass=this.styles.addClass(new Ie("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var ue=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ie("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ie("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ie("toolbox-panel-row",`
|
|
|
display: flex;
|
|
|
`+(this.displayMode==="inline"?"position: absolute;":"")+`
|
|
|
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
cursor: default;
|
|
|
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
`+(this.displayMode==="inline"?"width: 100%;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Ie("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ce=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ce!==void 0?ce:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Ie("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ue)+`px;
|
|
|
padding: `+ue+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Ie("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ie("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new mt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new mt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},Fe.prototype.show=function(ce){var ue;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Fe.prototype.setPanelButtons=function(ce){var ue,pe,de=this;this.panels=ce,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((pe=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&pe!==void 0?pe:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(le){var De;le.uiStyleSettings=de.uiStyleSettings;var Ke=document.createElement("div");Ke.className=de.toolboxButtonStyleClass.name+" "+((De=de.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&De!==void 0?De:de.toolboxButtonStyleColorsClass.name),Ke.innerHTML=le.icon,Ke.title=le.title,Ke.addEventListener("click",function(){de.panelButtonClick(le)}),de.panelButtons.push(Ke),de.buttonRow.appendChild(Ke)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Fe.prototype.panelButtonClick=function(ce){var ue=this,pe=-1;if(ce!==this.activePanel){pe=this.panels.indexOf(ce),this.panelRow.innerHTML="";var de=ce.getUi();de.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(de),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ce}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ue.displayMode==="inline"?ue.panelRow.style.display="none":ue.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(le,De){var Ke,Et;le.className=ue.toolboxButtonStyleClass.name+" "+(De===pe?""+((Ke=ue.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ke!==void 0?Ke:ue.toolboxActiveButtonStyleColorsClass.name):""+((Et=ue.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Et!==void 0?Et:ue.toolboxButtonStyleColorsClass.name))})},Fe}(),dt=function(Fe,ce){this.title=Fe,this.icon=ce},nt=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return De.colors=[],De.addTransparent=!1,De.colorBoxes=[],De.colors=pe,De.currentColor=de,De.setCurrentColor=De.setCurrentColor.bind(De),De.getColorBox=De.getColorBox.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.overflow="hidden",pe.style.whiteSpace="nowrap",this.colors.forEach(function(de){var le=ue.getColorBox(de);pe.appendChild(le),ue.colorBoxes.push(le)}),pe},ce.prototype.getColorBox=function(ue){var pe=this,de=this.uiStyleSettings.toolbarHeight/4,le=this.uiStyleSettings.toolbarHeight-de,De=document.createElement("div");De.style.display="inline-block",De.style.boxSizing="content-box",De.style.width=le-2+"px",De.style.height=le-2+"px",De.style.padding="1px",De.style.marginRight="2px",De.style.marginBottom="2px",De.style.borderWidth="2px",De.style.borderStyle="solid",De.style.borderRadius=(le+2)/2+"px",De.style.borderColor=ue===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",De.addEventListener("click",function(){pe.setCurrentColor(ue,De)});var Ke=document.createElement("div");return Ke.style.display="inline-block",Ke.style.width=le-2+"px",Ke.style.height=le-2+"px",Ke.style.backgroundColor=ue,Ke.style.borderRadius=le/2+"px",ue==="transparent"&&(Ke.style.fill=this.uiStyleSettings.toolboxAccentColor,Ke.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),De.appendChild(Ke),De},ce.prototype.setCurrentColor=function(ue,pe){var de=this;this.currentColor=ue,this.colorBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ue)},ce}(dt),Me=function(){function Fe(ce,ue,pe){this._state="new",this._isSelected=!1,this._container=ce,this._overlayContainer=ue,this.globalSettings=pe,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Fe.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Fe.prototype.ownsTarget=function(ce){return!1},Object.defineProperty(Fe.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Fe.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Fe.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Fe.prototype.pointerDown=function(ce,ue){},Fe.prototype.dblClick=function(ce,ue){},Fe.prototype.manipulate=function(ce){},Fe.prototype.pointerUp=function(ce){this.stateChanged()},Fe.prototype.dispose=function(){},Fe.prototype.addMarkerVisualToContainer=function(ce){this.container.childNodes.length>0?this.container.insertBefore(ce,this.container.childNodes[0]):this.container.appendChild(ce)},Fe.prototype.getState=function(){return{typeName:Fe.typeName,state:this.state,notes:this.notes}},Fe.prototype.restoreState=function(ce){this._state=ce.state,this.notes=ce.notes},Fe.prototype.scale=function(ce,ue){},Fe.prototype.colorChanged=function(ce){this.onColorChanged&&this.onColorChanged(ce),this.stateChanged()},Fe.prototype.fillColorChanged=function(ce){this.onFillColorChanged&&this.onFillColorChanged(ce),this.stateChanged()},Fe.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ce)&&this.onStateChanged(this)}},Fe.typeName="MarkerBase",Fe}(),ut=function(){function Fe(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Fe.prototype.findGripByVisual=function(ce){return this.topLeft.ownsTarget(ce)?this.topLeft:this.topCenter.ownsTarget(ce)?this.topCenter:this.topRight.ownsTarget(ce)?this.topRight:this.centerLeft.ownsTarget(ce)?this.centerLeft:this.centerRight.ownsTarget(ce)?this.centerRight:this.bottomLeft.ownsTarget(ce)?this.bottomLeft:this.bottomCenter.ownsTarget(ce)?this.bottomCenter:this.bottomRight.ownsTarget(ce)?this.bottomRight:void 0},Fe}(),Ut=function(){function Fe(){this.GRIP_SIZE=10,this.visual=Ee.createGroup(),this.visual.appendChild(Ee.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Ee.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Fe.prototype.ownsTarget=function(ce){return ce===this.visual||ce===this.visual.childNodes[0]||ce===this.visual.childNodes[1]},Fe}(),at=function(){function Fe(){}return Fe.toITransformMatrix=function(ce){return{a:ce.a,b:ce.b,c:ce.c,d:ce.d,e:ce.e,f:ce.f}},Fe.toSVGMatrix=function(ce,ue){return ce.a=ue.a,ce.b=ue.b,ce.c=ue.c,ce.d=ue.d,ce.e=ue.e,ce.f=ue.f,ce},Fe}(),ht=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.left=0,le.top=0,le.width=0,le.height=0,le.defaultSize={x:50,y:20},le.offsetX=0,le.offsetY=0,le.rotationAngle=0,le.CB_DISTANCE=10,le._suppressMarkerCreateEvent=!1,le.container.transform.baseVal.appendItem(Ee.createTransform()),le.setupControlBox(),le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"visual",{get:function(){return this._visual},set:function(ue){this._visual=ue;var pe=Ee.createTransform();this._visual.transform.baseVal.appendItem(pe)},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ue){return!!Fe.prototype.ownsTarget.call(this,ue)||!!(this.controlGrips.findGripByVisual(ue)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ue))},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.left=ue.x,this.top=ue.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var de=this.unrotatePoint(ue);if(this.manipulationStartX=de.x,this.manipulationStartY=de.y,this.offsetX=de.x-this.left,this.offsetY=de.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(pe),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(pe)){this.activeGrip=this.rotatorGrip;var le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=le.x-this.width/2,this.top=le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var De=this.container.transform.baseVal.getItem(0);De.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(De,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ce.prototype.pointerUp=function(ue){var pe=this.state;Fe.prototype.pointerUp.call(this,ue),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ue),this._state="select",pe==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ce.prototype.moveVisual=function(ue){this.visual.style.transform="translate("+ue.x+"px, "+ue.y+"px)"},ce.prototype.manipulate=function(ue){var pe=this.unrotatePoint(ue);this.state==="creating"?this.resize(ue):this.state==="move"?(this.left=this.manipulationStartLeft+(pe.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(pe.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(pe):this.state==="rotate"&&this.rotate(ue)},ce.prototype.resize=function(ue){var pe=this.manipulationStartLeft,de=this.manipulationStartWidth,le=this.manipulationStartTop,De=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:pe=this.manipulationStartLeft+ue.x-this.manipulationStartX,de=this.manipulationStartWidth+this.manipulationStartLeft-pe;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:de=this.manipulationStartWidth+ue.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:le=this.manipulationStartTop+ue.y-this.manipulationStartY,De=this.manipulationStartHeight+this.manipulationStartTop-le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:De=this.manipulationStartHeight+ue.y-this.manipulationStartY}de>=0?(this.left=pe,this.width=de):(this.left=pe+de,this.width=-de),De>=0?(this.top=le,this.height=De):(this.top=le+De,this.height=-De),this.setSize()},ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ce.prototype.rotate=function(ue){if(Math.abs(ue.x-this.centerX)>.1){var pe=Math.sign(ue.x-this.centerX);this.rotationAngle=180*Math.atan((ue.y-this.centerY)/(ue.x-this.centerX))/Math.PI+90*pe,this.applyRotation()}},ce.prototype.applyRotation=function(){var ue=this.container.transform.baseVal.getItem(0);ue.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ue,0)},ce.prototype.rotatePoint=function(ue){if(this.rotationAngle===0)return ue;var pe=this.container.getCTM(),de=Ee.createPoint(ue.x,ue.y);return{x:(de=de.matrixTransform(pe)).x,y:de.y}},ce.prototype.unrotatePoint=function(ue){if(this.rotationAngle===0)return ue;var pe=this.container.getCTM();pe=pe.inverse();var de=Ee.createPoint(ue.x,ue.y);return{x:(de=de.matrixTransform(pe)).x,y:de.y}},ce.prototype.select=function(){Fe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){Fe.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup();var ue=Ee.createTransform();ue.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ue),this.container.appendChild(this.controlBox),this.controlRect=Ee.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=Ee.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ut,this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){var ue=this.controlBox.transform.baseVal.getItem(0);ue.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ue,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ce.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ce.prototype.createGrip=function(){var ue=new Ut;return ue.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ue.visual),ue},ce.prototype.positionGrips=function(){var ue=this.controlGrips.topLeft.GRIP_SIZE,pe=-ue/2,de=pe,le=(this.width+this.CB_DISTANCE)/2-ue/2,De=(this.height+this.CB_DISTANCE)/2-ue/2,Ke=this.height+this.CB_DISTANCE-ue/2,Et=this.width+this.CB_DISTANCE-ue/2;this.positionGrip(this.controlGrips.topLeft.visual,pe,de),this.positionGrip(this.controlGrips.topCenter.visual,le,de),this.positionGrip(this.controlGrips.topRight.visual,Et,de),this.positionGrip(this.controlGrips.centerLeft.visual,pe,De),this.positionGrip(this.controlGrips.centerRight.visual,Et,De),this.positionGrip(this.controlGrips.bottomLeft.visual,pe,Ke),this.positionGrip(this.controlGrips.bottomCenter.visual,le,Ke),this.positionGrip(this.controlGrips.bottomRight.visual,Et,Ke),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,le,de-3*this.CB_DISTANCE)},ce.prototype.positionGrip=function(ue,pe,de){var le=ue.transform.baseVal.getItem(0);le.setTranslate(pe,de),ue.transform.baseVal.replaceItem(le,0)},ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ce.prototype.showControlBox=function(){this.controlBox.style.display=""},ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:at.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:at.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Fe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.left=pe.left,this.top=pe.top,this.width=pe.width,this.height=pe.height,this.rotationAngle=pe.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(at.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,pe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(at.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,pe.containerTransformMatrix))},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe);var de=this.rotatePoint({x:this.left,y:this.top}),le=this.unrotatePoint({x:de.x*ue,y:de.y*pe});this.left=le.x,this.top=le.y,this.width=this.width*ue,this.height=this.height*pe,this.adjustControlBox()},ce}(Me),we=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},ce.prototype.createVisual=function(){this.visual=Ee.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(ue){Fe.prototype.pointerUp.call(this,ue),this.setSize()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Fe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){var pe=ue;this.fillColor=pe.fillColor,this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.opacity=pe.opacity,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize()},ce.title="Rectangle marker",ce}(ht),he=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return De.widths=[],De.widthBoxes=[],De.widths=pe,De.currentWidth=de,De.setCurrentWidth=De.setCurrentWidth.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2",this.widths.forEach(function(de){var le=document.createElement("div");le.style.display="flex",le.style.flexGrow="2",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=de===ue.currentWidth?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentWidth(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.innerText=de.toString(),De.style.marginRight="5px",le.appendChild(De);var Ke=document.createElement("div");Ke.style.minHeight="20px",Ke.style.flexGrow="2",Ke.style.display="flex",Ke.style.alignItems="center";var Et=document.createElement("hr");Et.style.minWidth="20px",Et.style.border="0px",Et.style.borderTop=de+"px solid "+ue.uiStyleSettings.toolboxColor,Et.style.flexGrow="2",Ke.appendChild(Et),le.appendChild(Ke),ue.widthBoxes.push(le)}),pe},ce.prototype.setCurrentWidth=function(ue,pe){var de=this;this.currentWidth=ue,this.widthBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ce}(dt),je=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return De.styles=[],De.styleBoxes=[],De.styles=pe,De.currentStyle=de,De.setCurrentStyle=De.setCurrentStyle.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2",this.styles.forEach(function(de){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ue.styles.length-5+"%",le.style.borderColor=de===ue.currentStyle?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentStyle(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.style.minHeight="20px",De.style.flexGrow="2",De.style.overflow="hidden";var Ke=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ue.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(de!==""?'stroke-dasharray="'+de+'"':"")+` />
|
|
|
</svg>`;De.innerHTML=Ke,le.appendChild(De),ue.styleBoxes.push(le)}),pe},ce.prototype.setCurrentStyle=function(ue,pe){var de=this;this.currentStyle=ue,this.styleBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ce}(dt),Ve=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.strokePanel=new nt("Line color",de.defaultColorSet,de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="FrameMarker",ce.title="Frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ce}(we),Ge=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},qe=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.x1=0,le.y1=0,le.x2=0,le.y2=0,le.defaultLength=50,le.manipulationStartX=0,le.manipulationStartY=0,le.manipulationStartX1=0,le.manipulationStartY1=0,le.manipulationStartX2=0,le.manipulationStartY2=0,le.setupControlBox(),le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!!Fe.prototype.ownsTarget.call(this,ue)||!(!this.grip1.ownsTarget(ue)&&!this.grip2.ownsTarget(ue))},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.manipulationStartX=ue.x,this.manipulationStartY=ue.y,this.state==="new"&&(this.x1=ue.x,this.y1=ue.y,this.x2=ue.x,this.y2=ue.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(pe)?this.activeGrip=this.grip1:this.grip2.ownsTarget(pe)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ce.prototype.pointerUp=function(ue){var pe=this.state;Fe.prototype.pointerUp.call(this,ue),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ue),this._state="select",pe==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ce.prototype.adjustVisual=function(){},ce.prototype.manipulate=function(ue){this.state==="creating"?this.resize(ue):this.state==="move"?(this.x1=this.manipulationStartX1+ue.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ue.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ue.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ue.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ue)},ce.prototype.resize=function(ue){switch(this.activeGrip){case this.grip1:this.x1=ue.x,this.y1=ue.y;break;case this.grip2:case void 0:this.x2=ue.x,this.y2=ue.y}this.adjustVisual(),this.adjustControlBox()},ce.prototype.select=function(){Fe.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){Fe.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){this.positionGrips()},ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ce.prototype.createGrip=function(){var ue=new Ut;return ue.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ue.visual),ue},ce.prototype.positionGrips=function(){var ue=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ue/2,this.y1-ue/2),this.positionGrip(this.grip2.visual,this.x2-ue/2,this.y2-ue/2)},ce.prototype.positionGrip=function(ue,pe,de){var le=ue.transform.baseVal.getItem(0);le.setTranslate(pe,de),ue.transform.baseVal.replaceItem(le,0)},ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Fe.prototype.getState.call(this))},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.x1=pe.x1,this.y1=pe.y1,this.x2=pe.x2,this.y2=pe.y2},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.x1=this.x1*ue,this.y1=this.y1*pe,this.x2=this.x2*ue,this.y2=this.y2*pe,this.adjustVisual(),this.adjustControlBox()},ce}(Me),Ye=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.strokePanel=new nt("Line color",de.defaultColorSet,de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorLine&&ue!==this.visibleLine)},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.selectorLine=Ee.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Ee.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ce.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),Ee.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Ee.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.createVisual(),this.adjustVisual()},ce.typeName="LineMarker",ce.title="Line marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ce}(qe),We=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return De.fonts=[],De.fontBoxes=[],De.fonts=pe,De.currentFont=de,De.setCurrentFont=De.setCurrentFont.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.overflow="hidden",pe.style.flexGrow="2",this.fonts.forEach(function(de){var le=document.createElement("div");le.style.display="inline-block",le.style.alignItems="center",le.style.justifyContent="space-between",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.overflow="hidden",le.style.maxWidth=100/ue.fonts.length-5+"%",le.style.borderColor=de===ue.currentFont?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentFont(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.style.display="flex",De.style.minHeight="20px",De.style.flexGrow="2",De.style.fontFamily=de,De.style.overflow="hidden";var Ke=document.createElement("div");Ke.style.whiteSpace="nowrap",Ke.style.overflow="hidden",Ke.style.textOverflow="ellipsis",Ke.innerHTML="The quick brown fox jumps over the lazy dog",De.appendChild(Ke),le.appendChild(De),ue.fontBoxes.push(le)}),pe},ce.prototype.setCurrentFont=function(ue,pe){var de=this;this.currentFont=ue,this.fontBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ce}(dt),St=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.color="transparent",le.padding=5,le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",le.text=le.DEFAULT_TEXT,le.isMoved=!1,le.color=de.defaultColor,le.fontFamily=de.defaultFontFamily,le.defaultSize={x:100,y:30},le.setColor=le.setColor.bind(le),le.setFont=le.setFont.bind(le),le.renderText=le.renderText.bind(le),le.sizeText=le.sizeText.bind(le),le.textEditDivClicked=le.textEditDivClicked.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.setSize=le.setSize.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.colorPanel=new nt("Color",de.defaultColorSet,de.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.fontFamilyPanel=new We("Font",de.defaultFontFamilies,de.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){if(Fe.prototype.ownsTarget.call(this,ue)||ue===this.visual||ue===this.textElement||ue===this.bgRectangle)return!0;var pe=!1;return this.textElement.childNodes.forEach(function(de){de===ue&&(pe=!0)}),pe},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.bgRectangle=Ee.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Ee.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Ee.createTransform()),this.textElement.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.renderText=function(){var ue=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(pe){ue.textElement.appendChild(Ee.createTSpan(pe.trim()===""?" ":pe.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ce.prototype.getTextScale=function(){var ue=this.textElement.getBBox(),pe=1;if(ue.width>0&&ue.height>0){var de=(1*this.width-this.width*this.padding*2/100)/ue.width,le=(1*this.height-this.height*this.padding*2/100)/ue.height;pe=Math.min(de,le)}return pe},ce.prototype.getTextPosition=function(ue){var pe=this.textElement.getBBox(),de=0,le=0;return pe.width>0&&pe.height>0&&(de=(this.width-pe.width*ue)/2,le=this.height/2-pe.height*ue/2),{x:de,y:le}},ce.prototype.sizeText=function(){var ue=this.textElement.getBBox(),pe=this.getTextScale(),de=this.getTextPosition(pe);de.y-=ue.y*pe,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+de.x+"px, "+de.y+"px) scale("+pe+", "+pe+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(de.x,de.y),this.textElement.transform.baseVal.getItem(1).setScale(pe,pe))},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ue.x-this.pointerDownPoint.x)>5||Math.abs(ue.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.isMoved=!0,this.setSize(),this.sizeText()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ce.prototype.pointerUp=function(ue){var pe=this.state;pe==="creating"&&(this._suppressMarkerCreateEvent=!0),Fe.prototype.pointerUp.call(this,ue),this.setSize(),(pe==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.showTextEditor=function(){var ue=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(pe){pe.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var pe=Number.parseFloat(ue.textEditor.style.fontSize);ue.textEditor.clientWidth>=Number.parseInt(ue.textEditor.style.maxWidth)&&pe>.9;)pe-=.1,ue.textEditor.style.fontSize=Math.max(pe,.9)+"em"}),this.textEditor.addEventListener("keyup",function(pe){pe.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(pe){if(pe.clipboardData){var de=pe.clipboardData.getData("text"),le=window.getSelection();if(!le.rangeCount)return!1;le.deleteFromDocument(),le.getRangeAt(0).insertNode(document.createTextNode(de)),pe.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ue.textEditDivClicked(ue.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ue=this.getTextScale(),pe=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),de=this.textElement.getBBox(),le={x:de.width*ue,y:de.height*ue};pe.x-=le.x/2,pe.y-=le.y/2,this.textEditor.style.top=pe.y+"px",this.textEditor.style.left=pe.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-pe.x+"px",this.textEditor.style.fontSize=Math.max(16*ue,12)+"px",this.textElement.style.display="none"}},ce.prototype.textEditDivClicked=function(ue){this.text=ue.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ce.prototype.select=function(){Fe.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Fe.prototype.deselect.call(this)},ce.prototype.dblClick=function(ue,pe){Fe.prototype.dblClick.call(this,ue,pe),this.showTextEditor()},ce.prototype.setColor=function(ue){this.textElement&&Ee.setAttributes(this.textElement,[["fill",ue]]),this.color=ue,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ue)},ce.prototype.setFont=function(ue){this.textElement&&Ee.setAttributes(this.textElement,[["font-family",ue]]),this.fontFamily=ue,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var pe=ue;this.color=pe.color,this.fontFamily=pe.fontFamily,this.padding=pe.padding,this.text=pe.text,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize(),this.sizeText(),this.positionTextEditor()},ce.typeName="TextMarker",ce.title="Text marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ce}(ht),lt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.color="transparent",le.lineWidth=3,le.drawing=!1,le.pixelRatio=1,le.color=de.defaultColor,le.lineWidth=de.defaultStrokeWidth,le.pixelRatio=de.freehandPixelRatio,le.setColor=le.setColor.bind(le),le.addCanvas=le.addCanvas.bind(le),le.finishCreation=le.finishCreation.bind(le),le.setLineWidth=le.setLineWidth.bind(le),le.colorPanel=new nt("Color",de.defaultColorSet,de.defaultColor),le.colorPanel.onColorChanged=le.setColor,le.lineWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.lineWidthPanel.onWidthChanged=le.setLineWidth,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.drawingImage)},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.drawingImage=Ee.createImage(),this.visual.appendChild(this.drawingImage);var ue=Ee.createTransform();this.visual.transform.baseVal.appendItem(ue),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,pe){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ue.x,ue.y),this.drawing=!0):Fe.prototype.pointerDown.call(this,ue,pe)},ce.prototype.manipulate=function(ue){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ue.x,ue.y),this.canvasContext.stroke()):Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(ue){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Fe.prototype.pointerUp.call(this,ue)},ce.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Fe.prototype.select.call(this)},ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Fe.prototype.deselect.call(this)},ce.prototype.finishCreation=function(){for(var ue=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),pe=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],de=pe[0],le=pe[1],De=pe[2],Ke=pe[3],Et=!1,Yt=0;Yt<this.canvasElement.height;Yt++)for(var Kt=0;Kt<this.canvasElement.width;Kt++)ue.data[Yt*this.canvasElement.width*4+4*Kt+3]>0&&(Et=!0,Yt<le&&(le=Yt),Kt<de&&(de=Kt),Yt>Ke&&(Ke=Yt),Kt>De&&(De=Kt));if(Et){this.left=de/this.pixelRatio,this.top=le/this.pixelRatio,this.width=(De-de)/this.pixelRatio,this.height=(Ke-le)/this.pixelRatio;var nn=document.createElement("canvas");nn.width=De-de,nn.height=Ke-le,nn.getContext("2d").putImageData(this.canvasContext.getImageData(de,le,De-de,Ke-le),0,0),this.drawingImgUrl=nn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ce.prototype.setDrawingImage=function(){Ee.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Ee.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ce.prototype.setColor=function(ue){this.color=ue,this.colorChanged(ue)},ce.prototype.setLineWidth=function(ue){this.lineWidth=ue},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({drawingImgUrl:this.drawingImgUrl},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.drawingImgUrl=ue.drawingImgUrl,this.setDrawingImage()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setDrawingImage()},ce.typeName="FreehandMarker",ce.title="Freehand marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ce}(ht),zt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,de||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return le.typeBoxes=[],le.currentType=pe,le.setCurrentType=le.setCurrentType.bind(le),le}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2";for(var de=function(Ke){var Et="both";switch(Ke){case 0:Et="both";break;case 1:Et="start";break;case 2:Et="end";break;case 3:Et="none"}var Yt=document.createElement("div");if(Yt.style.display="flex",Yt.style.flexGrow="2",Yt.style.alignItems="center",Yt.style.justifyContent="space-between",Yt.style.padding="5px",Yt.style.borderWidth="2px",Yt.style.borderStyle="solid",Yt.style.borderColor=Et===le.currentType?le.uiStyleSettings.toolboxAccentColor:"transparent",Yt.addEventListener("click",function(){ue.setCurrentType(Et,Yt)}),pe.appendChild(Yt),Et==="both"||Et==="start"){var Kt=document.createElement("div");Kt.style.display="flex",Kt.style.alignItems="center",Kt.style.minHeight="20px",Kt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Kt.style.marginLeft="5px",Yt.appendChild(Kt)}var nn=document.createElement("div");nn.style.display="flex",nn.style.alignItems="center",nn.style.minHeight="20px",nn.style.flexGrow="2";var $t=document.createElement("hr");if($t.style.minWidth="20px",$t.style.border="0px",$t.style.borderTop="3px solid "+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee"),$t.style.flexGrow="2",nn.appendChild($t),Yt.appendChild(nn),Et==="both"||Et==="end"){var gr=document.createElement("div");gr.style.display="flex",gr.style.alignItems="center",gr.style.minHeight="20px",gr.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,0 10,5 0,10" fill="`+(le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,gr.style.marginRight="5px",Yt.appendChild(gr)}le.typeBoxes.push(Yt)},le=this,De=0;De<4;De++)de(De);return pe},ce.prototype.setCurrentType=function(ue,pe){var de=this;this.currentType=ue,this.typeBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings!==void 0?de.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ce}(dt),Dt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.arrowType="end",le.arrowBaseHeight=10,le.arrowBaseWidth=10,le.getArrowPoints=le.getArrowPoints.bind(le),le.setArrowType=le.setArrowType.bind(le),le.arrowTypePanel=new zt("Arrow type","end"),le.arrowTypePanel.onArrowTypeChanged=le.setArrowType,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.arrow1&&ue!==this.arrow2)},ce.prototype.getArrowPoints=function(ue,pe){var de=this.arrowBaseWidth+2*this.strokeWidth,le=this.arrowBaseHeight+2*this.strokeWidth;return ue-de/2+","+(pe+le/2)+" "+ue+","+(pe-le/2)+" "+(ue+de/2)+","+(pe+le/2)},ce.prototype.createTips=function(){this.arrow1=Ee.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Ee.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.arrow2)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(Fe.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",Ee.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Ee.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ue=0;Math.abs(this.x1-this.x2)>.1&&(ue=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var pe=this.arrow1.transform.baseVal.getItem(0);pe.setRotate(ue,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(pe,0);var de=this.arrow2.transform.baseVal.getItem(0);de.setRotate(ue+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(de,0)}},ce.prototype.setArrowType=function(ue){this.arrowType=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({arrowType:this.arrowType},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.arrowType=pe.arrowType,this.createTips(),this.adjustVisual()},ce.typeName="ArrowMarker",ce.title="Arrow marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ce}(Ye),pn=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor=de.defaultFillColor,le.strokeWidth=0,le.fillPanel=new nt("Color",de.defaultColorSet,de.defaultFillColor),le.fillPanel.onColorChanged=le.setFillColor,le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="CoverMarker",ce.title="Cover marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ce}(we),Kn=function(Fe){function ce(ue,pe,de,le){var De=Fe.call(this,ue,le||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return De.opacities=[],De.opacityBoxes=[],De.opacities=pe,De.currentOpacity=de,De.setCurrentOpacity=De.setCurrentOpacity.bind(De),De}return Oe(ce,Fe),ce.prototype.getUi=function(){var ue=this,pe=document.createElement("div");return pe.style.display="flex",pe.style.overflow="hidden",pe.style.flexGrow="2",pe.style.justifyContent="space-between",this.opacities.forEach(function(de){var le=document.createElement("div");le.style.display="flex",le.style.alignItems="center",le.style.justifyContent="center",le.style.padding="5px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderColor=de===ue.currentOpacity?ue.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ue.setCurrentOpacity(de,le)}),pe.appendChild(le);var De=document.createElement("div");De.innerText=100*de+"%",le.appendChild(De),ue.opacityBoxes.push(le)}),pe},ce.prototype.setCurrentOpacity=function(ue,pe){var de=this;this.currentOpacity=ue,this.opacityBoxes.forEach(function(le){le.style.borderColor=le===pe?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ce}(dt),tr=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.setOpacity=le.setOpacity.bind(le),le.fillColor=de.defaultHighlightColor,le.strokeWidth=0,le.opacity=de.defaultHighlightOpacity,le.fillPanel=new nt("Color",de.defaultColorSet,le.fillColor),le.fillPanel.onColorChanged=le.setFillColor,le.opacityPanel=new Kn("Opacity",de.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return Oe(ce,Fe),ce.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="HighlightMarker",ce.title="Highlight marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ce}(pn),it='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',Ce='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',wt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.bgColor="transparent",le.tipPosition={x:0,y:0},le.tipBase1Position={x:0,y:0},le.tipBase2Position={x:0,y:0},le.tipMoving=!1,le.color=de.defaultStrokeColor,le.bgColor=de.defaultFillColor,le.fontFamily=de.defaultFontFamily,le.defaultSize={x:100,y:30},le.setBgColor=le.setBgColor.bind(le),le.getTipPoints=le.getTipPoints.bind(le),le.positionTip=le.positionTip.bind(le),le.setTipPoints=le.setTipPoints.bind(le),le.colorPanel=new nt("Text color",de.defaultColorSet,le.color,it),le.colorPanel.onColorChanged=le.setColor,le.bgColorPanel=new nt("Fill color",de.defaultColorSet,le.bgColor,Ce),le.bgColorPanel.onColorChanged=le.setBgColor,le.fontFamilyPanel=new We("Font",de.defaultFontFamilies,de.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.tipGrip=new Ut,le.tipGrip.visual.transform.baseVal.appendItem(Ee.createTransform()),le.controlBox.appendChild(le.tipGrip.visual),le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return Fe.prototype.ownsTarget.call(this,ue)||this.tipGrip.ownsTarget(ue)||this.tip===ue},ce.prototype.createTip=function(){Ee.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Ee.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ce.prototype.pointerDown=function(ue,pe){this.state==="new"&&Fe.prototype.pointerDown.call(this,ue,pe),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(pe)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Fe.prototype.pointerDown.call(this,ue,pe)},ce.prototype.pointerUp=function(ue){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Fe.prototype.pointerUp.call(this,ue);else{var pe=this.state==="creating";Fe.prototype.pointerUp.call(this,ue),this.setTipPoints(pe),this.positionTip()}},ce.prototype.manipulate=function(ue){if(this.tipMoving){var pe=this.unrotatePoint(ue);this.tipPosition={x:pe.x-this.manipulationStartLeft,y:pe.y-this.manipulationStartTop},this.positionTip()}else Fe.prototype.manipulate.call(this,ue)},ce.prototype.setBgColor=function(ue){this.bgRectangle&&this.tip&&(Ee.setAttributes(this.bgRectangle,[["fill",ue]]),Ee.setAttributes(this.tip,[["fill",ue]])),this.bgColor=ue,this.fillColorChanged(ue)},ce.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ce.prototype.setTipPoints=function(ue){ue===void 0&&(ue=!1);var pe=Math.min(this.height/2,15),de=this.height/5;ue&&(this.tipPosition={x:pe+de/2,y:this.height+20});var le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?le<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(de=this.width/5,pe=Math.min(this.width/2,15),this.tipBase1Position={x:pe,y:0},this.tipBase2Position={x:pe+de,y:0}):(this.tipBase1Position={x:0,y:pe},this.tipBase2Position={x:0,y:pe+de}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?le<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(de=this.width/5,pe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-pe-de,y:0},this.tipBase2Position={x:this.width-pe,y:0}):(this.tipBase1Position={x:this.width,y:pe},this.tipBase2Position={x:this.width,y:pe+de}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?le<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(de=this.width/5,pe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-pe-de,y:this.height},this.tipBase2Position={x:this.width-pe,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-pe-de},this.tipBase2Position={x:this.width,y:this.height-pe}):le<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(de=this.width/5,pe=Math.min(this.width/2,15),this.tipBase1Position={x:pe,y:this.height},this.tipBase2Position={x:pe+de,y:this.height}):(this.tipBase1Position={x:0,y:this.height-pe},this.tipBase2Position={x:0,y:this.height-pe-de})},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.positionTip()},ce.prototype.positionTip=function(){Ee.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ue=this.tipGrip.visual.transform.baseVal.getItem(0);ue.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ue,0)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.select=function(){this.positionTip(),Fe.prototype.select.call(this)},ce.prototype.getState=function(){var ue=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var pe=ue;this.bgColor=pe.bgColor,this.tipPosition=pe.tipPosition,Fe.prototype.restoreState.call(this,ue),this.createTip(),this.setTipPoints()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.tipPosition={x:this.tipPosition.x*ue,y:this.tipPosition.y*pe},this.positionTip()},ce.typeName="CalloutMarker",ce.title="Callout marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ce}(St),An=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.opacity=1,le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.fillColor=de.defaultFillColor,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.setOpacity=le.setOpacity.bind(le),le.createVisual=le.createVisual.bind(le),le.strokePanel=new nt("Line color",ve(de.defaultColorSet,["transparent"]),de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new nt("Fill color",ve(de.defaultColorSet,["transparent"]),le.fillColor,Ce),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.opacityPanel=new Kn("Opacity",de.defaultOpacitySteps,le.opacity),le.opacityPanel.onOpacityChanged=le.setOpacity,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},ce.prototype.createVisual=function(){this.visual=Ee.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ce.prototype.pointerUp=function(ue){Fe.prototype.pointerUp.call(this,ue),this.setSize()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){var pe=ue;this.fillColor=pe.fillColor,this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.opacity=pe.opacity,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize()},ce.typeName="EllipseMarker",ce.title="Ellipse marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ce}(ht),Tt=function(Fe){function ce(ue,pe,de){return Fe.call(this,ue,pe,de)||this}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.tip1&&ue!==this.tip2)},ce.prototype.createTips=function(){this.tip1=Ee.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Ee.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(Ee.createTransform()),this.visual.appendChild(this.tip2)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(Fe.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Ee.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var ue=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),pe=this.tip1.transform.baseVal.getItem(0);pe.setRotate(ue,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(pe,0);var de=this.tip2.transform.baseVal.getItem(0);de.setRotate(ue+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(de,0)}},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue),this.createTips(),this.adjustVisual()},ce.typeName="MeasurementMarker",ce.title="Measurement marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ce}(Ye),rt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokePanel.colors=de.defaultColorSet,le.fillColor="transparent",le}return Oe(ce,Fe),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Fe.prototype.getState.call(this);return ue.typeName=ce.typeName,ue},ce.typeName="EllipseFrameMarker",ce.title="Ellipse frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ce}(An),ft=function(){function Fe(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Fe.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Fe.prototype.addUndoStep=function(ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ce)||(this.undoStack.push(ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ce)&&this.redoStack.splice(0,this.redoStack.length))},Fe.prototype.replaceLastUndoStep=function(ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ce)},Fe.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Fe.prototype.undo=function(){if(this.undoStack.length>1){var ce=this.undoStack.pop();return ce!==void 0&&this.redoStack.push(ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Fe.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Fe}(),Wt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.curveX=0,le.curveY=0,le.manipulationStartCurveX=0,le.manipulationStartCurveY=0,le.setStrokeColor=le.setStrokeColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.positionGrips=le.positionGrips.bind(le),le.addControlGrips=le.addControlGrips.bind(le),le.adjustVisual=le.adjustVisual.bind(le),le.setupControlBox=le.setupControlBox.bind(le),le.resize=le.resize.bind(le),le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.strokePanel=new nt("Line color",de.defaultColorSet,de.defaultColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorCurve&&ue!==this.visibleCurve&&!this.curveGrip.ownsTarget(ue))},ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.selectorCurve=Ee.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Ee.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ue.x,this.curveY=ue.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(pe)&&(this.activeGrip=this.curveGrip,this._state="resize")},ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Ee.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Ee.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Ee.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setupControlBox=function(){Fe.prototype.setupControlBox.call(this),this.curveControlLine1=Ee.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Ee.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Fe.prototype.addControlGrips.call(this)},ce.prototype.positionGrips=function(){Fe.prototype.positionGrips.call(this);var ue=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ue/2,this.curveY-ue/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ce.prototype.manipulate=function(ue){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ue.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ue.y-this.manipulationStartY),Fe.prototype.manipulate.call(this,ue)},ce.prototype.resize=function(ue){this.activeGrip===this.curveGrip&&(this.curveX=ue.x,this.curveY=ue.y),Fe.prototype.resize.call(this,ue),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual()},ce.prototype.scale=function(ue,pe){this.curveX=this.curveX*ue,this.curveY=this.curveY*pe,Fe.prototype.scale.call(this,ue,pe)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Fe.prototype.getState.call(this));return ue.typeName=ce.typeName,ue},ce.prototype.restoreState=function(ue){Fe.prototype.restoreState.call(this,ue);var pe=ue;this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.curveX=pe.curveX,this.curveY=pe.curveY,this.createVisual(),this.adjustVisual()},ce.typeName="CurveMarker",ce.title="Curve marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ce}(qe),qt=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,pe,de)||this;return le.fillColor="transparent",le.strokeColor="transparent",le.strokeWidth=0,le.strokeDasharray="",le.textColor="transparent",le.fontSize="1rem",le.isMoved=!1,le.captionText="Caption",le.PADDING=5,le.captionBoxWidth=0,le.captionBoxHeight=0,le.strokeColor=de.defaultColor,le.strokeWidth=de.defaultStrokeWidth,le.strokeDasharray=de.defaultStrokeDasharray,le.fillColor=de.defaultFillColor,le.textColor=de.defaultStrokeColor,le.fontFamily=de.defaultFontFamily,le.fontSize=de.defaultCaptionFontSize,le.captionText=de.defaultCaptionText,le.setStrokeColor=le.setStrokeColor.bind(le),le.setFillColor=le.setFillColor.bind(le),le.setStrokeWidth=le.setStrokeWidth.bind(le),le.setStrokeDasharray=le.setStrokeDasharray.bind(le),le.createVisual=le.createVisual.bind(le),le.sizeCaption=le.sizeCaption.bind(le),le.setCaptionText=le.setCaptionText.bind(le),le.showTextEditor=le.showTextEditor.bind(le),le.positionTextEditor=le.positionTextEditor.bind(le),le.finishTextEditing=le.finishTextEditing.bind(le),le.setFont=le.setFont.bind(le),le.setTextColor=le.setTextColor.bind(le),le.strokePanel=new nt("Line color",ve(de.defaultColorSet,["transparent"]),le.strokeColor),le.strokePanel.onColorChanged=le.setStrokeColor,le.fillPanel=new nt("Fill color",ve(de.defaultColorSet,["transparent"]),le.fillColor,Ce),le.fillPanel.onColorChanged=le.setFillColor,le.strokeWidthPanel=new he("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),le.strokeWidthPanel.onWidthChanged=le.setStrokeWidth,le.strokeStylePanel=new je("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),le.strokeStylePanel.onStyleChanged=le.setStrokeDasharray,le.fontFamilyPanel=new We("Font",de.defaultFontFamilies,de.defaultFontFamily),le.fontFamilyPanel.onFontChanged=le.setFont,le.textColorPanel=new nt("Text color",de.defaultColorSet,le.textColor,it),le.textColorPanel.onColorChanged=le.setTextColor,le}return Oe(ce,Fe),ce.prototype.ownsTarget=function(ue){return!(!Fe.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.frame&&ue!==this.captionBg&&ue!==this.captionElement)},ce.prototype.createVisual=function(){this.visual=Ee.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Ee.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Ee.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=Ee.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ce.prototype.setCaptionText=function(ue){this.captionText=ue,this.captionElement.textContent=this.captionText,this.sizeCaption()},ce.prototype.pointerDown=function(ue,pe){Fe.prototype.pointerDown.call(this,ue,pe),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},ce.prototype.manipulate=function(ue){Fe.prototype.manipulate.call(this,ue),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ue.x-this.pointerDownPoint.x)>5||Math.abs(ue.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(ue){Fe.prototype.resize.call(this,ue),this.setSize()},ce.prototype.sizeCaption=function(){var ue=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ue.width+2*this.PADDING,this.captionBoxHeight=ue.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Ee.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),Ee.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ce.prototype.showTextEditor=function(){var ue=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(pe){pe.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(pe){pe.key==="Enter"&&ue.finishTextEditing(ue.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(pe){pe.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ue.finishTextEditing(ue.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ue.finishTextEditing(ue.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ce.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ce.prototype.finishTextEditing=function(ue){this.setCaptionText(ue.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ce.prototype.setFont=function(ue){this.captionElement&&Ee.setAttributes(this.captionElement,[["font-family",ue]]),this.fontFamily=ue,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ce.prototype.setTextColor=function(ue){this.captionElement&&Ee.setAttributes(this.captionElement,[["fill",ue]]),this.textColor=ue,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ce.prototype.setSize=function(){Fe.prototype.setSize.call(this),Ee.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ce.prototype.pointerUp=function(ue){Fe.prototype.pointerUp.call(this,ue),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.dblClick=function(ue,pe){Fe.prototype.dblClick.call(this,ue,pe),this.showTextEditor()},ce.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},ce.prototype.setFillColor=function(ue){this.fillColor=ue,this.captionBg&&Ee.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},ce.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var ue=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Fe.prototype.getState.call(this));return ue.typeName=this.typeName,ue},ce.prototype.restoreState=function(ue){var pe=ue;this.fillColor=pe.fillColor,this.strokeColor=pe.strokeColor,this.strokeWidth=pe.strokeWidth,this.strokeDasharray=pe.strokeDasharray,this.textColor=pe.textColor,this.fontFamily=pe.fontFamily,this.captionText=pe.captionText,this.fontSize=pe.fontSize,this.createVisual(),Fe.prototype.restoreState.call(this,ue),this.setSize()},ce.prototype.scale=function(ue,pe){Fe.prototype.scale.call(this,ue,pe),this.setSize()},ce.typeName="CaptionFrameMarker",ce.title="Caption frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ce}(ht),Xt=function(){function Fe(ce,ue){ue===void 0&&(ue=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ce,this.cancelable=ue}return Object.defineProperty(Fe.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Fe.prototype.preventDefault=function(){this._defaultPrevented=!0},Fe}(),Ht=function(Fe){function ce(ue,pe,de){var le=Fe.call(this,ue,!1)||this;return le.dataUrl=pe,le.state=de,le}return Oe(ce,Fe),ce}(Xt),un=function(Fe){function ce(ue,pe,de){de===void 0&&(de=!1);var le=Fe.call(this,ue,de)||this;return le.marker=pe,le}return Oe(ce,Fe),ce}(Xt),kn=function(){function Fe(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Fe.prototype.addEventListener=function(ce,ue){this[ce].push(ue)},Fe.prototype.removeEventListener=function(ce,ue){var pe=this[ce].indexOf(ue);pe>-1&&this[ce].splice(pe,1)},Fe}(),yn=function(){function Fe(ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Ge,this._isOpen=!1,this.undoRedoManager=new ft,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new kn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Fe.instanceCounter++,this.styles=new Le(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ce,this.targetRoot=document.body,this.width=ce.clientWidth,this.height=ce.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Fe.prototype,"ALL_MARKER_TYPES",{get:function(){return[Ve,lt,Dt,St,rt,An,tr,wt,Tt,pn,Ye,Wt,qt]},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Ve,lt,Dt,St,An,tr,wt]},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Ve,lt,Dt,St,tr]},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ce){var ue=this;this._availableMarkerTypes.splice(0),ce.forEach(function(pe){if(typeof pe=="string"){var de=ue.ALL_MARKER_TYPES.find(function(le){return le.typeName===pe});de!==void 0&&ue._availableMarkerTypes.push(de)}else ue._availableMarkerTypes.push(pe)})},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ce){this._zoomLevel=ce,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Fe.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Fe.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ke.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Fe.prototype.show=function(){var ce=this;this.styles.styleSheetRoot===void 0&&me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ue){return ue(new Xt(ce))})},Fe.prototype.render=function(){return Re(this,void 0,void 0,function(){var ce;return Ze(this,function(ue){switch(ue.label){case 0:return this.setCurrentMarker(),(ce=new ye).naturalSize=this.renderAtNaturalSize,ce.imageType=this.renderImageType,ce.imageQuality=this.renderImageQuality,ce.markersOnly=this.renderMarkersOnly,ce.width=this.renderWidth,ce.height=this.renderHeight,[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ue.sent(),[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ue.sent()]}})})},Fe.prototype.close=function(ce){var ue=this;if(ce===void 0&&(ce=!1),this.isOpen){var pe=!1;ce||this.eventListeners.beforeclose.forEach(function(de){var le=new Xt(ue,!0);de(le),le.defaultPrevented&&(pe=!0)}),pe||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(de){return de(new Xt(ue))}),this.detachEvents(),this._isOpen=!1)}},Fe.prototype.addMarkersToToolbar=function(){for(var ce,ue=[],pe=0;pe<arguments.length;pe++)ue[pe]=arguments[pe];(ce=this._availableMarkerTypes).push.apply(ce,ue)},Fe.prototype.addRenderEventListener=function(ce){this.addEventListener("render",function(ue){ce(ue.dataUrl,ue.state)})},Fe.prototype.removeRenderEventListener=function(ce){},Fe.prototype.addCloseEventListener=function(ce){this.addEventListener("close",function(){ce()})},Fe.prototype.removeCloseEventListener=function(ce){},Fe.prototype.setupResizeObserver=function(){var ce=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ce.resize(ce.target.clientWidth,ce.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ce.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Fe.prototype.onPopupTargetResize=function(){var ce=1*this.target.clientWidth/this.target.clientHeight,ue=this.editorCanvas.clientWidth/ce>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ce:this.editorCanvas.clientWidth,pe=ue<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ce;this.resize(ue,pe)},Fe.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Fe.prototype.resize=function(ce,ue){this._isResizing=!0;var pe=ce/this.imageWidth,de=ue/this.imageHeight;this.imageWidth=Math.round(ce),this.imageHeight=Math.round(ue),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(pe,de),this._isResizing=!1},Fe.prototype.scaleMarkers=function(ce,ue){var pe,de=this;this._currentMarker&&this._currentMarker instanceof St?this._currentMarker.scale(ce,ue):(pe=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(le){le!==de._currentMarker&&le.scale(ce,ue)}),pe!==void 0&&this.setCurrentMarker(pe)},Fe.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},Fe.prototype.setTopLeft=function(){var ce=this.editingTarget.getBoundingClientRect(),ue=this.editorCanvas.getBoundingClientRect();this.left=ce.left-ue.left,this.top=ce.top-ue.top},Fe.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},Fe.prototype.addDefs=function(){for(var ce,ue=[],pe=0;pe<arguments.length;pe++)ue[pe]=arguments[pe];this.defs=Ee.createDefs(),this.addDefsToImage(),(ce=this.defs).append.apply(ce,ue)},Fe.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Fe.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},Fe.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Fe.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Fe.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},Fe.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Fe.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},Fe.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ce=document.createElement("a");ce.href="https://markerjs.com/",ce.target="_blank",ce.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ce.title="Powered by marker.js",ce.style.display="grid",ce.style.alignItems="center",ce.style.justifyItems="center",ce.style.padding="3px",ce.style.width="20px",ce.style.height="20px",this.logoUI.appendChild(ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Fe.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Fe.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Fe.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Fe.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ce=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Xe(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new ot(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Fe.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Fe.prototype.removeMarker=function(ce){this.markerImage.removeChild(ce.container),this.markers.indexOf(ce)>-1&&this.markers.splice(this.markers.indexOf(ce),1),ce.dispose()},Fe.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Fe.prototype.toolbarButtonClicked=function(ce,ue){if(ce==="marker"&&ue!==void 0)this.createNewMarker(ue);else if(ce==="action")switch(ue){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Fe.prototype.deleteSelectedMarker=function(){var ce=this;if(this._currentMarker!==void 0){var ue=!1;if(this.eventListeners.markerbeforedelete.forEach(function(de){var le=new un(ce,ce._currentMarker,!0);de(le),le.defaultPrevented&&(ue=!0)}),!ue){var pe=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(de){return de(new un(ce,pe))})}}},Fe.prototype.clear=function(){var ce=this,ue=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(De){var Ke=new un(ce,void 0,!0);De(Ke),Ke.defaultPrevented&&(ue=!0)}),!ue)){this.setCurrentMarker();for(var pe=function(De){var Ke=de.markers[De];de.setCurrentMarker(de.markers[De]),de._currentMarker.dispose(),de.markerImage.removeChild(de._currentMarker.container),de.markers.splice(de.markers.indexOf(de._currentMarker),1),de.eventListeners.markerdelete.forEach(function(Et){return Et(new un(ce,Ke))})},de=this,le=this.markers.length-1;le>=0;le--)pe(le);this.addUndoStep()}},Object.defineProperty(Fe.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Fe.prototype.showNotesEditor=function(){var ce;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ce=this._currentMarker.notes)!==null&&ce!==void 0?ce:"",this.overlayContainer.appendChild(this.notesArea))},Fe.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Fe.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Fe.prototype.addUndoStep=function(){var ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ue=this.getState(),pe=this.undoRedoManager.getLastUndoStep();if(!pe||pe.width===ue.width&&pe.height===ue.height){var de=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ue),de<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(le){return le(new Xt(ce))})}else this.undoRedoManager.replaceLastUndoStep(ue),this.eventListeners.statechange.forEach(function(le){return le(new Xt(ce))})}},Fe.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Fe.prototype.undoStep=function(){var ce=this,ue=this.undoRedoManager.undo();ue!==void 0&&(this.restoreState(ue),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(pe){return pe(new Xt(ce))}))},Fe.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Fe.prototype.redoStep=function(){var ce=this,ue=this.undoRedoManager.redo();ue!==void 0&&(this.restoreState(ue),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(pe){return pe(new Xt(ce))}))},Fe.prototype.stepZoom=function(){var ce=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ce<this.zoomSteps.length-1?this.zoomSteps[ce+1]:this.zoomSteps[0]},Fe.prototype.panTo=function(ce){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ce.x,top:this.prevPanPoint.y-ce.y}),this.prevPanPoint=ce},Fe.prototype.startRenderAndClose=function(){return Re(this,void 0,void 0,function(){var ce,ue,pe=this;return Ze(this,function(de){switch(de.label){case 0:return[4,this.render()];case 1:return ce=de.sent(),ue=this.getState(),this.eventListeners.render.forEach(function(le){return le(new Ht(pe,ce,ue))}),this.close(!0),[2]}})})},Fe.prototype.getState=function(ce){ce===!0&&this.setCurrentMarker();var ue={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(pe){return ue.markers.push(pe.getState())}),ue},Fe.prototype.restoreState=function(ce){var ue=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ce.markers.forEach(function(pe){var de=ue._availableMarkerTypes.find(function(De){return De.typeName===pe.typeName});if(de!==void 0){var le=ue.addNewMarker(de);le.restoreState(pe),ue.markers.push(le)}}),ce.width&&ce.height&&(ce.width!==this.imageWidth||ce.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ce.width,this.imageHeight/ce.height),this.eventListeners.restorestate.forEach(function(pe){return pe(new Xt(ue))})},Fe.prototype.addNewMarker=function(ce){var ue=Ee.createGroup();return this.markerImage.appendChild(ue),new ce(ue,this.overlayContainer,this.settings)},Fe.prototype.createNewMarker=function(ce){var ue,pe=this;(ue=typeof ce=="string"?this._availableMarkerTypes.find(function(de){return de.typeName===ce}):ce)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ue),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(ue.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(de){return de(new un(pe,pe._currentMarker))}))},Fe.prototype.markerCreated=function(ce){var ue=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ce),this.setCurrentMarker(ce),ce instanceof lt&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(lt):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(pe){return pe(new un(ue,ue._currentMarker))})},Fe.prototype.colorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ce,this.settings.defaultStrokeColor=ce)},Fe.prototype.fillColorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ce)},Fe.prototype.markerStateChanged=function(ce){var ue=this;this.eventListeners.markerchange.forEach(function(pe){return pe(new un(ue,ce))})},Fe.prototype.setCurrentMarker=function(ce){var ue=this;this._currentMarker!==ce&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(pe){return pe(new un(ue,ue._currentMarker))})),this._currentMarker=ce,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(pe){return pe(new un(ue,ue._currentMarker))}))},Fe.prototype.onPointerDown=function(ce){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ce.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ue=this.markers.find(function(pe){return pe.ownsTarget(ce.target)});ue!==void 0?(this.setCurrentMarker(ue),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ce.clientX,y:ce.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY))},Fe.prototype.onDblClick=function(ce){if(this._isFocused||this.focus(),this.mode==="select"){var ue=this.markers.find(function(pe){return pe.ownsTarget(ce.target)});ue!==void 0&&ue!==this._currentMarker&&this.setCurrentMarker(ue),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target):this.setCurrentMarker()}},Fe.prototype.onPointerMove=function(ce){this.touchPoints!==1&&ce.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ce.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ce.clientX,ce.clientY)):this.zoomLevel>1&&this.panTo({x:ce.clientX,y:ce.clientY}))},Fe.prototype.onPointerUp=function(ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ce.clientX,ce.clientY)),this.isDragging=!1,this.addUndoStep()},Fe.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Fe.prototype.onKeyUp=function(ce){this._currentMarker===void 0||this.notesArea!==void 0||ce.key!=="Delete"&&ce.key!=="Backspace"||this.deleteSelectedMarker()},Fe.prototype.clientToLocalCoordinates=function(ce,ue){var pe=this.markerImage.getBoundingClientRect();return{x:(ce-pe.left)/this.zoomLevel,y:(ue-pe.top)/this.zoomLevel}},Fe.prototype.onWindowResize=function(){this.positionUI()},Fe.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Fe.prototype.addLicenseKey=function(ce){ke.addKey(ce)},Fe.prototype.addEventListener=function(ce,ue){this.eventListeners.addEventListener(ce,ue)},Fe.prototype.removeEventListener=function(ce,ue){this.eventListeners.removeEventListener(ce,ue)},Fe.prototype.renderState=function(ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Fe.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Fe.prototype.focus=function(){var ce=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ue){return ue(new Xt(ce))}))},Fe.prototype.blur=function(){var ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ue){return ue(new Xt(ce))}))},Fe.instanceCounter=0,Fe}()},95860:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return at}});var ae=ie(87462),Oe=ie(1413),Re=ie(4942),Ze=ie(97685),ve=ie(45987),Ee=ie(94184),ke=ie.n(Ee),ye=ie(67294);function me(ht){var we=ye.useRef();we.current=ht;var he=ye.useCallback(function(){for(var je,Ve=arguments.length,Ge=new Array(Ve),qe=0;qe<Ve;qe++)Ge[qe]=arguments[qe];return(je=we.current)===null||je===void 0?void 0:je.call.apply(je,[we].concat(Ge))},[]);return he}function Le(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var mt=Le()?ye.useLayoutEffect:ye.useEffect,Ie=function(we,he){var je=ye.useRef(!0);mt(function(){return we(je.current)},he),mt(function(){return je.current=!1,function(){je.current=!0}},[])},Xe=function(we,he){Ie(function(je){if(!je)return we()},he)},ot=null;function dt(ht){var we=ye.useRef(!1),he=ye.useState(ht),je=(0,Ze.Z)(he,2),Ve=je[0],Ge=je[1];ye.useEffect(function(){return we.current=!1,function(){we.current=!0}},[]);function qe(Ye,We){We&&we.current||Ge(Ye)}return[Ve,qe]}function nt(ht){return ht!==void 0}function Me(ht,we){var he=we||{},je=he.defaultValue,Ve=he.value,Ge=he.onChange,qe=he.postState,Ye=dt(function(){return nt(Ve)?Ve:nt(je)?typeof je=="function"?je():je:typeof ht=="function"?ht():ht}),We=(0,Ze.Z)(Ye,2),St=We[0],lt=We[1],zt=Ve!==void 0?Ve:St,Dt=qe?qe(zt):zt,pn=me(Ge),Kn=dt([zt]),tr=(0,Ze.Z)(Kn,2),it=tr[0],Ce=tr[1];Xe(function(){var An=it[0];St!==An&&pn(St,An)},[it]),Xe(function(){nt(Ve)||lt(Ve)},[Ve]);var wt=me(function(An,Tt){lt(An,Tt),Ce([zt],Tt)});return[Dt,wt]}var ut=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Ut=(0,ye.forwardRef)(function(ht,we){var he,je=ht.prefixCls,Ve=je===void 0?"rc-checkbox":je,Ge=ht.className,qe=ht.style,Ye=ht.checked,We=ht.disabled,St=ht.defaultChecked,lt=St===void 0?!1:St,zt=ht.type,Dt=zt===void 0?"checkbox":zt,pn=ht.title,Kn=ht.onChange,tr=(0,ve.Z)(ht,ut),it=(0,ye.useRef)(null),Ce=Me(lt,{value:Ye}),wt=(0,Ze.Z)(Ce,2),An=wt[0],Tt=wt[1];(0,ye.useImperativeHandle)(we,function(){return{focus:function(){var qt;(qt=it.current)===null||qt===void 0||qt.focus()},blur:function(){var qt;(qt=it.current)===null||qt===void 0||qt.blur()},input:it.current}});var rt=ke()(Ve,Ge,(he={},(0,Re.Z)(he,"".concat(Ve,"-checked"),An),(0,Re.Z)(he,"".concat(Ve,"-disabled"),We),he)),ft=function(qt){We||("checked"in ht||Tt(qt.target.checked),Kn==null||Kn({target:(0,Oe.Z)((0,Oe.Z)({},ht),{},{type:Dt,checked:qt.target.checked}),stopPropagation:function(){qt.stopPropagation()},preventDefault:function(){qt.preventDefault()},nativeEvent:qt.nativeEvent}))};return ye.createElement("span",{className:rt,title:pn,style:qe},ye.createElement("input",(0,ae.Z)({},tr,{className:"".concat(Ve,"-input"),ref:it,onChange:ft,disabled:We,checked:!!An,type:Dt})),ye.createElement("span",{className:"".concat(Ve,"-inner")}))}),at=Ut},26819:function(mn,en){"use strict";var ie;var ae=typeof Symbol=="function"&&Symbol.for,Oe=ae?Symbol.for("react.element"):60103,Re=ae?Symbol.for("react.portal"):60106,Ze=ae?Symbol.for("react.fragment"):60107,ve=ae?Symbol.for("react.strict_mode"):60108,Ee=ae?Symbol.for("react.profiler"):60114,ke=ae?Symbol.for("react.provider"):60109,ye=ae?Symbol.for("react.context"):60110,me=ae?Symbol.for("react.async_mode"):60111,Le=ae?Symbol.for("react.concurrent_mode"):60111,mt=ae?Symbol.for("react.forward_ref"):60112,Ie=ae?Symbol.for("react.suspense"):60113,Xe=ae?Symbol.for("react.suspense_list"):60120,ot=ae?Symbol.for("react.memo"):60115,dt=ae?Symbol.for("react.lazy"):60116,nt=ae?Symbol.for("react.block"):60121,Me=ae?Symbol.for("react.fundamental"):60117,ut=ae?Symbol.for("react.responder"):60118,Ut=ae?Symbol.for("react.scope"):60119;function at(we){if(typeof we=="object"&&we!==null){var he=we.$$typeof;switch(he){case Oe:switch(we=we.type,we){case me:case Le:case Ze:case Ee:case ve:case Ie:return we;default:switch(we=we&&we.$$typeof,we){case ye:case mt:case dt:case ot:case ke:return we;default:return he}}case Re:return he}}}function ht(we){return at(we)===Le}ie=me,ie=Le,ie=ye,ie=ke,ie=Oe,ie=mt,ie=Ze,ie=dt,ie=ot,ie=Re,ie=Ee,ie=ve,ie=Ie,ie=function(we){return ht(we)||at(we)===me},ie=ht,ie=function(we){return at(we)===ye},ie=function(we){return at(we)===ke},ie=function(we){return typeof we=="object"&&we!==null&&we.$$typeof===Oe},ie=function(we){return at(we)===mt},ie=function(we){return at(we)===Ze},ie=function(we){return at(we)===dt},en.isMemo=function(we){return at(we)===ot},ie=function(we){return at(we)===Re},ie=function(we){return at(we)===Ee},ie=function(we){return at(we)===ve},ie=function(we){return at(we)===Ie},ie=function(we){return typeof we=="string"||typeof we=="function"||we===Ze||we===Le||we===Ee||we===ve||we===Ie||we===Xe||typeof we=="object"&&we!==null&&(we.$$typeof===dt||we.$$typeof===ot||we.$$typeof===ke||we.$$typeof===ye||we.$$typeof===mt||we.$$typeof===Me||we.$$typeof===ut||we.$$typeof===Ut||we.$$typeof===nt)},ie=at},18459:function(mn,en,ie){"use strict";mn.exports=ie(26819)},16651:function(mn,en){"use strict";var ie;var ae=Symbol.for("react.element"),Oe=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),Ee=Symbol.for("react.provider"),ke=Symbol.for("react.context"),ye=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),mt=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy"),ot=Symbol.for("react.offscreen"),dt;dt=Symbol.for("react.module.reference");function nt(Me){if(typeof Me=="object"&&Me!==null){var ut=Me.$$typeof;switch(ut){case ae:switch(Me=Me.type,Me){case Re:case ve:case Ze:case Le:case mt:return Me;default:switch(Me=Me&&Me.$$typeof,Me){case ye:case ke:case me:case Xe:case Ie:case Ee:return Me;default:return ut}}case Oe:return ut}}}ie=ke,ie=Ee,ie=ae,ie=me,ie=Re,ie=Xe,ie=Ie,ie=Oe,ie=ve,ie=Ze,ie=Le,ie=mt,ie=function(){return!1},ie=function(){return!1},ie=function(Me){return nt(Me)===ke},ie=function(Me){return nt(Me)===Ee},ie=function(Me){return typeof Me=="object"&&Me!==null&&Me.$$typeof===ae},ie=function(Me){return nt(Me)===me},ie=function(Me){return nt(Me)===Re},ie=function(Me){return nt(Me)===Xe},ie=function(Me){return nt(Me)===Ie},ie=function(Me){return nt(Me)===Oe},ie=function(Me){return nt(Me)===ve},ie=function(Me){return nt(Me)===Ze},ie=function(Me){return nt(Me)===Le},ie=function(Me){return nt(Me)===mt},ie=function(Me){return typeof Me=="string"||typeof Me=="function"||Me===Re||Me===ve||Me===Ze||Me===Le||Me===mt||Me===ot||typeof Me=="object"&&Me!==null&&(Me.$$typeof===Xe||Me.$$typeof===Ie||Me.$$typeof===Ee||Me.$$typeof===ke||Me.$$typeof===me||Me.$$typeof===dt||Me.getModuleId!==void 0)},ie=nt},33993:function(mn,en,ie){"use strict";ie(16651)},82523:function(mn,en){"use strict";var ie;var ae=Symbol.for("react.element"),Oe=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),Ee=Symbol.for("react.provider"),ke=Symbol.for("react.context"),ye=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),mt=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy"),ot=Symbol.for("react.offscreen"),dt;dt=Symbol.for("react.module.reference");function nt(Me){if(typeof Me=="object"&&Me!==null){var ut=Me.$$typeof;switch(ut){case ae:switch(Me=Me.type,Me){case Re:case ve:case Ze:case Le:case mt:return Me;default:switch(Me=Me&&Me.$$typeof,Me){case ye:case ke:case me:case Xe:case Ie:case Ee:return Me;default:return ut}}case Oe:return ut}}}ie=ke,ie=Ee,ie=ae,ie=me,ie=Re,ie=Xe,ie=Ie,ie=Oe,ie=ve,ie=Ze,ie=Le,ie=mt,ie=function(){return!1},ie=function(){return!1},ie=function(Me){return nt(Me)===ke},ie=function(Me){return nt(Me)===Ee},ie=function(Me){return typeof Me=="object"&&Me!==null&&Me.$$typeof===ae},ie=function(Me){return nt(Me)===me},ie=function(Me){return nt(Me)===Re},ie=function(Me){return nt(Me)===Xe},ie=function(Me){return nt(Me)===Ie},ie=function(Me){return nt(Me)===Oe},ie=function(Me){return nt(Me)===ve},ie=function(Me){return nt(Me)===Ze},ie=function(Me){return nt(Me)===Le},ie=function(Me){return nt(Me)===mt},ie=function(Me){return typeof Me=="string"||typeof Me=="function"||Me===Re||Me===ve||Me===Ze||Me===Le||Me===mt||Me===ot||typeof Me=="object"&&Me!==null&&(Me.$$typeof===Xe||Me.$$typeof===Ie||Me.$$typeof===Ee||Me.$$typeof===ke||Me.$$typeof===me||Me.$$typeof===dt||Me.getModuleId!==void 0)},ie=nt},27183:function(mn,en,ie){"use strict";ie(82523)},67656:function(mn,en,ie){"use strict";ie.r(en),ie.d(en,{BaseInput:function(){return Le},default:function(){return Ut}});var ae=ie(87462),Oe=ie(1413),Re=ie(4942),Ze=ie(71002),ve=ie(94184),Ee=ie.n(ve),ke=ie(67294),ye=ie(87887),me=function(ht){var we,he,je=ht.inputElement,Ve=ht.prefixCls,Ge=ht.prefix,qe=ht.suffix,Ye=ht.addonBefore,We=ht.addonAfter,St=ht.className,lt=ht.style,zt=ht.disabled,Dt=ht.readOnly,pn=ht.focused,Kn=ht.triggerFocus,tr=ht.allowClear,it=ht.value,Ce=ht.handleReset,wt=ht.hidden,An=ht.classes,Tt=ht.classNames,rt=ht.dataAttrs,ft=ht.styles,Wt=ht.components,qt=(Wt==null?void 0:Wt.affixWrapper)||"span",Xt=(Wt==null?void 0:Wt.groupWrapper)||"span",Ht=(Wt==null?void 0:Wt.wrapper)||"span",un=(Wt==null?void 0:Wt.groupAddon)||"span",kn=(0,ke.useRef)(null),yn=function(nn){var $t;($t=kn.current)!==null&&$t!==void 0&&$t.contains(nn.target)&&(Kn==null||Kn())},Fe=function(){var nn;if(!tr)return null;var $t=!zt&&!Dt&&it,gr="".concat(Ve,"-clear-icon"),kr=(0,Ze.Z)(tr)==="object"&&tr!==null&&tr!==void 0&&tr.clearIcon?tr.clearIcon:"\u2716";return ke.createElement("span",{onClick:Ce,onMouseDown:function(gn){return gn.preventDefault()},className:Ee()(gr,(nn={},(0,Re.Z)(nn,"".concat(gr,"-hidden"),!$t),(0,Re.Z)(nn,"".concat(gr,"-has-suffix"),!!qe),nn)),role:"button",tabIndex:-1},kr)},ce=(0,ke.cloneElement)(je,{value:it,hidden:wt,className:Ee()((we=je.props)===null||we===void 0?void 0:we.className,!(0,ye.X3)(ht)&&!(0,ye.He)(ht)&&St)||null,style:(0,Oe.Z)((0,Oe.Z)({},(he=je.props)===null||he===void 0?void 0:he.style),!(0,ye.X3)(ht)&&!(0,ye.He)(ht)?lt:{})});if((0,ye.X3)(ht)){var ue,pe="".concat(Ve,"-affix-wrapper"),de=Ee()(pe,(ue={},(0,Re.Z)(ue,"".concat(pe,"-disabled"),zt),(0,Re.Z)(ue,"".concat(pe,"-focused"),pn),(0,Re.Z)(ue,"".concat(pe,"-readonly"),Dt),(0,Re.Z)(ue,"".concat(pe,"-input-with-clear-btn"),qe&&tr&&it),ue),!(0,ye.He)(ht)&&St,An==null?void 0:An.affixWrapper,Tt==null?void 0:Tt.affixWrapper),le=(qe||tr)&&ke.createElement("span",{className:Ee()("".concat(Ve,"-suffix"),Tt==null?void 0:Tt.suffix),style:ft==null?void 0:ft.suffix},Fe(),qe);ce=ke.createElement(qt,(0,ae.Z)({className:de,style:(0,Oe.Z)((0,Oe.Z)({},(0,ye.He)(ht)?void 0:lt),ft==null?void 0:ft.affixWrapper),hidden:!(0,ye.He)(ht)&&wt,onClick:yn},rt==null?void 0:rt.affixWrapper,{ref:kn}),Ge&&ke.createElement("span",{className:Ee()("".concat(Ve,"-prefix"),Tt==null?void 0:Tt.prefix),style:ft==null?void 0:ft.prefix},Ge),(0,ke.cloneElement)(je,{value:it,hidden:null}),le)}if((0,ye.He)(ht)){var De="".concat(Ve,"-group"),Ke="".concat(De,"-addon"),Et=Ee()("".concat(Ve,"-wrapper"),De,An==null?void 0:An.wrapper),Yt=Ee()("".concat(Ve,"-group-wrapper"),St,An==null?void 0:An.group);return ke.createElement(Xt,{className:Yt,style:lt,hidden:wt},ke.createElement(Ht,{className:Et},Ye&&ke.createElement(un,{className:Ke},Ye),(0,ke.cloneElement)(ce,{hidden:null}),We&&ke.createElement(un,{className:Ke},We)))}return ce},Le=me,mt=ie(74902),Ie=ie(97685),Xe=ie(45987),ot=ie(21770),dt=ie(98423),nt=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Me=(0,ke.forwardRef)(function(at,ht){var we=at.autoComplete,he=at.onChange,je=at.onFocus,Ve=at.onBlur,Ge=at.onPressEnter,qe=at.onKeyDown,Ye=at.prefixCls,We=Ye===void 0?"rc-input":Ye,St=at.disabled,lt=at.htmlSize,zt=at.className,Dt=at.maxLength,pn=at.suffix,Kn=at.showCount,tr=at.type,it=tr===void 0?"text":tr,Ce=at.classes,wt=at.classNames,An=at.styles,Tt=(0,Xe.Z)(at,nt),rt=(0,ot.Z)(at.defaultValue,{value:at.value}),ft=(0,Ie.Z)(rt,2),Wt=ft[0],qt=ft[1],Xt=(0,ke.useState)(!1),Ht=(0,Ie.Z)(Xt,2),un=Ht[0],kn=Ht[1],yn=(0,ke.useRef)(null),Fe=function(Yt){yn.current&&(0,ye.nH)(yn.current,Yt)};(0,ke.useImperativeHandle)(ht,function(){return{focus:Fe,blur:function(){var Yt;(Yt=yn.current)===null||Yt===void 0||Yt.blur()},setSelectionRange:function(Yt,Kt,nn){var $t;($t=yn.current)===null||$t===void 0||$t.setSelectionRange(Yt,Kt,nn)},select:function(){var Yt;(Yt=yn.current)===null||Yt===void 0||Yt.select()},input:yn.current}}),(0,ke.useEffect)(function(){kn(function(Et){return Et&&St?!1:Et})},[St]);var ce=function(Yt){at.value===void 0&&qt(Yt.target.value),yn.current&&(0,ye.rJ)(yn.current,Yt,he)},ue=function(Yt){Ge&&Yt.key==="Enter"&&Ge(Yt),qe==null||qe(Yt)},pe=function(Yt){kn(!0),je==null||je(Yt)},de=function(Yt){kn(!1),Ve==null||Ve(Yt)},le=function(Yt){qt(""),Fe(),yn.current&&(0,ye.rJ)(yn.current,Yt,he)},De=function(){var Yt=(0,dt.Z)(at,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return ke.createElement("input",(0,ae.Z)({autoComplete:we},Yt,{onChange:ce,onFocus:pe,onBlur:de,onKeyDown:ue,className:Ee()(We,(0,Re.Z)({},"".concat(We,"-disabled"),St),wt==null?void 0:wt.input),style:An==null?void 0:An.input,ref:yn,size:lt,type:it}))},Ke=function(){var Yt=Number(Dt)>0;if(pn||Kn){var Kt=(0,ye.D7)(Wt),nn=(0,mt.Z)(Kt).length,$t=(0,Ze.Z)(Kn)==="object"?Kn.formatter({value:Kt,count:nn,maxLength:Dt}):"".concat(nn).concat(Yt?" / ".concat(Dt):"");return ke.createElement(ke.Fragment,null,!!Kn&&ke.createElement("span",{className:Ee()("".concat(We,"-show-count-suffix"),(0,Re.Z)({},"".concat(We,"-show-count-has-suffix"),!!pn),wt==null?void 0:wt.count),style:(0,Oe.Z)({},An==null?void 0:An.count)},$t),pn)}return null};return ke.createElement(Le,(0,ae.Z)({},Tt,{prefixCls:We,className:zt,inputElement:De(),handleReset:le,value:(0,ye.D7)(Wt),focused:un,triggerFocus:Fe,suffix:Ke(),disabled:St,classes:Ce,classNames:wt,styles:An}))}),ut=Me,Ut=ut},87887:function(mn,en,ie){"use strict";ie.d(en,{D7:function(){return ve},He:function(){return ae},X3:function(){return Oe},nH:function(){return Ze},rJ:function(){return Re}});function ae(Ee){return!!(Ee.addonBefore||Ee.addonAfter)}function Oe(Ee){return!!(Ee.prefix||Ee.suffix||Ee.allowClear)}function Re(Ee,ke,ye,me){if(ye){var Le=ke;if(ke.type==="click"){var mt=Ee.cloneNode(!0);Le=Object.create(ke,{target:{value:mt},currentTarget:{value:mt}}),mt.value="",ye(Le);return}if(me!==void 0){Le=Object.create(ke,{target:{value:Ee},currentTarget:{value:Ee}}),Ee.value=me,ye(Le);return}ye(Le)}}function Ze(Ee,ke){if(Ee){Ee.focus(ke);var ye=ke||{},me=ye.cursor;if(me){var Le=Ee.value.length;switch(me){case"start":Ee.setSelectionRange(0,0);break;case"end":Ee.setSelectionRange(Le,Le);break;default:Ee.setSelectionRange(0,Le)}}}}function ve(Ee){return typeof Ee=="undefined"||Ee===null?"":String(Ee)}},78595:function(mn,en,ie){"use strict";ie.d(en,{iz:function(){return Ci},ck:function(){return Kr},BW:function(){return mi},sN:function(){return Kr},Wd:function(){return Mn},ZP:function(){return Je},Xl:function(){return $t}});var ae=ie(87462),Oe=ie(4942),Re=ie(1413),Ze=ie(74902),ve=ie(97685),Ee=ie(45987),ke=ie(94184),ye=ie.n(ke),me=ie(67294),Le=ie(48555);function mt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ie=mt()?me.useLayoutEffect:me.useEffect,Xe=function(st,Ct){var Bt=me.useRef(!0);Ie(function(){return st(Bt.current)},Ct),Ie(function(){return Bt.current=!1,function(){Bt.current=!0}},[])},ot=function(st,Ct){Xe(function(Bt){if(!Bt)return st()},Ct)},dt=Xe,nt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Me=void 0;function ut(et,st){var Ct=et.prefixCls,Bt=et.invalidate,Jt=et.item,Tn=et.renderItem,Nn=et.responsive,Fr=et.responsiveDisabled,Jr=et.registerSize,Ar=et.itemKey,er=et.className,Wn=et.style,ur=et.children,mr=et.display,Vr=et.order,Dr=et.component,Mr=Dr===void 0?"div":Dr,Tr=(0,Ee.Z)(et,nt),Or=Nn&&!mr;function qr(xn){Jr(Ar,xn)}me.useEffect(function(){return function(){qr(null)}},[]);var Ue=Tn&&Jt!==Me?Tn(Jt):ur,tt;Bt||(tt={opacity:Or?0:1,height:Or?0:Me,overflowY:Or?"hidden":Me,order:Nn?Vr:Me,pointerEvents:Or?"none":Me,position:Or?"absolute":Me});var tn={};Or&&(tn["aria-hidden"]=!0);var Pt=me.createElement(Mr,(0,ae.Z)({className:ye()(!Bt&&Ct,er),style:(0,Re.Z)((0,Re.Z)({},tt),Wn)},tn,Tr,{ref:st}),Ue);return Nn&&(Pt=me.createElement(Le.Z,{onResize:function(Zn){var Jn=Zn.offsetWidth;qr(Jn)},disabled:Fr},Pt)),Pt}var Ut=me.forwardRef(ut);Ut.displayName="Item";var at=Ut;function ht(et){var st=me.useRef();st.current=et;var Ct=me.useCallback(function(){for(var Bt,Jt=arguments.length,Tn=new Array(Jt),Nn=0;Nn<Jt;Nn++)Tn[Nn]=arguments[Nn];return(Bt=st.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[st].concat(Tn))},[]);return Ct}var we=ie(73935),he=function(st){return+setTimeout(st,16)},je=function(st){return clearTimeout(st)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(he=function(st){return window.requestAnimationFrame(st)},je=function(st){return window.cancelAnimationFrame(st)});var Ve=0,Ge=new Map;function qe(et){Ge.delete(et)}var Ye=function(st){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ve+=1;var Bt=Ve;function Jt(Tn){if(Tn===0)qe(Bt),st();else{var Nn=he(function(){Jt(Tn-1)});Ge.set(Bt,Nn)}}return Jt(Ct),Bt};Ye.cancel=function(et){var st=Ge.get(et);return qe(st),je(st)};var We=Ye;function St(et){if(typeof MessageChannel=="undefined")We(et);else{var st=new MessageChannel;st.port1.onmessage=function(){return et()},st.port2.postMessage(void 0)}}function lt(){var et=me.useRef(null),st=function(Bt){et.current||(et.current=[],St(function(){(0,we.unstable_batchedUpdates)(function(){et.current.forEach(function(Jt){Jt()}),et.current=null})})),et.current.push(Bt)};return st}function zt(et,st){var Ct=me.useState(st),Bt=(0,ve.Z)(Ct,2),Jt=Bt[0],Tn=Bt[1],Nn=ht(function(Fr){et(function(){Tn(Fr)})});return[Jt,Nn]}var Dt=me.createContext(null),pn=["component"],Kn=["className"],tr=["className"],it=function(st,Ct){var Bt=me.useContext(Dt);if(!Bt){var Jt=st.component,Tn=Jt===void 0?"div":Jt,Nn=(0,Ee.Z)(st,pn);return me.createElement(Tn,(0,ae.Z)({},Nn,{ref:Ct}))}var Fr=Bt.className,Jr=(0,Ee.Z)(Bt,Kn),Ar=st.className,er=(0,Ee.Z)(st,tr);return me.createElement(Dt.Provider,{value:null},me.createElement(at,(0,ae.Z)({ref:Ct,className:ye()(Fr,Ar)},Jr,er)))},Ce=me.forwardRef(it);Ce.displayName="RawItem";var wt=Ce,An=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Tt="responsive",rt="invalidate";function ft(et){return"+ ".concat(et.length," ...")}function Wt(et,st){var Ct=et.prefixCls,Bt=Ct===void 0?"rc-overflow":Ct,Jt=et.data,Tn=Jt===void 0?[]:Jt,Nn=et.renderItem,Fr=et.renderRawItem,Jr=et.itemKey,Ar=et.itemWidth,er=Ar===void 0?10:Ar,Wn=et.ssr,ur=et.style,mr=et.className,Vr=et.maxCount,Dr=et.renderRest,Mr=et.renderRawRest,Tr=et.suffix,Or=et.component,qr=Or===void 0?"div":Or,Ue=et.itemComponent,tt=et.onVisibleChange,tn=(0,Ee.Z)(et,An),Pt=Wn==="full",xn=lt(),Zn=zt(xn,null),Jn=(0,ve.Z)(Zn,2),yr=Jn[0],xt=Jn[1],ct=yr||0,Lt=zt(xn,new Map),dn=(0,ve.Z)(Lt,2),qn=dn[0],In=dn[1],wn=zt(xn,0),xr=(0,ve.Z)(wn,2),pr=xr[0],Pr=xr[1],dr=zt(xn,0),Vn=(0,ve.Z)(dr,2),Hr=Vn[0],ni=Vn[1],Wr=zt(xn,0),Nr=(0,ve.Z)(Wr,2),Gr=Nr[0],Li=Nr[1],xi=(0,me.useState)(null),Ei=(0,ve.Z)(xi,2),$i=Ei[0],Aa=Ei[1],_i=(0,me.useState)(null),la=(0,ve.Z)(_i,2),Ai=la[0],Ki=la[1],ua=me.useMemo(function(){return Ai===null&&Pt?Number.MAX_SAFE_INTEGER:Ai||0},[Ai,yr]),pa=(0,me.useState)(!1),ao=(0,ve.Z)(pa,2),no=ao[0],ro=ao[1],Ha="".concat(Bt,"-item"),wa=Math.max(pr,Hr),Wi=Vr===Tt,co=Tn.length&&Wi,aa=Vr===rt,Bi=co||typeof Vr=="number"&&Tn.length>Vr,ma=(0,me.useMemo)(function(){var ga=Tn;return co?yr===null&&Pt?ga=Tn:ga=Tn.slice(0,Math.min(Tn.length,ct/er)):typeof Vr=="number"&&(ga=Tn.slice(0,Vr)),ga},[Tn,er,yr,Vr,co]),Ja=(0,me.useMemo)(function(){return co?Tn.slice(ua+1):Tn.slice(ma.length)},[Tn,ma,co,ua]),Ba=(0,me.useCallback)(function(ga,Sa){var qa;return typeof Jr=="function"?Jr(ga):(qa=Jr&&(ga==null?void 0:ga[Jr]))!==null&&qa!==void 0?qa:Sa},[Jr]),Va=(0,me.useCallback)(Nn||function(ga){return ga},[Nn]);function na(ga,Sa,qa){Ai===ga&&(Sa===void 0||Sa===$i)||(Ki(ga),qa||(ro(ga<Tn.length-1),tt==null||tt(ga)),Sa!==void 0&&Aa(Sa))}function oo(ga,Sa){xt(Sa.clientWidth)}function fo(ga,Sa){In(function(qa){var mo=new Map(qa);return Sa===null?mo.delete(ga):mo.set(ga,Sa),mo})}function to(ga,Sa){ni(Sa),Pr(Hr)}function ho(ga,Sa){Li(Sa)}function bo(ga){return qn.get(Ba(ma[ga],ga))}dt(function(){if(ct&&typeof wa=="number"&&ma){var ga=Gr,Sa=ma.length,qa=Sa-1;if(!Sa){na(0,null);return}for(var mo=0;mo<Sa;mo+=1){var Io=bo(mo);if(Pt&&(Io=Io||0),Io===void 0){na(mo-1,void 0,!0);break}if(ga+=Io,qa===0&&ga<=ct||mo===qa-1&&ga+bo(qa)<=ct){na(qa,null);break}else if(ga+wa>ct){na(mo-1,ga-Io-Gr+Hr);break}}Tr&&bo(0)+Gr>ct&&Aa(null)}},[ct,qn,Hr,Gr,Ba,ma]);var Lo=no&&!!Ja.length,io={};$i!==null&&co&&(io={position:"absolute",left:$i,top:0});var lo={prefixCls:Ha,responsive:co,component:Ue,invalidate:aa},Ko=Fr?function(ga,Sa){var qa=Ba(ga,Sa);return me.createElement(Dt.Provider,{key:qa,value:(0,Re.Z)((0,Re.Z)({},lo),{},{order:Sa,item:ga,itemKey:qa,registerSize:fo,display:Sa<=ua})},Fr(ga,Sa))}:function(ga,Sa){var qa=Ba(ga,Sa);return me.createElement(at,(0,ae.Z)({},lo,{order:Sa,key:qa,item:ga,renderItem:Va,itemKey:qa,registerSize:fo,display:Sa<=ua}))},Wo,Jo={order:Lo?ua:Number.MAX_SAFE_INTEGER,className:"".concat(Ha,"-rest"),registerSize:to,display:Lo};if(Mr)Mr&&(Wo=me.createElement(Dt.Provider,{value:(0,Re.Z)((0,Re.Z)({},lo),Jo)},Mr(Ja)));else{var Fo=Dr||ft;Wo=me.createElement(at,(0,ae.Z)({},lo,Jo),typeof Fo=="function"?Fo(Ja):Fo)}var po=me.createElement(qr,(0,ae.Z)({className:ye()(!aa&&Bt,mr),style:ur,ref:st},tn),ma.map(Ko),Bi?Wo:null,Tr&&me.createElement(at,(0,ae.Z)({},lo,{responsive:Wi,responsiveDisabled:!co,order:ua,className:"".concat(Ha,"-suffix"),registerSize:ho,display:!0,style:io}),Tr));return Wi&&(po=me.createElement(Le.Z,{onResize:oo,disabled:!co},po)),po}var qt=me.forwardRef(Wt);qt.displayName="Overflow",qt.Item=wt,qt.RESPONSIVE=Tt,qt.INVALIDATE=rt;var Xt=qt,Ht=Xt,un=ie(21770),kn=ie(80334),yn=ie(91881),Fe=me.createContext(null);function ce(et,st){return et===void 0?null:"".concat(et,"-").concat(st)}function ue(et){var st=me.useContext(Fe);return ce(st,et)}var pe=ie(56982),de=["children","locked"],le=me.createContext(null);function De(et,st){var Ct=(0,Re.Z)({},et);return Object.keys(st).forEach(function(Bt){var Jt=st[Bt];Jt!==void 0&&(Ct[Bt]=Jt)}),Ct}function Ke(et){var st=et.children,Ct=et.locked,Bt=(0,Ee.Z)(et,de),Jt=me.useContext(le),Tn=(0,pe.Z)(function(){return De(Jt,Bt)},[Jt,Bt],function(Nn,Fr){return!Ct&&(Nn[0]!==Fr[0]||!(0,yn.Z)(Nn[1],Fr[1],!0))});return me.createElement(le.Provider,{value:Tn},st)}var Et=[],Yt=me.createContext(null);function Kt(){return me.useContext(Yt)}var nn=me.createContext(Et);function $t(et){var st=me.useContext(nn);return me.useMemo(function(){return et!==void 0?[].concat((0,Ze.Z)(st),[et]):st},[st,et])}var gr=me.createContext(null),kr=me.createContext({}),rn=kr,gn=ie(15105),hr=ie(75164),Er=function(et){if(!et)return!1;if(et instanceof Element){if(et.offsetParent)return!0;if(et.getBBox){var st=et.getBBox(),Ct=st.width,Bt=st.height;if(Ct||Bt)return!0}if(et.getBoundingClientRect){var Jt=et.getBoundingClientRect(),Tn=Jt.width,Nn=Jt.height;if(Tn||Nn)return!0}}return!1};function yt(et){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Er(et)){var Ct=et.nodeName.toLowerCase(),Bt=["input","select","textarea","button"].includes(Ct)||et.isContentEditable||Ct==="a"&&!!et.getAttribute("href"),Jt=et.getAttribute("tabindex"),Tn=Number(Jt),Nn=null;return Jt&&!Number.isNaN(Tn)?Nn=Tn:Bt&&Nn===null&&(Nn=0),Bt&&et.disabled&&(Nn=null),Nn!==null&&(Nn>=0||st&&Nn<0)}return!1}function It(et){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ct=(0,Ze.Z)(et.querySelectorAll("*")).filter(function(Bt){return yt(Bt,st)});return yt(et,st)&&Ct.unshift(et),Ct}var $n=null;function Qn(){$n=document.activeElement}function wr(){$n=null}function _r(){if($n)try{$n.focus()}catch(et){}}function ei(et,st){if(st.keyCode===9){var Ct=It(et),Bt=Ct[st.shiftKey?0:Ct.length-1],Jt=Bt===document.activeElement||et===document.activeElement;if(Jt){var Tn=Ct[st.shiftKey?Ct.length-1:0];Tn.focus(),st.preventDefault()}}}var Xr=gn.Z.LEFT,ri=gn.Z.RIGHT,fi=gn.Z.UP,Cr=gn.Z.DOWN,yi=gn.Z.ENTER,Gi=gn.Z.ESC,oi=gn.Z.HOME,ea=gn.Z.END,Di=[fi,Cr,Xr,ri];function Ot(et,st,Ct,Bt){var Jt,Tn,Nn,Fr,Jr="prev",Ar="next",er="children",Wn="parent";if(et==="inline"&&Bt===yi)return{inlineTrigger:!0};var ur=(Jt={},(0,Oe.Z)(Jt,fi,Jr),(0,Oe.Z)(Jt,Cr,Ar),Jt),mr=(Tn={},(0,Oe.Z)(Tn,Xr,Ct?Ar:Jr),(0,Oe.Z)(Tn,ri,Ct?Jr:Ar),(0,Oe.Z)(Tn,Cr,er),(0,Oe.Z)(Tn,yi,er),Tn),Vr=(Nn={},(0,Oe.Z)(Nn,fi,Jr),(0,Oe.Z)(Nn,Cr,Ar),(0,Oe.Z)(Nn,yi,er),(0,Oe.Z)(Nn,Gi,Wn),(0,Oe.Z)(Nn,Xr,Ct?er:Wn),(0,Oe.Z)(Nn,ri,Ct?Wn:er),Nn),Dr={inline:ur,horizontal:mr,vertical:Vr,inlineSub:ur,horizontalSub:Vr,verticalSub:Vr},Mr=(Fr=Dr["".concat(et).concat(st?"":"Sub")])===null||Fr===void 0?void 0:Fr[Bt];switch(Mr){case Jr:return{offset:-1,sibling:!0};case Ar:return{offset:1,sibling:!0};case Wn:return{offset:-1,sibling:!1};case er:return{offset:1,sibling:!1};default:return null}}function Nt(et){for(var st=et;st;){if(st.getAttribute("data-menu-list"))return st;st=st.parentElement}return null}function cn(et,st){for(var Ct=et||document.activeElement;Ct;){if(st.has(Ct))return Ct;Ct=Ct.parentElement}return null}function bn(et,st){var Ct=It(et,!0);return Ct.filter(function(Bt){return st.has(Bt)})}function rr(et,st,Ct){var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!et)return null;var Jt=bn(et,st),Tn=Jt.length,Nn=Jt.findIndex(function(Fr){return Ct===Fr});return Bt<0?Nn===-1?Nn=Tn-1:Nn-=1:Bt>0&&(Nn+=1),Nn=(Nn+Tn)%Tn,Jt[Nn]}function Fn(et,st,Ct,Bt,Jt,Tn,Nn,Fr,Jr,Ar){var er=me.useRef(),Wn=me.useRef();Wn.current=st;var ur=function(){hr.Z.cancel(er.current)};return me.useEffect(function(){return function(){ur()}},[]),function(mr){var Vr=mr.which;if([].concat(Di,[yi,Gi,oi,ea]).includes(Vr)){var Dr,Mr,Tr,Or=function(){Dr=new Set,Mr=new Map,Tr=new Map;var dn=Tn();return dn.forEach(function(qn){var In=document.querySelector("[data-menu-id='".concat(ce(Bt,qn),"']"));In&&(Dr.add(In),Tr.set(In,qn),Mr.set(qn,In))}),Dr};Or();var qr=Mr.get(st),Ue=cn(qr,Dr),tt=Tr.get(Ue),tn=Ot(et,Nn(tt,!0).length===1,Ct,Vr);if(!tn&&Vr!==oi&&Vr!==ea)return;(Di.includes(Vr)||[oi,ea].includes(Vr))&&mr.preventDefault();var Pt=function(dn){if(dn){var qn=dn,In=dn.querySelector("a");In!=null&&In.getAttribute("href")&&(qn=In);var wn=Tr.get(dn);Fr(wn),ur(),er.current=(0,hr.Z)(function(){Wn.current===wn&&qn.focus()})}};if([oi,ea].includes(Vr)||tn.sibling||!Ue){var xn;!Ue||et==="inline"?xn=Jt.current:xn=Nt(Ue);var Zn,Jn=bn(xn,Dr);Vr===oi?Zn=Jn[0]:Vr===ea?Zn=Jn[Jn.length-1]:Zn=rr(xn,Dr,Ue,tn.offset),Pt(Zn)}else if(tn.inlineTrigger)Jr(tt);else if(tn.offset>0)Jr(tt,!0),ur(),er.current=(0,hr.Z)(function(){Or();var Lt=Ue.getAttribute("aria-controls"),dn=document.getElementById(Lt),qn=rr(dn,Dr);Pt(qn)},5);else if(tn.offset<0){var yr=Nn(tt,!0),xt=yr[yr.length-2],ct=Mr.get(xt);Jr(xt,!1),Pt(ct)}}Ar==null||Ar(mr)}}function ir(et){Promise.resolve().then(et)}var Xn="__RC_UTIL_PATH_SPLIT__",pt=function(st){return st.join(Xn)},At=function(st){return st.split(Xn)},Mt="rc-menu-more";function fn(){var et=me.useState({}),st=(0,ve.Z)(et,2),Ct=st[1],Bt=(0,me.useRef)(new Map),Jt=(0,me.useRef)(new Map),Tn=me.useState([]),Nn=(0,ve.Z)(Tn,2),Fr=Nn[0],Jr=Nn[1],Ar=(0,me.useRef)(0),er=(0,me.useRef)(!1),Wn=function(){er.current||Ct({})},ur=(0,me.useCallback)(function(qr,Ue){var tt=pt(Ue);Jt.current.set(tt,qr),Bt.current.set(qr,tt),Ar.current+=1;var tn=Ar.current;ir(function(){tn===Ar.current&&Wn()})},[]),mr=(0,me.useCallback)(function(qr,Ue){var tt=pt(Ue);Jt.current.delete(tt),Bt.current.delete(qr)},[]),Vr=(0,me.useCallback)(function(qr){Jr(qr)},[]),Dr=(0,me.useCallback)(function(qr,Ue){var tt=Bt.current.get(qr)||"",tn=At(tt);return Ue&&Fr.includes(tn[0])&&tn.unshift(Mt),tn},[Fr]),Mr=(0,me.useCallback)(function(qr,Ue){return qr.some(function(tt){var tn=Dr(tt,!0);return tn.includes(Ue)})},[Dr]),Tr=function(){var Ue=(0,Ze.Z)(Bt.current.keys());return Fr.length&&Ue.push(Mt),Ue},Or=(0,me.useCallback)(function(qr){var Ue="".concat(Bt.current.get(qr)).concat(Xn),tt=new Set;return(0,Ze.Z)(Jt.current.keys()).forEach(function(tn){tn.startsWith(Ue)&&tt.add(Jt.current.get(tn))}),tt},[]);return me.useEffect(function(){return function(){er.current=!0}},[]),{registerPath:ur,unregisterPath:mr,refreshOverflowKeys:Vr,isSubPathKey:Mr,getKeyPath:Dr,getKeys:Tr,getSubPathKeys:Or}}function $e(et){var st=me.useRef(et);st.current=et;var Ct=me.useCallback(function(){for(var Bt,Jt=arguments.length,Tn=new Array(Jt),Nn=0;Nn<Jt;Nn++)Tn[Nn]=arguments[Nn];return(Bt=st.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[st].concat(Tn))},[]);return et?Ct:void 0}var Ft=Math.random().toFixed(5).toString().slice(2),on=0;function _t(et){var st=(0,un.Z)(et,{value:et}),Ct=(0,ve.Z)(st,2),Bt=Ct[0],Jt=Ct[1];return me.useEffect(function(){on+=1;var Tn="".concat(Ft,"-").concat(on);Jt("rc-menu-uuid-".concat(Tn))},[]),Bt}var En=ie(15671),Sn=ie(43144),Bn=ie(60136),Qr=ie(51630),Lr=ie(98423),Sr=ie(42550);function jr(et,st,Ct,Bt){var Jt=me.useContext(le),Tn=Jt.activeKey,Nn=Jt.onActive,Fr=Jt.onInactive,Jr={active:Tn===et};return st||(Jr.onMouseEnter=function(Ar){Ct==null||Ct({key:et,domEvent:Ar}),Nn(et)},Jr.onMouseLeave=function(Ar){Bt==null||Bt({key:et,domEvent:Ar}),Fr(et)}),Jr}function zr(et){var st=me.useContext(le),Ct=st.mode,Bt=st.rtl,Jt=st.inlineIndent;if(Ct!=="inline")return null;var Tn=et;return Bt?{paddingRight:Tn*Jt}:{paddingLeft:Tn*Jt}}function Rt(et){var st=et.icon,Ct=et.props,Bt=et.children,Jt;return st===null||st===!1?null:(typeof st=="function"?Jt=me.createElement(st,(0,Re.Z)({},Ct)):typeof st!="boolean"&&(Jt=st),Jt||Bt||null)}var kt=["item"];function jt(et){var st=et.item,Ct=(0,Ee.Z)(et,kt);return Object.defineProperty(Ct,"item",{get:function(){return(0,kn.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),st}}),Ct}var zn=["title","attribute","elementRef"],lr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Hn=["active"],_n=function(et){(0,Bn.Z)(Ct,et);var st=(0,Qr.Z)(Ct);function Ct(){return(0,En.Z)(this,Ct),st.apply(this,arguments)}return(0,Sn.Z)(Ct,[{key:"render",value:function(){var Jt=this.props,Tn=Jt.title,Nn=Jt.attribute,Fr=Jt.elementRef,Jr=(0,Ee.Z)(Jt,zn),Ar=(0,Lr.Z)(Jr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,kn.ZP)(!Nn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),me.createElement(Ht.Item,(0,ae.Z)({},Nn,{title:typeof Tn=="string"?Tn:void 0},Ar,{ref:Fr}))}}]),Ct}(me.Component),Gn=me.forwardRef(function(et,st){var Ct,Bt=et.style,Jt=et.className,Tn=et.eventKey,Nn=et.warnKey,Fr=et.disabled,Jr=et.itemIcon,Ar=et.children,er=et.role,Wn=et.onMouseEnter,ur=et.onMouseLeave,mr=et.onClick,Vr=et.onKeyDown,Dr=et.onFocus,Mr=(0,Ee.Z)(et,lr),Tr=ue(Tn),Or=me.useContext(le),qr=Or.prefixCls,Ue=Or.onItemClick,tt=Or.disabled,tn=Or.overflowDisabled,Pt=Or.itemIcon,xn=Or.selectedKeys,Zn=Or.onActive,Jn=me.useContext(rn),yr=Jn._internalRenderMenuItem,xt="".concat(qr,"-item"),ct=me.useRef(),Lt=me.useRef(),dn=tt||Fr,qn=(0,Sr.x1)(st,Lt),In=$t(Tn),wn=function(Ei){return{key:Tn,keyPath:(0,Ze.Z)(In).reverse(),item:ct.current,domEvent:Ei}},xr=Jr||Pt,pr=jr(Tn,dn,Wn,ur),Pr=pr.active,dr=(0,Ee.Z)(pr,Hn),Vn=xn.includes(Tn),Hr=zr(In.length),ni=function(Ei){if(!dn){var $i=wn(Ei);mr==null||mr(jt($i)),Ue($i)}},Wr=function(Ei){if(Vr==null||Vr(Ei),Ei.which===gn.Z.ENTER){var $i=wn(Ei);mr==null||mr(jt($i)),Ue($i)}},Nr=function(Ei){Zn(Tn),Dr==null||Dr(Ei)},Gr={};et.role==="option"&&(Gr["aria-selected"]=Vn);var Li=me.createElement(_n,(0,ae.Z)({ref:ct,elementRef:qn,role:er===null?"none":er||"menuitem",tabIndex:Fr?null:-1,"data-menu-id":tn&&Tr?null:Tr},Mr,dr,Gr,{component:"li","aria-disabled":Fr,style:(0,Re.Z)((0,Re.Z)({},Hr),Bt),className:ye()(xt,(Ct={},(0,Oe.Z)(Ct,"".concat(xt,"-active"),Pr),(0,Oe.Z)(Ct,"".concat(xt,"-selected"),Vn),(0,Oe.Z)(Ct,"".concat(xt,"-disabled"),dn),Ct),Jt),onClick:ni,onKeyDown:Wr,onFocus:Nr}),Ar,me.createElement(Rt,{props:(0,Re.Z)((0,Re.Z)({},et),{},{isSelected:Vn}),icon:xr}));return yr&&(Li=yr(Li,et,{selected:Vn})),Li});function or(et,st){var Ct=et.eventKey,Bt=Kt(),Jt=$t(Ct);return me.useEffect(function(){if(Bt)return Bt.registerPath(Ct,Jt),function(){Bt.unregisterPath(Ct,Jt)}},[Jt]),Bt?null:me.createElement(Gn,(0,ae.Z)({},et,{ref:st}))}var Kr=me.forwardRef(or),Ln=["className","children"],Fi=function(st,Ct){var Bt=st.className,Jt=st.children,Tn=(0,Ee.Z)(st,Ln),Nn=me.useContext(le),Fr=Nn.prefixCls,Jr=Nn.mode,Ar=Nn.rtl;return me.createElement("ul",(0,ae.Z)({className:ye()(Fr,Ar&&"".concat(Fr,"-rtl"),"".concat(Fr,"-sub"),"".concat(Fr,"-").concat(Jr==="inline"?"inline":"vertical"),Bt),role:"menu"},Tn,{"data-menu-list":!0,ref:Ct}),Jt)},pi=me.forwardRef(Fi);pi.displayName="SubMenuList";var ha=pi,ra=ie(50344);function Qi(et,st){return(0,ra.Z)(et).map(function(Ct,Bt){if(me.isValidElement(Ct)){var Jt,Tn,Nn=Ct.key,Fr=(Jt=(Tn=Ct.props)===null||Tn===void 0?void 0:Tn.eventKey)!==null&&Jt!==void 0?Jt:Nn,Jr=Fr==null;Jr&&(Fr="tmp_key-".concat([].concat((0,Ze.Z)(st),[Bt]).join("-")));var Ar={key:Fr,eventKey:Fr};return me.cloneElement(Ct,Ar)}return Ct})}var Ca=ie(62709),Xi={adjustX:1,adjustY:1},Ri={topLeft:{points:["bl","tl"],overflow:Xi},topRight:{points:["br","tr"],overflow:Xi},bottomLeft:{points:["tl","bl"],overflow:Xi},bottomRight:{points:["tr","br"],overflow:Xi},leftTop:{points:["tr","tl"],overflow:Xi},leftBottom:{points:["br","bl"],overflow:Xi},rightTop:{points:["tl","tr"],overflow:Xi},rightBottom:{points:["bl","br"],overflow:Xi}},sa={topLeft:{points:["bl","tl"],overflow:Xi},topRight:{points:["br","tr"],overflow:Xi},bottomLeft:{points:["tl","bl"],overflow:Xi},bottomRight:{points:["tr","br"],overflow:Xi},rightTop:{points:["tr","tl"],overflow:Xi},rightBottom:{points:["br","bl"],overflow:Xi},leftTop:{points:["tl","tr"],overflow:Xi},leftBottom:{points:["bl","br"],overflow:Xi}},Da=null;function ki(et,st,Ct){if(st)return st;if(Ct)return Ct[et]||Ct.other}var Ji={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ea(et){var st=et.prefixCls,Ct=et.visible,Bt=et.children,Jt=et.popup,Tn=et.popupStyle,Nn=et.popupClassName,Fr=et.popupOffset,Jr=et.disabled,Ar=et.mode,er=et.onVisibleChange,Wn=me.useContext(le),ur=Wn.getPopupContainer,mr=Wn.rtl,Vr=Wn.subMenuOpenDelay,Dr=Wn.subMenuCloseDelay,Mr=Wn.builtinPlacements,Tr=Wn.triggerSubMenuAction,Or=Wn.forceSubMenuRender,qr=Wn.rootClassName,Ue=Wn.motion,tt=Wn.defaultMotions,tn=me.useState(!1),Pt=(0,ve.Z)(tn,2),xn=Pt[0],Zn=Pt[1],Jn=mr?(0,Re.Z)((0,Re.Z)({},sa),Mr):(0,Re.Z)((0,Re.Z)({},Ri),Mr),yr=Ji[Ar],xt=ki(Ar,Ue,tt),ct=me.useRef(xt);Ar!=="inline"&&(ct.current=xt);var Lt=(0,Re.Z)((0,Re.Z)({},ct.current),{},{leavedClassName:"".concat(st,"-hidden"),removeOnLeave:!1,motionAppear:!0}),dn=me.useRef();return me.useEffect(function(){return dn.current=(0,hr.Z)(function(){Zn(Ct)}),function(){hr.Z.cancel(dn.current)}},[Ct]),me.createElement(Ca.Z,{prefixCls:st,popupClassName:ye()("".concat(st,"-popup"),(0,Oe.Z)({},"".concat(st,"-rtl"),mr),Nn,qr),stretch:Ar==="horizontal"?"minWidth":null,getPopupContainer:ur,builtinPlacements:Jn,popupPlacement:yr,popupVisible:xn,popup:Jt,popupStyle:Tn,popupAlign:Fr&&{offset:Fr},action:Jr?[]:[Tr],mouseEnterDelay:Vr,mouseLeaveDelay:Dr,onPopupVisibleChange:er,forceRender:Or,popupMotion:Lt,fresh:!0},Bt)}var _a=ie(62874);function Oa(et){var st=et.id,Ct=et.open,Bt=et.keyPath,Jt=et.children,Tn="inline",Nn=me.useContext(le),Fr=Nn.prefixCls,Jr=Nn.forceSubMenuRender,Ar=Nn.motion,er=Nn.defaultMotions,Wn=Nn.mode,ur=me.useRef(!1);ur.current=Wn===Tn;var mr=me.useState(!ur.current),Vr=(0,ve.Z)(mr,2),Dr=Vr[0],Mr=Vr[1],Tr=ur.current?Ct:!1;me.useEffect(function(){ur.current&&Mr(!1)},[Wn]);var Or=(0,Re.Z)({},ki(Tn,Ar,er));Bt.length>1&&(Or.motionAppear=!1);var qr=Or.onVisibleChanged;return Or.onVisibleChanged=function(Ue){return!ur.current&&!Ue&&Mr(!0),qr==null?void 0:qr(Ue)},Dr?null:me.createElement(Ke,{mode:Tn,locked:!ur.current},me.createElement(_a.Z,(0,ae.Z)({visible:Tr},Or,{forceRender:Jr,removeOnLeave:!1,leavedClassName:"".concat(Fr,"-hidden")}),function(Ue){var tt=Ue.className,tn=Ue.style;return me.createElement(ha,{id:st,className:tt,style:tn},Jt)}))}var Oi=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Qt=["active"],Zt=function(st){var Ct,Bt=st.style,Jt=st.className,Tn=st.title,Nn=st.eventKey,Fr=st.warnKey,Jr=st.disabled,Ar=st.internalPopupClose,er=st.children,Wn=st.itemIcon,ur=st.expandIcon,mr=st.popupClassName,Vr=st.popupOffset,Dr=st.popupStyle,Mr=st.onClick,Tr=st.onMouseEnter,Or=st.onMouseLeave,qr=st.onTitleClick,Ue=st.onTitleMouseEnter,tt=st.onTitleMouseLeave,tn=(0,Ee.Z)(st,Oi),Pt=ue(Nn),xn=me.useContext(le),Zn=xn.prefixCls,Jn=xn.mode,yr=xn.openKeys,xt=xn.disabled,ct=xn.overflowDisabled,Lt=xn.activeKey,dn=xn.selectedKeys,qn=xn.itemIcon,In=xn.expandIcon,wn=xn.onItemClick,xr=xn.onOpenChange,pr=xn.onActive,Pr=me.useContext(rn),dr=Pr._internalRenderSubMenuItem,Vn=me.useContext(gr),Hr=Vn.isSubPathKey,ni=$t(),Wr="".concat(Zn,"-submenu"),Nr=xt||Jr,Gr=me.useRef(),Li=me.useRef(),xi=Wn!=null?Wn:qn,Ei=ur!=null?ur:In,$i=yr.includes(Nn),Aa=!ct&&$i,_i=Hr(dn,Nn),la=jr(Nn,Nr,Ue,tt),Ai=la.active,Ki=(0,Ee.Z)(la,Qt),ua=me.useState(!1),pa=(0,ve.Z)(ua,2),ao=pa[0],no=pa[1],ro=function(ho){Nr||no(ho)},Ha=function(ho){ro(!0),Tr==null||Tr({key:Nn,domEvent:ho})},wa=function(ho){ro(!1),Or==null||Or({key:Nn,domEvent:ho})},Wi=me.useMemo(function(){return Ai||(Jn!=="inline"?ao||Hr([Lt],Nn):!1)},[Jn,Ai,Lt,ao,Nn,Hr]),co=zr(ni.length),aa=function(ho){Nr||(qr==null||qr({key:Nn,domEvent:ho}),Jn==="inline"&&xr(Nn,!$i))},Bi=$e(function(to){Mr==null||Mr(jt(to)),wn(to)}),ma=function(ho){Jn!=="inline"&&xr(Nn,ho)},Ja=function(){pr(Nn)},Ba=Pt&&"".concat(Pt,"-popup"),Va=me.createElement("div",(0,ae.Z)({role:"menuitem",style:co,className:"".concat(Wr,"-title"),tabIndex:Nr?null:-1,ref:Gr,title:typeof Tn=="string"?Tn:null,"data-menu-id":ct&&Pt?null:Pt,"aria-expanded":Aa,"aria-haspopup":!0,"aria-controls":Ba,"aria-disabled":Nr,onClick:aa,onFocus:Ja},Ki),Tn,me.createElement(Rt,{icon:Jn!=="horizontal"?Ei:void 0,props:(0,Re.Z)((0,Re.Z)({},st),{},{isOpen:Aa,isSubMenu:!0})},me.createElement("i",{className:"".concat(Wr,"-arrow")}))),na=me.useRef(Jn);if(Jn!=="inline"&&ni.length>1?na.current="vertical":na.current=Jn,!ct){var oo=na.current;Va=me.createElement(Ea,{mode:oo,prefixCls:Wr,visible:!Ar&&Aa&&Jn!=="inline",popupClassName:mr,popupOffset:Vr,popupStyle:Dr,popup:me.createElement(Ke,{mode:oo==="horizontal"?"vertical":oo},me.createElement(ha,{id:Ba,ref:Li},er)),disabled:Nr,onVisibleChange:ma},Va)}var fo=me.createElement(Ht.Item,(0,ae.Z)({role:"none"},tn,{component:"li",style:Bt,className:ye()(Wr,"".concat(Wr,"-").concat(Jn),Jt,(Ct={},(0,Oe.Z)(Ct,"".concat(Wr,"-open"),Aa),(0,Oe.Z)(Ct,"".concat(Wr,"-active"),Wi),(0,Oe.Z)(Ct,"".concat(Wr,"-selected"),_i),(0,Oe.Z)(Ct,"".concat(Wr,"-disabled"),Nr),Ct)),onMouseEnter:Ha,onMouseLeave:wa}),Va,!ct&&me.createElement(Oa,{id:Ba,open:Aa,keyPath:ni},er));return dr&&(fo=dr(fo,st,{selected:_i,active:Wi,open:Aa,disabled:Nr})),me.createElement(Ke,{onItemClick:Bi,mode:Jn==="horizontal"?"vertical":Jn,itemIcon:xi,expandIcon:Ei},fo)};function Mn(et){var st=et.eventKey,Ct=et.children,Bt=$t(st),Jt=Qi(Ct,Bt),Tn=Kt();me.useEffect(function(){if(Tn)return Tn.registerPath(st,Bt),function(){Tn.unregisterPath(st,Bt)}},[Bt]);var Nn;return Tn?Nn=Jt:Nn=me.createElement(Zt,et,Jt),me.createElement(nn.Provider,{value:Bt},Nn)}var jn=ie(71002),sr=["className","title","eventKey","children"],Yr=["children"],si=function(st){var Ct=st.className,Bt=st.title,Jt=st.eventKey,Tn=st.children,Nn=(0,Ee.Z)(st,sr),Fr=me.useContext(le),Jr=Fr.prefixCls,Ar="".concat(Jr,"-item-group");return me.createElement("li",(0,ae.Z)({role:"presentation"},Nn,{onClick:function(Wn){return Wn.stopPropagation()},className:ye()(Ar,Ct)}),me.createElement("div",{role:"presentation",className:"".concat(Ar,"-title"),title:typeof Bt=="string"?Bt:void 0},Bt),me.createElement("ul",{role:"group",className:"".concat(Ar,"-list")},Tn))};function mi(et){var st=et.children,Ct=(0,Ee.Z)(et,Yr),Bt=$t(Ct.eventKey),Jt=Qi(st,Bt),Tn=Kt();return Tn?Jt:me.createElement(si,(0,Lr.Z)(Ct,["warnKey"]),Jt)}function Ci(et){var st=et.className,Ct=et.style,Bt=me.useContext(le),Jt=Bt.prefixCls,Tn=Kt();return Tn?null:me.createElement("li",{role:"separator",className:ye()("".concat(Jt,"-item-divider"),st),style:Ct})}var gi=["label","children","key","type"];function Ti(et){return(et||[]).map(function(st,Ct){if(st&&(0,jn.Z)(st)==="object"){var Bt=st,Jt=Bt.label,Tn=Bt.children,Nn=Bt.key,Fr=Bt.type,Jr=(0,Ee.Z)(Bt,gi),Ar=Nn!=null?Nn:"tmp-".concat(Ct);return Tn||Fr==="group"?Fr==="group"?me.createElement(mi,(0,ae.Z)({key:Ar},Jr,{title:Jt}),Ti(Tn)):me.createElement(Mn,(0,ae.Z)({key:Ar},Jr,{title:Jt}),Ti(Tn)):Fr==="divider"?me.createElement(Ci,(0,ae.Z)({key:Ar},Jr)):me.createElement(Kr,(0,ae.Z)({key:Ar},Jr),Jt)}return null}).filter(function(st){return st})}function qi(et,st,Ct){var Bt=et;return st&&(Bt=Ti(st)),Qi(Bt,Ct)}var li=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Vi=[],ia=me.forwardRef(function(et,st){var Ct,Bt,Jt=et,Tn=Jt.prefixCls,Nn=Tn===void 0?"rc-menu":Tn,Fr=Jt.rootClassName,Jr=Jt.style,Ar=Jt.className,er=Jt.tabIndex,Wn=er===void 0?0:er,ur=Jt.items,mr=Jt.children,Vr=Jt.direction,Dr=Jt.id,Mr=Jt.mode,Tr=Mr===void 0?"vertical":Mr,Or=Jt.inlineCollapsed,qr=Jt.disabled,Ue=Jt.disabledOverflow,tt=Jt.subMenuOpenDelay,tn=tt===void 0?.1:tt,Pt=Jt.subMenuCloseDelay,xn=Pt===void 0?.1:Pt,Zn=Jt.forceSubMenuRender,Jn=Jt.defaultOpenKeys,yr=Jt.openKeys,xt=Jt.activeKey,ct=Jt.defaultActiveFirst,Lt=Jt.selectable,dn=Lt===void 0?!0:Lt,qn=Jt.multiple,In=qn===void 0?!1:qn,wn=Jt.defaultSelectedKeys,xr=Jt.selectedKeys,pr=Jt.onSelect,Pr=Jt.onDeselect,dr=Jt.inlineIndent,Vn=dr===void 0?24:dr,Hr=Jt.motion,ni=Jt.defaultMotions,Wr=Jt.triggerSubMenuAction,Nr=Wr===void 0?"hover":Wr,Gr=Jt.builtinPlacements,Li=Jt.itemIcon,xi=Jt.expandIcon,Ei=Jt.overflowedIndicator,$i=Ei===void 0?"...":Ei,Aa=Jt.overflowedIndicatorPopupClassName,_i=Jt.getPopupContainer,la=Jt.onClick,Ai=Jt.onOpenChange,Ki=Jt.onKeyDown,ua=Jt.openAnimation,pa=Jt.openTransitionName,ao=Jt._internalRenderMenuItem,no=Jt._internalRenderSubMenuItem,ro=(0,Ee.Z)(Jt,li),Ha=me.useMemo(function(){return qi(mr,ur,Vi)},[mr,ur]),wa=me.useState(!1),Wi=(0,ve.Z)(wa,2),co=Wi[0],aa=Wi[1],Bi=me.useRef(),ma=_t(Dr),Ja=Vr==="rtl",Ba=(0,un.Z)(Jn,{value:yr,postState:function(oa){return oa||Vi}}),Va=(0,ve.Z)(Ba,2),na=Va[0],oo=Va[1],fo=function(oa){var Ra=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Fa(){oo(oa),Ai==null||Ai(oa)}Ra?(0,we.flushSync)(Fa):Fa()},to=me.useState(na),ho=(0,ve.Z)(to,2),bo=ho[0],Lo=ho[1],io=me.useRef(!1),lo=me.useMemo(function(){return(Tr==="inline"||Tr==="vertical")&&Or?["vertical",Or]:[Tr,!1]},[Tr,Or]),Ko=(0,ve.Z)(lo,2),Wo=Ko[0],Jo=Ko[1],Fo=Wo==="inline",po=me.useState(Wo),ga=(0,ve.Z)(po,2),Sa=ga[0],qa=ga[1],mo=me.useState(Jo),Io=(0,ve.Z)(mo,2),Go=Io[0],qo=Io[1];me.useEffect(function(){qa(Wo),qo(Jo),io.current&&(Fo?oo(bo):fo(Vi))},[Wo,Jo]);var ls=me.useState(0),Ss=(0,ve.Z)(ls,2),$o=Ss[0],Cs=Ss[1],ja=$o>=Ha.length-1||Sa!=="horizontal"||Ue;me.useEffect(function(){Fo&&Lo(na)},[na]),me.useEffect(function(){return io.current=!0,function(){io.current=!1}},[]);var be=fn(),Be=be.registerPath,Pe=be.unregisterPath,gt=be.refreshOverflowKeys,vt=be.isSubPathKey,vn=be.getKeyPath,ln=be.getKeys,Un=be.getSubPathKeys,Cn=me.useMemo(function(){return{registerPath:Be,unregisterPath:Pe}},[Be,Pe]),hn=me.useMemo(function(){return{isSubPathKey:vt}},[vt]);me.useEffect(function(){gt(ja?Vi:Ha.slice($o+1).map(function(La){return La.key}))},[$o,ja]);var nr=(0,un.Z)(xt||ct&&((Ct=Ha[0])===null||Ct===void 0?void 0:Ct.key),{value:xt}),Dn=(0,ve.Z)(nr,2),Pn=Dn[0],vr=Dn[1],br=$e(function(La){vr(La)}),Rn=$e(function(){vr(void 0)});(0,me.useImperativeHandle)(st,function(){return{list:Bi.current,focus:function(oa){var Ra,Fa=Pn!=null?Pn:(Ra=Ha.find(function(uo){return!uo.props.disabled}))===null||Ra===void 0?void 0:Ra.key;if(Fa){var ya,Ia,za;(ya=Bi.current)===null||ya===void 0||(Ia=ya.querySelector("li[data-menu-id='".concat(ce(ma,Fa),"']")))===null||Ia===void 0||(za=Ia.focus)===null||za===void 0||za.call(Ia,oa)}}}});var fr=(0,un.Z)(wn||[],{value:xr,postState:function(oa){return Array.isArray(oa)?oa:oa==null?Vi:[oa]}}),Rr=(0,ve.Z)(fr,2),Ur=Rr[0],ii=Rr[1],bi=function(oa){if(dn){var Ra=oa.key,Fa=Ur.includes(Ra),ya;In?Fa?ya=Ur.filter(function(za){return za!==Ra}):ya=[].concat((0,Ze.Z)(Ur),[Ra]):ya=[Ra],ii(ya);var Ia=(0,Re.Z)((0,Re.Z)({},oa),{},{selectedKeys:ya});Fa?Pr==null||Pr(Ia):pr==null||pr(Ia)}!In&&na.length&&Sa!=="inline"&&fo(Vi)},Pi=$e(function(La){la==null||la(jt(La)),bi(La)}),Si=$e(function(La,oa){var Ra=na.filter(function(ya){return ya!==La});if(oa)Ra.push(La);else if(Sa!=="inline"){var Fa=Un(La);Ra=Ra.filter(function(ya){return!Fa.has(ya)})}(0,yn.Z)(na,Ra,!0)||fo(Ra,!0)}),ui=function(oa,Ra){var Fa=Ra!=null?Ra:!na.includes(oa);Si(oa,Fa)},va=Fn(Sa,Pn,Ja,ma,Bi,ln,vn,vr,ui,Ki);me.useEffect(function(){aa(!0)},[]);var ca=me.useMemo(function(){return{_internalRenderMenuItem:ao,_internalRenderSubMenuItem:no}},[ao,no]),Ka=Sa!=="horizontal"||Ue?Ha:Ha.map(function(La,oa){return me.createElement(Ke,{key:La.key,overflowDisabled:oa>$o},La)}),Ya=me.createElement(Ht,(0,ae.Z)({id:Dr,ref:Bi,prefixCls:"".concat(Nn,"-overflow"),component:"ul",itemComponent:Kr,className:ye()(Nn,"".concat(Nn,"-root"),"".concat(Nn,"-").concat(Sa),Ar,(Bt={},(0,Oe.Z)(Bt,"".concat(Nn,"-inline-collapsed"),Go),(0,Oe.Z)(Bt,"".concat(Nn,"-rtl"),Ja),Bt),Fr),dir:Vr,style:Jr,role:"menu",tabIndex:Wn,data:Ka,renderRawItem:function(oa){return oa},renderRawRest:function(oa){var Ra=oa.length,Fa=Ra?Ha.slice(-Ra):null;return me.createElement(Mn,{eventKey:Mt,title:$i,disabled:ja,internalPopupClose:Ra===0,popupClassName:Aa},Fa)},maxCount:Sa!=="horizontal"||Ue?Ht.INVALIDATE:Ht.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(oa){Cs(oa)},onKeyDown:va},ro));return me.createElement(rn.Provider,{value:ca},me.createElement(Fe.Provider,{value:ma},me.createElement(Ke,{prefixCls:Nn,rootClassName:Fr,mode:Sa,openKeys:na,rtl:Ja,disabled:qr,motion:co?Hr:null,defaultMotions:co?ni:null,activeKey:Pn,onActive:br,onInactive:Rn,selectedKeys:Ur,inlineIndent:Vn,subMenuOpenDelay:tn,subMenuCloseDelay:xn,forceSubMenuRender:Zn,builtinPlacements:Gr,triggerSubMenuAction:Nr,getPopupContainer:_i,itemIcon:Li,expandIcon:xi,onItemClick:Pi,onOpenChange:Si},me.createElement(gr.Provider,{value:hn},Ya),me.createElement("div",{style:{display:"none"},"aria-hidden":!0},me.createElement(Yt.Provider,{value:Cn},Ha)))))}),ta=ia,ze=ta;ze.Item=Kr,ze.SubMenu=Mn,ze.ItemGroup=mi,ze.Divider=Ci;var Je=ze},66680:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(67294);function Oe(Re){var Ze=ae.useRef();Ze.current=Re;var ve=ae.useCallback(function(){for(var Ee,ke=arguments.length,ye=new Array(ke),me=0;me<ke;me++)ye[me]=arguments[me];return(Ee=Ze.current)===null||Ee===void 0?void 0:Ee.call.apply(Ee,[Ze].concat(ye))},[]);return ve}},21770:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Ee}});var ae=ie(97685),Oe=ie(66680),Re=ie(8410),Ze=ie(63896);function ve(ke){return ke!==void 0}function Ee(ke,ye){var me=ye||{},Le=me.defaultValue,mt=me.value,Ie=me.onChange,Xe=me.postState,ot=(0,Ze.Z)(function(){return ve(mt)?mt:ve(Le)?typeof Le=="function"?Le():Le:typeof ke=="function"?ke():ke}),dt=(0,ae.Z)(ot,2),nt=dt[0],Me=dt[1],ut=mt!==void 0?mt:nt,Ut=Xe?Xe(ut):ut,at=(0,Oe.Z)(Ie),ht=(0,Ze.Z)([ut]),we=(0,ae.Z)(ht,2),he=we[0],je=we[1];(0,Re.o)(function(){var Ge=he[0];nt!==Ge&&at(nt,Ge)},[he]),(0,Re.o)(function(){ve(mt)||Me(mt)},[mt]);var Ve=(0,Oe.Z)(function(Ge,qe){Me(Ge,qe),je([ut],qe)});return[Ut,Ve]}},91881:function(mn,en,ie){"use strict";var ae=ie(71002),Oe=ie(80334);function Re(Ze,ve){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ke=new Set;function ye(me,Le){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ie=ke.has(me);if((0,Oe.ZP)(!Ie,"Warning: There may be circular references"),Ie)return!1;if(me===Le)return!0;if(Ee&&mt>1)return!1;ke.add(me);var Xe=mt+1;if(Array.isArray(me)){if(!Array.isArray(Le)||me.length!==Le.length)return!1;for(var ot=0;ot<me.length;ot++)if(!ye(me[ot],Le[ot],Xe))return!1;return!0}if(me&&Le&&(0,ae.Z)(me)==="object"&&(0,ae.Z)(Le)==="object"){var dt=Object.keys(me);return dt.length!==Object.keys(Le).length?!1:dt.every(function(nt){return ye(me[nt],Le[nt],Xe)})}return!1}return ye(Ze,ve)}en.Z=Re},98423:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Oe}});var ae=ie(1413);function Oe(Re,Ze){var ve=(0,ae.Z)({},Re);return Array.isArray(Ze)&&Ze.forEach(function(Ee){delete ve[Ee]}),ve}},64217:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});var ae=ie(1413),Oe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,Re=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ze="".concat(Oe," ").concat(Re).split(/[\s\n]+/),ve="aria-",Ee="data-";function ke(me,Le){return me.indexOf(Le)===0}function ye(me){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt;Le===!1?mt={aria:!0,data:!0,attr:!0}:Le===!0?mt={aria:!0}:mt=(0,ae.Z)({},Le);var Ie={};return Object.keys(me).forEach(function(Xe){(mt.aria&&(Xe==="role"||ke(Xe,ve))||mt.data&&ke(Xe,Ee)||mt.attr&&Ze.includes(Xe))&&(Ie[Xe]=me[Xe])}),Ie}},73299:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return Di}});var ae=ie(87462),Oe=ie(1413),Re=ie(71002),Ze=ie(97685),ve=ie(4942),Ee=ie(45987),ke=ie(67294),ye=ie(73935),me=ie(94184),Le=ie.n(me),mt=ie(48555),Ie=ke.forwardRef(function(Ot,Nt){var cn=Ot.height,bn=Ot.offsetY,rr=Ot.offsetX,Fn=Ot.children,ir=Ot.prefixCls,Xn=Ot.onInnerResize,pt=Ot.innerProps,At=Ot.rtl,Mt=Ot.extra,fn={},$e={display:"flex",flexDirection:"column"};if(bn!==void 0){var Ft;fn={height:cn,position:"relative",overflow:"hidden"},$e=(0,Oe.Z)((0,Oe.Z)({},$e),{},(Ft={transform:"translateY(".concat(bn,"px)")},(0,ve.Z)(Ft,At?"marginRight":"marginLeft",-rr),(0,ve.Z)(Ft,"position","absolute"),(0,ve.Z)(Ft,"left",0),(0,ve.Z)(Ft,"right",0),(0,ve.Z)(Ft,"top",0),Ft))}return ke.createElement("div",{style:fn},ke.createElement(mt.Z,{onResize:function(_t){var En=_t.offsetHeight;En&&Xn&&Xn()}},ke.createElement("div",(0,ae.Z)({style:$e,className:Le()((0,ve.Z)({},"".concat(ir,"-holder-inner"),ir)),ref:Nt},pt),Fn,Mt)))});Ie.displayName="Filler";var Xe=Ie,ot=function(Nt){return+setTimeout(Nt,16)},dt=function(Nt){return clearTimeout(Nt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ot=function(Nt){return window.requestAnimationFrame(Nt)},dt=function(Nt){return window.cancelAnimationFrame(Nt)});var nt=0,Me=new Map;function ut(Ot){Me.delete(Ot)}var Ut=function(Nt){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;nt+=1;var bn=nt;function rr(Fn){if(Fn===0)ut(bn),Nt();else{var ir=ot(function(){rr(Fn-1)});Me.set(bn,ir)}}return rr(cn),bn};Ut.cancel=function(Ot){var Nt=Me.get(Ot);return ut(Nt),dt(Nt)};var at=Ut;function ht(Ot,Nt){var cn="touches"in Ot?Ot.touches[0]:Ot;return cn[Nt?"pageX":"pageY"]}var we=ke.forwardRef(function(Ot,Nt){var cn,bn=Ot.prefixCls,rr=Ot.rtl,Fn=Ot.scrollOffset,ir=Ot.scrollRange,Xn=Ot.onStartMove,pt=Ot.onStopMove,At=Ot.onScroll,Mt=Ot.horizontal,fn=Ot.spinSize,$e=Ot.containerSize,Ft=Ot.style,on=Ot.thumbStyle,_t=ke.useState(!1),En=(0,Ze.Z)(_t,2),Sn=En[0],Bn=En[1],Qr=ke.useState(null),Lr=(0,Ze.Z)(Qr,2),Sr=Lr[0],jr=Lr[1],zr=ke.useState(null),Rt=(0,Ze.Z)(zr,2),kt=Rt[0],jt=Rt[1],zn=!rr,lr=ke.useRef(),Hn=ke.useRef(),_n=ke.useState(!1),Gn=(0,Ze.Z)(_n,2),or=Gn[0],Kr=Gn[1],Ln=ke.useRef(),Fi=function(){clearTimeout(Ln.current),Kr(!0),Ln.current=setTimeout(function(){Kr(!1)},3e3)},pi=ir-$e||0,ha=$e-fn||0,ra=pi>0,Qi=ke.useMemo(function(){if(Fn===0||pi===0)return 0;var _a=Fn/pi;return _a*ha},[Fn,pi,ha]),Ca=function(Oa){Oa.stopPropagation(),Oa.preventDefault()},Xi=ke.useRef({top:Qi,dragging:Sn,pageY:Sr,startTop:kt});Xi.current={top:Qi,dragging:Sn,pageY:Sr,startTop:kt};var Ri=function(Oa){Bn(!0),jr(ht(Oa,Mt)),jt(Xi.current.top),Xn(),Oa.stopPropagation(),Oa.preventDefault()};ke.useEffect(function(){var _a=function(Zt){Zt.preventDefault()},Oa=lr.current,Oi=Hn.current;return Oa.addEventListener("touchstart",_a),Oi.addEventListener("touchstart",Ri),function(){Oa.removeEventListener("touchstart",_a),Oi.removeEventListener("touchstart",Ri)}},[]);var sa=ke.useRef();sa.current=pi;var Da=ke.useRef();Da.current=ha,ke.useEffect(function(){if(Sn){var _a,Oa=function(Zt){var Mn=Xi.current,jn=Mn.dragging,sr=Mn.pageY,Yr=Mn.startTop;if(at.cancel(_a),jn){var si=ht(Zt,Mt)-sr,mi=Yr;!zn&&Mt?mi-=si:mi+=si;var Ci=sa.current,gi=Da.current,Ti=gi?mi/gi:0,qi=Math.ceil(Ti*Ci);qi=Math.max(qi,0),qi=Math.min(qi,Ci),_a=at(function(){At(qi,Mt)})}},Oi=function(){Bn(!1),pt()};return window.addEventListener("mousemove",Oa),window.addEventListener("touchmove",Oa),window.addEventListener("mouseup",Oi),window.addEventListener("touchend",Oi),function(){window.removeEventListener("mousemove",Oa),window.removeEventListener("touchmove",Oa),window.removeEventListener("mouseup",Oi),window.removeEventListener("touchend",Oi),at.cancel(_a)}}},[Sn]),ke.useEffect(function(){Fi()},[Fn]),ke.useImperativeHandle(Nt,function(){return{delayHidden:Fi}});var ki="".concat(bn,"-scrollbar"),Ji={position:"absolute",visibility:or&&ra?null:"hidden"},Ea={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Mt?(Ji.height=8,Ji.left=0,Ji.right=0,Ji.bottom=0,Ea.height="100%",Ea.width=fn,zn?Ea.left=Qi:Ea.right=Qi):(Ji.width=8,Ji.top=0,Ji.bottom=0,zn?Ji.right=0:Ji.left=0,Ea.width="100%",Ea.height=fn,Ea.top=Qi),ke.createElement("div",{ref:lr,className:Le()(ki,(cn={},(0,ve.Z)(cn,"".concat(ki,"-horizontal"),Mt),(0,ve.Z)(cn,"".concat(ki,"-vertical"),!Mt),(0,ve.Z)(cn,"".concat(ki,"-visible"),or),cn)),style:(0,Oe.Z)((0,Oe.Z)({},Ji),Ft),onMouseDown:Ca,onMouseMove:Fi},ke.createElement("div",{ref:Hn,className:Le()("".concat(ki,"-thumb"),(0,ve.Z)({},"".concat(ki,"-thumb-moving"),Sn)),style:(0,Oe.Z)((0,Oe.Z)({},Ea),on),onMouseDown:Ri}))}),he=we;function je(Ot){var Nt=Ot.children,cn=Ot.setRef,bn=ke.useCallback(function(rr){cn(rr)},[]);return ke.cloneElement(Nt,{ref:bn})}function Ve(Ot,Nt,cn,bn,rr,Fn,ir){var Xn=ir.getKey;return Ot.slice(Nt,cn+1).map(function(pt,At){var Mt=Nt+At,fn=Fn(pt,Mt,{style:{width:bn}}),$e=Xn(pt);return ke.createElement(je,{key:$e,setRef:function(on){return rr(pt,on)}},fn)})}function Ge(Ot){return Ot instanceof HTMLElement||Ot instanceof SVGElement}function qe(Ot){return Ge(Ot)?Ot:Ot instanceof ke.Component?ye.findDOMNode(Ot):null}var Ye=ie(15671),We=ie(43144),St=function(){function Ot(){(0,Ye.Z)(this,Ot),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,We.Z)(Ot,[{key:"set",value:function(cn,bn){this.maps[cn]=bn,this.id+=1}},{key:"get",value:function(cn){return this.maps[cn]}}]),Ot}(),lt=St;function zt(Ot,Nt,cn){var bn=ke.useState(0),rr=(0,Ze.Z)(bn,2),Fn=rr[0],ir=rr[1],Xn=(0,ke.useRef)(new Map),pt=(0,ke.useRef)(new lt),At=(0,ke.useRef)();function Mt(){at.cancel(At.current)}function fn(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Mt();var on=function(){Xn.current.forEach(function(En,Sn){if(En&&En.offsetParent){var Bn=qe(En),Qr=Bn.offsetHeight;pt.current.get(Sn)!==Qr&&pt.current.set(Sn,Bn.offsetHeight)}}),ir(function(En){return En+1})};Ft?on():At.current=at(on)}function $e(Ft,on){var _t=Ot(Ft),En=Xn.current.get(_t);on?(Xn.current.set(_t,on),fn()):Xn.current.delete(_t),!En!=!on&&(on?Nt==null||Nt(Ft):cn==null||cn(Ft))}return(0,ke.useEffect)(function(){return Mt},[]),[$e,fn,pt.current,Fn]}function Dt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var pn=Dt()?ke.useLayoutEffect:ke.useEffect,Kn=function(Nt,cn){var bn=ke.useRef(!0);pn(function(){return Nt(bn.current)},cn),pn(function(){return bn.current=!1,function(){bn.current=!0}},[])},tr=function(Nt,cn){Kn(function(bn){if(!bn)return Nt()},cn)},it=Kn;function Ce(Ot){var Nt=ke.useRef();Nt.current=Ot;var cn=ke.useCallback(function(){for(var bn,rr=arguments.length,Fn=new Array(rr),ir=0;ir<rr;ir++)Fn[ir]=arguments[ir];return(bn=Nt.current)===null||bn===void 0?void 0:bn.call.apply(bn,[Nt].concat(Fn))},[]);return cn}function wt(Ot){var Nt=React.useRef(!1),cn=React.useState(Ot),bn=_slicedToArray(cn,2),rr=bn[0],Fn=bn[1];React.useEffect(function(){return Nt.current=!1,function(){Nt.current=!0}},[]);function ir(Xn,pt){pt&&Nt.current||Fn(Xn)}return[rr,ir]}function An(Ot){return Ot!==void 0}function Tt(Ot,Nt){var cn=Nt||{},bn=cn.defaultValue,rr=cn.value,Fn=cn.onChange,ir=cn.postState,Xn=useState(function(){return An(rr)?rr:An(bn)?typeof bn=="function"?bn():bn:typeof Ot=="function"?Ot():Ot}),pt=_slicedToArray(Xn,2),At=pt[0],Mt=pt[1],fn=rr!==void 0?rr:At,$e=ir?ir(fn):fn,Ft=useEvent(Fn),on=useState([fn]),_t=_slicedToArray(on,2),En=_t[0],Sn=_t[1];useLayoutUpdateEffect(function(){var Qr=En[0];At!==Qr&&Ft(At,Qr)},[En]),useLayoutUpdateEffect(function(){An(rr)||Mt(rr)},[rr]);var Bn=useEvent(function(Qr,Lr){Mt(Qr,Lr),Sn([fn],Lr)});return[$e,Bn]}var rt=ie(31461);function ft(Ot,Nt,cn){var bn=React.useRef({});return(!("value"in bn.current)||cn(bn.current.condition,Nt))&&(bn.current.value=Ot(),bn.current.condition=Nt),bn.current.value}function Wt(Ot,Nt){typeof Ot=="function"?Ot(Nt):_typeof(Ot)==="object"&&Ot&&"current"in Ot&&(Ot.current=Nt)}function qt(){for(var Ot=arguments.length,Nt=new Array(Ot),cn=0;cn<Ot;cn++)Nt[cn]=arguments[cn];var bn=Nt.filter(function(rr){return rr});return bn.length<=1?bn[0]:function(rr){Nt.forEach(function(Fn){Wt(Fn,rr)})}}function Xt(){for(var Ot=arguments.length,Nt=new Array(Ot),cn=0;cn<Ot;cn++)Nt[cn]=arguments[cn];return useMemo(function(){return qt.apply(void 0,Nt)},Nt,function(bn,rr){return bn.length!==rr.length||bn.every(function(Fn,ir){return Fn!==rr[ir]})})}function Ht(Ot){var Nt,cn,bn=isMemo(Ot)?Ot.type.type:Ot.type;return!(typeof bn=="function"&&!((Nt=bn.prototype)!==null&&Nt!==void 0&&Nt.render)||typeof Ot=="function"&&!((cn=Ot.prototype)!==null&&cn!==void 0&&cn.render))}function un(Ot){return!isValidElement(Ot)||isFragment(Ot)?!1:Ht(Ot)}function kn(Ot,Nt,cn,bn){if(!Nt.length)return cn;var rr=_toArray(Nt),Fn=rr[0],ir=rr.slice(1),Xn;return!Ot&&typeof Fn=="number"?Xn=[]:Array.isArray(Ot)?Xn=_toConsumableArray(Ot):Xn=_objectSpread({},Ot),bn&&cn===void 0&&ir.length===1?delete Xn[Fn][ir[0]]:Xn[Fn]=kn(Xn[Fn],ir,cn,bn),Xn}function yn(Ot,Nt,cn){var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Nt.length&&bn&&cn===void 0&&!get(Ot,Nt.slice(0,-1))?Ot:kn(Ot,Nt,cn,bn)}function Fe(Ot){return _typeof(Ot)==="object"&&Ot!==null&&Object.getPrototypeOf(Ot)===Object.prototype}function ce(Ot){return Array.isArray(Ot)?[]:{}}var ue=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function pe(){for(var Ot=arguments.length,Nt=new Array(Ot),cn=0;cn<Ot;cn++)Nt[cn]=arguments[cn];var bn=ce(Nt[0]);return Nt.forEach(function(rr){function Fn(ir,Xn){var pt=new Set(Xn),At=get(rr,ir),Mt=Array.isArray(At);if(Mt||Fe(At)){if(!pt.has(At)){pt.add(At);var fn=get(bn,ir);Mt?bn=yn(bn,ir,[]):(!fn||_typeof(fn)!=="object")&&(bn=yn(bn,ir,ce(At))),ue(At).forEach(function($e){Fn([].concat(_toConsumableArray(ir),[$e]),pt)})}}else bn=yn(bn,ir,At)}Fn([])}),bn}var de={},le=[],De=function(Nt){le.push(Nt)};function Ke(Ot,Nt){if(0)var cn}function Et(Ot,Nt){if(0)var cn}function Yt(){de={}}function Kt(Ot,Nt,cn){!Nt&&!de[cn]&&(Ot(!1,cn),de[cn]=!0)}function nn(Ot,Nt){Kt(Ke,Ot,Nt)}function $t(Ot,Nt){Kt(Et,Ot,Nt)}nn.preMessage=De,nn.resetWarned=Yt,nn.noteOnce=$t;var gr=null,kr=10;function rn(Ot,Nt,cn,bn,rr,Fn,ir,Xn){var pt=ke.useRef(),At=ke.useState(null),Mt=(0,Ze.Z)(At,2),fn=Mt[0],$e=Mt[1];return it(function(){if(fn&&fn.times<kr){if(!Ot.current){$e(function(Fi){return(0,Oe.Z)({},Fi)});return}Fn();var Ft=fn.targetAlign,on=fn.originAlign,_t=fn.index,En=fn.offset,Sn=Ot.current.clientHeight,Bn=!1,Qr=Ft,Lr=null;if(Sn){for(var Sr=Ft||on,jr=0,zr=0,Rt=0,kt=Math.min(Nt.length-1,_t),jt=0;jt<=kt;jt+=1){var zn=rr(Nt[jt]);zr=jr;var lr=cn.get(zn);Rt=zr+(lr===void 0?bn:lr),jr=Rt}for(var Hn=Sr==="top"?En:Sn-En,_n=kt;_n>=0;_n-=1){var Gn=rr(Nt[_n]),or=cn.get(Gn);if(or===void 0){Bn=!0;break}if(Hn-=or,Hn<=0)break}switch(Sr){case"top":Lr=zr-En;break;case"bottom":Lr=Rt-Sn+En;break;default:{var Kr=Ot.current.scrollTop,Ln=Kr+Sn;zr<Kr?Qr="top":Rt>Ln&&(Qr="bottom")}}Lr!==null&&ir(Lr),Lr!==fn.lastTop&&(Bn=!0)}Bn&&$e(function(Fi){return(0,Oe.Z)((0,Oe.Z)({},Fi),{},{times:Fi.times+1,targetAlign:Qr,lastTop:Lr})})}},[fn,Ot.current]),function(Ft){if(Ft==null){Xn();return}if(at.cancel(pt.current),typeof Ft=="number")ir(Ft);else if(Ft&&(0,Re.Z)(Ft)==="object"){var on,_t=Ft.align;"index"in Ft?on=Ft.index:on=Nt.findIndex(function(Bn){return rr(Bn)===Ft.key});var En=Ft.offset,Sn=En===void 0?0:En;$e({times:0,index:on,offset:Sn,originAlign:_t})}}}function gn(Ot,Nt,cn,bn){var rr=cn-Ot,Fn=Nt-cn,ir=Math.min(rr,Fn)*2;if(bn<=ir){var Xn=Math.floor(bn/2);return bn%2?cn+Xn+1:cn-Xn}return rr>Fn?cn-(bn-Fn):cn+(bn-rr)}function hr(Ot,Nt,cn){var bn=Ot.length,rr=Nt.length,Fn,ir;if(bn===0&&rr===0)return null;bn<rr?(Fn=Ot,ir=Nt):(Fn=Nt,ir=Ot);var Xn={__EMPTY_ITEM__:!0};function pt(on){return on!==void 0?cn(on):Xn}for(var At=null,Mt=Math.abs(bn-rr)!==1,fn=0;fn<ir.length;fn+=1){var $e=pt(Fn[fn]),Ft=pt(ir[fn]);if($e!==Ft){At=fn,Mt=Mt||$e!==pt(ir[fn+1]);break}}return At===null?null:{index:At,multiple:Mt}}function Er(Ot,Nt,cn){var bn=ke.useState(Ot),rr=(0,Ze.Z)(bn,2),Fn=rr[0],ir=rr[1],Xn=ke.useState(null),pt=(0,Ze.Z)(Xn,2),At=pt[0],Mt=pt[1];return ke.useEffect(function(){var fn=hr(Fn||[],Ot||[],Nt);(fn==null?void 0:fn.index)!==void 0&&(cn==null||cn(fn.index),Mt(Ot[fn.index])),ir(Ot)},[Ot]),[At]}var yt=(typeof navigator=="undefined"?"undefined":(0,Re.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),It=yt,$n=function(Ot,Nt){var cn=(0,ke.useRef)(!1),bn=(0,ke.useRef)(null);function rr(){clearTimeout(bn.current),cn.current=!0,bn.current=setTimeout(function(){cn.current=!1},50)}var Fn=(0,ke.useRef)({top:Ot,bottom:Nt});return Fn.current.top=Ot,Fn.current.bottom=Nt,function(ir){var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pt=ir<0&&Fn.current.top||ir>0&&Fn.current.bottom;return Xn&&pt?(clearTimeout(bn.current),cn.current=!1):(!pt||cn.current)&&rr(),!cn.current&&pt}};function Qn(Ot,Nt,cn,bn,rr){var Fn=(0,ke.useRef)(0),ir=(0,ke.useRef)(null),Xn=(0,ke.useRef)(null),pt=(0,ke.useRef)(!1),At=$n(Nt,cn);function Mt(En,Sn){at.cancel(ir.current),Fn.current+=Sn,Xn.current=Sn,!At(Sn)&&(It||En.preventDefault(),ir.current=at(function(){var Bn=pt.current?10:1;rr(Fn.current*Bn),Fn.current=0}))}function fn(En,Sn){rr(Sn,!0),It||En.preventDefault()}var $e=(0,ke.useRef)(null),Ft=(0,ke.useRef)(null);function on(En){if(Ot){at.cancel(Ft.current),Ft.current=at(function(){$e.current=null},2);var Sn=En.deltaX,Bn=En.deltaY,Qr=En.shiftKey,Lr=Sn,Sr=Bn;($e.current==="sx"||!$e.current&&Qr&&Bn&&!Sn)&&(Lr=Bn,Sr=0,$e.current="sx");var jr=Math.abs(Lr),zr=Math.abs(Sr);$e.current===null&&($e.current=bn&&jr>zr?"x":"y"),$e.current==="y"?Mt(En,Sr):fn(En,Lr)}}function _t(En){Ot&&(pt.current=En.detail===Xn.current)}return[on,_t]}var wr=14/15;function _r(Ot,Nt,cn){var bn=(0,ke.useRef)(!1),rr=(0,ke.useRef)(0),Fn=(0,ke.useRef)(null),ir=(0,ke.useRef)(null),Xn,pt=function($e){if(bn.current){var Ft=Math.ceil($e.touches[0].pageY),on=rr.current-Ft;rr.current=Ft,cn(on)&&$e.preventDefault(),clearInterval(ir.current),ir.current=setInterval(function(){on*=wr,(!cn(on,!0)||Math.abs(on)<=.1)&&clearInterval(ir.current)},16)}},At=function(){bn.current=!1,Xn()},Mt=function($e){Xn(),$e.touches.length===1&&!bn.current&&(bn.current=!0,rr.current=Math.ceil($e.touches[0].pageY),Fn.current=$e.target,Fn.current.addEventListener("touchmove",pt),Fn.current.addEventListener("touchend",At))};Xn=function(){Fn.current&&(Fn.current.removeEventListener("touchmove",pt),Fn.current.removeEventListener("touchend",At))},it(function(){return Ot&&Nt.current.addEventListener("touchstart",Mt),function(){var fn;(fn=Nt.current)===null||fn===void 0||fn.removeEventListener("touchstart",Mt),Xn(),clearInterval(ir.current)}},[Ot])}var ei=20;function Xr(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,cn=Ot/Nt*100;return isNaN(cn)&&(cn=0),cn=Math.max(cn,ei),cn=Math.min(cn,Ot/2),Math.floor(cn)}function ri(Ot,Nt,cn,bn){var rr=ke.useMemo(function(){return[new Map,[]]},[Ot,cn.id,bn]),Fn=(0,Ze.Z)(rr,2),ir=Fn[0],Xn=Fn[1],pt=function(Mt){var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mt,$e=ir.get(Mt),Ft=ir.get(fn);if($e===void 0||Ft===void 0)for(var on=Ot.length,_t=Xn.length;_t<on;_t+=1){var En,Sn=Ot[_t],Bn=Nt(Sn);ir.set(Bn,_t);var Qr=(En=cn.get(Bn))!==null&&En!==void 0?En:bn;if(Xn[_t]=(Xn[_t-1]||0)+Qr,Bn===Mt&&($e=_t),Bn===fn&&(Ft=_t),$e!==void 0&&Ft!==void 0)break}return{top:Xn[$e-1]||0,bottom:Xn[Ft]}};return pt}var fi=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Cr=[],yi={overflowY:"auto",overflowAnchor:"none"};function Gi(Ot,Nt){var cn=Ot.prefixCls,bn=cn===void 0?"rc-virtual-list":cn,rr=Ot.className,Fn=Ot.height,ir=Ot.itemHeight,Xn=Ot.fullHeight,pt=Xn===void 0?!0:Xn,At=Ot.style,Mt=Ot.data,fn=Ot.children,$e=Ot.itemKey,Ft=Ot.virtual,on=Ot.direction,_t=Ot.scrollWidth,En=Ot.component,Sn=En===void 0?"div":En,Bn=Ot.onScroll,Qr=Ot.onVirtualScroll,Lr=Ot.onVisibleChange,Sr=Ot.innerProps,jr=Ot.extraRender,zr=Ot.styles,Rt=(0,Ee.Z)(Ot,fi),kt=!!(Ft!==!1&&Fn&&ir),jt=kt&&Mt&&(ir*Mt.length>Fn||!!_t),zn=on==="rtl",lr=Le()(bn,(0,ve.Z)({},"".concat(bn,"-rtl"),zn),rr),Hn=Mt||Cr,_n=(0,ke.useRef)(),Gn=(0,ke.useRef)(),or=(0,ke.useState)(0),Kr=(0,Ze.Z)(or,2),Ln=Kr[0],Fi=Kr[1],pi=(0,ke.useState)(0),ha=(0,Ze.Z)(pi,2),ra=ha[0],Qi=ha[1],Ca=(0,ke.useState)(!1),Xi=(0,Ze.Z)(Ca,2),Ri=Xi[0],sa=Xi[1],Da=function(){sa(!0)},ki=function(){sa(!1)},Ji=ke.useCallback(function(ct){return typeof $e=="function"?$e(ct):ct==null?void 0:ct[$e]},[$e]),Ea={getKey:Ji};function _a(ct){Fi(function(Lt){var dn;typeof ct=="function"?dn=ct(Lt):dn=ct;var qn=Fr(dn);return _n.current.scrollTop=qn,qn})}var Oa=(0,ke.useRef)({start:0,end:Hn.length}),Oi=(0,ke.useRef)(),Qt=Er(Hn,Ji),Zt=(0,Ze.Z)(Qt,1),Mn=Zt[0];Oi.current=Mn;var jn=zt(Ji,null,null),sr=(0,Ze.Z)(jn,4),Yr=sr[0],si=sr[1],mi=sr[2],Ci=sr[3],gi=ke.useMemo(function(){if(!kt)return{scrollHeight:void 0,start:0,end:Hn.length-1,offset:void 0};if(!jt){var ct;return{scrollHeight:((ct=Gn.current)===null||ct===void 0?void 0:ct.offsetHeight)||0,start:0,end:Hn.length-1,offset:void 0}}for(var Lt=0,dn,qn,In,wn=Hn.length,xr=0;xr<wn;xr+=1){var pr=Hn[xr],Pr=Ji(pr),dr=mi.get(Pr),Vn=Lt+(dr===void 0?ir:dr);Vn>=Ln&&dn===void 0&&(dn=xr,qn=Lt),Vn>Ln+Fn&&In===void 0&&(In=xr),Lt=Vn}return dn===void 0&&(dn=0,qn=0,In=Math.ceil(Fn/ir)),In===void 0&&(In=Hn.length-1),In=Math.min(In+1,Hn.length-1),{scrollHeight:Lt,start:dn,end:In,offset:qn}},[jt,kt,Ln,Hn,Ci,Fn]),Ti=gi.scrollHeight,qi=gi.start,li=gi.end,Vi=gi.offset;Oa.current.start=qi,Oa.current.end=li;var ia=ke.useState({width:0,height:Fn}),ta=(0,Ze.Z)(ia,2),ze=ta[0],Je=ta[1],et=function(Lt){Je({width:Lt.width||Lt.offsetWidth,height:Lt.height||Lt.offsetHeight})},st=(0,ke.useRef)(),Ct=(0,ke.useRef)(),Bt=ke.useMemo(function(){return Xr(ze.width,_t)},[ze.width,_t]),Jt=ke.useMemo(function(){return Xr(ze.height,Ti)},[ze.height,Ti]),Tn=Ti-Fn,Nn=(0,ke.useRef)(Tn);Nn.current=Tn;function Fr(ct){var Lt=ct;return Number.isNaN(Nn.current)||(Lt=Math.min(Lt,Nn.current)),Lt=Math.max(Lt,0),Lt}var Jr=Ln<=0,Ar=Ln>=Tn,er=$n(Jr,Ar),Wn=function(){return{x:zn?-ra:ra,y:Ln}},ur=(0,ke.useRef)(Wn()),mr=Ce(function(){if(Qr){var ct=Wn();(ur.current.x!==ct.x||ur.current.y!==ct.y)&&(Qr(ct),ur.current=ct)}});function Vr(ct,Lt){var dn=ct;Lt?((0,ye.flushSync)(function(){Qi(dn)}),mr()):_a(dn)}function Dr(ct){var Lt=ct.currentTarget.scrollTop;Lt!==Ln&&_a(Lt),Bn==null||Bn(ct),mr()}var Mr=function(Lt){var dn=Lt,qn=_t-ze.width;return dn=Math.max(dn,0),dn=Math.min(dn,qn),dn},Tr=Ce(function(ct,Lt){Lt?((0,ye.flushSync)(function(){Qi(function(dn){var qn=dn+(zn?-ct:ct);return Mr(qn)})}),mr()):_a(function(dn){var qn=dn+ct;return qn})}),Or=Qn(kt,Jr,Ar,!!_t,Tr),qr=(0,Ze.Z)(Or,2),Ue=qr[0],tt=qr[1];_r(kt,_n,function(ct,Lt){return er(ct,Lt)?!1:(Ue({preventDefault:function(){},deltaY:ct}),!0)}),it(function(){function ct(dn){kt&&dn.preventDefault()}var Lt=_n.current;return Lt.addEventListener("wheel",Ue),Lt.addEventListener("DOMMouseScroll",tt),Lt.addEventListener("MozMousePixelScroll",ct),function(){Lt.removeEventListener("wheel",Ue),Lt.removeEventListener("DOMMouseScroll",tt),Lt.removeEventListener("MozMousePixelScroll",ct)}},[kt]),it(function(){_t&&Qi(function(ct){return Mr(ct)})},[ze.width,_t]);var tn=function(){var Lt,dn;(Lt=st.current)===null||Lt===void 0||Lt.delayHidden(),(dn=Ct.current)===null||dn===void 0||dn.delayHidden()},Pt=rn(_n,Hn,mi,ir,Ji,function(){return si(!0)},_a,tn);ke.useImperativeHandle(Nt,function(){return{getScrollInfo:Wn,scrollTo:function(Lt){function dn(qn){return qn&&(0,Re.Z)(qn)==="object"&&("left"in qn||"top"in qn)}dn(Lt)?(Lt.left!==void 0&&Qi(Mr(Lt.left)),Pt(Lt.top)):Pt(Lt)}}}),it(function(){if(Lr){var ct=Hn.slice(qi,li+1);Lr(ct,Hn)}},[qi,li,Hn]);var xn=ri(Hn,Ji,mi,ir),Zn=jr==null?void 0:jr({start:qi,end:li,virtual:jt,offsetX:ra,offsetY:Vi,rtl:zn,getSize:xn}),Jn=Ve(Hn,qi,li,_t,Yr,fn,Ea),yr=null;Fn&&(yr=(0,Oe.Z)((0,ve.Z)({},pt?"height":"maxHeight",Fn),yi),kt&&(yr.overflowY="hidden",_t&&(yr.overflowX="hidden"),Ri&&(yr.pointerEvents="none")));var xt={};return zn&&(xt.dir="rtl"),ke.createElement("div",(0,ae.Z)({style:(0,Oe.Z)((0,Oe.Z)({},At),{},{position:"relative"}),className:lr},xt,Rt),ke.createElement(mt.Z,{onResize:et},ke.createElement(Sn,{className:"".concat(bn,"-holder"),style:yr,ref:_n,onScroll:Dr,onMouseEnter:tn},ke.createElement(Xe,{prefixCls:bn,height:Ti,offsetX:ra,offsetY:Vi,scrollWidth:_t,onInnerResize:si,ref:Gn,innerProps:Sr,rtl:zn,extra:Zn},Jn))),jt&&Ti>Fn&&ke.createElement(he,{ref:st,prefixCls:bn,scrollOffset:Ln,scrollRange:Ti,rtl:zn,onScroll:Vr,onStartMove:Da,onStopMove:ki,spinSize:Jt,containerSize:ze.height,style:zr==null?void 0:zr.verticalScrollBar,thumbStyle:zr==null?void 0:zr.verticalScrollBarThumb}),jt&&_t&&ke.createElement(he,{ref:Ct,prefixCls:bn,scrollOffset:ra,scrollRange:_t,rtl:zn,onScroll:Vr,onStartMove:Da,onStopMove:ki,spinSize:Bt,containerSize:ze.width,horizontal:!0,style:zr==null?void 0:zr.horizontalScrollBar,thumbStyle:zr==null?void 0:zr.horizontalScrollBarThumb}))}var oi=ke.forwardRef(Gi);oi.displayName="List";var ea=oi,Di=ea},66392:function(mn,en){"use strict";var ie;var ae=Symbol.for("react.element"),Oe=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),Ee=Symbol.for("react.provider"),ke=Symbol.for("react.context"),ye=Symbol.for("react.server_context"),me=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),mt=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy"),ot=Symbol.for("react.offscreen"),dt;dt=Symbol.for("react.module.reference");function nt(Me){if(typeof Me=="object"&&Me!==null){var ut=Me.$$typeof;switch(ut){case ae:switch(Me=Me.type,Me){case Re:case ve:case Ze:case Le:case mt:return Me;default:switch(Me=Me&&Me.$$typeof,Me){case ye:case ke:case me:case Xe:case Ie:case Ee:return Me;default:return ut}}case Oe:return ut}}}ie=ke,ie=Ee,ie=ae,ie=me,ie=Re,ie=Xe,ie=Ie,ie=Oe,ie=ve,ie=Ze,ie=Le,ie=mt,ie=function(){return!1},ie=function(){return!1},ie=function(Me){return nt(Me)===ke},ie=function(Me){return nt(Me)===Ee},ie=function(Me){return typeof Me=="object"&&Me!==null&&Me.$$typeof===ae},ie=function(Me){return nt(Me)===me},ie=function(Me){return nt(Me)===Re},ie=function(Me){return nt(Me)===Xe},ie=function(Me){return nt(Me)===Ie},ie=function(Me){return nt(Me)===Oe},ie=function(Me){return nt(Me)===ve},ie=function(Me){return nt(Me)===Ze},ie=function(Me){return nt(Me)===Le},ie=function(Me){return nt(Me)===mt},ie=function(Me){return typeof Me=="string"||typeof Me=="function"||Me===Re||Me===ve||Me===Ze||Me===Le||Me===mt||Me===ot||typeof Me=="object"&&Me!==null&&(Me.$$typeof===Xe||Me.$$typeof===Ie||Me.$$typeof===Ee||Me.$$typeof===ke||Me.$$typeof===me||Me.$$typeof===dt||Me.getModuleId!==void 0)},ie=nt},31461:function(mn,en,ie){"use strict";ie(66392)},25510:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoEvmYb+yOnUPtdpfXertd1qbnXSTL2JoIziopUhPFlQdnJhWsgAKZGVR6EKQSwSZzgCptspoBEUP+Z5laMx5AYAgqBDgZ7AXYULIY8/cNmglucXZkeD7b/xYDoU6Kt4+woHfMkE+uNPnmukO1ca3T7aE5nb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MMw2glDUqzWKQTrPk42YizVxecak0ApFrn3kCqDqpikGAwTQrx/oQqpPJyED/XG5PU/dUx32BzfTaQeBlIzZRXGzHWJLheDRBAqphBwcTZ8HMySR9DlpVrHu/kbIOoO7FtuUZ2wtItJo3+WgaVA/CWXOYxROZLthxJjzEEqo8YehTD8rW0zi3WcbBVy9w51Sp/Q7x7B8kahCQXRnXDOhTLT2KSGDZxNPw4RpagMFFVQ5yxurK8zCOBtMBXIAkWwcQXRlbi8jBUmWmA2UxJbQEWOSzbpKkXo3Or2oI978ry7d66spT3iPmGauNc+oixw91ZQkXEM6q1WQ0/LlI4KAwk+du1wVTz9KoI2OyC2kAkXUvEGI/o4eilGnKBNbowO0jWX0nYQRIxyR2IwG70OAwkw+OJNU3ESHcn2WKBZGeRPcZwHSUng2RCy9lUB0jKfWnCQTJIV4TaaLJo0Ypx5dpBehAm1Q6SHD4RpVfHHAOXyPa/qqgLJOtPWSSTtPwLyIXp2R9Y5T8rqO+UrP8Gpjgw8TngMx8AAAAASUVORK5CYII="},19664:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAElZJREFUaEPFWwd0VWW2/s5NL4AEBamDSpEhSBGEyFAEpESKgDAIKCgKTx2KyjAMIlVAUIo8Hk2QFXHAR3E9BESQEAJBKUoRlECoShqQAoQkpJwz699/Of8594Sg8+a9u8K69552z9nf/+397YIBAPkpn9UySzDPgNHRMozqBgwYhsF28XeDfacvYrv7nR9nAbAMAz46E7B84hoWnUr7ynv5THYVcT67Iv8DLEu9sy2WRb/Gt9NHfh7bTv/kuWy7ZcKyTNpvsnd2qGmB3bFlymuJY+T54p1d16Cf4efx67PP8ndN/tza8fx+2PX4Pcp97Olpm3av4uns5wPSfTD3GkbAhFqx068YDJySotITBowoGD4bEAkSwwdOkGgLAcf++DnsVjgeBkwvkKTVywHJEAYhY4sHkrByw0swbJDYdm5Euc39mRlUG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hFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0ZSvnk+dtaV++e+dwktjzzQsFqTjmum3oRm2ZOtZbSc8hue5j/ie/x3n1nXeSv50ygv8RJ9MY7Hn08O+1+t9nfnNG8EW5xJHZs98NmCsEANdJ/tulLP2PEiP/442nw5z6/XzYTTq6HcmObSBXkSfm/uxtrTdtLk50/A3WgSZtHX812iA3imrbDq2kZxfoWVOo8hxGPXf0yDygP+eR8F3vtqdjrGTHsNN/0Pbo4z2Xadi0fcqZaSOeBTpMX/9KvDPZHnCu9V3vc2r7zvZYW6dyL4T2WE83nQgYlpy73MQwZqdz52czyKns8jTUeR06uR0FBkGdkhW04VN7Rr7TRc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iI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ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oeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},79633:function(mn){"use strict";mn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JE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Tcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},84279:function(mn,en,ie){"use strict";var ae=Object.defineProperty,Oe=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,ke=(a,y,b)=>y in a?ae(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,ye=(a,y)=>{for(var b in y||(y={}))ve.call(y,b)&&ke(a,b,y[b]);if(Ze)for(var b of Ze(y))Ee.call(y,b)&&ke(a,b,y[b]);return a},me=(a,y)=>Oe(a,Re(y)),Le=a=>typeof a=="symbol"?a:a+"",mt=(a,y)=>{var b={};for(var E in a)ve.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&Ze)for(var E of Ze(a))y.indexOf(E)<0&&Ee.call(a,E)&&(b[E]=a[E]);return b};function Ie(a){return Array.isArray(a)}var Xe={en:{"keyboard.tooltip.symbols":"\u7B26\u53F7","keyboard.tooltip.greek":"\u5E0C\u814A\u5B57\u6BCD","keyboard.tooltip.numeric":"\u6570\u5B57","keyboard.tooltip.alphabetic":"\u7F57\u9A6C\u5B57\u6BCD","tooltip.cut to clipboard":"\u526A\u5207\u5230\u526A\u8D34\u677F","tooltip.copy to clipboard":"\u590D\u5236\u5230\u526A\u8D34\u677F","tooltip.paste from clipboard":"\u7C98\u8D34","tooltip.redo":"\u91CD\u505A","tooltip.toggle virtual keyboard":"\u5207\u6362\u865A\u62DF\u952E\u76D8","tooltip.undo":"\u64A4\u6D88","menu.insert matrix":"\u63D2\u5165\u77E9\u9635","menu.borders":"\u77E9\u9635\u5206\u9694\u7B26","menu.array.add row above":"\u5728\u540E\u9762\u6DFB\u52A0\u884C","menu.array.add row below":"\u5728\u524D\u9762\u6DFB\u52A0\u884C","menu.array.add column after":"\u5728\u540E\u9762\u6DFB\u52A0\u5217r","menu.array.add column before":"\u5728\u524D\u9762\u6DFB\u52A0\u5217","menu.array.delete row":"\u5220\u9664\u884C","menu.array.delete rows":"\u5220\u9664\u9009\u5B9A\u884C","menu.array.delete column":"\u5220\u9664\u5217","menu.array.delete columns":"\u5220\u9664\u9009\u5B9A\u7684\u5217","menu.mode":"\u6A21\u5F0F","menu.mode-math":"\u6570\u5B66","menu.mode-text":"\u6587\u672C","menu.mode-latex":"LaTeX","tooltip.blackboard":"\u9ED1\u677F","tooltip.bold":"\u7C97\u4F53","tooltip.italic":"\u659C\u4F53","tooltip.fraktur":"Fraktur","tooltip.script":"\u811A\u672C","tooltip.caligraphic":"\u8349\u4E66","tooltip.typewriter":"\u6253\u5B57\u673A","tooltip.roman-upright":"\u7F57\u9A6C\u76F4\u7ACB","tooltip.row-by-col":"%@ \xD7 %@","menu.font-style":"\u5B57\u4F53\u6837\u5F0F","menu.accent":"\u91CD\u97F3","menu.decoration":"\u88C5\u9970","menu.color":"\u989C\u8272","menu.background-color":"\u80CC\u666F","menu.evaluate":"\u8BA1\u7B97","menu.simplify":"\u7B80\u5316","menu.solve":"\u6C42\u89E3","menu.solve-for":"\u6C42\u89E3 %@","menu.cut":"\u526A\u5207","menu.copy":"\u590D\u5236","menu.copy-as-latex":"\u590D\u5236\u4E3A LaTeX","menu.copy-as-ascii-math":"\u590D\u5236\u4E3A ASCII Math","menu.copy-as-mathml":"\u590D\u5236\u4E3A MathML","menu.paste":"\u7C98\u8D34","menu.select-all":"\u5168\u9009","color.red":"\u7EA2\u8272","color.orange":"\u6A59\u8272","color.yellow":"\u9EC4\u8272","color.lime":"\u7EFF\u9EC4\u8272","color.green":"\u7EFF\u8272","color.teal":"\u9752\u8272","color.cyan":"\u84DD\u7EFF\u8272","color.blue":"\u84DD\u8272","color.indigo":"\u975B\u84DD\u8272","color.purple":"\u7D2B\u8272","color.magenta":"\u6D0B\u7EA2\u8272","color.black":"\u9ED1\u8272","color.dark-grey":"\u6DF1\u7070\u8272","color.grey":"\u7070\u8272","color.light-grey":"\u6D45\u7070\u8272","color.white":"\u767D\u8272"}};function ot(){return"window"in globalThis&&"document"in globalThis}function dt(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function nt(){return typeof navigator.vibrate=="function"}function Me(){var a,y;if(!ot())return"other";const b=(y=(a=navigator.userAgentData)==null?void 0:a.platform)!=null?y:navigator.platform;return/^mac/i.test(b)?navigator.maxTouchPoints===5?"ios":"macos":/^win/i.test(b)?"windows":/android/i.test(navigator.userAgent)?"android":/iphone|ipod|ipad/i.test(navigator.userAgent)?"ios":/\bcros\b/i.test(navigator.userAgent)?"chromeos":"other"}function ut(){if(!ot())return!0;if(/firefox/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/firefox\/(\d+)/i);return a?parseInt(a[1])>=78:!1}if(/trident/i.test(navigator.userAgent))return!1;if(/edge/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/edg\/(\d+)/i);return a?parseInt(a[1])>=79:!1}return!0}function Ut(){return HTMLElement.prototype.hasOwnProperty("popover")}var at={strings:Xe,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return at._locale||(at._locale=ot()?navigator.language.slice(0,5):"en-US"),at._locale},set locale(a){at._locale=a,at._numberFormatter=void 0,at.dirty=!0},get numberFormatter(){return at._numberFormatter||(at._numberFormatter=new Intl.NumberFormat(at.locale)),at._numberFormatter},merge(a,y){if(typeof a=="string"&&y)at.strings[a]=ye(ye({},at.strings[a]),y),at.dirty=!0;else for(const b of Object.keys(a))at.merge(b,a[b])},get dirty(){return at._dirty},set dirty(a){at._dirty||at._dirty===a||(at._dirty=!0,setTimeout(()=>{at._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return at._subscribers.push(a),at._subscribers.length-1},unsubscribe(a){a<0||a>=at._subscribers.length||(at._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const E=b.getAttribute("data-l10n-tooltip");if(E){const ee=ht(E);ee&&b.setAttribute("data-tooltip",ee)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const E=b.getAttribute("data-l10n-arial-label");if(E){const ee=ht(E);ee&&b.setAttribute("aria-label",ee)}}}};function ht(a,...y){if(a===void 0)return;let b="";const E=at.locale;at.strings[E]&&(b=at.strings[E][a]);const ee=E.slice(0,2);if(!b&&at.strings[ee]&&(b=at.strings[ee][a]),b||(b=at.strings.en[a]),!b)return;const re=/(%@|%([0-9]+)\$@)/g;let se=re.exec(b),ge=0;for(;se;){if(y[ge++]){const Ae=se[2]?parseInt(se[2],10)-1:ge-1;let Te=y[Ae];typeof Te=="number"&&(Te=at.numberFormatter.format(Te)),b=b.replace(se[1],Te)}se=re.exec(b)}return b=b.replace(/%%/g,"%"),b}var we={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},he={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},je={red:"#fbbbb6",orange:"#ffe0c2",yellow:"#fff1c2",lime:"#d0e8b9",green:"#bceac4",teal:"#b9f1f1",cyan:"#b8e5c9",blue:"#b6d9fb",indigo:"#d1c2f0",purple:"#e3baf8",magenta:"#f9c8e0",black:"#353535","dark-grey":"#8C8C8C",grey:"#D0D0D0","light-grey":"#F0F0F0",white:"#ffffff"},Ve={red:"#d7170b",orange:"#fe8a2b",yellow:"#ffc02b",lime:"#63b215",green:"#21ba3a",teal:"#17cfcf",cyan:"#13a7ec",blue:"#0d80f2",indigo:"#63c",purple:"#a219e6",magenta:"#eb4799",black:"#000","dark-grey":"#666",grey:"#A6A6A6","light-grey":"#d4d5d2",white:"#ffffff"},Ge={Red:"red",Orange:"orange",Yellow:"yellow",LimeGreen:"lime",Green:"green",TealBlue:"teal",Blue:"blue",Violet:"indigo",Purple:"purple",Magenta:"magenta",Black:"black",Gray:"grey",White:"white"},qe={Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",CadetBlue:"#74729A",CarnationPink:"#F282B4",Cerulean:"#00A2E3",CornflowerBlue:"#41B0E4",Cyan:"#00AEEF",Dandelion:"#FDBC42",DarkOrchid:"#A4538A",Emerald:"#00A99D",ForestGreen:"#009B55",Fuchsia:"#8C368C",Goldenrod:"#FFDF42",Gray:"#949698",Green:"#00A64F",GreenYellow:"#DFE674",JungleGreen:"#00A99A",Lavender:"#F49EC4",Limegreen:"#8DC73E",Magenta:"#EC008C",Mahogany:"#A9341F",Maroon:"#AF3235",Melon:"#F89E7B",MidnightBlue:"#006795",Mulberry:"#A93C93",NavyBlue:"#006EB8",OliveGreen:"#3C8031",Orange:"#F58137",OrangeRed:"#ED135A",Orchid:"#AF72B0",Peach:"#F7965A",Periwinkle:"#7977B8",PineGreen:"#008B72",Plum:"#92268F",ProcessBlue:"#00B0F0",Purple:"#99479B",RawSienna:"#974006",Red:"#ED1B23",RedOrange:"#F26035",RedViolet:"#A1246B",Rhodamine:"#EF559F",RoyalBlue:"#0071BC",RoyalPurple:"#613F99",RubineRed:"#ED017D",Salmon:"#F69289",SeaGreen:"#3FBC9D",Sepia:"#671800",SkyBlue:"#46C5DD",SpringGreen:"#C6DC67",Tan:"#DA9D76",TealBlue:"#00AEB3",Thistle:"#D883B7",Turquoise:"#00B4CE",Violet:"#58429B",VioletRed:"#EF58A0",White:"#FFFFFF",WildStrawberry:"#EE2967",Yellow:"#FFF200",YellowGreen:"#98CC70",YellowOrange:"#FAA21A"};function Ye(a){var y,b,E,ee,re,se;const ge=a.split("!");let xe,Ae,Te,Qe=255,bt=255,Gt=255,an=-1;const cr=ge.length>0&&ge[0].startsWith("-");cr&&(ge[0]=ge[0].slice(1));for(let di=0;di<ge.length;di++){xe=Qe,Ae=bt,Te=Gt;const ar=(y=ge[di].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],Zr=ar==null?void 0:ar.toLowerCase(),hi=ar&&(se=(re=(ee=(E=(b=Ve[Zr])!=null?b:Ve[Ge[ar]])!=null?E:he[ar])!=null?ee:qe[ar])!=null?re:we[ar])!=null?se:ge[di].trim();let $r=hi.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if($r!=null&&$r[1]&&$r[2]&&$r[3])Qe=Math.max(0,Math.min(255,Number.parseInt($r[1],16))),bt=Math.max(0,Math.min(255,Number.parseInt($r[2],16))),Gt=Math.max(0,Math.min(255,Number.parseInt($r[3],16)));else if($r=hi.match(/^#([\da-f]{3})$/i),$r!=null&&$r[1]){const Yi=Number.parseInt($r[1][0],16),xa=Number.parseInt($r[1][1],16),fa=Number.parseInt($r[1][2],16);Qe=Math.max(0,Math.min(255,Yi*16+Yi)),bt=Math.max(0,Math.min(255,xa*16+xa)),Gt=Math.max(0,Math.min(255,fa*16+fa))}else if($r=hi.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),$r!=null&&$r[1]&&$r[2]&&$r[3])Qe=Math.max(0,Math.min(255,Number.parseInt($r[1]))),bt=Math.max(0,Math.min(255,Number.parseInt($r[2]))),Gt=Math.max(0,Math.min(255,Number.parseInt($r[3])));else return;an>=0&&(Qe=(1-an)*Qe+an*xe,bt=(1-an)*bt+an*Ae,Gt=(1-an)*Gt+an*Te,an=-1),di+1<ge.length&&(an=Math.max(0,Math.min(100,Number.parseInt(ge[++di])))/100)}return an>=0&&(Qe=an*Qe+(1-an)*xe,bt=an*bt+(1-an)*Ae,Gt=an*Gt+(1-an)*Te),cr&&(Qe=255-Qe,bt=255-bt,Gt=255-Gt),"#"+("00"+Math.round(Qe).toString(16)).slice(-2)+("00"+Math.round(bt).toString(16)).slice(-2)+("00"+Math.round(Gt).toString(16)).slice(-2)}function We(a){var y,b;return a=a.trim(),(b=(y=je[a.toLowerCase()])!=null?y:je[Ge[a]])!=null?b:Ye(a)}function St(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&y.a===void 0&&(y.a=1),y}function lt(a,y,b){return b<0&&(b+=6),b>=6&&(b-=6),b<1?(y-a)*b+a:b<3?y:b<4?(y-a)*(4-b)+a:a}function zt(a){let[y,b,E]=[a.h,a.s,a.l];y=(y+360)%360/60,E=Math.max(0,Math.min(E,1)),b=Math.max(0,Math.min(b,1));const ee=E<=.5?E*(b+1):E+b-E*b,re=E*2-ee;return{r:Math.round(255*lt(re,ee,y+2)),g:Math.round(255*lt(re,ee,y)),b:Math.round(255*lt(re,ee,y-2))}}function Dt(a){return a<0?0:a>255?255:Math.round(a)}function pn(a){const{r:y,g:b,b:E}=a;let ee=((1<<24)+(Dt(y)<<16)+(Dt(b)<<8)+Dt(E)).toString(16).slice(1);return ee[0]===ee[1]&&ee[2]===ee[3]&&ee[4]===ee[5]&&ee[6]===ee[7]&&(ee=ee[0]+ee[2]+ee[4]),"#"+ee}function Kn(a){let{r:y,g:b,b:E}=a;y=y/255,b=b/255,E=E/255;const ee=Math.min(y,b,E),re=Math.max(y,b,E),se=re-ee;let ge,xe;re===ee?ge=0:y===re?ge=(b-E)/se:b===re?ge=2+(E-y)/se:E===re&&(ge=4+(y-b)/se),ge=Math.min(ge*60,360),ge<0&&(ge+=360);const Ae=(ee+re)/2;return re===ee?xe=0:Ae<=.5?xe=se/(re+ee):xe=se/(2-re-ee),{h:ge,s:xe,l:Ae}}function tr(a){let y=St(a);if(!y)return a;let{h:b,s:E,l:ee}=Kn(y);return E+=.1,ee-=.1,pn(zt({h:b,s:E,l:ee}))}var it={60:"\\lt",62:"\\gt",111:"o",38:"\\&",123:"\\lbrace",125:"\\rbrace",91:"\\lbrack",93:"\\rbrack",58:"\\colon",160:"~",172:"\\neg",183:"\\cdot",188:"\\frac{1}{4}",189:"\\frac{1}{2}",190:"\\frac{3}{4}",8304:"^{0}",8305:"^{i}",185:"^{1}",178:"^{2}",179:"^{3}",8224:"\\dagger",8225:"\\ddagger",8230:"\\ldots",8308:"^{4}",8309:"^{5}",8310:"^{6}",8311:"^{7}",8312:"^{8}",8313:"^{9}",8314:"^{+}",8315:"^{-}",8316:"^{=}",8319:"^{n}",8320:"_{0}",8321:"_{1}",8322:"_{2}",8323:"_{3}",8324:"_{4}",8325:"_{5}",8326:"_{6}",8327:"_{7}",8328:"_{8}",8329:"_{9}",8330:"_{+}",8331:"_{-}",8332:"_{=}",8336:"_{a}",8337:"_{e}",8338:"_{o}",8339:"_{x}",8242:"\\prime",39:"\\prime",8592:"\\gets",8594:"\\to",9651:"\\triangle",9661:"\\triangledown",8715:"\\owns",8727:"\\ast",8739:"\\vert",8741:"\\Vert",8743:"\\land",8744:"\\lor",8901:"\\cdot",8904:"\\bowtie",8800:"\\ne",8804:"\\le",8805:"\\ge",8869:"\\bot",10231:"\\biconditional",10232:"\\impliedby",10233:"\\implies",10234:"\\iff",8450:"\\mathbb{C}",8469:"\\mathbb{N}",8473:"\\mathbb{P}",8474:"\\mathbb{Q}",8477:"\\mathbb{R}",8484:"\\mathbb{Z}",8461:"\\mathbb{H}",8476:"\\Re",8465:"\\Im",42:"\\ast",11036:"\\square",9633:"\\square",8720:"\\coprod",8716:"\\not\\ni",9671:"\\diamond",8846:"\\uplus",8851:"\\sqcap",8852:"\\sqcup",8768:"\\wr",8750:"\\oint",8226:"\\textbullet",8722:"-",978:"\\Upsilon"},Ce={119893:8462,119965:8492,119968:8496,119969:8497,119971:8459,119972:8464,119975:8466,119976:8499,119981:8475,119994:8495,119996:8458,120004:8500,120070:8493,120075:8460,120076:8465,120085:8476,120093:8488,120122:8450,120127:8461,120133:8469,120135:8473,120136:8474,120137:8477,120145:8484},wt=[{start:119808,len:26,offset:65,style:"bold"},{start:119834,len:26,offset:97,style:"bold"},{start:119860,len:26,offset:65,style:"italic"},{start:119886,len:26,offset:97,style:"italic"},{start:119912,len:26,offset:65,style:"bolditalic"},{start:119938,len:26,offset:97,style:"bolditalic"},{start:119964,len:26,offset:65,variant:"script"},{start:119990,len:26,offset:97,variant:"script"},{start:120016,len:26,offset:65,variant:"script",style:"bold"},{start:120042,len:26,offset:97,variant:"script",style:"bold"},{start:120068,len:26,offset:65,variant:"fraktur"},{start:120094,len:26,offset:97,variant:"fraktur"},{start:120172,len:26,offset:65,variant:"fraktur",style:"bold"},{start:120198,len:26,offset:97,variant:"fraktur",style:"bold"},{start:120120,len:26,offset:65,variant:"double-struck"},{start:120146,len:26,offset:97,variant:"double-struck"},{start:120224,len:26,offset:65,variant:"sans-serif"},{start:120250,len:26,offset:97,variant:"sans-serif"},{start:120276,len:26,offset:65,variant:"sans-serif",style:"bold"},{start:120302,len:26,offset:97,variant:"sans-serif",style:"bold"},{start:120328,len:26,offset:65,variant:"sans-serif",style:"italic"},{start:120354,len:26,offset:97,variant:"sans-serif",style:"italic"},{start:120380,len:26,offset:65,variant:"sans-serif",style:"bolditalic"},{start:120406,len:26,offset:97,variant:"sans-serif",style:"bolditalic"},{start:120432,len:26,offset:65,variant:"monospace"},{start:120458,len:26,offset:97,variant:"monospace"},{start:120488,len:25,offset:913,style:"bold"},{start:120514,len:25,offset:945,style:"bold"},{start:120546,len:25,offset:913,style:"italic"},{start:120572,len:25,offset:945,style:"italic"},{start:120604,len:25,offset:913,style:"bolditalic"},{start:120630,len:25,offset:945,style:"bolditalic"},{start:120662,len:25,offset:913,variant:"sans-serif",style:"bold"},{start:120688,len:25,offset:945,variant:"sans-serif",style:"bold"},{start:120720,len:25,offset:913,variant:"sans-serif",style:"bolditalic"},{start:120746,len:25,offset:945,variant:"sans-serif",style:"bolditalic"},{start:120782,len:10,offset:48,variant:"main",style:"bold"},{start:120792,len:10,offset:48,variant:"double-struck"},{start:120803,len:10,offset:48,variant:"sans-serif"},{start:120812,len:10,offset:48,variant:"sans-serif",style:"bold"},{start:120822,len:10,offset:48,variant:"monospace"}];function An(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const E=a.codePointAt(0);if(E===void 0)return a;for(const ee of wt)if((!y||ee.variant===y)&&(!b||ee.style===b)&&E>=ee.offset&&E<ee.offset+ee.len){const re=ee.start+E-ee.offset;return String.fromCodePoint(Ce[re]||re)}return a}function Tt(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Ce)if(Ce[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of wt)if(a>=b.start&&a<b.start+b.len)return{char:String.fromCodePoint(a-b.start+b.offset),variant:b.variant,style:b.style};return{char:String.fromCodePoint(a)}}function rt(a){var y;let b="";for(const E of a){if("{}<>[]$&#^_%:'\u02DC".includes(E)){b+=E;continue}const ee=(y=E.codePointAt(0))!=null?y:0;let re=it[ee];if(re)re.startsWith("\\")?b+=re+" ":b+=re;else{const{char:se,variant:ge,style:xe}=Tt(ee);switch(re=se,ge){case"double-struck":re=`\\mathbb{${re}}`;break;case"fraktur":re=`\\mathfrak{${re}}`;break;case"script":re=`\\mathscr{${re}}`;break;case"sans-serif":re=`\\mathsf{${re}}`;break;case"monospace":re=`\\mathtt{${re}}`;break;case"calligraphic":re=`\\mathcal{${re}}`;break}switch(xe){case"bold":re=`\\mathbf{${re}}`;break;case"italic":re=`\\mathit{${re}}`;break;case"bolditalic":re=`\\mathbfit{${re}}`;break}b+=re}}return b}function ft(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var Wt={},qt=ye({},it),Xt={},Ht={},un={darr:"\\downarrow",dArr:"\\Downarrow",Darr:"\\Downarrow",lang:"\\langle",rang:"\\rangle",uarr:"\\uparrow",uArr:"\\Uparrow",Uarr:"\\Uparrow",N:"\\mathbb{N}",R:"\\mathbb{R}",Z:"\\mathbb{Z}",alef:"\\aleph",alefsym:"\\aleph",Alpha:"\\mathrm{A}",Beta:"\\mathrm{B}",bull:"\\bullet",Chi:"\\mathrm{X}",clubs:"\\clubsuit",cnums:"\\mathbb{C}",Complex:"\\mathbb{C}",Dagger:"\\ddagger",diamonds:"\\diamondsuit",empty:"\\emptyset",Epsilon:"\\mathrm{E}",Eta:"\\mathrm{H}",exist:"\\exists",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",Harr:"\\Leftrightarrow",hearts:"\\heartsuit",image:"\\Im",infin:"\\infty",Iota:"\\mathrm{I}",isin:"\\in",Kappa:"\\mathrm{K}",larr:"\\leftarrow",lArr:"\\Leftarrow",Larr:"\\Leftarrow",lrarr:"\\leftrightarrow",lrArr:"\\Leftrightarrow",Lrarr:"\\Leftrightarrow",Mu:"\\mathrm{M}",natnums:"\\mathbb{N}",Nu:"\\mathrm{N}",Omicron:"\\mathrm{O}",plusmn:"\\pm",rarr:"\\rightarrow",rArr:"\\Rightarrow",Rarr:"\\Rightarrow",real:"\\Re",reals:"\\mathbb{R}",Reals:"\\mathbb{R}",Rho:"\\mathrm{P}",sdot:"\\cdot",sect:"\\S",spades:"\\spadesuit",sub:"\\subset",sube:"\\subseteq",supe:"\\supseteq",Tau:"\\mathrm{T}",thetasym:"\\vartheta",weierp:"\\wp",Zeta:"\\mathrm{Z}"},kn={varGamma:"\\mathit{\\Gamma}",varDelta:"\\mathit{\\Delta}",varTheta:"\\mathit{\\Theta}",varLambda:"\\mathit{\\Lambda}",varXi:"\\mathit{\\Xi}",varPi:"\\mathit{\\Pi}",varSigma:"\\mathit{\\Sigma}",varUpsilon:"\\mathit{\\Upsilon}",varPhi:"\\mathit{\\Phi}",varPsi:"\\mathit{\\Psi}",varOmega:"\\mathit{\\Omega}",pmod:{def:"\\quad(\\operatorname{mod}\\ #1)",args:1,expand:!1,captureSelection:!1},mod:{def:"\\quad\\operatorname{mod}\\,\\,#1",args:1,expand:!1},bmod:{def:"\\;\\mathbin{\\operatorname{mod }}",expand:!1}},yn={bra:{def:"\\mathinner{\\langle{#1}|}",args:1,captureSelection:!1},ket:{def:"\\mathinner{|{#1}\\rangle}",args:1,captureSelection:!1},braket:{def:"\\mathinner{\\langle{#1}\\rangle}",args:1,captureSelection:!1},set:{def:"\\mathinner{\\lbrace #1 \\rbrace}",args:1,captureSelection:!1},Bra:{def:"\\left\\langle #1\\right|",args:1,captureSelection:!1},Ket:{def:"\\left|#1\\right\\rangle",args:1,captureSelection:!1},Braket:{def:"\\left\\langle{#1}\\right\\rangle",args:1,captureSelection:!1},Set:{def:"\\left\\lbrace #1 \\right\\rbrace",args:1,captureSelection:!1}},Fe={iff:{primitive:!0,captureSelection:!0,def:"\\;\u27FA\\;"},nicefrac:"^{#1}\\!\\!/\\!_{#2}",phase:{def:"\\enclose{phasorangle}{#1}",args:1,captureSelection:!1},rd:"\\mathrm{d}",rD:"\\mathrm{D}",doubleStruckCapitalN:"\\mathbb{N}",doubleStruckCapitalR:"\\mathbb{R}",doubleStruckCapitalQ:"\\mathbb{Q}",doubleStruckCapitalZ:"\\mathbb{Z}",doubleStruckCapitalP:"\\mathbb{P}",scriptCapitalE:"\\mathscr{E}",scriptCapitalH:"\\mathscr{H}",scriptCapitalL:"\\mathscr{L}",gothicCapitalC:"\\mathfrak{C}",gothicCapitalH:"\\mathfrak{H}",gothicCapitalI:"\\mathfrak{I}",gothicCapitalR:"\\mathfrak{R}",imaginaryI:"\\mathrm{i}",imaginaryJ:"\\mathrm{j}",exponentialE:"\\mathrm{e}",differentialD:"\\mathrm{d}",capitalDifferentialD:"\\mathrm{D}",mathstrut:{def:"\\vphantom{(}",primitive:!0},angl:"\\enclose{actuarial}{#1}",angln:"\\enclose{actuarial}{n}",anglr:"\\enclose{actuarial}{r}",anglk:"\\enclose{actuarial}{k}",mathtools:{primitive:!0,package:{ordinarycolon:":",vcentcolon:"\\mathrel{\\mathop\\ordinarycolon}",dblcolon:'{\\mathop{\\char"2237}}',coloneqq:'{\\mathop{\\char"2254}}',Coloneqq:'{\\mathop{\\char"2237\\char"3D}}',coloneq:'{\\mathop{\\char"3A\\char"2212}}',Coloneq:'{\\mathop{\\char"2237\\char"2212}}',eqqcolon:'{\\mathop{\\char"2255}}',Eqqcolon:'{\\mathop{\\char"3D\\char"2237}}',eqcolon:'{\\mathop{\\char"2239}}',Eqcolon:'{\\mathop{\\char"2212\\char"2237}}',colonapprox:'{\\mathop{\\char"003A\\char"2248}}',Colonapprox:'{\\mathop{\\char"2237\\char"2248}}',colonsim:'{\\mathop{\\char"3A\\char"223C}}',Colonsim:'{\\mathop{\\char"2237\\char"223C}}',colondash:"\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",Colondash:"\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}"}},ratio:"\\vcentcolon",coloncolon:"\\dblcolon",colonequals:"\\coloneq",coloncolonequals:"\\Coloneq",equalscolon:"\\eqcolon",equalscoloncolon:"\\Eqcolon",colonminus:"\\colondash",coloncolonminus:"\\Colondash",minuscolon:"\\dashcolon",minuscoloncolon:"\\Dashcolon",coloncolonapprox:"\\Colonapprox",coloncolonsim:"\\Colonsim",simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",simcoloncolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcoloncolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",notni:"\\mathrel{\\char`\u220C}",limsup:"\\operatorname*{lim\\,sup}",liminf:"\\operatorname*{lim\\,inf}",injlim:"\\operatorname*{inj\\,lim}",projlim:"\\operatorname*{proj\\,lim}",varlimsup:"\\operatorname*{\\overline{lim}}",varliminf:"\\operatorname*{\\underline{lim}}",varinjlim:"\\operatorname*{\\underrightarrow{lim}}",varprojlim:"\\operatorname*{\\underleftarrow{lim}}",argmin:"\\operatorname*{arg\\,min}",argmax:"\\operatorname*{arg\\,max}",plim:"\\mathop{\\operatorname{plim}}\\limits",tripledash:{def:"\\vphantom{-}\\raise{4mu}{\\mkern1.5mu\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2mu}}",expand:!0},"braket.sty":{package:yn},"amsmath.sty":{package:kn,primitive:!0},"texvc.sty":{package:un,primitive:!1}},ce={" ":32,"\\!":33,"\\#":35,"\\$":36,"\\%":37,"\\&":38,"-":45,"\\textunderscore":95,"\\euro":8364,"\\maltese":10016,"\\{":123,"\\}":125,"\\textbraceleft":123,"\\textbraceright":125,"\\lbrace":123,"\\rbrace":125,"\\lbrack":91,"\\rbrack":93,"\\nobreakspace":160,"\\ldots":8230,"\\textellipsis":8230,"\\backslash":92,"`":8216,"'":8217,"``":8220,"''":8221,"\\degree":176,"\\textasciicircum":94,"\\textasciitilde":126,"\\textasteriskcentered":42,"\\textbackslash":92,"\\textbullet":8226,"\\textdollar":36,"\\textsterling":163,"\\textdagger":8224,"\\textdaggerdbl":8225,"\u2013":8211,"\u2014":8212,"\u2018":8216,"\u2019":8217,"\u201C":8220,"\u201D":8221,'"':8221,"\\ss":223,"\\ae":230,"\\oe":339,"\\AE":198,"\\OE":338,"\\O":216,"\\i":305,"\\j":567,"\\aa":229,"\\AA":197},ue=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,pe,de;ut()?(pe=new RegExp("\\p{Letter}","u"),de=new RegExp("[0-9\\p{Letter}]","u")):(pe=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,de=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function le(a,y,b="mord",E){y!==void 0&&(Wt[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},qt[y]||(qt[y]=a))}function De(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const ee=a.charAt(E);le(ee,ee.codePointAt(0))}return}for(const[E,ee,re,se]of a)le(E,ee,re!=null?re:y,se!=null?se:b)}function Ke(a,y){for(let b=a;b<=y;b++)le(String.fromCodePoint(b),b)}function Et(a){var y;return(y=Ht[a])!=null?y:null}function Yt(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ee=[];for(const se in Xt)se.startsWith(y)&&!Xt[se].infix&&ee.push({match:se,frequency:(b=Xt[se].frequency)!=null?b:0});for(const se in Wt)se.startsWith(y)&&ee.push({match:se,frequency:(E=Wt[se].frequency)!=null?E:0});const re=y.substring(1);for(const se of Object.keys(a.options.macros))se.startsWith(re)&&ee.push({match:"\\"+se,frequency:0});return ee.sort((se,ge)=>{var xe,Ae;return se.frequency===ge.frequency?se.match.length===ge.match.length?se.match<ge.match?-1:1:se.match.length-ge.match.length:((xe=ge.frequency)!=null?xe:0)-((Ae=se.frequency)!=null?Ae:0)}),ee.map(se=>se.match)}function Kt(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function nn(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:Kt(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...nn(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:Kt(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...nn(b[E]))}return y}function $t(a){if(!a)return"";let y="",b=!0;for(const E of a)typeof E.value=="string"?y+=E.value:b=!1;return b?y:""}function gr(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)Ht[E]=b}function kr(a,y,b){typeof a=="string"&&(a=[a]);const ee={tabular:!0,params:nn(y),createAtom:b};for(const re of a)Ht[re]=ee}function rn(a,y,b){var E,ee;b||(b={});const re={definitionType:"function",params:nn(y),ifMode:b.ifMode,isFunction:(E=b.isFunction)!=null?E:!1,applyMode:b.applyMode,infix:(ee=b.infix)!=null?ee:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")Xt["\\"+a]=re;else for(const se of a)Xt["\\"+se]=re}var gn;function hr(a){return gn||(gn=yt(Fe)),a?yt(ye(ye({},gn),a)):gn}function Er(a,y){var b,E,ee,re;if(typeof a=="string"){let se=0;const ge=a;return/(^|[^\\])#1/.test(ge)&&(se=1),/(^|[^\\])#2/.test(ge)&&(se=2),/(^|[^\\])#3/.test(ge)&&(se=3),/(^|[^\\])#4/.test(ge)&&(se=4),/(^|[^\\])#5/.test(ge)&&(se=5),/(^|[^\\])#6/.test(ge)&&(se=6),/(^|[^\\])#7/.test(ge)&&(se=7),/(^|[^\\])#8/.test(ge)&&(se=8),/(^|[^\\])#9/.test(ge)&&(se=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(E=y==null?void 0:y.captureSelection)!=null?E:!0,args:se,def:ge}}return ye({expand:(ee=y==null?void 0:y.expand)!=null?ee:!0,captureSelection:(re=y==null?void 0:y.captureSelection)!=null?re:!0,args:0},a)}function yt(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const E=a[b];if(E==null)delete y[b];else if(typeof E=="object"&&"package"in E)for(const ee of Object.keys(E.package))y[ee]=Er(E.package[ee],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=Er(E)}return y}function It(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Xt[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=Wt[a]:ce[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ce[a]})}else if(y==="math"){if(b=Wt[a],!b&&a.length===1){const E=Qn("math",a.codePointAt(0));return E.startsWith("\\")?me(ye({},It(E,"math")),{command:E}):null}}else ce[a]?b={definitionType:"symbol",type:"mord",codepoint:ce[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function $n(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function Qn(a,y){if(y===void 0)return"";if(a==="math"&&qt[y])return qt[y];if(a==="text"){const b=Object.keys(ce).find(E=>ce[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var wr=[0,.68889,0,0,.72222],_r=[0,.68889,0,0,.66667],ei=[0,.68889,0,0,.77778],Xr=[0,.68889,0,0,.61111],ri=[.16667,.68889,0,0,.77778],fi=[0,.68889,0,0,.55556],Cr=[0,0,0,0,.25],yi=[0,.825,0,0,2.33334],Gi=[0,.9,0,0,2.33334],oi=[0,.68889,0,0,.54028],ea=[-.03598,.46402,0,0,.5],Di=[-.13313,.36687,0,0,1],Ot=[.01354,.52239,0,0,1],Nt=[.01354,.52239,0,0,1.11111],cn=[0,.54986,0,0,1],bn=[0,.69224,0,0,.5],rr=[0,.43056,0,0,1],Fn=[.08198,.58198,0,0,.77778],ir=[.19444,.69224,0,0,.41667],Xn=[.1808,.675,0,0,1],pt=[.19444,.69224,0,0,.83334],At=[.13667,.63667,0,0,1],Mt=[-.064,.437,0,0,1.334],fn=[.08167,.58167,0,0,.77778],$e=[0,.69224,0,0,.72222],Ft=[0,.69224,0,0,.66667],on=[-.13313,.36687,0,0,.77778],_t=[.06062,.54986,0,0,.77778],En=[0,.69224,0,0,.77778],Sn=[.25583,.75583,0,0,.77778],Bn=[.25142,.75726,0,0,.77778],Qr=[.20576,.70576,0,0,.77778],Lr=[.30274,.79383,0,0,.77778],Sr=[.22958,.72958,0,0,.77778],jr=[.1808,.675,0,0,.77778],zr=[.13667,.63667,0,0,.77778],Rt=[.13597,.63597,0,0,.77778],kt=[.03517,.54986,0,0,.77778],jt=[0,.675,0,0,.77778],zn=[.19444,.69224,0,0,.61111],lr=[0,.54986,0,0,.76042],Hn=[0,.54986,0,0,.66667],_n=[.0391,.5391,0,0,.77778],Gn=[.03517,.54986,0,0,1.33334],or=[.38569,.88569,0,0,.77778],Kr=[.23222,.74111,0,0,.77778],Ln=[.19444,.69224,0,0,.77778],Fi=[0,.37788,0,0,.5],pi=[0,.54986,0,0,.72222],ha=[0,.69224,0,0,.83334],ra=[.11111,.69224,0,0,.66667],Qi=[.26167,.75726,0,0,.77778],Ca=[.48256,.98256,0,0,.77778],Xi=[.28481,.79383,0,0,.77778],Ri=[.08167,.58167,0,0,.22222],sa=[.08167,.58167,0,0,.38889],Da=[0,.43056,.04028,0,.66667],ki=[.41951,.91951,0,0,.77778],Ji=[.24982,.74947,0,0,.38865],Ea=[.08319,.58283,0,0,.75623],_a=[0,.10803,0,0,.27764],Oa=[0,.47534,0,0,.50181],Oi=[.18906,.47534,0,0,.50181],Qt=[0,.69141,0,0,.50181],Zt=[.24982,.74947,0,0,.27764],Mn=[0,.69141,0,0,.21471],jn=[.25,.75,0,0,.44722],sr=[0,.64444,0,0,.575],Yr=[.08556,.58556,0,0,.89444],si=[0,.69444,0,0,.89444],mi=[0,.68611,0,0,.9],Ci=[0,.68611,0,0,.86944],gi=[.25,.75,0,0,.575],Ti=[.25,.75,0,0,.31944],qi=[0,.69444,0,0,.63889],li=[0,.69444,0,0,.31944],Vi=[0,.44444,0,0,.63889],ia=[0,.44444,0,0,.51111],ta=[0,.69444,0,0,.575],ze=[.13333,.63333,0,0,.89444],Je=[0,.44444,0,0,.31944],et=[0,.69444,0,0,.86944],st=[0,.68611,0,0,.69166],Ct=[0,.68611,0,0,.83055],Bt=[0,.68611,0,0,.89444],Jt=[0,.69444,0,0,.60278],Tn=[.19444,.69444,0,0,.51111],Nn=[0,.69444,0,0,.83055],Fr=[-.10889,.39111,0,0,1.14999],Jr=[.19444,.69444,0,0,.575],Ar=[.19444,.69444,0,0,1.14999],er=[.19444,.69444,0,0,.70277],Wn=[.05556,.75,0,0,.575],ur=[0,.68611,0,0,.95833],mr=[.08556,.58556,0,0,.76666],Vr=[-.02639,.47361,0,0,.575],Dr=[0,.44444,0,0,.89444],Mr=[0,.55556,0,0,.76666],Tr=[-.10889,.39111,0,0,.89444],Or=[.00222,.50222,0,0,.89444],qr=[.19667,.69667,0,0,.89444],Ue=[.08556,.58556,0,0,1.14999],tt=[0,.69444,0,0,.70277],tn=[-.02778,.47222,0,0,.575],Pt=[.25,.75,0,0,.51111],xn=[-.13889,.36111,0,0,1.14999],Zn=[.19444,.69444,0,0,1.02222],Jn=[.12963,.69444,0,0,.89444],yr=[.19444,.69444,0,0,.44722],xt=[0,.64444,.13167,0,.59111],ct=[.19444,.64444,.13167,0,.59111],Lt=[0,.68611,.17208,0,.8961],dn=[.19444,.44444,.105,0,.53222],qn=[0,.44444,.085,0,.82666],In=[0,.69444,.06709,0,.59111],wn=[0,.69444,.12945,0,.35555],xr=[0,.69444,0,0,.94888],pr=[0,.69444,.11472,0,.59111],Pr=[0,.68611,.10778,0,.88555],dr=[0,.69444,.07939,0,.62055],Vn=[0,.69444,.12417,0,.30667],Hr=[0,.64444,.13556,0,.51111],ni=[.19444,.64444,.13556,0,.51111],Wr=[0,.68333,.16389,0,.74333],Nr=[.19444,.43056,.08847,0,.46],Gr=[0,.43056,.07514,0,.71555],Li=[0,.69444,.06646,0,.51111],xi=[0,.69444,0,0,.83129],Ei=[0,.69444,.1225,0,.51111],$i=[0,.68333,.09403,0,.76666],Aa=[0,.68333,.11111,0,.76666],_i=[0,.69444,.06961,0,.51444],la=[0,.69444,0,0,.27778],Ai=[.25,.75,0,0,.38889],Ki=[0,.64444,0,0,.5],ua=[0,.69444,0,0,.77778],pa=[0,.68333,0,0,.75],ao=[0,.68333,0,0,.77778],no=[0,.68333,0,0,.68056],ro=[0,.68333,0,0,.72222],Ha=[.25,.75,0,0,.5],wa=[.25,.75,0,0,.27778],Wi=[0,.69444,0,0,.5],co=[0,.69444,0,0,.55556],aa=[0,.43056,0,0,.44445],Bi=[0,.43056,0,0,.5],ma=[.19444,.43056,0,0,.55556],Ja=[0,.43056,0,0,.55556],Ba=[.08333,.58333,0,0,.77778],Va=[0,.43056,0,0,.27778],na=[0,.66786,0,0,.27778],oo=[0,.69444,0,0,.75],fo=[0,.66786,0,0,.5],to=[0,.68333,0,0,.625],ho=[.19444,.69444,0,0,.44445],bo=[0,.69444,0,0,.72222],Lo=[.19444,.69444,0,0,.5],io=[.19444,.69444,0,0,1],lo=[.011,.511,0,0,1.126],Ko=[.19444,.69444,0,0,.61111],Wo=[.05556,.75,0,0,.5],Jo=[0,.68333,0,0,.83334],Fo=[.0391,.5391,0,0,.66667],po=[-.05555,.44445,0,0,.5],ga=[0,.43056,0,0,.77778],Sa=[0,.55556,0,0,.66667],qa=[-.03625,.46375,0,0,.77778],mo=[-.01688,.48312,0,0,.77778],Io=[.0391,.5391,0,0,1],Go=[0,.69444,0,0,.61111],qo=[-.03472,.46528,0,0,.5],ls=[.25,.75,0,0,.44445],Ss=[-.14236,.35764,0,0,1],$o=[.244,.744,0,0,.412],Cs=[.19444,.69444,0,0,.88889],ja=[.12963,.69444,0,0,.77778],be=[.19444,.69444,0,0,.38889],Be=[.011,.511,0,0,1.638],Pe=[.19444,.69444,0,0,0],gt=[0,.44444,0,0,.575],vt=[.19444,.44444,0,0,.575],vn=[0,.68611,0,0,.75555],ln=[0,.69444,0,0,.66759],Un=[0,.68611,0,0,.80555],Cn=[0,.68611,.08229,0,.98229],hn=[0,.68611,0,0,.76666],nr=[0,.44444,0,0,.58472],Dn=[.19444,.44444,0,0,.6118],Pn=[.19444,.43056,0,0,.5],vr=[0,.68333,.02778,.08334,.76278],br=[0,.68333,.08125,.05556,.83125],Rn=[0,.43056,0,.05556,.48472],fr=[.19444,.43056,0,.08334,.51702],Rr=[.25,.75,0,0,.42778],Ur=[0,.69444,0,0,.55],ii=[0,.69444,0,0,.73334],bi=[0,.69444,0,0,.79445],Pi=[0,.69444,0,0,.51945],Si=[0,.69444,0,0,.70278],ui=[0,.69444,0,0,.76389],va=[.25,.75,0,0,.34306],ca=[0,.69444,0,0,.56111],Ka=[0,.69444,0,0,.25556],Ya=[.19444,.45833,0,0,.56111],La=[0,.45833,0,0,.56111],oa=[0,.69444,0,0,.30556],Ra=[0,.69444,0,0,.58056],Fa=[0,.69444,0,0,.67223],ya=[0,.69444,0,0,.85556],Ia=[0,.69444,0,0,.55834],za=[0,.65556,.11156,0,.5],uo=[0,.69444,.08094,0,.70834],go=[.17014,0,0,0,.44445],To=[0,.69444,.0799,0,.5],us=[0,.69444,0,0,.73752],ss=[0,.69444,.09205,0,.5],_o=[0,.69444,.09031,0,.77778],Do=[0,.69444,.07816,0,.27778],ps=[0,.69444,.00316,0,.5],Oo=[.19444,.69444,0,0,.83334],Ma=[.05556,.75,0,0,.83334],ba=[0,.75,0,0,.5],Bo=[.125,.08333,0,0,.27778],Ao=[0,.08333,0,0,.27778],Ta=[0,.65556,0,0,.5],$a=[0,.69444,0,0,.47222],zi=[0,.69444,0,0,.66667],Qa=[0,.69444,0,0,.59722],xo=[0,.69444,0,0,.54167],Yo=[0,.69444,0,0,.70834],Ho=[.25,.75,0,0,.28889],Zo=[0,.69444,0,0,.51667],Es=[0,.44444,0,0,.44445],Sl=[.19444,.44444,0,0,.51667],al=[0,.44444,0,0,.38333],zs=[0,.44444,0,0,.51667],Bl=[0,.69444,0,0,.83334],Au=[.35001,.85,0,0,.45834],zl=[.35001,.85,0,0,.57778],Ds=[.35001,.85,0,0,.41667],dl=[.35001,.85,0,0,.58334],Hs=[0,.72222,0,0,.55556],Hl=[1e-5,.6,0,0,.66667],Ll=[1e-5,.6,0,0,.77778],Ks=[.25001,.75,0,0,.94445],cs=[.306,.805,.19445,0,.47222],Ts=[.30612,.805,.19445,0,.47222],es=[.25001,.75,0,0,.83334],Ys=[.35001,.85,0,0,.47222],Qs=[.25001,.75,0,0,1.11111],ol=[.65002,1.15,0,0,.59722],fs=[.65002,1.15,0,0,.81111],Wa=[.65002,1.15,0,0,.47222],ts=[.65002,1.15,0,0,.66667],Os=[0,.75,0,0,1],jo=[.55001,1.05,0,0,1.27778],Gs=[.862,1.36,.44445,0,.55556],ml=[.86225,1.36,.44445,0,.55556],Co=[.55001,1.05,0,0,1.11111],gl=[.65002,1.15,0,0,.52778],sl=[.65002,1.15,0,0,.61111],Ws=[.55001,1.05,0,0,1.51112],_l=[.95003,1.45,0,0,.73611],Cl=[.95003,1.45,0,0,1.04445],fl=[.95003,1.45,0,0,.52778],El=[.95003,1.45,0,0,.75],Za=[0,.75,0,0,1.44445],Zi=[.95003,1.45,0,0,.58334],eo=[1.25003,1.75,0,0,.79167],ns=[1.25003,1.75,0,0,1.27778],hl=[1.25003,1.75,0,0,.58334],Mu=[1.25003,1.75,0,0,.80556],Yl=[0,.825,0,0,1.8889],ku=[1.25003,1.75,0,0,.63889],Ql=[.64502,1.155,0,0,.875],ms=[1e-5,.6,0,0,.875],Ua=[-99e-5,.601,0,0,.66667],fu=[.64502,1.155,0,0,.66667],vl=[1e-5,.9,0,0,.88889],Nu=[.65002,1.15,0,0,.88889],Xl=[.90001,0,0,0,.88889],Ru=[-.00499,.605,0,0,1.05556],Kl=[0,.12,0,0,.45],Ni=[0,.61111,0,0,.525],Xs=[.08333,.69444,0,0,.525],ac=[-.08056,.53055,0,0,.525],oc=[-.05556,.55556,0,0,.525],wo=[0,.43056,0,0,.525],Hi=[.22222,.43056,0,0,.525],Bs=[0,0,0,0,.525],Js={"AMS-Regular":{32:Cr,65:wr,66:_r,67:wr,68:wr,69:_r,70:Xr,71:ei,72:ei,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:ei,76:_r,77:[0,.68889,0,0,.94445],78:wr,79:ri,80:Xr,81:ri,82:wr,83:fi,84:_r,85:wr,86:wr,87:[0,.68889,0,0,1],88:wr,89:wr,90:_r,107:fi,160:Cr,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:fi,295:oi,710:yi,732:Gi,770:yi,771:Gi,989:fn,1008:Da,8245:[0,.54986,0,0,.275],8463:oi,8487:wr,8498:fi,8502:_r,8503:[0,.68889,0,0,.44445],8504:_r,8513:[0,.68889,0,0,.63889],8592:ea,8594:ea,8602:Di,8603:Di,8606:Ot,8608:Ot,8610:Nt,8611:Nt,8619:cn,8620:cn,8621:[-.13313,.37788,0,0,1.38889],8622:Di,8624:bn,8625:bn,8630:rr,8631:rr,8634:Fn,8635:Fn,8638:ir,8639:ir,8642:ir,8643:ir,8644:Xn,8646:Xn,8647:Xn,8648:pt,8649:Xn,8650:pt,8651:Ot,8652:Ot,8653:Di,8654:Di,8655:Di,8666:At,8667:At,8669:[-.13313,.37788,0,0,1],8672:Mt,8674:Mt,8705:[0,.825,0,0,.5],8708:fi,8709:fn,8717:[0,.43056,0,0,.42917],8722:ea,8724:[.08198,.69224,0,0,.77778],8726:fn,8733:En,8736:$e,8737:$e,8738:[.03517,.52239,0,0,.72222],8739:Ri,8740:[.25142,.74111,0,0,.27778],8741:sa,8742:[.25142,.74111,0,0,.5],8756:Ft,8757:Ft,8764:on,8765:[-.13313,.37788,0,0,.77778],8769:on,8770:qa,8774:Lr,8776:mo,8778:fn,8782:_t,8783:_t,8785:Fn,8786:Fn,8787:Fn,8790:En,8791:Sr,8796:[.08198,.91667,0,0,.77778],8806:Sn,8807:Sn,8808:Bn,8809:Bn,8812:[.25583,.75583,0,0,.5],8814:Qr,8815:Qr,8816:Lr,8817:Lr,8818:Sr,8819:Sr,8822:jr,8823:jr,8828:zr,8829:zr,8830:Sr,8831:Sr,8832:Qr,8833:Qr,8840:Lr,8841:Lr,8842:Rt,8843:Rt,8847:kt,8848:kt,8858:Fn,8859:Fn,8861:Fn,8862:jt,8863:jt,8864:jt,8865:jt,8872:[0,.69224,0,0,.61111],8873:$e,8874:[0,.69224,0,0,.88889],8876:Xr,8877:Xr,8878:wr,8879:wr,8882:kt,8883:kt,8884:zr,8885:zr,8888:[0,.54986,0,0,1.11111],8890:ma,8891:zn,8892:zn,8901:[0,.54986,0,0,.27778],8903:fn,8905:fn,8906:fn,8907:En,8908:En,8909:[-.03598,.46402,0,0,.77778],8910:lr,8911:lr,8912:kt,8913:kt,8914:Hn,8915:Hn,8916:Ft,8918:_n,8919:_n,8920:Gn,8921:Gn,8922:or,8923:or,8926:zr,8927:zr,8928:Lr,8929:Lr,8934:Kr,8935:Kr,8936:Kr,8937:Kr,8938:Qr,8939:Qr,8940:Lr,8941:Lr,8994:Ln,8995:Ln,9416:[.15559,.69224,0,0,.90222],9484:bn,9488:bn,9492:Fi,9496:Fi,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:jt,9633:jt,9650:pi,9651:pi,9654:kt,9660:pi,9661:pi,9664:kt,9674:ra,9733:[.19444,.69224,0,0,.94445],10003:ha,10016:ha,10731:ra,10846:[.19444,.75583,0,0,.61111],10877:zr,10878:zr,10885:Sn,10886:Sn,10887:Rt,10888:Rt,10889:Qi,10890:Qi,10891:Ca,10892:Ca,10901:zr,10902:zr,10933:Bn,10934:Bn,10935:Qi,10936:Qi,10937:Qi,10938:Qi,10949:Sn,10950:Sn,10955:Xi,10956:Xi,57350:Ri,57351:sa,57352:fn,57353:Da,57356:Bn,57357:Bn,57358:ki,57359:Lr,57360:Lr,57361:ki,57366:Bn,57367:Bn,57368:Bn,57369:Bn,57370:Rt,57371:Rt},"Caligraphic-Regular":{32:Cr,65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:Cr},"Fraktur-Regular":{32:Cr,33:[0,.69141,0,0,.29574],34:Mn,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:Ji,41:Ji,42:[0,.62119,0,0,.27764],43:Ea,44:_a,45:Ea,46:_a,47:[.24982,.74947,0,0,.50181],48:Oa,49:Oa,50:Oa,51:Oi,52:Oi,53:Oi,54:Qt,55:Oi,56:Qt,57:Oi,58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:Zt,93:Zt,94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:Cr,8216:Mn,8217:Mn,58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:Cr,33:[0,.69444,0,0,.35],34:Jt,35:[.19444,.69444,0,0,.95833],36:Wn,37:[.05556,.75,0,0,.95833],38:si,39:li,40:jn,41:jn,42:[0,.75,0,0,.575],43:ze,44:[.19444,.15556,0,0,.31944],45:al,46:[0,.15556,0,0,.31944],47:gi,48:sr,49:sr,50:sr,51:sr,52:sr,53:sr,54:sr,55:sr,56:sr,57:sr,58:Je,59:[.19444,.44444,0,0,.31944],60:Yr,61:Tr,62:Yr,63:[0,.69444,0,0,.54305],64:si,65:Ci,66:[0,.68611,0,0,.81805],67:Ct,68:[0,.68611,0,0,.88194],69:vn,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:mi,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:st,77:[0,.68611,0,0,1.09166],78:mi,79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:Ci,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Ti,92:gi,93:Ti,94:ta,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:qi,99:ia,100:qi,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:qi,105:li,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:li,109:[0,.44444,0,0,.95833],110:Vi,111:gt,112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:Vi,118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:ia,123:gi,124:Ti,125:gi,126:[.35,.34444,0,0,.575],160:Cr,163:[0,.69444,0,0,.86853],168:ta,172:[0,.44444,0,0,.76666],176:et,177:ze,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:ze,216:[.04861,.73472,0,0,.89444],223:Qa,230:[0,.44444,0,0,.83055],247:ze,248:[.09722,.54167,0,0,.575],305:Je,338:[0,.68611,0,0,1.16944],339:Dr,567:[.19444,.44444,0,0,.35139],710:ta,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:ta,715:ta,728:ta,729:li,730:et,732:ta,733:ta,915:st,916:ur,920:Bt,923:Un,926:hn,928:mi,931:Ct,933:Bt,934:Ct,936:Bt,937:Ct,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:li,8217:li,8220:Jt,8221:Jt,8224:Tn,8225:Tn,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:ln,8465:Nn,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:Nn,8501:tt,8592:Fr,8593:Jr,8594:Fr,8595:Jr,8596:Fr,8597:gi,8598:Ar,8599:Ar,8600:Ar,8601:Ar,8636:Fr,8637:Fr,8640:Fr,8641:Fr,8656:Fr,8657:er,8658:Fr,8659:er,8660:Fr,8661:[.25,.75,0,0,.70277],8704:qi,8706:[0,.69444,.06389,0,.62847],8707:qi,8709:Wn,8711:ur,8712:mr,8715:mr,8722:ze,8723:ze,8725:gi,8726:gi,8727:tn,8728:Vr,8729:Vr,8730:[.18,.82,0,0,.95833],8733:Dr,8734:[0,.44444,0,0,1.14999],8736:$e,8739:Ti,8741:gi,8743:Mr,8744:Mr,8745:Mr,8746:Mr,8747:[.19444,.69444,.12778,0,.56875],8764:Tr,8768:[.19444,.69444,0,0,.31944],8771:Or,8776:[.02444,.52444,0,0,.89444],8781:Or,8801:Or,8804:qr,8805:qr,8810:Ue,8811:Ue,8826:Yr,8827:Yr,8834:Yr,8835:Yr,8838:qr,8839:qr,8846:Mr,8849:qr,8850:qr,8851:Mr,8852:Mr,8853:ze,8854:ze,8855:ze,8856:ze,8857:ze,8866:tt,8867:tt,8868:si,8869:si,8900:Vr,8901:[-.02639,.47361,0,0,.31944],8902:tn,8968:Pt,8969:Pt,8970:Pt,8971:Pt,8994:xn,8995:xn,9651:Zn,9657:tn,9661:Zn,9667:tn,9711:Ar,9824:Jn,9825:Jn,9826:Jn,9827:Jn,9837:[0,.75,0,0,.44722],9838:yr,9839:yr,10216:jn,10217:jn,10815:mi,10927:qr,10928:qr,57376:Pe},"Main-BoldItalic":{32:Cr,33:[0,.69444,.11417,0,.38611],34:dr,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:wn,40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:xt,49:xt,50:xt,51:xt,52:ct,53:xt,54:xt,55:ct,56:xt,57:xt,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:pr,64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:Lt,73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:Lt,79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:In,95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:dn,104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:dn,114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:Cr,168:[0,.69444,.11473,0,.59111],176:xr,184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:qn,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:qn,567:[.19444,.44444,.04611,0,.385],710:In,711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:wn,730:xr,732:pr,733:pr,915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:Lt,931:[0,.68611,.11431,0,.82666],933:Pr,934:[0,.68611,.05632,0,.82666],936:Pr,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:wn,8217:wn,8220:[0,.69444,.16772,0,.62055],8221:dr},"Main-Italic":{32:Cr,33:Vn,34:_i,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:Vn,40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:Hr,49:Hr,50:Hr,51:Hr,52:ni,53:Hr,54:Hr,55:ni,56:Hr,57:Hr,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Ei,64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:Wr,73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:Wr,79:$i,80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:Wr,86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:Li,95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:Nr,104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:Nr,114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:Cr,168:[0,.66786,.10474,0,.51111],176:xi,184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:Gr,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:Gr,710:Li,711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:xi,732:[0,.66786,.11585,0,.51111],733:Ei,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:$i,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:Wr,931:[0,.68333,.12028,0,.71555],933:Aa,934:[0,.68333,.05986,0,.71555],936:Aa,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:Vn,8217:Vn,8220:[0,.69444,.1685,0,.51444],8221:_i,8463:oi},"Main-Regular":{32:Cr,33:la,34:Wi,35:Oo,36:Wo,37:Ma,38:ua,39:la,40:Ai,41:Ai,42:ba,43:Ba,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:Ha,48:Ki,49:Ki,50:Ki,51:Ki,52:Ki,53:Ki,54:Ki,55:Ki,56:Ki,57:Ki,58:Va,59:[.19444,.43056,0,0,.27778],60:_n,61:on,62:_n,63:$a,64:ua,65:pa,66:[0,.68333,0,0,.70834],67:ro,68:[0,.68333,0,0,.76389],69:no,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:pa,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:ao,76:to,77:[0,.68333,0,0,.91667],78:pa,79:ao,80:no,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:ro,85:pa,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:pa,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:wa,92:Ha,93:wa,94:Wi,95:[.31,.12056,.02778,0,.5],97:Bi,98:co,99:aa,100:co,101:aa,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:co,105:na,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:la,109:[0,.43056,0,0,.83334],110:Ja,111:Bi,112:ma,113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:Ja,118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:aa,123:Ha,124:wa,125:Ha,126:[.35,.31786,0,0,.5],160:Cr,163:[0,.69444,0,0,.76909],167:ho,168:fo,172:[0,.43056,0,0,.66667],176:oo,177:Ba,182:Ko,184:go,198:[0,.68333,0,0,.90278],215:Ba,216:[.04861,.73194,0,0,.77778],223:Wi,230:[0,.43056,0,0,.72222],247:Ba,248:[.09722,.52778,0,0,.5],305:Va,338:[0,.68333,0,0,1.01389],339:ga,567:[.19444,.43056,0,0,.30556],710:Wi,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:Wi,715:Wi,728:Wi,729:na,730:oo,732:fo,733:Wi,915:to,916:Jo,920:ao,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:pa,931:ro,933:ao,934:ro,936:ao,937:ro,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:la,8217:la,8220:Wi,8221:Wi,8224:ho,8225:ho,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:oi,8465:bo,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:bo,8501:Go,8592:Di,8593:Lo,8594:Di,8595:Lo,8596:Di,8597:Ha,8598:io,8599:io,8600:io,8601:io,8614:[.011,.511,0,0,1],8617:lo,8618:lo,8636:Di,8637:Di,8640:Di,8641:Di,8652:[.011,.671,0,0,1],8656:Di,8657:Ko,8658:Di,8659:Ko,8660:Di,8661:[.25,.75,0,0,.61111],8704:co,8706:[0,.69444,.05556,.08334,.5309],8707:co,8709:Wo,8711:Jo,8712:Fo,8715:Fo,8722:Ba,8723:Ba,8725:Ha,8726:Ha,8727:qo,8728:po,8729:po,8730:[.2,.8,0,0,.83334],8733:ga,8734:rr,8736:$e,8739:wa,8741:Ha,8743:Sa,8744:Sa,8745:Sa,8746:Sa,8747:[.19444,.69444,.11111,0,.41667],8764:on,8768:[.19444,.69444,0,0,.27778],8771:qa,8773:[-.022,.589,0,0,1],8776:mo,8781:qa,8784:[-.133,.67,0,0,.778],8801:qa,8804:Rt,8805:Rt,8810:Io,8811:Io,8826:_n,8827:_n,8834:_n,8835:_n,8838:Rt,8839:Rt,8846:Sa,8849:Rt,8850:Rt,8851:Sa,8852:Sa,8853:Ba,8854:Ba,8855:Ba,8856:Ba,8857:Ba,8866:Go,8867:Go,8868:ua,8869:ua,8872:[.249,.75,0,0,.867],8900:po,8901:[-.05555,.44445,0,0,.27778],8902:qo,8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:ls,8969:ls,8970:ls,8971:ls,8994:Ss,8995:Ss,9136:$o,9137:$o,9651:Cs,9657:qo,9661:Cs,9667:qo,9711:io,9824:ja,9825:ja,9826:ja,9827:ja,9837:[0,.75,0,0,.38889],9838:be,9839:be,10216:Ai,10217:Ai,10222:$o,10223:$o,10229:[.011,.511,0,0,1.609],10230:Be,10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:Be,10815:pa,10927:Rt,10928:Rt,57376:Pe},"Math-BoldItalic":{32:Cr,48:gt,49:gt,50:gt,51:vt,52:vt,53:vt,54:sr,55:vt,56:sr,57:vt,65:Ci,66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:Cn,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:vn,77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:ln,105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:nr,112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:Cr,915:[0,.68611,.15972,0,.65694],916:ur,920:[0,.68611,.03194,0,.86722],923:Un,926:[0,.68611,.07458,0,.84125],928:Cn,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:hn,936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:nr,960:[0,.44444,.03704,0,.68241],961:Dn,962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:Dn,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Cr,48:Bi,49:Bi,50:Bi,51:Pn,52:Pn,53:Pn,54:Ki,55:Pn,56:Ki,57:Pn,65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:br,73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:vr,80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:Rn,112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:Cr,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:vr,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:br,931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:Rn,960:[0,.43056,.03588,0,.57003],961:fr,962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:fr,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Cr,33:[0,.69444,0,0,.36667],34:Ia,35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:oa,40:Rr,41:Rr,42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:Ur,49:Ur,50:Ur,51:Ur,52:Ur,53:Ur,54:Ur,55:Ur,56:Ur,57:Ur,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:Pi,64:ii,65:ii,66:ii,67:Si,68:bi,69:[0,.69444,0,0,.64167],70:Go,71:ii,72:bi,73:[0,.69444,0,0,.33056],74:Pi,75:ui,76:Ra,77:[0,.69444,0,0,.97778],78:bi,79:bi,80:Si,81:[.10556,.69444,0,0,.79445],82:Si,83:Go,84:ii,85:ui,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:ii,89:[0,.69444,.0275,0,.73334],90:Fa,91:va,93:va,94:Ur,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:ca,99:[0,.45833,0,0,.48889],100:ca,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:ca,105:Ka,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:Ka,109:[0,.45833,0,0,.86667],110:La,111:[0,.45833,0,0,.55],112:Ya,113:Ya,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:La,118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:Cr,168:Ur,176:ii,180:Ur,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:Ur,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:Ur,729:oa,730:ii,732:Ur,733:Ur,915:Ra,916:[0,.69444,0,0,.91667],920:ya,923:Fa,926:ii,928:bi,931:bi,933:ya,934:bi,936:ya,937:bi,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:oa,8217:oa,8220:Ia,8221:Ia},"SansSerif-Italic":{32:Cr,33:[0,.69444,.05733,0,.31945],34:ps,35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:Do,40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:Bo,45:[0,.44444,.01946,0,.33333],46:Ao,47:[.25,.75,.13164,0,.5],48:za,49:za,50:za,51:za,52:za,53:za,54:za,55:za,56:za,57:za,58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:zi,66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:uo,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:xo,77:[0,.69444,.08094,0,.875],78:uo,79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:To,95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:Cr,168:[0,.67937,.06385,0,.5],176:us,184:go,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:To,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:ss,715:Wi,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:us,732:[0,.67659,.08826,0,.5],733:ss,915:[0,.69444,.13372,0,.54167],916:Bl,920:[0,.69444,.07555,0,.77778],923:Go,926:[0,.69444,.12816,0,.66667],928:uo,931:[0,.69444,.11983,0,.72222],933:_o,934:[0,.69444,.04603,0,.72222],936:_o,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:Do,8217:Do,8220:[0,.69444,.14205,0,.5],8221:ps},"SansSerif-Regular":{32:Cr,33:[0,.69444,0,0,.31945],34:Wi,35:Oo,36:Wo,37:Ma,38:[0,.69444,0,0,.75834],39:la,40:Ai,41:Ai,42:ba,43:Ba,44:Bo,45:[0,.44444,0,0,.33333],46:Ao,47:Ha,48:Ta,49:Ta,50:Ta,51:Ta,52:Ta,53:Ta,54:Ta,55:Ta,56:Ta,57:Ta,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:$a,64:zi,65:zi,66:zi,67:qi,68:[0,.69444,0,0,.72223],69:Qa,70:[0,.69444,0,0,.56945],71:zi,72:Yo,73:la,74:$a,75:[0,.69444,0,0,.69445],76:xo,77:[0,.69444,0,0,.875],78:Yo,79:[0,.69444,0,0,.73611],80:qi,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:co,84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:zi,89:[0,.69444,.025,0,.66667],90:Go,91:Ho,93:Ho,94:Wi,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Zo,99:Es,100:Zo,101:Es,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Zo,105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:zs,111:[0,.44444,0,0,.5],112:Sl,113:Sl,114:[0,.44444,.01389,0,.34167],115:al,116:[0,.57143,0,0,.36111],117:zs,118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:Cr,168:[0,.67937,0,0,.5],176:zi,184:go,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:Wi,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:Wi,715:Wi,728:Wi,729:[0,.67937,0,0,.27778],730:zi,732:[0,.67659,0,0,.5],733:Wi,915:xo,916:Bl,920:ua,923:Go,926:zi,928:Yo,931:bo,933:ua,934:bo,936:ua,937:bo,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:la,8217:la,8220:Wi,8221:Wi},"Script-Regular":{32:Cr,65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:Cr},"Size1-Regular":{32:Cr,40:Au,41:Au,47:zl,91:Ds,92:zl,93:Ds,123:dl,125:dl,160:Cr,710:Hs,732:Hs,770:Hs,771:Hs,8214:[-99e-5,.601,0,0,.77778],8593:Hl,8595:Hl,8657:Ll,8659:Ll,8719:Ks,8720:Ks,8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:Ts,8748:cs,8749:cs,8750:Ts,8896:es,8897:es,8898:es,8899:es,8968:Ys,8969:Ys,8970:Ys,8971:Ys,9168:Ua,10216:Ys,10217:Ys,10752:Qs,10753:Qs,10754:Qs,10756:es,10758:es},"Size2-Regular":{32:Cr,40:ol,41:ol,47:fs,91:Wa,92:fs,93:Wa,123:ts,125:ts,160:Cr,710:Os,732:Os,770:Os,771:Os,8719:jo,8720:jo,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:ml,8748:Gs,8749:Gs,8750:ml,8896:Co,8897:Co,8898:Co,8899:Co,8968:gl,8969:gl,8970:gl,8971:gl,10216:sl,10217:sl,10752:Ws,10753:Ws,10754:Ws,10756:Co,10758:Co},"Size3-Regular":{32:Cr,40:_l,41:_l,47:Cl,91:fl,92:Cl,93:fl,123:El,125:El,160:Cr,710:Za,732:Za,770:Za,771:Za,8730:[.95003,1.45,0,0,1],8968:Zi,8969:Zi,8970:Zi,8971:Zi,10216:El,10217:El},"Size4-Regular":{32:Cr,40:eo,41:eo,47:ns,91:hl,92:ns,93:hl,123:Mu,125:Mu,160:Cr,710:Yl,732:Yl,770:Yl,771:Yl,8730:[1.25003,1.75,0,0,1],8968:ku,8969:ku,8970:ku,8971:ku,9115:Ql,9116:ms,9117:Ql,9118:Ql,9119:ms,9120:Ql,9121:fu,9122:Ua,9123:fu,9124:fu,9125:Ua,9126:fu,9127:vl,9128:Nu,9129:Xl,9130:[0,.3,0,0,.88889],9131:vl,9132:Nu,9133:Xl,9143:[.88502,.915,0,0,1.05556],10216:Mu,10217:Mu,57344:Ru,57345:Ru,57680:Kl,57681:Kl,57682:Kl,57683:Kl},"Typewriter-Regular":{32:Bs,33:Ni,34:Ni,35:Ni,36:Xs,37:Xs,38:Ni,39:Ni,40:Xs,41:Xs,42:[0,.52083,0,0,.525],43:ac,44:[.13889,.125,0,0,.525],45:ac,46:[0,.125,0,0,.525],47:Xs,48:Ni,49:Ni,50:Ni,51:Ni,52:Ni,53:Ni,54:Ni,55:Ni,56:Ni,57:Ni,58:wo,59:[.13889,.43056,0,0,.525],60:oc,61:[-.19549,.41562,0,0,.525],62:oc,63:Ni,64:Ni,65:Ni,66:Ni,67:Ni,68:Ni,69:Ni,70:Ni,71:Ni,72:Ni,73:Ni,74:Ni,75:Ni,76:Ni,77:Ni,78:Ni,79:Ni,80:Ni,81:[.13889,.61111,0,0,.525],82:Ni,83:Ni,84:Ni,85:Ni,86:Ni,87:Ni,88:Ni,89:Ni,90:Ni,91:Xs,92:Xs,93:Xs,94:Ni,95:[.09514,0,0,0,.525],96:Ni,97:wo,98:Ni,99:wo,100:Ni,101:wo,102:Ni,103:Hi,104:Ni,105:Ni,106:[.22222,.61111,0,0,.525],107:Ni,108:Ni,109:wo,110:wo,111:wo,112:Hi,113:Hi,114:wo,115:wo,116:[0,.55358,0,0,.525],117:wo,118:wo,119:wo,120:wo,121:Hi,122:wo,123:Xs,124:Xs,125:Xs,126:Ni,127:Ni,160:Bs,176:Ni,184:[.19445,0,0,0,.525],305:wo,567:Hi,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:Ni,715:Ni,728:Ni,730:Ni,770:Ni,771:Ni,776:Ni,915:Ni,916:Ni,920:Ni,923:Ni,926:Ni,928:Ni,931:Ni,933:Ni,934:Ni,936:Ni,937:Ni,8216:Ni,8217:Ni,8242:Ni,9251:[.11111,.21944,0,0,.525]}},ud=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,hu=10,qs=.25,sc=1.2,Al=.431,Hc={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Al,Al,Al],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.5,.732,.925],num2:[.394,.384,.5],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[qs,qs,qs],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04]},wc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Jl=5,zu={"\xA0":" ","\u200B":" ",\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function ql(a,y){a===void 0&&(a=77);const b=Js[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const E=String.fromCodePoint(a);if(E in zu)a=zu[E].codePointAt(0);else if(ud.test(E))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var lc={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],longrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],longleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],longleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],longrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],longleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],longleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],longRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716],longLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Du={widehat1:[1062,239,.24],widehat2:[2364,300,.3],widehat3:[2364,360,.36],widehat4:[2364,420,.42],widecheck1:[1062,239,.24],widecheck2:[2364,300,.3],widecheck3:[2364,360,.36],widecheck4:[2364,420,.42],widetilde1:[600,260,.26],widetilde2:[1033,286,.286],widetilde3:[2339,306,.306],widetilde4:[2340,312,.34],overarc:[1061,159,.3],underarc:[1061,159,.3]},Sc={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,overarc:"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z",underarc:`m 529 160
|
|
|
c -179 0 -524 -115 -524 -115
|
|
|
c -5 -1 -9 -5 -9 -10
|
|
|
c 0 -1 1 -2 1 -3
|
|
|
l 4 -22
|
|
|
c 1 -5 5 -9 11 -9
|
|
|
h 2
|
|
|
s 338 93 512 92
|
|
|
c 174 0 513 -92 513 -92
|
|
|
h 2
|
|
|
c 5 0 9 4 11 9
|
|
|
l 5 22
|
|
|
c 1 6 -2 12 -8 13
|
|
|
c 0 0 -342 115 -520 115
|
|
|
z
|
|
|
`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,widetilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,widetilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,widetilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,widetilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`};function $l(a){if(Du[a]){const[Ae,Te,Qe]=Du[a],bt=`<span class="stretchy" style="height:${Qe}em"><svg width="100%" height="${Qe}em" viewBox="0 0 ${Ae} ${Te}" preserveAspectRatio="none" ><path fill="currentcolor" d="${Sc[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*Qe/2)/100}em;min-width:0">${bt}</span>`}const[y,b,E,ee]=lc[a];let re,se;const ge=E/1e3;y.length===3?(re=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],se=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(re=["slice-1-of-2","slice-2-of-2"],se=["xMinYMin","xMaxYMin"]):(re=["slice-1-of-1"],se=[ee]);const xe=y.map((Ae,Te)=>`<span class="${re[Te]}" style=height:${ge}em><svg width=400em height=${ge}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${se[Te]} slice"><path fill="currentcolor" d="${Sc[Ae]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${ge}em;min-width:${b}em;">${xe}</span>`}function Kc(a){return lc[a]?lc[a][2]/1e3:Du[a][2]}function Wc(a){const y=[];for(let b=0;b<a.length;b++){let E=a.charCodeAt(b);if(E===13&&a.charCodeAt(b+1)===10&&(E=10,b++),(E===13||E===12)&&(E=10),E===0&&(E=65533),E>=55296&&E<=56319){const ee=a.charCodeAt(b+1);if(ee>=56320&&ee<=57343){const re=E-55296,se=ee-56320;E=ic(2,16)+re*ic(2,10)+se,b++}}y.push(E)}return y}var uc=8205,Bu=[[uc,1],[65038,2],[127995,5],[129456,4],[917536,96]],Fl,Lu=[127462,127487];function Fu(a){var y;if(Fl===void 0){Fl={};for(const b of Bu)for(let E=b[0];E<=b[0]+b[1]-1;E++)Fl[E]=!0}return(y=Fl[a])!=null?y:!1}function cd(a){return a>=Lu[0]&&a<=Lu[1]}function Zc(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Wc(a);let E=0;for(;E<b.length;){const ee=b[E++],re=b[E];if(re===uc){const se=E-1;for(E+=2;b[E]===uc;)E+=2;y.push(String.fromCodePoint(...b.slice(se,E-se+1)))}else if(Fu(re)){const se=E-1;for(;Fu(b[E]);)E+=b[E]===uc?2:1;y.push(String.fromCodePoint(...b.slice(se,2*E-se-1)))}else cd(ee)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(ee))}return y}var dd=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=Zc(a)}end(){return this.pos>=this.s.length}get(){return this.pos<this.s.length?this.s[this.pos++]:""}peek(){return this.s[this.pos]}match(a){const y=typeof this.s=="string"?a.exec(this.s.slice(this.pos)):a.exec(this.s.slice(this.pos).join(""));return y!=null&&y[0]?(this.pos+=y[0].length,y[0]):""}next(){if(this.end())return null;if(!this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]+/)||this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]/))return"<space>";const a=this.get();if(a==="\\"){if(!this.end()){let y=this.match(/^[a-zA-Z\*]+/);return y?this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]*/):y=this.get(),"\\"+y}}else{if(a==="{")return"<{>";if(a==="}")return"<}>";if(a==="^"){if(this.peek()==="^"){this.get();const y=this.match(/^(\^(\^(\^(\^[\da-f])?[\da-f])?[\da-f])?[\da-f])?[\da-f]{2}/);if(y)return String.fromCodePoint(Number.parseInt(y.slice(y.lastIndexOf("^")+1),16))}return a}else if(a==="#"){if(!this.end()){let y=!1;if(/[\d?@]/.test(this.peek())&&(y=!0,this.pos+1<this.s.length)){const b=this.s[this.pos+1];y=/[^\dA-Za-z]/.test(b)}return y?"#"+this.get():"#"}}else if(a==="$")return this.peek()==="$"?(this.get(),"<$$>"):"<$>"}return a}};function pu(a,y){var b,E,ee,re;const se=[];let ge=a.next();if(ge&&ge!=="\\relax"){if(ge==="\\noexpand")ge=a.next(),ge&&se.push(ge);else if(ge==="\\obeyspaces")a.obeyspaces=!0;else if(ge==="\\bgroup")se.push("<{>");else if(ge==="\\egroup")se.push("<}>");else if(ge==="\\string"){if(ge=a.next(),ge)if(ge.startsWith("\\"))for(const xe of ge)se.push(xe==="\\"?"\\backslash":xe);else ge==="<{>"?se.push("\\{"):ge==="<space>"?se.push("~"):ge==="<}>"&&se.push("\\}")}else if(ge==="\\csname"){for(;a.peek()==="<space>";)a.next();let xe="",Ae=!1,Te=[];do{if(Te.length===0)if(/^#[\d?@]$/.test(a.peek())){const Qe=a.get().slice(1);Te=eu((E=(b=y==null?void 0:y(Qe))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),ge=Te[0]}else ge=a.next(),Te=ge?[ge]:[];Ae=Te.length===0,!Ae&&ge==="\\endcsname"&&(Ae=!0,Te.shift()),Ae||(Ae=ge==="<$>"||ge==="<$$>"||ge==="<{>"||ge==="<}>"||typeof ge=="string"&&ge.length>1&&ge.startsWith("\\")),Ae||(xe+=Te.shift())}while(!Ae);xe&&se.push("\\"+xe),se.push(...Te)}else if(ge!=="\\endcsname")if(ge.length>1&&ge.startsWith("#")){const xe=ge.slice(1);se.push(...eu((re=(ee=y==null?void 0:y(xe))!=null?ee:y==null?void 0:y("?"))!=null?re:"\\placeholder{}",y))}else se.push(ge)}return se}function eu(a,y=null){const b=[];let E="";for(const se of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const ge=se.match(/((?:\\%)|[^%])*/);ge!==null&&b.push(ge[0])}const ee=new dd(rt(b.join(""))),re=[];do re.push(...pu(ee,y));while(!ee.end());return re}function so(a){let y="";const b=[];for(const E of a)E&&(y&&/^[a-zA-Z\*]/.test(E)&&b.push(y),b.push(E),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(E)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(E)?" ":"");return b.join("")}function No(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:so([a,...y.map(b=>`{${b}}`)])}function tu(a){return so(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var fd=class xf{constructor(y){xf._registry[y]=this}static createAtom(y,b,E){return xf._registry[y].createAtom(b,It(b,y),E)}static serialize(y,b){var E;if(!y||y.length===0)return"";if((E=b.skipStyles)!=null&&E){const ee=[];for(const re of jc(y)){const se=xf._registry[re[0].mode];ee.push(...se.serialize(re,b))}return so(ee)}return so(Vc(y,b))}static getFont(y,b,E){return xf._registry[y].getFont(b,E)}};fd._registry={};var ll=fd;function jc(a){const y=[];let b=[],E="NONE";for(const ee of a)ee.type!=="first"&&(ee.mode!==E?(b.length>0&&y.push(b),b=[ee],E=ee.mode):b.push(ee));return b.length>0&&y.push(b),y}function ys(a,y){const b=[];let E=[],ee;for(const re of a)if(re.type!=="first"&&re.style){let se;y==="variant"?(se=re.style.variant,re.style.variantStyle&&re.style.variantStyle!=="up"&&(se+="-"+re.style.variantStyle)):se=re.style[y],se===ee?E.push(re):(E.length>0&&b.push(E),E=[re],ee=se)}return E.length>0&&b.push(E),b}function cc(a,y){var b;const{parent:E}=a[0],ee=E==null?void 0:E.computedStyle.color,re=[];for(const se of jc(a)){const ge=y.defaultMode;for(const xe of ys(se,"color")){const Ae=xe[0].computedStyle,Te=ll._registry[xe[0].mode].serialize(xe,me(ye({},y),{defaultMode:ge==="text"?"text":"math"}));!y.skipStyles&&Ae.color&&Ae.color!=="none"&&(!E||ee!==Ae.color)?re.push(No("\\textcolor",(b=Ae.verbatimColor)!=null?b:Ae.color,so(Te))):re.push(so(Te))}}return re}function Hd(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return ys(a,"backgroundColor").map(ee=>{var re;if(ee.length>0||ee[0].type!=="box"){const se=ee[0].computedStyle;if(se.backgroundColor&&se.backgroundColor!=="none"&&(!b||E!==se.backgroundColor))return No("\\colorbox",(re=se.verbatimBackgroundColor)!=null?re:se.backgroundColor,so(cc(ee,me(ye({},y),{defaultMode:"text"}))))}return so(cc(ee,y))})}function Vc(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,ee=[];for(const re of ys(a,"fontSize")){const se=re[0].computedStyle.fontSize,ge=Hd(re,y);ge&&(se&&se!=="auto"&&(!b||E!==se)?ee.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][se],...ge):ee.push(...ge))}return ee}function Cc(a){return a?{mord:"ord",mbin:"bin",mop:"op",mrel:"rel",mopen:"open",mclose:"close",mpunct:"punct",minner:"inner",spacing:"ignore",latex:"latex",composition:"inner",error:"inner",placeholder:"ord",supsub:"ignore"}[a]:void 0}function Hu(a){if(a.length===0)return"ord";const y=Cc(a[0].type),b=Cc(a[a.length-1].type);return y&&y===b?y:"ord"}function mu(a,y){if(typeof a=="string")return a;if(typeof a=="number"){console.assert(Number.isFinite(a));const b=Math.ceil(100*a)/100;return b===0?"0":b.toString()+(y!=null?y:"")}return""}var ci=class Ep{constructor(y,b){var E,ee,re,se,ge;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:Ie(y)?this.children=y.filter(Ae=>Ae!==null):y&&y instanceof Ep&&(this.children=[y]),this.children)for(const Ae of this.children)Ae.parent=this;this.type=(E=b==null?void 0:b.type)!=null?E:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(ee=b==null?void 0:b.classes)!=null?ee:"",this.isTight=(re=b==null?void 0:b.isTight)!=null?re:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let xe=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(xe=(ge=ll.getFont((se=b.mode)!=null?se:"math",this,me(ye({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?ge:void 0),xe||(xe="Main-Regular"),this._height=0,this._depth=0,this._width=0,this.hasExplicitWidth=!1,this.skew=0,this.italic=0,this.maxFontSize=0,this.scale=1,(b==null?void 0:b.maxFontSize)!==void 0&&(this.maxFontSize=b.maxFontSize),fc(this,xe)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,E){if(b===void 0)return;const ee=mu(b,E);ee.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ee)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=mu(y,"em"),this.height-=y,this.depth+=y)}get left(){var y;return(y=this.cssProperties)!=null&&y["margin-left"]?Number.parseFloat(this.cssProperties["margin-left"]):0}set left(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-left"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-left"]=mu(y,"em")))}set right(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-right"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-right"]=mu(y,"em")))}set bottom(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-bottom"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-bottom"]=mu(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const E=y.color;E&&E!==b.color&&this.setStyle("color",E);let ee=y.backgroundColor;this.isSelected&&(ee=tr(ee)),ee&&ee!==b.backgroundColor&&(this.setStyle("background-color",ee),this.setStyle("display","inline-block"));const re=y.scalingFactor;return this.scale=re,this.skew*=re,this.italic*=re,this}toMarkup(){var y,b,E,ee;let re=(y=this.value)!=null?y:"";if(this.children)for(const Gt of this.children)re+=Gt.toMarkup();let se="";if(this.svgBody)se=$l(this.svgBody);else if(this.svgOverlay){se='<span style="',se+="display: inline-block;",se+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,se+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,se+='">',se+=re,se+="</span>",se+='<svg style="position:absolute;overflow:visible;',se+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const Gt=(b=this.cssProperties)==null?void 0:b.padding;Gt?(se+=`top:${Gt};`,se+=`left:${Gt};`,se+=`width:calc(100% - 2 * ${Gt} );`):se+="top:0;left:0;width:100%;",se+="z-index:2;",se+='"',this.svgStyle&&(se+=this.svgStyle),se+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,se+=`>${this.svgOverlay}</svg>`}let ge="";const xe=this.classes.split(" ");xe.push((E={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?E:""),this.caret==="latex"&&xe.push("ML__latex-caret"),this.isSelected&&xe.push("ML__selected");const Ae=xe.length===1?xe[0]:xe.filter((Gt,an,cr)=>Gt.length>0&&cr.indexOf(Gt)===an).join(" ");if(Ae.length>0&&(ge+=` class="${Ae}"`),this.id&&(ge+=` data-atom-id=${this.id}`),this.cssId&&(ge+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(ge+=" "+Object.keys(this.attributes).map(Gt=>`${Gt}="${this.attributes[Gt]}"`).join(" ")),this.htmlData){const Gt=this.htmlData.split(",");for(const an of Gt){const cr=an.match(/([^=]+)=(.+$)/);if(cr){const di=cr[1].trim().replace(/ /g,"-");di&&(ge+=` data-${di}="${cr[2]}" `)}else{const di=an.trim().replace(/ /g,"-");di&&(ge+=` data-${di} `)}}}const Te=(ee=this.cssProperties)!=null?ee:{};this.hasExplicitWidth&&Te.width===void 0&&(Te.width=`${Math.ceil(this._width*100)/100}em`);const Qe=Object.keys(Te).map(Gt=>`${Gt}:${Te[Gt]}`);if(this.scale!==void 0&&this.scale!==1&&(re.length>0||se.length>0)&&Qe.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const Gt=this.htmlStyle.split(";");let an="";for(const cr of Gt){const di=cr.match(/([^=]+):(.+$)/);if(di){const ar=di[1].trim().replace(/ /g,"-");ar&&(an+=`${ar}:${di[2]};`)}}an&&(ge+=` style="${an}"`)}Qe.length>0&&(ge+=` style="${Qe.join(";")}"`);let bt="";return ge.length>0||se.length>0?bt=`<span${ge}>${re}${se}</span>`:bt=re,this.caret==="text"?bt+='<span class="ML__text-caret"></span>':this.caret==="math"&&(bt+='<span class="ML__caret"></span>'),bt}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,E=y.children&&y.children.length>0;if(b||E)return!1;if(y.cssProperties||this.cssProperties){for(const xe of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&xe in y.cssProperties||this.cssProperties&&xe in this.cssProperties)return!1}const ee=this.cssProperties?Object.keys(this.cssProperties).length:0,re=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ee!==re)return!1;if(ee>0){for(const xe of Object.keys(this.cssProperties))if(this.cssProperties[xe]!==y.cssProperties[xe])return!1}const se=this.classes.trim().replace(/\s+/g," ").split(" "),ge=y.classes.trim().replace(/\s+/g," ").split(" ");if(se.length!==ge.length)return!1;se.sort(),ge.sort();for(const[xe,Ae]of se.entries())if(Ae==="vertical-separator"||Ae!==ge[xe])return!1;return this.value+=y.value,this.height=Math.max(this.height,y.height),this.depth=Math.max(this.depth,y.depth),this._width=this._width+y._width,this.maxFontSize=Math.max(this.maxFontSize,y.maxFontSize),this.italic=y.italic,!0}};function Uc(a){if(!a||a.length===0)return[];a[0].children=Uc(a[0].children);const y=[a[0]];for(let b=1;b<a.length;b++)y[y.length-1].tryCoalesceWith(a[b])||(a[b].children=Uc(a[b].children),y.push(a[b]));return y}function Ec(a){return a.children&&(a.children=Uc(a.children)),a}function dc(a,y){if(!a)return new ci(null,y);const b=new ci(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const E=[b];if(a.depth!==0){const ee=new ci(null,{classes:"ML__strut--bottom",type:"ignore"});ee.setStyle("height",a.height+a.depth,"em"),ee.setStyle("vertical-align",-a.depth,"em"),E.push(ee)}return E.push(a),new ci(E,me(ye({},y),{type:"lift"}))}function Pl(a){const y=Kc(a)/2,b=new ci(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function fc(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let E=0;E<a.value.length;E++){const ee=ql(a.value.codePointAt(E),y);a.height=Math.max(a.height,ee.height),a.depth=Math.max(a.depth,ee.depth),a._width+=ee.width,a.skew=ee.skew,a.italic=ee.italic}return}if(a.children&&a.children.length>0){let E=-1/0,ee=-1/0,re=0;for(const se of a.children)se.height>E&&(E=se.height),se.depth>ee&&(ee=se.depth),re=Math.max(re,(b=se.maxFontSize)!=null?b:0);a.height=E,a.depth=ee,a._width=a.children.reduce((se,ge)=>se+ge.width,0),a.maxFontSize=re}}function Ac(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],ee=-b.shift-b.box.depth;let re=ee;for(let se=1;se<y.length;se++){const ge=y[se],xe=-ge.shift-re-ge.box.depth,Ae=xe-(b.box.height+b.box.depth);re=re+xe,E.push(Ae),E.push(ge),b=ge}return[E,ee]}if("top"in a){let y=a.top;for(const b of a.children)y-=typeof b=="number"?b:b.box.height+b.box.depth;return[a.children,y]}else{if("bottom"in a)return[a.children,-a.bottom];if("firstBaseline"in a){const y=a.firstBaseline[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.firstBaseline,-y.box.depth]}else if("shift"in a){const y=a.children[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.children,-y.box.depth-a.shift]}}return[null,0]}function Ku(a){var y;const[b,E]=Ac(a);if(!b)return[[],0,0];const ee=new ci(null,{classes:"pstrut"});let re=0;for(const an of b)if(typeof an!="number"){const cr=an.box;re=Math.max(re,cr.maxFontSize,cr.height)}re+=2,ee.height=re,ee.setStyle("height",re,"em");const se=[];let ge=E,xe=E,Ae=E,Te=0;for(const an of b){if(typeof an=="number")Ae+=an;else{const cr=an.box,di=(y=an.classes)!=null?y:[],ar=new ci([ee,cr],{classes:di.join(" "),style:an.style});cr.setStyle("height",cr.height+cr.depth,"em"),cr.setStyle("display","inline-block"),ar.setStyle("top",-re-Ae-cr.depth,"em"),an.marginLeft&&ar.setStyle("margin-left",an.marginLeft,"em"),an.marginRight&&ar.setStyle("margin-right",an.marginRight,"em"),se.push(ar),Ae+=cr.height+cr.depth,Te=Math.max(Te,ar.width)}ge=Math.min(ge,Ae),xe=Math.max(xe,Ae)}se.forEach(an=>{an.softWidth=Te});const Qe=new ci(se,{classes:"vlist"});if(Qe.softWidth=Te,Qe.height=xe,Qe.setStyle("height",xe,"em"),ge>=0)return[[new ci(Qe,{classes:"vlist-r"})],xe,-ge];const bt=new ci(new ci(null),{classes:"vlist"});bt.height=-ge,bt.setStyle("height",-ge,"em");const Gt=new ci(8203,{classes:"vlist-s",maxFontSize:0});return Gt.softWidth=0,Gt.height=0,Gt.depth=0,[[new ci([Qe,Gt],{classes:"vlist-r"}),new ci(bt,{classes:"vlist-r"})],xe,-ge]}var Vo=class extends ci{constructor(a,y){var b;const[E,ee,re]=Ku(a);super(E.length===1?E[0]:E,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(E.length===2?" vlist-t2":"")}),this.height=ee,this.depth=re,this.softWidth=E.reduce((se,ge)=>Math.max(se,ge.width),0)}};function Kd(a,y){var b,E,ee,re,se;const ge=a.metrics,xe=new ci(y.base),Ae=(b=y.baseShift)!=null?b:0,Te=(E=y.slant)!=null?E:0;let Qe=0,bt=0;y.above&&(Qe=(ee=y.aboveShift)!=null?ee:Math.max(ge.bigOpSpacing1,ge.bigOpSpacing3-y.above.depth)),y.below&&(bt=(re=y.belowShift)!=null?re:Math.max(ge.bigOpSpacing2,ge.bigOpSpacing4-y.below.height));let Gt=null;if(y.below&&y.above){const an=ge.bigOpSpacing5+y.below.height+y.below.depth+bt+xe.depth+Ae;Gt=new Vo({bottom:an,children:[ge.bigOpSpacing5,{box:y.below,marginLeft:-Te,classes:["ML__center"]},bt,{box:xe,classes:["ML__center"]},Qe,{box:y.above,marginLeft:Te,classes:["ML__center"]},ge.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)Gt=new Vo({top:xe.height-Ae,children:[ge.bigOpSpacing5,{box:y.below,marginLeft:-Te,classes:["ML__center"]},bt,{box:xe,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const an=xe.depth+Ae;Gt=new Vo({bottom:an,children:[{box:xe,classes:["ML__center"]},Qe,{box:y.above,marginLeft:Te,classes:["ML__center"]},ge.bigOpSpacing5]}).wrap(a)}else{const an=xe.depth+Ae;Gt=new Vo({bottom:an,children:[{box:xe},ge.bigOpSpacing5]}).wrap(a)}return new ci(Gt,{type:(se=y.type)!=null?se:"op"})}var Mc=7,nu=6,Wu=5,ru=4,gu=3,$s=2,yl=1,Zs=0,Il=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const E={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(Hc).reduce((ee,re)=>me(ye({},ee),{[re]:Hc[re][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Tl[[Zs,yl,Zs,yl,$s,gu,$s,gu][this.id]]}get sub(){return Tl[[Zs,Zs,Zs,Zs,$s,$s,$s,$s][this.id]]}get fracNum(){return Tl[[Zs,yl,Zs,yl,$s,gu,ru,Wu][this.id]]}get fracDen(){return Tl[[Zs,Zs,Zs,Zs,$s,$s,ru,ru][this.id]]}get cramp(){return Tl[[Zs,Zs,$s,$s,ru,ru,nu,nu][this.id]]}get isTight(){return this.sizeDelta<0}},vu={7:new Il(Mc,0,!1),6:new Il(nu,0,!0),5:new Il(Wu,0,!1),4:new Il(ru,0,!0),3:new Il(gu,-3,!1),2:new Il($s,-3,!0),1:new Il(yl,-4,!1),0:new Il(Zs,-4,!0)},Tl=me(ye({},vu),{displaystyle:vu[Mc],textstyle:vu[Wu],scriptstyle:vu[gu],scriptscriptstyle:vu[yl]});function Zu(a,y){var b;if(!a)return 0;const E={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:hu,bp:803/800,dd:1238/1157,pc:12,in:72.27,mu:10/18}[(b=a.unit)!=null?b:"pt"];if(Number.isFinite(y)){const ee=ic(10,y);return Math.round(a.dimension/hu*E*ee)/ee}return a.dimension*E}function Gc(a,y){if(a===null)return 0;const b=Zu(a)/hu;if(Number.isFinite(y)){const E=ic(10,y);return Math.round(b*E)/E}return b}function _c(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function hd(a){let y=_c(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${_c(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${_c(a.shrink)}`),y}function gs(a){var y,b;if(a==null)return null;let E="";if("dimension"in a&&(E=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(E=hd(a)),"number"in a)if(!("base"in a)||a.base==="decimal")E=Number(a.number).toString();else if(a.base==="alpha")E=`\`${String.fromCodePoint(a.number)}`;else{const ee=Math.round(a.number)>>>0;a.base==="hexadecimal"?(E=Number(ee).toString(16).toUpperCase(),ee<=255?E=E.padStart(2,"0"):ee<=65535?E=E.padStart(4,"0"):ee<=16777215?E=E.padStart(6,"0"):E=E.padStart(8,"0"),E=`"${E}`):a.base==="octal"&&(E=Number(ee).toString(8),ee<=63?E=E.padStart(2,"0"):ee<=30583?E=E.padStart(4,"0"):E=E.padStart(8,"0"),E=`'${E}`)}return"register"in a&&("factor"in a&&(a.factor===-1?E="-":a.factor!==1&&(E=Number(a.factor).toString())),"global"in a&&a.global&&(E+="\\global"),E+=`\\${a.register}`),"string"in a&&(E=a.string),(b=a.relax)!=null&&b&&(E+="\\relax"),E}function Wl(a,y){return a==null?null:"number"in a?me(ye({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?me(ye({},a),{factor:a.factor*y}):me(ye({},a),{factor:y}):"dimension"in a?me(ye({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:Wl(a.glue,y),shrink:Wl(a.shrink,y),grow:Wl(a.grow,y)}:a.shrink?{glue:Wl(a.glue,y),shrink:Wl(a.shrink,y)}:a.grow?{glue:Wl(a.glue,y),grow:Wl(a.grow,y)}:{glue:Wl(a.glue,y)}:null}var Wd={"p@":{dimension:1},"z@":{dimension:0},maxdimen:{dimension:16383.99999},hfuzz:{dimension:.1},vfuzz:{dimension:.1},overfullrule:{dimension:5},hsize:{dimension:6.5,unit:"in"},vsize:{dimension:8.9,unit:"in"},parindent:{dimension:20},maxdepth:{dimension:4},splitmaxdepth:{register:"maxdimen"},boxmaxdepth:{register:"maxdimen"},delimitershortfall:{dimension:5},nulldelimiterspace:{dimension:1.2,unit:"pt"},scriptspace:{dimension:.5},topskip:{dimension:10},splittopskip:{dimension:10},normalbaselineskip:{dimension:12},normallineskip:{dimension:1},normallineskiplimit:{dimension:0},jot:{dimension:3},doublerulesep:{dimension:2},arrayrulewidth:{dimension:.4},arraycolsep:{dimension:5},fboxsep:{dimension:3},fboxrule:{dimension:.4},"z@skip":{glue:{dimension:0},shrink:{dimension:0},grow:{dimension:0}},hideskip:{glue:{dimension:-1e3},grow:{dimension:1,unit:"fill"}},"@flushglue":{glue:{dimension:0},grow:{dimension:1,unit:"fill"}},parskip:{glue:{dimension:0},grow:{dimension:1}},abovedisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},abovedisplayshortskip:{glue:{dimension:0},grow:{dimension:3}},belowdisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},belowdisplayshortskip:{glue:{dimension:7},grow:{dimension:3},shrink:{dimension:4}},parfillskip:{glue:{dimension:0},grow:{dimension:1,unit:"fil"}},thinmuskip:{glue:{dimension:3,unit:"mu"}},medmuskip:{glue:{dimension:4,unit:"mu"},grow:{dimension:2,unit:"mu"},shrink:{dimension:4,unit:"mu"}},thickmuskip:{glue:{dimension:5,unit:"mu"},grow:{dimension:5,unit:"mu"}},smallskipamount:{glue:{dimension:3},grow:{dimension:1},shrink:{dimension:1}},medskipamount:{glue:{dimension:6},grow:{dimension:2},shrink:{dimension:3}},bigskipamount:{glue:{dimension:12},grow:{dimension:2},shrink:{dimension:4}},pretolerance:100,tolerance:200,hbadness:1e3,vbadness:1e3,linepenalty:10,hyphenpenalty:50,exhyphenpenalty:50,binoppenalty:700,relpenalty:500,clubpenalty:150,widowpenalty:150,displaywidowpenalty:50,brokenpenalty:100,predisplaypenalty:1e4,doublehyphendemerits:1e4,finalhyphendemerits:5e3,adjdemerits:1e4,tracinglostchars:1,uchyph:1,delimiterfactor:901,defaulthyphenchar:"\\-",defaultskewchar:-1,newlinechar:-1,showboxbreadth:5,showboxdepth:3,errorcontextlines:5,interdisplaylinepenalty:100,interfootnotelinepenalty:100,baselineSkip:1.2,arraystretch:1,month:new Date().getMonth()+1,day:new Date().getDate(),year:new Date().getFullYear()};function yu(){return ye({},Wd)}function Ol(){return{registers:yu(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:at.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:Ye,backgroundColorMap:We,getMacro:a=>$n(a,hr())}}var vo=class Ap{constructor(y,b){var E,ee,re,se,ge,xe,Ae,Te,Qe,bt,Gt,an,cr,di,ar;let Zr;y!=null&&y.parent?(this.parent=y.parent,Zr=y.parent,this.registers={}):(Zr=ye(ye({},Ol()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=Zr.registers),Zr.atomIdsSettings&&(this.atomIdsSettings=ye({},Zr.atomIdsSettings)),this.renderPlaceholder=Zr.renderPlaceholder,this.isPhantom=(se=(re=y==null?void 0:y.isPhantom)!=null?re:(ee=this.parent)==null?void 0:ee.isPhantom)!=null?se:!1,this.letterShapeStyle=Zr.letterShapeStyle,this.minFontScale=Zr.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(xe=(ge=this.parent)==null?void 0:ge.color)!=null?xe:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(Te=(Ae=this.parent)==null?void 0:Ae.backgroundColor)!=null?Te:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((Qe=this.parent)==null?void 0:Qe.size)?this.size=b.fontSize:this.size=(Gt=(bt=this.parent)==null?void 0:bt.size)!=null?Gt:Jl;let hi=(cr=(an=this.parent)==null?void 0:an.mathstyle)!=null?cr:Tl.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(Zr instanceof Ap)switch(y.mathstyle){case"cramp":hi=hi.cramp;break;case"superscript":hi=hi.sup;break;case"subscript":hi=hi.sub;break;case"numerator":hi=hi.fracNum;break;case"denominator":hi=hi.fracDen;break}switch(y.mathstyle){case"textstyle":hi=Tl.textstyle;break;case"displaystyle":hi=Tl.displaystyle;break;case"scriptstyle":hi=Tl.scriptstyle;break;case"scriptscriptstyle":hi=Tl.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=hi,this.smartFence=Zr.smartFence,this.placeholderSymbol=Zr.placeholderSymbol,this.colorMap=(di=Zr.colorMap)!=null?di:$r=>$r,this.backgroundColorMap=(ar=Zr.backgroundColorMap)!=null?ar:$r=>$r,this.getMacro=Zr.getMacro,console.assert(this.parent!==void 0||this.registers!==void 0)}makeID(){if(!this.atomIdsSettings)return;if(this.atomIdsSettings.overrideID)return this.atomIdsSettings.overrideID;if(typeof this.atomIdsSettings.seed!="number")return`${Date.now().toString(36).slice(-2)}${Math.floor(Math.random()*1e5).toString(36)}`;const y=this.atomIdsSettings.seed.toString(36);return this.atomIdsSettings.seed+=1,y}scale(y){return y*this.effectiveFontSize}get scalingFactor(){return this.parent?this.effectiveFontSize/this.parent.effectiveFontSize:1}get isDisplayStyle(){return this.mathstyle.id===Mc||this.mathstyle.id===nu}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(wc[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E:typeof E=="object"&&"dimension"in E?{glue:{dimension:E.dimension}}:typeof E=="number"?{glue:{dimension:E}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return Gc(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E.glue:typeof E=="object"&&"dimension"in E?E:typeof E=="number"?{dimension:E}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let E=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(E=y.factor);const ee=b.getRegister(y.register);if(ee===void 0)return;if(typeof ee=="string")return{string:Number(ee).toString()+ee};if(typeof ee=="number")return{number:E*ee};const re=b.evaluate(ee);if(re!==void 0)return"string"in re?{string:Number(ee).toString()+re.string}:"number"in re?{number:E*re.number}:"dimension"in re?me(ye({},re),{dimension:E*re.dimension}):"glue"in re?me(ye({},re),{glue:me(ye({},re.glue),{dimension:E*re.glue.dimension}),shrink:re.shrink?me(ye({},re.shrink),{dimension:E*re.shrink.dimension}):void 0,grow:re.grow?me(ye({},re.grow),{dimension:E*re.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const E=this.toDimension(y);return E===null?0:Zu(E,b)/hu}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.colorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}toBackgroundColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.backgroundColorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}},ju=["body","above","below","superscript","subscript"];function Zl(a){return typeof a=="string"&&ju.includes(a)}function Vu(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var Br=class bc{constructor(y){var b,E,ee,re,se,ge;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(E=(b=y.command)!=null?b:this.value)!=null?E:"",this.mode=(ee=y.mode)!=null?ee:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=ye({},y.style),this.displayContainsHighlight=(re=y.displayContainsHighlight)!=null?re:!1,this.captureSelection=(se=y.captureSelection)!=null?se:!1,this.skipBoundary=(ge=y.skipBoundary)!=null?ge:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,E){var ee;if(!b)return null;const re=pd(b),se=[];for(const xe of re){const Ae=xe[0].style,Te=md(y,xe,{style:{color:Ae.color,backgroundColor:Ae.backgroundColor,fontSize:Ae.fontSize}});Te&&se.push(Te)}if(se.length===0)return null;const ge=((ee=E==null?void 0:E.classes)!=null?ee:"").trim();return se.length===1&&!ge&&!(E!=null&&E.type)?se[0].wrap(y):new ci(se,{classes:ge,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return ll.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const E=new WeakSet;let{parent:ee}=y;for(;ee;)E.add(ee),ee=ee.parent;for(ee=b.parent;ee;){if(E.has(ee))return ee;ee=ee.parent}console.assert(!!ee)}static fromJson(y){return typeof y=="string"?new bc({type:"mord",value:y,mode:"math"}):new bc(y)}get latexMode(){return this.mode==="math"?"math":"text"}toJson(){const y={};if(this.type&&(y.type=this.type),this.mode!=="math"&&(y.mode=this.mode),this.command&&this.command!==this.value&&(y.command=this.command),this.value!==void 0&&(y.value=this.value),this.style&&Object.keys(this.style).length>0&&(y.style=ye({},this.style)),this.verbatimLatex!==void 0&&(y.verbatimLatex=this.verbatimLatex),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.explicitSubsupPlacement&&(y.explicitSubsupPlacement=!0),this.isFunction&&(y.isFunction=!0),this.displayContainsHighlight&&(y.displayContainsHighlight=!0),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.skipBoundary&&(y.skipBoundary=!0),this.captureSelection&&(y.captureSelection=!0),this.args&&(y.args=Yc(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(E=>E.type!=="first").map(E=>E.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?so([No(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?so([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return ll.serialize(this.body,me(ye({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return ll.serialize(this.above,y)}belowToLatex(y){return ll.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=me(ye({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=ll.serialize(this.subscript,y);E.length===0?b+="_{}":E.length===1?/^[0-9]$/.test(E)?b+=`_${E}`:b+=`_{${E}}`:b+=`_{${E}}`}if(this.branch("superscript")!==void 0){const E=ll.serialize(this.superscript,y);E.length===0?b+="^{}":E.length===1?E==="\u2032"?b+="^\\prime ":E==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(E)?b+=`^${E}`:b+=`^{${E}}`:b+=`^{${E}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(Zl(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of ju)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(Zl(y)),Zl(y)?(this._branches?this._branches[y]||(this._branches[y]=[this.makeFirstAtom(y)]):this._branches={[y]:[this.makeFirstAtom(y)]},this.isDirty=!0,this._branches[y]):[]}get row(){return Vu(this.parentBranch)?this.parentBranch[0]:-1}get col(){return Vu(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const E=typeof this.style.verbatimColor=="string",ee=typeof this.style.verbatimBackgroundColor=="string",re=ye(ye({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete re.variant,delete re.variantStyle,ee||delete re.verbatimBackgroundColor,E||delete re.verbatimColor,re}applyStyle(y){this.isDirty=!0,this.style=ye(ye({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,E;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(E=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?E:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var E;if(!y||(console.assert(Zl(b)),!Zl(b)))return;console.assert(((E=y[0])==null?void 0:E.type)!=="first");const ee=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ee:this._branches={[b]:ee};for(const re of y)re.parent=this,re.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new bc({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const E=this.createBranch(b);for(const ee of y)ee.parent=this,ee.parentBranch=b,E.push(ee);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,...y),this.isDirty=!0;for(const ee of y)ee.parent=this,ee.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(Zl(y)&&(this._branches[y]=void 0),!b)return[];for(const E of b)E.parent=void 0,E.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),E=b.indexOf(y);console.assert(E>=0),b.splice(E,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of ju)if(this._branches[b])for(const E of this._branches[b])y.push(...E.children),y.push(E);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=It(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new vo({parent:y},this.style);let ee=this.createBox(E,{classes:this.parent?"":"ML__base"});return ee?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ee=this.attachSupsub(E,{base:ee})),ee.wrap(E)):null}attachSupsub(y,b){var E;const ee=b.base,re=this.superscript,se=this.subscript;if(!re&&!se)return ee;let ge=null,xe=null;const Ae=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let Te=0;if(re){const cr=new vo({parent:y,mathstyle:"superscript"});ge=bc.createBox(cr,re),Ae||(Te=ee.height-y.metrics.supDrop*cr.scalingFactor)}let Qe=0;if(se){const cr=new vo({parent:y,mathstyle:"subscript"});xe=bc.createBox(cr,se),Ae||(Qe=ee.depth+y.metrics.subDrop*cr.scalingFactor)}let bt;y.isDisplayStyle?bt=y.metrics.sup1:y.isCramped?bt=y.metrics.sup3:bt=y.metrics.sup2;const Gt=.5/hu/y.scalingFactor;let an=null;if(xe&&ge){Te=Math.max(Te,bt,ge.depth+.25*y.metrics.xHeight),Qe=Math.max(Qe,y.metrics.sub2);const cr=y.metrics.defaultRuleThickness;if(Te-ge.depth-(xe.height-Qe)<4*cr){Qe=4*cr-(Te-ge.depth)+xe.height;const ar=.8*y.metrics.xHeight-(Te-ge.depth);ar>0&&(Te+=ar,Qe-=ar)}const di=this.isExtensibleSymbol&&ee.italic?-ee.italic:0;an=new Vo({individualShift:[{box:xe,shift:Qe,marginLeft:di},{box:ge,shift:-Te}]}).wrap(y)}else xe&&!ge?(Qe=Math.max(Qe,y.metrics.sub1,xe.height-.8*Al),an=new Vo({shift:Qe,children:[{box:xe,marginRight:Gt,marginLeft:this.isCharacterBox()?-ee.italic:0}]})):!xe&&ge&&(Te=Math.max(Te,bt,ge.depth+.25*Al),an=new Vo({shift:-Te,children:[{box:ge,marginRight:Gt}]}));return new ci([ee,new ci(an,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?bc.createBox(new vo({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ee=this.subscript?bc.createBox(new vo({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!ee?b.base.wrap(y):Kd(y,me(ye({},b),{above:E,below:ee}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let E=this.parent;for(;E&&!E.captureSelection;)E=E.parent;return E!=null&&E.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var E,ee,re,se;const ge=(E=this.value)!=null?E:this.body,xe=(ee=b==null?void 0:b.boxType)!=null?ee:Cc(this.type);let Ae=(re=b==null?void 0:b.classes)!=null?re:"";this.mode==="text"&&(Ae+=" ML__text");const Te=typeof ge=="string"||ge===void 0?new ci(ge!=null?ge:null,{type:xe,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:me(ye({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:Ae}):(se=bc.createBox(y,ge,{type:xe,classes:Ae}))!=null?se:new ci(null);return y.isTight&&(Te.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(Te.italic=0),Te.right=Te.italic,this.bind(y,Te),this.caret&&!this.superscript&&!this.subscript&&(Te.caret=this.caret),Te}isDigit(){var y;return this.type==="mord"&&this.value?/^[\d,\.]$/.test(this.value):this.type==="group"&&((y=this.body)==null?void 0:y.length)===2?this.body[0].type==="first"&&this.body[1].value===",":!1}asDigit(){var y;return this.type==="mord"&&this.value&&/^[\d,\.]$/.test(this.value)?this.value:this.type==="group"&&((y=this.body)==null?void 0:y.length)===2&&this.body[0].type==="first"&&this.body[1].value===","?".":""}};function pd(a){let y;const b=[];let E=[];for(const ee of a)if(!y&&!ee.style)E.push(ee);else{const re=ee.computedStyle;y&&re.color===y.color&&re.backgroundColor===y.backgroundColor&&re.fontSize===y.fontSize?E.push(ee):(E.length>0&&b.push(E),E=[ee],y=re)}return E.length>0&&b.push(E),b}function md(a,y,b){var E,ee,re,se,ge;if(!y||y.length===0)return null;const xe=new vo({parent:a},b.style),Ae=!((E=xe.atomIdsSettings)!=null&&E.groupNumbers);let Te=[];if(y.length===1){const bt=y[0],Gt=bt.render(xe);Gt&&(Ae&&bt.isSelected&&Gt.selected(!0),Te=[Gt])}else{let bt="",Gt=!0;for(const an of y){(ee=xe.atomIdsSettings)!=null&&ee.groupNumbers&&bt&&(Gt&&an.isDigit()||!Gt&&kc(an))&&(xe.atomIdsSettings.overrideID=bt);const cr=an.render(xe);xe.atomIdsSettings&&(xe.atomIdsSettings.overrideID=void 0),cr&&((re=xe.atomIdsSettings)!=null&&re.groupNumbers&&((an.isDigit()||kc(an))&&(!bt||Gt!==an.isDigit())&&(Gt=an.isDigit(),bt=(se=an.id)!=null?se:""),bt&&(!(an.isDigit()||kc(an))||!an.hasEmptyBranch("superscript")||!an.hasEmptyBranch("subscript"))&&(bt="")),Ae&&an.isSelected&&cr.selected(!0),Te.push(cr))}}if(Te.length===0)return null;const Qe=new ci(Te,me(ye({isTight:xe.isTight},b),{type:(ge=b.type)!=null?ge:"lift"}));return Qe.isSelected=Te.every(bt=>bt.isSelected),Qe.wrap(xe)}function kc(a){return a.mode==="text"}function Yc(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof Br?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var iu=class Mp extends Br{constructor(y,b,E){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(E)}static fromJson(y){return new Mp(y.command,y.value,y.style)}render(y){const b=this.createBox(y);return this.caret&&(b.caret=this.caret),b}_serialize(y){var b;return(b=this.verbatimLatex)!=null?b:Qn("text",this.value.codePointAt(0))}};function hc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&gd(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function gd(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function Ls(a){let y=1/0,b=-1/0;for(const E of a.ranges)y=Math.min(y,E[0],E[1]),b=Math.max(b,E[0],E[1]);return[y,b]}function jl(a){return typeof a=="number"&&!Number.isNaN(a)}function Dc(a){return Array.isArray(a)&&a.length===2}function Bc(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function Mo(a,y){const b=a.at(y);let E;if(b){E=b.mode;let ee=b.parent;for(;!E&ⅇ)ee&&(E=ee.mode),ee=ee.parent}return E}function da(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,E=!1,ee=!1,re=!1,se=!1,ge=!1,xe=!1,Ae=!1,Te=!1,Qe=!1,bt=!1,Gt=!1,an=!1,cr=!1,di=!1,ar=a[0],Zr=0;for(;ar!=null&&ar.type&&/^(subsup|placeholder)$/.test(ar.type);)Zr+=1,ar=a[Zr];return b=!ar||ar.type==="first",ar&&(cr=ar.mode==="text",E=!cr&&ar.type==="mord"&&pe.test(ar.value),ee=!cr&&ar.type==="mord"&&/\d+$/.test(ar.value),re=!cr&&ar.isFunction,se=ar.type==="genfrac",ge=ar.type==="surd",xe=ar.type==="mbin",Ae=ar.type==="mrel",Te=ar.type==="mop"||ar.type==="operator"||ar.type==="extensible-symbol",Qe=ar.type==="mpunct"||ar.type==="minner",bt=ar.type==="array",Gt=ar.type==="mopen",an=ar.type==="mclose"||ar.type==="leftright",di=ar.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&ee||y.after.includes("function")&&re||y.after.includes("frac")&&se||y.after.includes("surd")&&ge||y.after.includes("binop")&&xe||y.after.includes("relop")&&Ae||y.after.includes("operator")&&Te||y.after.includes("punct")&&Qe||y.after.includes("array")&&bt||y.after.includes("openfence")&&Gt||y.after.includes("closefence")&&an||y.after.includes("text")&&cr||y.after.includes("space")&&di?y.value:""}function Na(a,y,b){return b?da(a,b[y]):""}var ko={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\doubleprime}","'''":"^{\\prime\\prime\\prime}","''''":"^{\\prime\\prime\\prime\\prime}",alpha:"\\alpha",delta:"\\delta",Delta:"\\Delta",pi:"\\pi",Pi:"\\Pi",theta:"\\theta",Theta:"\\Theta",ii:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryI"},jj:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryJ"},ee:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\exponentialE"},nabla:"\\nabla",grad:"\\nabla",del:"\\partial",deg:{after:"digit+space",value:"\\degree"},infty:"\\infty","\u221E":"\\infty",oo:{after:"nothing+digit+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\infty"},"\u2211":"\\sum",sum:"\\sum_{#?}^{#?}",int:"\\int_{#?}^{#?}",prod:"\\prod_{#?}^{#?}",sqrt:"\\sqrt{#?}","\u2206":"\\differentialD","\u2202":"\\differentialD",arcsin:"\\arcsin",arccos:"\\arccos",arctan:"\\arctan",arcsec:"\\arcsec",arccsc:"\\arccsc",arsinh:"\\arsinh",arcosh:"\\arcosh",artanh:"\\artanh",arcsech:"\\arcsech",arccsch:"\\arccsch",arg:"\\arg",ch:"\\ch",cosec:"\\cosec",cosh:"\\cosh",cot:"\\cot",cotg:"\\cotg",coth:"\\coth",csc:"\\csc",ctg:"\\ctg",cth:"\\cth",sec:"\\sec",sinh:"\\sinh",sh:"\\sh",tanh:"\\tanh",tg:"\\tg",th:"\\th",sin:"\\sin",cos:"\\cos",tan:"\\tan",lg:"\\lg",lb:"\\lb",log:"\\log",ln:"\\ln",exp:"\\exp",lim:"\\lim_{#?}",dx:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD x"},dy:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD y"},dt:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD t"},AA:"\\forall",EE:"\\exists","!EE":"\\nexists","&&":"\\land",xin:{after:"nothing+text+relop+punct+openfence+space",value:"x \\in"},sint:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\sin t"},in:{after:"nothing+letter+closefence",value:"\\in"},"!in":"\\notin",NN:"\\mathbb{N}",ZZ:"\\Z",QQ:"\\Q",RR:"\\R",CC:"\\C",xx:"\\times","+-":"\\pm","\u2260":"\\ne","!=":"\\ne","\u2265":"\\ge",">=":"\\ge","\u2264":"\\le","<=":"\\le","<<":"\\ll",">>":"\\gg","~~":"\\approx","\u2248":"\\approx","?=":"\\questeq","\xF7":"\\div","\xAC":"\\neg",":=":"\\coloneq","::":"\\Colon","(:":"\\langle",":)":"\\rangle",beta:"\\beta",chi:"\\chi",epsilon:"\\epsilon",varepsilon:"\\varepsilon",eta:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\eta"},gamma:"\\gamma",Gamma:"\\Gamma",iota:"\\iota",kappa:"\\kappa",lambda:"\\lambda",Lambda:"\\Lambda",mu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\mu"},nu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\nu"},\u00B5:"\\mu",phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\phi"},Phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Phi"},varphi:"\\varphi",psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\psi"},Psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Psi"},rho:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\rho"},sigma:"\\sigma",Sigma:"\\Sigma",tau:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\tau"},vartheta:"\\vartheta",upsilon:"\\upsilon",xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\xi"},Xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Xi"},zeta:"\\zeta",omega:"\\omega",Omega:"\\Omega",\u03A9:"\\omega",forall:"\\forall",exists:"\\exists","!exists":"\\nexists",":.":"\\therefore",liminf:"\\liminf_{#?}",limsup:"\\limsup_{#?}",argmin:"\\operatorname*{arg~min}_{#?}",argmax:"\\operatorname*{arg~max}_{#?}",det:"\\det",mod:"\\bmod{#?}","(mod":"\\pmod{#?}",max:"\\max",min:"\\min",erf:"\\operatorname{erf}",erfc:"\\operatorname{erfc}",bessel:"\\operatorname{bessel}",mean:"\\operatorname{mean}",median:"\\operatorname{median}",fft:"\\operatorname{fft}",lcm:"\\operatorname{lcm}",gcd:"\\operatorname{gcd}",randomReal:"\\operatorname{randomReal}",randomInteger:"\\operatorname{randomInteger}",Re:"\\operatorname{Re}",Im:"\\operatorname{Im}",mm:{after:"nothing+digit+operator",value:"\\operatorname{mm}"},cm:{after:"nothing+digit+operator",value:"\\operatorname{cm}"},km:{after:"nothing+digit+operator",value:"\\operatorname{km}"},kg:{after:"nothing+digit+operator",value:"\\operatorname{kg}"},"...":"\\ldots","+...":"+\\cdots","-...":"-\\cdots","->...":"\\to\\cdots","-->...":"\\longrightarrow\\cdots","->":"\\to","|->":"\\mapsto","-->":"\\longrightarrow","<--":"\\longleftarrow","=>":"\\Rightarrow","==>":"\\Longrightarrow","<=>":"\\Leftrightarrow","<->":"\\leftrightarrow","(.)":"\\odot","(+)":"\\oplus","(/)":"\\oslash","(*)":"\\otimes","(-)":"\\ominus","||":"\\Vert","*":"\\cdot","**":"\\star","***":"\\ast","//":"\\slash","\\\\":"\\backslash",setminus:"\\backslash","|><":"\\ltimes","><|":"\\rtimes","|><|":"\\bowtie","-:":"\\div",divide:"\\div","@":"\\circ","^^":"\\wedge","^^^":"\\bigwedge",vv:"\\vee",vvv:"\\bigvee",nn:"\\cap",nnn:"\\bigcap",uu:"\\cup",uuu:"\\bigcup","-=":"\\equiv","~=":"\\cong",lt:"<","lt=":"\\leq",gt:">","gt=":"\\geq","-<":"\\prec","-lt":"\\prec","-<=":"\\preceq",">-=":"\\succeq",prop:"\\propto",diamond:"\\diamond",square:"\\square",iff:"\\iff",sub:"\\subset",sup:"\\supset",sube:"\\subseteq",supe:"\\supseteq",uarr:"\\uparrow",darr:"\\downarrow",rarr:"\\rightarrow",rArr:"\\Rightarrow",larr:"\\leftarrow",lArr:"\\Leftarrow",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",aleph:"\\aleph",and:"\\land",or:"\\lor",not:"\\neg","_|_":"\\bot",TT:"\\top","|--":"\\vdash","|==":"\\models","|__":"\\lfloor","__|":"\\rfloor","|~":"\\lceil","~|":"\\rceil",">->":"\\rightarrowtail","->>":"\\twoheadrightarrow",">->>":"\\twoheadrightarrowtail",frac:"\\frac{#?}{#?}",cbrt:"\\sqrt[3]{#?}",nthroot:"\\sqrt[#?]{#?}"};function Uo(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=bu(a)),E==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",bs(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function bs(a,y){var b,E,ee;if(!a)return"";let re=!1,se;const ge=(b=y.inlineShortcuts)!=null?b:ko;if(!re&&(a.startsWith("^")||a.startsWith("_"))&&(se=js(a.slice(1),{inlineShortcuts:ge,noWrap:!0}),a=a[0]+"{"+se.match+"}",a+=bs(se.rest,y),re=!0),re||(se=a.match(/^(sqrt|\u221A)(.*)/),se&&(se=js(se[2],{inlineShortcuts:ge,noWrap:!0}),a="\\sqrt{"+((E=se.match)!=null?E:"\\placeholder{}")+"}",a+=bs(se.rest,y),re=!0)),re||(se=a.match(/^(\\cbrt|\u221B)(.*)/),se&&(se=js(se[2],{inlineShortcuts:ge,noWrap:!0}),a="\\sqrt[3]{"+((ee=se.match)!=null?ee:"\\placeholder{}")+"}",a+=bs(se.rest,y),re=!0)),re||(se=a.match(/^abs(.*)/),se&&(se=js(se[1],{inlineShortcuts:ge,noWrap:!0}),a="\\left|"+se.match+"\\right|",a+=bs(se.rest,y),re=!0)),re||(se=a.match(/^["”“](.*?)["”“](.*)/),se&&(a="\\text{"+se[1]+"}",a+=bs(se[2],y),re=!0)),re||(se=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),se&&(a=au(se[1],ge),a+=bs(se[2],y),re=!0)),!re&&/^([fgh])[^a-zA-Z]/.test(a)&&(se=js(a.slice(1),{inlineShortcuts:ge,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+se.match+"\\right)":a[0]+se.match,a+=bs(se.rest,y),re=!0),re||(se=a.match(/^([a-zA-Z]+)(.*)/),se&&(a=au(se[1],ge),a+=bs(se[2],y),re=!0)),!re)if(se=js(a,{inlineShortcuts:ge,noWrap:!0}),se.match&&se.rest[0]==="/"){const xe=js(se.rest.slice(1),{inlineShortcuts:ge,noWrap:!0});xe.match&&(a="\\frac{"+se.match+"}{"+xe.match+"}"+bs(xe.rest,y)),re=!0}else se.match&&(a=a.startsWith("(")?"\\left("+se.match+"\\right)"+bs(se.rest,y):se.match+bs(se.rest,y),re=!0);return re||(se=a.match(/^(\s+)(.*)$/),se&&(a=" "+bs(se[2],y),re=!0)),a}function js(a,y){let b="";a=a.trim();let E=a,ee=a.charAt(0),re={"(":")","{":"}","[":"]"}[ee];if(re){let se=1,ge=1;for(;ge<a.length&&se>0;)a[ge]===ee&&se++,a[ge]===re&&se--,ge++;se===0?(y.noWrap&&ee==="("?b=bs(a.substring(1,ge-1),y):(ee==="{"&&re==="}"&&(ee="\\{",re="\\}"),b="\\left"+ee+bs(a.substring(1,ge-1),y)+"\\right"+re),E=a.slice(Math.max(0,ge))):(b=a.substring(1,ge),E="")}else{let se=a.match(/^([a-zA-Z]+)/);if(se){let ge=Na(null,a,y.inlineShortcuts);if(ge)return ge=ge.replace("_{#?}",""),ge=ge.replace("^{#?}",""),{match:ge,rest:a.slice(ge.length)}}if(se=a.match(/^([a-zA-Z])/),se)return{match:se[1],rest:a.slice(1)};if(se=a.match(/^(-)?\d+(\.\d*)?/),se)return{match:se[0],rest:a.slice(se[0].length)};/^\\(left|right)/.test(a)||(se=a.match(/^(\\[a-zA-Z]+)/),se&&(E=a.slice(se[1].length),b=se[1]))}return{match:b,rest:E}}function au(a,y){let b=Na(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var Vl=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Ml(a){const y=a.trim();for(const b of Vl)if(y.startsWith(b[0])&&y.endsWith(b[1]))return[!0,y.substring(b[0].length,y.length-b[1].length)];return[!1,a]}function bu(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Ml(a),y?["latex",a]:a.startsWith("`")&&a.endsWith("`")?(a=a.substring(1,a.length-1),["ascii-math",a]):a.includes("\\")?["latex",a]:/\$.+\$/.test(a)?["latex",`\\text{${a}}`]:[void 0,a]}var pl="$$",oh="$$",sh=(a,y,b)=>(Vl.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${pl} ${y} ${oh}`),y),wf=class ah{constructor(y){ah._modes[y]=this}static onPaste(y,b,E){var ee;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof E=="string"){const se=new DataTransfer;se.setData("text/plain",E),E=se}const re=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(ee=b.host)!=null&&ee.dispatchEvent(re)?ah._modes[y].onPaste(b,E):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const E=y.model,ee=E.selectionIsCollapsed?[0,E.lastOffset]:Ls(E.selection),re=E.getValue(ee,b);navigator.clipboard.writeText(re).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var E;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const ee=y.model,re=ee.selectionIsCollapsed?[0,ee.lastOffset]:Ls(ee.selection);let se=ee.getAtoms(re);if(se.every(ge=>ge.mode==="text"||!ge.mode))b.clipboardData.setData("text/plain",se.filter(ge=>ge instanceof iu).map(ge=>ge.value).join(""));else if(se.every(ge=>ge.mode==="latex"))b.clipboardData.setData("text/plain",ee.getAtoms(re,{includeChildren:!0}).map(ge=>{var xe;return(xe=ge.value)!=null?xe:""}).join(""));else{let ge;se.length===1&&se[0].verbatimLatex!==void 0?ge=se[0].verbatimLatex:ge=ee.getValue(re,"latex-expanded"),b.clipboardData.setData("application/x-latex",ge);try{b.clipboardData.setData("text/plain",y.options.onExport(y,ge,re))}catch(xe){}if(se.length===1){const xe=se[0];(xe.type==="root"||xe.type==="group")&&(se=xe.body.filter(Ae=>Ae.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(se.map(xe=>xe.toJson())))}catch(xe){}if((E=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&E.ComputeEngine){const xe=window.MathfieldElement.computeEngine;if(xe)try{const Ae=xe.jsonSerializationOptions;xe.jsonSerializationOptions={metadata:["latex"]};const Te=xe.parse(ee.getValue(re,"latex-unstyled"));xe.jsonSerializationOptions=Ae;const Qe=JSON.stringify(Te.json);Qe&&b.clipboardData.setData("application/json",Qe)}catch(Ae){}}}b.preventDefault()}static insert(y,b,E={}){var ee;const re=E.mode==="auto"?y.mode:(ee=E.mode)!=null?ee:y.mode;return ah._modes[re].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};wf._modes={};var Ga=wf,lh=[{key:"left",command:"moveToPreviousChar"},{key:"right",command:"moveToNextChar"},{key:"up",command:"moveUp"},{key:"down",command:"moveDown"},{key:"shift+[ArrowLeft]",command:"extendSelectionBackward"},{key:"shift+[ArrowRight]",command:"extendSelectionForward"},{key:"shift+[ArrowUp]",command:"extendSelectionUpward"},{key:"shift+[ArrowDown]",command:"extendSelectionDownward"},{key:"[Backspace]",command:"deleteBackward"},{key:"alt+[Delete]",command:"deleteBackward"},{key:"[Delete]",command:"deleteForward"},{key:"alt+[Backspace]",command:"deleteForward"},{key:"alt+[ArrowLeft]",command:"moveToPreviousWord"},{key:"alt+[ArrowRight]",command:"moveToNextWord"},{key:"shift+alt+[ArrowLeft]",command:"extendToPreviousWord"},{key:"shift+alt+[ArrowRight]",command:"extendToNextWord"},{key:"ctrl+[ArrowLeft]",command:"moveToGroupStart"},{key:"ctrl+[ArrowRight]",command:"moveToGroupEnd"},{key:"shift+ctrl+[ArrowLeft]",command:"extendToGroupStart"},{key:"shift+ctrl+[ArrowRight]",command:"extendToGroupEnd"},{key:"[Home]",command:"moveToMathfieldStart"},{key:"cmd+[ArrowLeft]",command:"moveToMathfieldStart"},{key:"shift+[Home]",command:"extendToMathFieldStart"},{key:"shift+cmd+[ArrowLeft]",command:"extendToMathFieldStart"},{key:"[End]",command:"moveToMathfieldEnd"},{key:"cmd+[ArrowRight]",command:"moveToMathfieldEnd"},{key:"shift+[End]",command:"extendToMathFieldEnd"},{key:"shift+cmd+[ArrowRight]",command:"extendToMathFieldEnd"},{key:"[Pageup]",command:"moveToGroupStart"},{key:"[Pagedown]",command:"moveToGroupEnd"},{key:"[Tab]",command:"moveToNextGroup"},{key:"shift+[Tab]",command:"moveToPreviousGroup"},{key:"[Escape]",ifMode:"math",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"text",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"latex",command:["complete","complete",{selectItem:"true"}]},{key:"\\",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[IntlBackslash]",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[Tab]",ifMode:"latex",command:["complete","accept-suggestion"]},{key:"[Return]",ifMode:"latex",command:"complete"},{key:"[Enter]",ifMode:"latex",command:"complete"},{key:"shift+[Escape]",ifMode:"latex",command:["complete","reject"]},{key:"[ArrowDown]",ifMode:"latex",command:"nextSuggestion"},{key:"[ArrowUp]",ifMode:"latex",command:"previousSuggestion"},{key:"ctrl+a",ifPlatform:"!macos",command:"selectAll"},{key:"cmd+a",command:"selectAll"},{key:"[Cut]",command:"cutToClipboard"},{key:"[Copy]",command:"copyToClipboard"},{key:"[Paste]",command:"pasteFromClipboard"},{key:"[Clear]",command:"deleteBackward"},{key:"[Undo]",command:"undo"},{key:"[Redo]",command:"redo"},{key:"[EraseEof]",command:"deleteToGroupEnd"},{key:"ctrl+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"cmd+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"ctrl+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"cmd+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"ctrl+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"cmd+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"ctrl+z",ifPlatform:"!macos",command:"undo"},{key:"cmd+z",command:"undo"},{key:"ctrl+y",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+y",command:"redo"},{key:"shift+ctrl+z",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+z",command:"redo"},{key:"ctrl+b",ifPlatform:"macos",command:"moveToPreviousChar"},{key:"ctrl+f",ifPlatform:"macos",command:"moveToNextChar"},{key:"ctrl+p",ifPlatform:"macos",command:"moveUp"},{key:"ctrl+n",ifPlatform:"macos",command:"moveDown"},{key:"ctrl+a",ifPlatform:"macos",command:"moveToMathfieldStart"},{key:"ctrl+e",ifPlatform:"macos",command:"moveToMathfieldEnd"},{key:"shift+ctrl+b",ifPlatform:"macos",command:"extendSelectionBackward"},{key:"shift+ctrl+f",ifPlatform:"macos",command:"extendSelectionForward"},{key:"shift+ctrl+p",ifPlatform:"macos",command:"extendSelectionUpward"},{key:"shift+ctrl+n",ifPlatform:"macos",command:"extendSelectionDownward"},{key:"shift+ctrl+a",ifPlatform:"macos",command:"extendToMathFieldStart"},{key:"shift+ctrl+e",ifPlatform:"macos",command:"extendToMathFieldEnd"},{key:"alt+ctrl+b",ifPlatform:"macos",command:"moveToPreviousWord"},{key:"alt+ctrl+f",ifPlatform:"macos",command:"moveToNextWord"},{key:"shift+alt+ctrl+b",ifPlatform:"macos",command:"extendToPreviousWord"},{key:"shift+alt+ctrl+f",ifPlatform:"macos",command:"extendToNextWord"},{key:"ctrl+h",ifPlatform:"macos",command:"deleteBackward"},{key:"ctrl+d",ifPlatform:"macos",command:"deleteForward"},{key:"ctrl+l",ifPlatform:"macos",command:"scrollIntoView"},{key:"ctrl+[Digit2]",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"ctrl+[Digit5]",ifMode:"math",command:"moveToOpposite"},{key:"ctrl+[Digit6]",ifMode:"math",command:"moveToSuperscript"},{key:"ctrl+[Return]",ifMode:"math",command:"addRowAfter"},{key:"ctrl+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Return]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"alt+p",ifMode:"math",command:["insert","\\pi"]},{key:"alt+v",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"alt+o",ifMode:"math",command:["insert","\\emptyset"]},{key:"alt+d",ifMode:"math",command:["insert","\\differentialD"]},{key:"shift+alt+o",ifMode:"math",command:["insert","\\varnothing"]},{key:"shift+alt+d",ifMode:"math",command:["insert","\\partial"]},{key:"alt+[Backslash]",ifMode:"math",command:["insert","\\backslash"]},{key:"[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#?}{#@}"]},{key:"shift+alt+k",command:"toggleKeystrokeCaption"},{key:"alt+[Space]",command:"toggleContextMenu"},{key:"alt+shift+[Space]",command:"toggleVirtualKeyboard"},{key:"alt+ctrl+[ArrowUp]",command:["speak","all",{withHighlighting:!1}]},{key:"alt+ctrl+[ArrowDown]",command:["speak","selection",{withHighlighting:!1}]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["switchMode","text","",""]},{key:"shift+alt+[KeyT]",ifMode:"math",command:["switchMode","text","",""]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"text",command:["switchMode","math","",""]},{key:"shift+alt+[KeyT]",ifMode:"text",command:["switchMode","math","",""]},{key:"/",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+shift+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrack #0 \\right\\rbrack"]},{key:"ctrl+[Minus]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"moveToSubscript"},{key:"shift+alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrace #0 \\right\\rbrace"]},{key:"ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"shift+ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"shift+cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"ctrl+[Backspace]",ifMode:"math",command:"removeRow"},{key:"cmd+[Backspace]",ifMode:"math",command:"removeRow"},{key:"alt+[Tab]",ifMode:"math",command:"addColumnAfter"},{key:"shift+alt+[Tab]",ifMode:"math",command:"addColumnBefore"},{key:"alt+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Enter]",ifMode:"math",command:"addRowBefore"},{key:"alt+[Return]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Return]",ifMode:"math",command:"addRowBefore"},{key:"shift+[Backspace]",ifMode:"math",command:"removeColumn"},{key:"alt+[Digit5]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","$\\infty"]},{key:"alt+[Digit9]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","("]},{key:"alt+[Digit0]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert",")"]},{key:"alt+|",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","|"]},{key:"shift+[Backquote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\~"]},{key:"[Backquote]",ifLayout:["windows.french","linux.french"],ifMode:"math",command:["insert","^2"]},{key:"[Backquote]",ifLayout:["windows.german","linux.german"],ifMode:"math",command:["insert","^"]},{key:"[IntlBackslash]",ifLayout:["apple.german"],ifMode:"math",command:["insert","^"]}],Zd={"\\sqrt":["alt+v","ctrl+[Digit2]"],"\\pi":"alt+p","\\infty":"alt+[Digit5]","\\differentialD":"alt+d","\\partial":"shift+alt+d","\\frac":"Slash","\\emptyset":"alt+o","\\varnothing":"shift+alt+o","\\~":"~"};function ou(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function su(a){var y,b;return(b=(y=a.querySelector(".ML__caret"))!=null?y:a.querySelector(".ML__text-caret"))!=null?b:a.querySelector(".ML__latex-caret")}function Uu(a){const y=su(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function jd(a){var y;if(!a.parent)return"root";let b=(y=a.parent.id)!=null?y:"";return b+=typeof a.parentBranch=="string"?"-"+a.parentBranch:`-${a.parentBranch[0]}/${a.parentBranch[0]}`,b}function Vd(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),ee=y.right-y.left,re=y.bottom-y.top,se=Math.ceil(y.left-E.left+a.field.scrollLeft*b),ge=Math.ceil(y.top-E.top);return{left:se,right:se+ee,top:ge,bottom:ge+re}}function Ud(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),E={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return E;for(const ee of a.children)if(ee.nodeType===1&&"atomId"in ee.dataset&&!ee.classList.contains("pstrut")){const re=Ud(ee);E.left=Math.min(E.left,re.left),E.right=Math.max(E.right,re.right),E.top=Math.min(E.top,re.top),E.bottom=Math.max(E.bottom,re.bottom)}return E}function Lc(a,y){var b,E;if(!y.id)return null;let ee=(E=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?E:null;if(ee!==null)return ee;const re=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ee=re?Ud(re):null,a.atomBoundsCache&&(ee?a.atomBoundsCache.set(y.id,ee):a.atomBoundsCache.delete(y.id)),ee!=null?ee:null}function Sf(a,y,b){const E=new Map;for(const ee of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ee.style.backgroundColor)continue;const re=a.field,se=re.offsetWidth;let xe=Math.floor(re.getBoundingClientRect().width)/se;xe=isNaN(xe)?1:xe;const Ae=Vd(a,Lc(a,ee),xe);if(Ae){const Te=jd(ee);if(E.has(Te)){const Qe=E.get(Te);E.set(Te,{left:Math.min(Qe.left,Ae.left),right:Math.max(Qe.right,Ae.right),top:Math.min(Qe.top,Ae.top),bottom:Math.max(Qe.bottom,Ae.bottom)})}else E.set(Te,Ae)}}return[...E.values()]}function Gd(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...Sf(a,E,y)),[])}function _d(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function vd(a){let y=0,b=0;const E=a.offsetWidth,ee=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,E,ee)}var Cf=`@keyframes ML__caret-blink {
|
|
|
0%,
|
|
|
100% {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
50% {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
}
|
|
|
.ML__container {
|
|
|
display: inline-flex;
|
|
|
flex-flow: row;
|
|
|
justify-content: space-between;
|
|
|
align-items: flex-end;
|
|
|
min-height: 39px;
|
|
|
/* Need some room for the virtual keyboard toggle */
|
|
|
width: 100%;
|
|
|
/* Encourage browsers to consider allocating a hardware accelerated
|
|
|
layer for this element. */
|
|
|
isolation: isolate;
|
|
|
/* Prevent the browser from trying to interpret touch gestures in the field */
|
|
|
/* "Disabling double-tap to zoom removes the need for browsers to
|
|
|
delay the generation of click events when the user taps the screen." */
|
|
|
touch-action: none;
|
|
|
--_caret-color: var(--caret-color, hsl(var(--_hue), 40%, 49%));
|
|
|
--_selection-color: var(--selection-color, #000);
|
|
|
--_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 70%, 85%));
|
|
|
--_text-highlight-background-color: var(--highlight-text, hsla(var(--_hue), 40%, 50%, 0.1));
|
|
|
--_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 40%, 95%));
|
|
|
--_smart-fence-color: var(--smart-fence-color, currentColor);
|
|
|
--_smart-fence-opacity: var(--smart-fence-opacity, 0.5);
|
|
|
--_latex-color: var(--latex-color, hsl(var(--_hue), 80%, 40%));
|
|
|
--_correct-color: var(--correct-color, #10a000);
|
|
|
--_incorrect-color: var(--incorrect-color, #a01b00);
|
|
|
--_composition-background-color: var(--composition-background-color, #fff1c2);
|
|
|
--_composition-text-color: var(--composition-text-color, black);
|
|
|
--_composition-underline-color: var(--composition-underline-color, transparent);
|
|
|
}
|
|
|
/* This is the actual field content (formula) */
|
|
|
.ML__content {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
align-self: center;
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
padding: 2px 3px 2px 1px;
|
|
|
width: 100%;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle,
|
|
|
.ML__menu-toggle {
|
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
|
align-self: center;
|
|
|
align-items: center;
|
|
|
flex-shrink: 0;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
width: 34px;
|
|
|
height: 34px;
|
|
|
padding: 0;
|
|
|
margin-right: 4px;
|
|
|
cursor: pointer;
|
|
|
/* Avoid some weird blinking with :hover */
|
|
|
border-radius: 8px;
|
|
|
border: 1px solid transparent;
|
|
|
transition: background 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
|
|
|
color: hsl(var(--_hue), 40%, 50%);
|
|
|
fill: currentColor;
|
|
|
background: transparent;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle:hover,
|
|
|
.ML__menu-toggle:hover {
|
|
|
background: hsla(0, 0%, 70%, 0.3);
|
|
|
color: #333;
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle > span,
|
|
|
.ML__menu-toggle > span {
|
|
|
display: flex;
|
|
|
align-self: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
/* The invisible element used to capture keyboard events. We're just trying
|
|
|
really hard to make sure it doesn't show. */
|
|
|
.ML__keyboard-sink {
|
|
|
display: inline-block;
|
|
|
resize: none;
|
|
|
outline: none;
|
|
|
border: none;
|
|
|
/* Need these for Microsoft Edge */
|
|
|
position: fixed;
|
|
|
clip: rect(0 0 0 0);
|
|
|
/* Need this to prevent iOS Safari from auto-zooming */
|
|
|
font-size: 1em;
|
|
|
font-family: KaTeX_Main;
|
|
|
line-height: 0.5;
|
|
|
/* On Chromium, if this is 0, no keyboard events are received */
|
|
|
}
|
|
|
[part="placeholder"] {
|
|
|
color: var(--neutral-400);
|
|
|
}
|
|
|
.ML__composition {
|
|
|
background: var(--_composition-background-color);
|
|
|
color: var(--_composition-text-color);
|
|
|
text-decoration: underline var(--_composition-underline-color);
|
|
|
}
|
|
|
.ML__caret::after {
|
|
|
content: '';
|
|
|
visibility: hidden;
|
|
|
width: 0;
|
|
|
display: inline-block;
|
|
|
height: 0.76em;
|
|
|
--_caret-width: clamp(2px, 0.08em, 10px);
|
|
|
border: none;
|
|
|
border-radius: calc(var(--_caret-width) / 2);
|
|
|
border-right: var(--_caret-width) solid var(--_caret-color);
|
|
|
margin-right: calc(-1 * var(--_caret-width));
|
|
|
position: relative;
|
|
|
left: -0.045em;
|
|
|
bottom: -0.05em;
|
|
|
animation: ML__caret-blink 1.05s step-end forwards infinite;
|
|
|
}
|
|
|
.ML__text-caret::after {
|
|
|
content: '';
|
|
|
visibility: hidden;
|
|
|
width: 0;
|
|
|
display: inline-block;
|
|
|
height: 0.76em;
|
|
|
--_caret-width: clamp(2px, 0.08em, 10px);
|
|
|
border: none;
|
|
|
border-radius: calc(var(--_caret-width) / 2);
|
|
|
border-right: var(--_caret-width) solid var(--_caret-color);
|
|
|
margin-right: calc(-1 * var(--_caret-width));
|
|
|
position: relative;
|
|
|
left: -0.045em;
|
|
|
bottom: -0.05em;
|
|
|
animation: ML__caret-blink 1.05s step-end forwards infinite;
|
|
|
}
|
|
|
.ML__latex-caret::after {
|
|
|
content: '';
|
|
|
visibility: hidden;
|
|
|
--_caret-width: clamp(2px, 0.08em, 10px);
|
|
|
border: none;
|
|
|
border-radius: calc(var(--_caret-width) / 2);
|
|
|
border-right: var(--_caret-width) solid var(--_latex-color);
|
|
|
margin-right: calc(-1 * var(--_caret-width));
|
|
|
position: relative;
|
|
|
left: -0.019em;
|
|
|
animation: ML__caret-blink 1.05s step-end forwards infinite;
|
|
|
}
|
|
|
.ML__focused .ML__latex-caret::after,
|
|
|
.ML__focused .ML__text-caret::after,
|
|
|
.ML__focused .ML__caret::after {
|
|
|
visibility: visible;
|
|
|
}
|
|
|
.ML__focused .ML__text {
|
|
|
background: var(--_text-highlight-background-color);
|
|
|
}
|
|
|
/* When using smartFence, the anticipated closing fence is displayed
|
|
|
with this style */
|
|
|
.ML__smart-fence__close {
|
|
|
opacity: var(--_smart-fence-opacity);
|
|
|
color: var(--_smart-fence-color);
|
|
|
}
|
|
|
.ML__selected,
|
|
|
.ML__focused .ML__selected .ML__contains-caret,
|
|
|
.ML__focused .ML__selected .ML__smart-fence__close,
|
|
|
.ML__focused .ML__selected .ML__placeholder {
|
|
|
color: var(--_selection-color);
|
|
|
opacity: 1;
|
|
|
}
|
|
|
.ML__selection {
|
|
|
box-sizing: border-box;
|
|
|
background: var(--_selection-background-color) !important;
|
|
|
}
|
|
|
.ML__contains-caret.ML__close,
|
|
|
.ML__contains-caret.ML__open,
|
|
|
.ML__contains-caret > .ML__close,
|
|
|
.ML__contains-caret > .ML__open,
|
|
|
.ML__contains-caret .ML__sqrt-sign,
|
|
|
.ML__contains-caret .ML__sqrt-line {
|
|
|
color: var(--_caret-color);
|
|
|
}
|
|
|
.ML__contains-highlight {
|
|
|
box-sizing: border-box;
|
|
|
background: transparent;
|
|
|
}
|
|
|
.ML__focused .ML__contains-highlight {
|
|
|
background: var(--_contains-highlight-background-color);
|
|
|
}
|
|
|
.ML__raw-latex {
|
|
|
font-family: 'Berkeley Mono', 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
|
|
|
font-weight: 400;
|
|
|
font-size: 0.8em;
|
|
|
letter-spacing: -0.05em;
|
|
|
color: var(--_latex-color);
|
|
|
}
|
|
|
.ML__suggestion {
|
|
|
color: var(--neutral-500);
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle.is-visible.is-pressed:hover {
|
|
|
background: hsl(var(--_hue), 25%, 35%);
|
|
|
color: #fafafa;
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle:focus {
|
|
|
outline: none;
|
|
|
border-radius: 8px;
|
|
|
border: 2px solid hsl(var(--_hue), 40%, 50%);
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle.is-pressed,
|
|
|
.ML__virtual-keyboard-toggle.is-active:hover,
|
|
|
.ML__virtual-keyboard-toggle.is-active {
|
|
|
background: hsl(var(--_hue), 25%, 35%);
|
|
|
color: #fafafa;
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
/* Add an attribute 'data-tooltip' to automatically show a
|
|
|
tooltip over a element on hover.
|
|
|
*/
|
|
|
[data-tooltip] {
|
|
|
position: relative;
|
|
|
}
|
|
|
[data-tooltip]::after {
|
|
|
content: attr(data-tooltip);
|
|
|
position: absolute;
|
|
|
display: block;
|
|
|
z-index: 2;
|
|
|
pointer-events: none;
|
|
|
right: auto;
|
|
|
top: calc(-100% - 4px);
|
|
|
width: max-content;
|
|
|
max-width: 200px;
|
|
|
padding: 8px 8px;
|
|
|
border-radius: 4px;
|
|
|
background: #616161;
|
|
|
color: #fff;
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
|
text-align: center;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-style: normal;
|
|
|
font-weight: 400;
|
|
|
font-size: 13px;
|
|
|
/* Phone */
|
|
|
opacity: 0;
|
|
|
transform: scale(0.5);
|
|
|
}
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
[data-tooltip]::after {
|
|
|
padding: 8px 16px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
}
|
|
|
menu [data-tooltip]::after {
|
|
|
left: 100%;
|
|
|
top: 0%;
|
|
|
}
|
|
|
menu .ML__base {
|
|
|
cursor: default;
|
|
|
}
|
|
|
/** Don't display if we're tracking, i.e. have the pointer down */
|
|
|
.tracking [data-tooltip]:hover::after {
|
|
|
/* Use visibility, not display. Display will remove the after from the DOM, and the override below will not work */
|
|
|
visibility: hidden;
|
|
|
}
|
|
|
/** But do display if tracking and inside a menu */
|
|
|
.tracking menu li[data-tooltip]:hover::after,
|
|
|
[data-tooltip]:hover::after {
|
|
|
visibility: visible;
|
|
|
opacity: 1;
|
|
|
transform: scale(1);
|
|
|
transition-property: opacity, scale;
|
|
|
transition-duration: 0.15s;
|
|
|
transition-delay: 1s;
|
|
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
|
}
|
|
|
.ML__prompt {
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
.ML__editablePromptBox {
|
|
|
outline: 1px solid #acacac;
|
|
|
border-radius: 2px;
|
|
|
z-index: -1;
|
|
|
}
|
|
|
.ML__focusedPromptBox {
|
|
|
outline: highlight auto 1px;
|
|
|
}
|
|
|
.ML__lockedPromptBox {
|
|
|
background-color: rgba(142, 142, 141, 0.4);
|
|
|
z-index: -1;
|
|
|
}
|
|
|
.ML__correctPromptBox {
|
|
|
outline: 1px solid var(--_correct-color);
|
|
|
box-shadow: 0 0 5px var(--_correct-color);
|
|
|
}
|
|
|
.ML__incorrectPromptBox {
|
|
|
outline: 1px solid var(--_incorrect-color);
|
|
|
box-shadow: 0 0 5px var(--_incorrect-color);
|
|
|
}
|
|
|
.variant-submenu {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
padding: 8px;
|
|
|
}
|
|
|
.variant-submenu [part=menu-item] {
|
|
|
font-size: 2rem;
|
|
|
text-align: center;
|
|
|
margin: 0;
|
|
|
}
|
|
|
.insert-matrix-submenu {
|
|
|
display: grid;
|
|
|
padding: 8px;
|
|
|
align-content: center;
|
|
|
justify-content: center;
|
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
|
}
|
|
|
.insert-matrix-submenu [part=menu-item] {
|
|
|
font-size: 21px;
|
|
|
border: none;
|
|
|
border-radius: 0;
|
|
|
line-height: 21px;
|
|
|
text-align: center;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
.border-submenu [part=menu-item] {
|
|
|
font-size: 2rem;
|
|
|
line-height: 1.2;
|
|
|
text-align: center;
|
|
|
}
|
|
|
.swatches-submenu {
|
|
|
--_swatch-size: 2rem;
|
|
|
--_columns: 4;
|
|
|
display: flex;
|
|
|
flex-flow: wrap;
|
|
|
padding: 8px;
|
|
|
max-width: calc(var(--_columns) * (var(--_swatch-size) + 18px) + 16px);
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.menu-swatch {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
box-sizing: border-box;
|
|
|
width: fit-content;
|
|
|
height: fit-content;
|
|
|
margin: 2px;
|
|
|
padding: 0;
|
|
|
background: var(--neutral-200);
|
|
|
}
|
|
|
.menu-swatch > .label {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
line-height: 0;
|
|
|
}
|
|
|
.menu-swatch > .label > span {
|
|
|
display: inline-block;
|
|
|
margin: 6px;
|
|
|
min-width: var(--_swatch-size);
|
|
|
min-height: var(--_swatch-size);
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
.menu-swatch.active {
|
|
|
background: var(--neutral-100);
|
|
|
scale: 1.4;
|
|
|
}
|
|
|
.menu-swatch.active > .label > span {
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
.menu-swatch .ui-checkmark,
|
|
|
.menu-swatch .ui-mixedmark {
|
|
|
position: absolute;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
color: white;
|
|
|
}
|
|
|
.menu-swatch.dark-contrast .ui-checkmark,
|
|
|
.menu-swatch.dark-contrast .ui-mixedmark {
|
|
|
color: #000;
|
|
|
}
|
|
|
`,Qo=`.ML__container {
|
|
|
min-height: auto !important;
|
|
|
--_hue: var(--hue, 212);
|
|
|
--_placeholder-color: var(--placeholder-color, hsl(var(--_hue), 40%, 49%));
|
|
|
--_placeholder-opacity: var(--placeholder-opacity, 0.4);
|
|
|
--_text-font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);
|
|
|
}
|
|
|
.ML__sr-only {
|
|
|
position: absolute;
|
|
|
width: 1px;
|
|
|
height: 1px;
|
|
|
margin: -1px;
|
|
|
padding: 0;
|
|
|
overflow: hidden;
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
clip-path: inset(50%);
|
|
|
white-space: nowrap;
|
|
|
border: 0;
|
|
|
}
|
|
|
.ML__is-inline {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__base {
|
|
|
visibility: inherit;
|
|
|
display: inline-block;
|
|
|
position: relative;
|
|
|
cursor: text;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
box-sizing: content-box;
|
|
|
border: 0;
|
|
|
outline: 0;
|
|
|
vertical-align: baseline;
|
|
|
font-weight: inherit;
|
|
|
font-family: inherit;
|
|
|
font-style: inherit;
|
|
|
text-decoration: none;
|
|
|
width: min-content;
|
|
|
}
|
|
|
.ML__strut,
|
|
|
.ML__strut--bottom {
|
|
|
display: inline-block;
|
|
|
min-height: 0.5em;
|
|
|
}
|
|
|
.ML__small-delim {
|
|
|
font-family: KaTeX_Main;
|
|
|
}
|
|
|
/* Text mode */
|
|
|
.ML__text {
|
|
|
font-family: var(--_text-font-family);
|
|
|
white-space: pre;
|
|
|
}
|
|
|
/* Use cmr for 'math upright' */
|
|
|
.ML__cmr {
|
|
|
font-family: KaTeX_Main;
|
|
|
font-style: normal;
|
|
|
}
|
|
|
.ML__mathit {
|
|
|
font-family: KaTeX_Math;
|
|
|
/* The KaTeX_Math font is italic by default, so the font-style below is only
|
|
|
useful when a fallback font is used
|
|
|
*/
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.ML__mathbf {
|
|
|
font-family: KaTeX_Main;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
/* Lowercase greek symbols should stick to math font when \\mathbf is applied
|
|
|
to match TeX idiosyncratic behavior */
|
|
|
.lcGreek.ML__mathbf {
|
|
|
font-family: KaTeX_Math;
|
|
|
font-weight: normal;
|
|
|
}
|
|
|
.ML__mathbfit {
|
|
|
font-family: KaTeX_Math;
|
|
|
font-weight: bold;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.ML__ams {
|
|
|
font-family: KaTeX_AMS;
|
|
|
}
|
|
|
/* Blackboard */
|
|
|
.ML__bb {
|
|
|
font-family: KaTeX_AMS;
|
|
|
}
|
|
|
.ML__cal {
|
|
|
font-family: KaTeX_Caligraphic;
|
|
|
}
|
|
|
.ML__frak {
|
|
|
font-family: KaTeX_Fraktur;
|
|
|
}
|
|
|
.ML__tt {
|
|
|
font-family: KaTeX_Typewriter;
|
|
|
}
|
|
|
.ML__script {
|
|
|
font-family: KaTeX_Script;
|
|
|
}
|
|
|
.ML__sans {
|
|
|
font-family: KaTeX_SansSerif;
|
|
|
}
|
|
|
.ML__series_ul {
|
|
|
font-weight: 100;
|
|
|
}
|
|
|
.ML__series_el {
|
|
|
font-weight: 100;
|
|
|
}
|
|
|
.ML__series_l {
|
|
|
font-weight: 200;
|
|
|
}
|
|
|
.ML__series_sl {
|
|
|
font-weight: 300;
|
|
|
}
|
|
|
.ML__series_sb {
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
.ML__bold,
|
|
|
.ML__boldsymbol {
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
.ML__series_eb {
|
|
|
font-weight: 800;
|
|
|
}
|
|
|
.ML__series_ub {
|
|
|
font-weight: 900;
|
|
|
}
|
|
|
.ML__series_uc {
|
|
|
font-stretch: ultra-condensed;
|
|
|
}
|
|
|
.ML__series_ec {
|
|
|
font-stretch: extra-condensed;
|
|
|
}
|
|
|
.ML__series_c {
|
|
|
font-stretch: condensed;
|
|
|
}
|
|
|
.ML__series_sc {
|
|
|
font-stretch: semi-condensed;
|
|
|
}
|
|
|
.ML__series_sx {
|
|
|
font-stretch: semi-expanded;
|
|
|
}
|
|
|
.ML__series_x {
|
|
|
font-stretch: expanded;
|
|
|
}
|
|
|
.ML__series_ex {
|
|
|
font-stretch: extra-expanded;
|
|
|
}
|
|
|
.ML__series_ux {
|
|
|
font-stretch: ultra-expanded;
|
|
|
}
|
|
|
.ML__it {
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.ML__shape_ol {
|
|
|
-webkit-text-stroke: 1px black;
|
|
|
text-stroke: 1px black;
|
|
|
color: transparent;
|
|
|
}
|
|
|
.ML__shape_sc {
|
|
|
font-variant: small-caps;
|
|
|
}
|
|
|
.ML__shape_sl {
|
|
|
font-style: oblique;
|
|
|
}
|
|
|
/* First level emphasis */
|
|
|
.ML__emph {
|
|
|
color: #bc2612;
|
|
|
}
|
|
|
/* Second level emphasis */
|
|
|
.ML__emph .ML__emph {
|
|
|
color: #0c7f99;
|
|
|
}
|
|
|
.ML__highlight {
|
|
|
color: #007cb2;
|
|
|
background: #edd1b0;
|
|
|
}
|
|
|
.ML__center {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.ML__label_padding {
|
|
|
padding: 0 0.5em;
|
|
|
}
|
|
|
.ML__frac-line {
|
|
|
width: 100%;
|
|
|
min-height: 1px;
|
|
|
}
|
|
|
.ML__frac-line:after {
|
|
|
content: '';
|
|
|
display: block;
|
|
|
margin-top: max(-1px, -0.04em);
|
|
|
min-height: max(1px, 0.04em);
|
|
|
/* Ensure the line is visible when printing even if "turn off background images" is on*/
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
/* There's a bug since Chrome 62 where
|
|
|
sub-pixel border lines don't draw at some zoom
|
|
|
levels (110%, 90%).
|
|
|
Setting the min-height used to work around it, but that workaround
|
|
|
broke in Chrome 84 or so.
|
|
|
Setting the background (and the min-height) seems to work for now.
|
|
|
*/
|
|
|
background: currentColor;
|
|
|
box-sizing: content-box;
|
|
|
/* Vuetify sets the box-sizing to inherit
|
|
|
causes the fraction line to not draw at all sizes (see #26) */
|
|
|
/* On some versions of Firefox on Windows, the line fails to
|
|
|
draw at some zoom levels, but setting the transform triggers
|
|
|
the hardware accelerated path, which works */
|
|
|
transform: translate(0, 0);
|
|
|
}
|
|
|
.ML__sqrt {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__sqrt-sign {
|
|
|
display: inline-block;
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__sqrt-line {
|
|
|
display: inline-block;
|
|
|
height: max(1px, 0.04em);
|
|
|
width: 100%;
|
|
|
}
|
|
|
.ML__sqrt-line:before {
|
|
|
content: '';
|
|
|
display: block;
|
|
|
margin-top: min(-1px, -0.04em);
|
|
|
min-height: max(1px, 0.04em);
|
|
|
/* Ensure the line is visible when printing even if "turn off background images" is on*/
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
background: currentColor;
|
|
|
/* On some versions of Firefox on Windows, the line fails to
|
|
|
draw at some zoom levels, but setting the transform triggers
|
|
|
the hardware accelerated path, which works */
|
|
|
transform: translate(0, 0);
|
|
|
}
|
|
|
.ML__sqrt-line:after {
|
|
|
border-bottom-width: 1px;
|
|
|
content: ' ';
|
|
|
display: block;
|
|
|
margin-top: -0.1em;
|
|
|
}
|
|
|
.ML__sqrt-index {
|
|
|
margin-left: 0.27777778em;
|
|
|
margin-right: -0.55555556em;
|
|
|
}
|
|
|
.ML__delim-size1 {
|
|
|
font-family: KaTeX_Size1;
|
|
|
}
|
|
|
.ML__delim-size2 {
|
|
|
font-family: KaTeX_Size2;
|
|
|
}
|
|
|
.ML__delim-size3 {
|
|
|
font-family: KaTeX_Size3;
|
|
|
}
|
|
|
.ML__delim-size4 {
|
|
|
font-family: KaTeX_Size4;
|
|
|
}
|
|
|
.ML__delim-mult .delim-size1 > span {
|
|
|
font-family: KaTeX_Size1;
|
|
|
}
|
|
|
.ML__delim-mult .delim-size4 > span {
|
|
|
font-family: KaTeX_Size4;
|
|
|
}
|
|
|
.ML__accent-body > span {
|
|
|
font-family: KaTeX_Main;
|
|
|
width: 0;
|
|
|
}
|
|
|
.ML__accent-vec {
|
|
|
position: relative;
|
|
|
left: 0.24em;
|
|
|
}
|
|
|
/** The markup for a LaTeX formula, either in an editable mathfield or
|
|
|
in a static display.
|
|
|
*/
|
|
|
.ML__latex {
|
|
|
display: inline-block;
|
|
|
direction: ltr;
|
|
|
text-align: left;
|
|
|
text-indent: 0;
|
|
|
text-rendering: auto;
|
|
|
font-family: KaTeX_Main, 'Times New Roman', serif;
|
|
|
font-style: normal;
|
|
|
font-size-adjust: none;
|
|
|
font-stretch: normal;
|
|
|
font-variant-caps: normal;
|
|
|
letter-spacing: normal;
|
|
|
line-height: 1.2;
|
|
|
word-wrap: normal;
|
|
|
word-spacing: normal;
|
|
|
white-space: nowrap;
|
|
|
text-shadow: none;
|
|
|
-webkit-user-select: none;
|
|
|
user-select: none;
|
|
|
width: min-content;
|
|
|
}
|
|
|
.ML__latex .style-wrap {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .mfrac {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .left-right {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .vlist-t {
|
|
|
display: inline-table;
|
|
|
table-layout: fixed;
|
|
|
border-collapse: collapse;
|
|
|
}
|
|
|
.ML__latex .vlist-r {
|
|
|
display: table-row;
|
|
|
}
|
|
|
.ML__latex .vlist {
|
|
|
display: table-cell;
|
|
|
vertical-align: bottom;
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .vlist > span {
|
|
|
display: block;
|
|
|
height: 0;
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .vlist > span > span {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .vlist > span > .pstrut {
|
|
|
overflow: hidden;
|
|
|
width: 0;
|
|
|
}
|
|
|
.ML__latex .vlist-t2 {
|
|
|
margin-right: -2px;
|
|
|
}
|
|
|
.ML__latex .vlist-s {
|
|
|
display: table-cell;
|
|
|
vertical-align: bottom;
|
|
|
font-size: 1px;
|
|
|
width: 2px;
|
|
|
min-width: 2px;
|
|
|
}
|
|
|
.ML__latex .msubsup {
|
|
|
text-align: left;
|
|
|
}
|
|
|
.ML__latex .negativethinspace {
|
|
|
display: inline-block;
|
|
|
margin-left: -0.16667em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .thinspace {
|
|
|
display: inline-block;
|
|
|
width: 0.16667em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .mediumspace {
|
|
|
display: inline-block;
|
|
|
width: 0.22222em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .thickspace {
|
|
|
display: inline-block;
|
|
|
width: 0.27778em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .enspace {
|
|
|
display: inline-block;
|
|
|
width: 0.5em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .quad {
|
|
|
display: inline-block;
|
|
|
width: 1em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .qquad {
|
|
|
display: inline-block;
|
|
|
width: 2em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .llap,
|
|
|
.ML__latex .rlap {
|
|
|
width: 0;
|
|
|
position: relative;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .llap > .inner,
|
|
|
.ML__latex .rlap > .inner {
|
|
|
position: absolute;
|
|
|
}
|
|
|
.ML__latex .llap > .fix,
|
|
|
.ML__latex .rlap > .fix {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .llap > .inner {
|
|
|
right: 0;
|
|
|
}
|
|
|
.ML__latex .rlap > .inner {
|
|
|
left: 0;
|
|
|
}
|
|
|
.ML__latex .rule {
|
|
|
display: inline-block;
|
|
|
border: solid 0;
|
|
|
position: relative;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.ML__latex .overline .overline-line,
|
|
|
.ML__latex .underline .underline-line {
|
|
|
width: 100%;
|
|
|
}
|
|
|
.ML__latex .overline .overline-line:before,
|
|
|
.ML__latex .underline .underline-line:before {
|
|
|
content: '';
|
|
|
border-bottom-style: solid;
|
|
|
border-bottom-width: max(1px, 0.04em);
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
display: block;
|
|
|
}
|
|
|
.ML__latex .overline .overline-line:after,
|
|
|
.ML__latex .underline .underline-line:after {
|
|
|
border-bottom-style: solid;
|
|
|
border-bottom-width: max(1px, 0.04em);
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
content: '';
|
|
|
display: block;
|
|
|
margin-top: -1px;
|
|
|
}
|
|
|
.ML__latex .stretchy {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
left: 0;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .stretchy:before,
|
|
|
.ML__latex .stretchy:after {
|
|
|
content: '';
|
|
|
}
|
|
|
.ML__latex .stretchy svg {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
height: inherit;
|
|
|
fill: currentColor;
|
|
|
stroke: currentColor;
|
|
|
fill-rule: nonzero;
|
|
|
fill-opacity: 1;
|
|
|
stroke-width: 1;
|
|
|
stroke-linecap: butt;
|
|
|
stroke-linejoin: miter;
|
|
|
stroke-miterlimit: 4;
|
|
|
stroke-dasharray: none;
|
|
|
stroke-dashoffset: 0;
|
|
|
stroke-opacity: 1;
|
|
|
}
|
|
|
.ML__latex .slice-1-of-2 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 50.2%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-2-of-2 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
width: 50.2%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-1-of-3 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 25.1%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-2-of-3 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
left: 25%;
|
|
|
width: 50%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-3-of-3 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
width: 25.1%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-1-of-1 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
left: 0;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .nulldelimiter {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .op-group {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .op-symbol {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .op-symbol.small-op {
|
|
|
font-family: KaTeX_Size1;
|
|
|
}
|
|
|
.ML__latex .op-symbol.large-op {
|
|
|
font-family: KaTeX_Size2;
|
|
|
}
|
|
|
.ML__latex .mtable .vertical-separator {
|
|
|
display: inline-block;
|
|
|
min-width: 1px;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.ML__latex .mtable .arraycolsep {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-m > .vlist-t {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-c > .vlist-t {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-l > .vlist-t {
|
|
|
text-align: left;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-r > .vlist-t {
|
|
|
text-align: right;
|
|
|
}
|
|
|
.ML__error {
|
|
|
display: inline-block;
|
|
|
background-image: radial-gradient(ellipse at center, hsl(341, 100%, 40%), rgba(0, 0, 0, 0) 70%);
|
|
|
background-color: hsla(341, 100%, 40%, 0.1);
|
|
|
background-repeat: repeat-x;
|
|
|
background-size: 3px 3px;
|
|
|
padding-bottom: 3px;
|
|
|
background-position: 0 100%;
|
|
|
}
|
|
|
.ML__error > .ML__error {
|
|
|
background: transparent;
|
|
|
padding: 0;
|
|
|
}
|
|
|
.ML__placeholder {
|
|
|
color: var(--_placeholder-color);
|
|
|
opacity: var(--_placeholder-opacity);
|
|
|
padding-left: 0.4ex;
|
|
|
padding-right: 0.4ex;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
}
|
|
|
.ML__notation {
|
|
|
position: absolute;
|
|
|
box-sizing: border-box;
|
|
|
line-height: 0;
|
|
|
}
|
|
|
/* This class is used to implement the \`\\mathtip\` and \`\\texttip\` commands
|
|
|
For UI elements, see \`[data-ML__tooltip]\`
|
|
|
*/
|
|
|
.ML__tooltip-container {
|
|
|
position: relative;
|
|
|
transform: scale(0);
|
|
|
}
|
|
|
.ML__tooltip-container .ML__tooltip-content {
|
|
|
position: fixed;
|
|
|
display: inline-table;
|
|
|
visibility: hidden;
|
|
|
z-index: 2;
|
|
|
width: max-content;
|
|
|
max-width: 400px;
|
|
|
padding: 12px 12px;
|
|
|
border-radius: 8px;
|
|
|
background: #616161;
|
|
|
--_selection-color: #fff;
|
|
|
color: #fff;
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
|
opacity: 0;
|
|
|
transition: opacity 0.15s cubic-bezier(0.4, 0, 1, 1);
|
|
|
}
|
|
|
.ML__tooltip-container .ML__tooltip-content .ML__text {
|
|
|
white-space: normal;
|
|
|
}
|
|
|
.ML__tooltip-container .ML__tooltip-content .ML__base {
|
|
|
display: contents;
|
|
|
}
|
|
|
.ML__tooltip-container:hover .ML__tooltip-content {
|
|
|
visibility: visible;
|
|
|
opacity: 1;
|
|
|
font-size: 0.75em;
|
|
|
transform: scale(1) translate(0, 3em);
|
|
|
}
|
|
|
`,Ef=`#mathlive-environment-popover.is-visible {
|
|
|
visibility: visible;
|
|
|
}
|
|
|
#mathlive-environment-popover {
|
|
|
--_environment-panel-height: var(--environment-panel-height, 70px);
|
|
|
--_accent-color: var(--accent-color, #aaa);
|
|
|
--_background: var(--environment-panel-background, #fff);
|
|
|
--_button-background: var(--environment-panel-button-background, white);
|
|
|
--_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);
|
|
|
--_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);
|
|
|
--_button-text: var(--environment-panel-button-text, #e3e4e8);
|
|
|
position: absolute;
|
|
|
width: calc(var(--_environment-panel-height) * 2);
|
|
|
height: var(--_environment-panel-height);
|
|
|
border-radius: 4px;
|
|
|
border: 1.5px solid var(--_accent-color);
|
|
|
background-color: var(--_background);
|
|
|
box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));
|
|
|
pointer-events: all;
|
|
|
visibility: hidden;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons {
|
|
|
height: calc(var(--_environment-panel-height) * 5/4);
|
|
|
width: calc(var(--_environment-panel-height) * 5/4);
|
|
|
margin-left: calc(0px - var(--_environment-panel-height) * 0.16);
|
|
|
margin-top: calc(0px - var(--_environment-panel-height) * 0.19);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons .font {
|
|
|
fill: white;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons circle {
|
|
|
fill: #7f7f7f;
|
|
|
transition: fill 300ms;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {
|
|
|
fill-opacity: 1;
|
|
|
fill: var(--_background);
|
|
|
stroke: var(--_accent-color);
|
|
|
stroke-width: 3px;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons line {
|
|
|
stroke: var(--_accent-color);
|
|
|
stroke-opacity: 0;
|
|
|
stroke-width: 40;
|
|
|
pointer-events: none;
|
|
|
transition: stroke-opacity 300ms;
|
|
|
stroke-linecap: round;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {
|
|
|
fill: var(--_accent-color);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {
|
|
|
stroke-opacity: 1;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls {
|
|
|
height: 100%;
|
|
|
width: 50%;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {
|
|
|
width: var(--_environment-panel-height);
|
|
|
height: var(--_environment-panel-height);
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-around;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {
|
|
|
pointer-events: all;
|
|
|
margin-top: 2px;
|
|
|
width: calc(var(--_environment-panel-height) / 3 * 28 / 24);
|
|
|
height: calc(var(--_environment-panel-height) / 3 - 2px);
|
|
|
border-radius: calc(var(--_environment-panel-height) / 25);
|
|
|
background-color: var(--_button-background);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {
|
|
|
background-color: var(--_button-background-hover);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {
|
|
|
stroke: var(--_button-text);
|
|
|
stroke-width: 2;
|
|
|
stroke-linecap: round;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {
|
|
|
fill-opacity: 0;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {
|
|
|
pointer-events: none;
|
|
|
background-color: var(--_button-background-active);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {
|
|
|
stroke: var(--_accent-color);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {
|
|
|
fill: var(--_accent-color);
|
|
|
}
|
|
|
`,uh=`/* The element that display info while in latex mode */
|
|
|
#mathlive-suggestion-popover {
|
|
|
background-color: rgba(97, 97, 97);
|
|
|
color: #fff;
|
|
|
text-align: center;
|
|
|
border-radius: 8px;
|
|
|
position: fixed;
|
|
|
z-index: 1;
|
|
|
display: none;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
}
|
|
|
#mathlive-suggestion-popover.top-tip::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
top: -15px;
|
|
|
left: calc(50% - 15px);
|
|
|
width: 0;
|
|
|
height: 0;
|
|
|
border-left: 15px solid transparent;
|
|
|
border-right: 15px solid transparent;
|
|
|
border-bottom: 15px solid rgba(97, 97, 97);
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
#mathlive-suggestion-popover.bottom-tip::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
bottom: -15px;
|
|
|
left: calc(50% - 15px);
|
|
|
width: 0;
|
|
|
height: 0;
|
|
|
border-left: 15px solid transparent;
|
|
|
border-right: 15px solid transparent;
|
|
|
border-top: 15px solid rgba(97, 97, 97);
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
#mathlive-suggestion-popover.is-animated {
|
|
|
transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
|
|
|
animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;
|
|
|
}
|
|
|
#mathlive-suggestion-popover.is-visible {
|
|
|
display: flex;
|
|
|
}
|
|
|
@keyframes ML__fade-in {
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
}
|
|
|
/* The wrapper class for the entire content of the popover panel */
|
|
|
#mathlive-suggestion-popover ul {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
list-style: none;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
align-items: flex-start;
|
|
|
max-height: 400px;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
#mathlive-suggestion-popover li {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
margin: 8px;
|
|
|
padding: 8px;
|
|
|
width: calc(100% - 16px - 16px);
|
|
|
column-gap: 1em;
|
|
|
border-radius: 8px;
|
|
|
cursor: pointer;
|
|
|
/* Since the content can be clicked on, provide feedback on hover */
|
|
|
}
|
|
|
#mathlive-suggestion-popover li a {
|
|
|
color: #5ea6fd;
|
|
|
padding-top: 0.3em;
|
|
|
margin-top: 0.4em;
|
|
|
display: block;
|
|
|
}
|
|
|
#mathlive-suggestion-popover li a:hover {
|
|
|
color: #5ea6fd;
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
#mathlive-suggestion-popover li:hover,
|
|
|
#mathlive-suggestion-popover li.is-pressed,
|
|
|
#mathlive-suggestion-popover li.is-active {
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
}
|
|
|
/* The command inside a popover (inside a #mathlive-suggestion-popover) */
|
|
|
.ML__popover__command {
|
|
|
font-size: 1.6rem;
|
|
|
font-family: KaTeX_Main;
|
|
|
}
|
|
|
.ML__popover__current {
|
|
|
background: #5ea6fd;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.ML__popover__latex {
|
|
|
font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
|
|
|
align-self: center;
|
|
|
}
|
|
|
/* The keyboard shortcuts for a symbol as displayed in the popover */
|
|
|
.ML__popover__keybinding {
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 0.8em;
|
|
|
opacity: 0.7;
|
|
|
}
|
|
|
/* Style for the character that joins the modifiers of a keyboard shortcut
|
|
|
(usually a "+" sign)*/
|
|
|
.ML__shortcut-join {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
`,Fc=`/* The element that displays the keys as the user type them */
|
|
|
#mathlive-keystroke-caption-panel {
|
|
|
visibility: hidden;
|
|
|
/*min-width: 160px;*/
|
|
|
/*background-color: rgba(97, 97, 200, .95);*/
|
|
|
background: var(--secondary, hsl(var(--_hue), 19%, 26%));
|
|
|
border-color: var(--secondary-border, hsl(0, 0%, 91%));
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
|
|
text-align: center;
|
|
|
border-radius: 6px;
|
|
|
padding: 16px;
|
|
|
position: absolute;
|
|
|
z-index: 1;
|
|
|
display: flex;
|
|
|
flex-direction: row-reverse;
|
|
|
justify-content: center;
|
|
|
--keystroke: white;
|
|
|
--on-keystroke: #555;
|
|
|
--keystroke-border: #f7f7f7;
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
body:not([theme='light']) #mathlive-keystroke-caption-panel {
|
|
|
--keystroke: hsl(var(--_hue), 50%, 30%);
|
|
|
--on-keystroke: hsl(0, 0%, 98%);
|
|
|
--keystroke-border: hsl(var(--_hue), 50%, 25%);
|
|
|
}
|
|
|
}
|
|
|
body[theme='dark'] #mathlive-keystroke-caption-panel {
|
|
|
--keystroke: hsl(var(--_hue), 50%, 30%);
|
|
|
--on-keystroke: hsl(0, 0%, 98%);
|
|
|
--keystroke-border: hsl(var(--_hue), 50%, 25%);
|
|
|
}
|
|
|
#mathlive-keystroke-caption-panel > span {
|
|
|
min-width: 14px;
|
|
|
/*height: 8px;*/
|
|
|
margin: 0 8px 0 0;
|
|
|
padding: 4px;
|
|
|
background-color: var(--keystroke);
|
|
|
color: var(--on-keystroke);
|
|
|
fill: currentColor;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 1em;
|
|
|
border-radius: 6px;
|
|
|
border: 2px solid var(--keystroke-border);
|
|
|
/*box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);*/
|
|
|
}
|
|
|
`,ch=`.ML__keyboard {
|
|
|
--_keyboard-height: 0;
|
|
|
--_keyboard-zindex: var(--keyboard-zindex, 105);
|
|
|
--_accent-color: var(--keyboard-accent-color, #0c75d8);
|
|
|
--_background: var(--keyboard-background, #cacfd7);
|
|
|
--_border: var(--keyboard-border, #ddd);
|
|
|
--_padding-horizontal: var(--keyboard-padding-horizontal, 0px);
|
|
|
--_padding-top: var(--keyboard-padding-top, 5px);
|
|
|
--_padding-bottom: var(--keyboard-padding-bottom, 0px);
|
|
|
--_row-padding-left: var(--keyboard-row-padding-left, 0px);
|
|
|
--_row-padding-right: var(--keyboard-row-padding-right, 0px);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
|
|
|
--_toolbar-text-active: var(--keyboard-toolbar-text-active, var(--_accent-color));
|
|
|
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
|
|
|
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
|
|
|
--_toolbar-font-size: var(--keyboard-toolbar-font-size, '135%');
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
|
|
|
--_keycap-background: var(--keycap-background, white);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
|
|
|
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
|
|
|
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
|
|
|
--_keycap-border: var(--keycap-border, #e5e6e9);
|
|
|
--_keycap-border-bottom: var(--keycap-border-bottom, #8d8f92);
|
|
|
--_keycap-text: var(--keycap-text, #000);
|
|
|
--_keycap-text-active: var(--keycap-text-active, #fff);
|
|
|
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
|
|
|
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
|
|
|
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
|
|
|
--_keycap-primary-background: var(--keycap-primary-background, var(--_accent-color));
|
|
|
--_keycap-primary-text: var(--keycap-primary-text, #ddd);
|
|
|
--_keycap-primary-background-hover: var(--keycap-primary-background-hover, #0d80f2);
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
|
|
|
--_keycap-height: var(--keycap-height, 60px);
|
|
|
/* Keycap width (incl. margin) */
|
|
|
--_keycap-max-width: var(--keycap-max-width, 100px);
|
|
|
--_keycap-gap: var(--keycap-gap, 8px);
|
|
|
--_keycap-font-size: var(--keycap-font-size, clamp(16px, 4cqw, 24px));
|
|
|
--_keycap-small-font-size: var(--keycap-small-font-size, calc(var(--keycap-font-size) * 0.8));
|
|
|
--_keycap-extra-small-font-size: var(--keycap-extra-small-font-size, calc(var(--keycap-font-size) / 1.42));
|
|
|
--_variant-panel-background: var(--variant-panel-background, #fff);
|
|
|
--_variant-keycap-text: var(--variant-keycap-text, var(--_keycap-text));
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
|
|
|
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 70px);
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 30px);
|
|
|
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 12px);
|
|
|
--_keycap-shift-font-size: var(--keycap-shift-font-size, 16px);
|
|
|
--_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color));
|
|
|
--_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color));
|
|
|
--_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed));
|
|
|
}
|
|
|
.is-math-mode .MLK__rows .if-text-mode,
|
|
|
.is-text-mode .MLK__rows .if-math-mode {
|
|
|
display: none;
|
|
|
}
|
|
|
.if-can-undo,
|
|
|
.if-can-redo,
|
|
|
.if-can-copy,
|
|
|
.if-can-cut,
|
|
|
.if-can-paste {
|
|
|
opacity: 0.4;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.can-undo .if-can-undo,
|
|
|
.can-redo .if-can-redo,
|
|
|
.can-copy .if-can-copy,
|
|
|
.can-cut .if-can-cut,
|
|
|
.can-paste .if-can-paste {
|
|
|
opacity: 1;
|
|
|
pointer-events: all;
|
|
|
}
|
|
|
body > .ML__keyboard {
|
|
|
position: fixed;
|
|
|
--_padding-bottom: calc(var(--keyboard-padding-bottom, 0px) + env(safe-area-inset-bottom, 0));
|
|
|
}
|
|
|
body > .ML__keyboard.is-visible > .MLK__backdrop {
|
|
|
box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.08);
|
|
|
border-top: 1px solid var(--_border);
|
|
|
}
|
|
|
body > .ML__keyboard.backdrop-is-transparent.is-visible > .MLK__backdrop {
|
|
|
box-shadow: none;
|
|
|
border: none;
|
|
|
}
|
|
|
body > .ML__keyboard.is-visible.animate > .MLK__backdrop {
|
|
|
transition: 0.28s cubic-bezier(0, 0, 0.2, 1);
|
|
|
transition-property: transform, opacity;
|
|
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
|
}
|
|
|
.ML__keyboard {
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
z-index: var(--_keyboard-zindex);
|
|
|
box-sizing: border-box;
|
|
|
outline: none;
|
|
|
border: none;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
line-height: 1;
|
|
|
overflow-wrap: unset;
|
|
|
text-align: left;
|
|
|
vertical-align: baseline;
|
|
|
cursor: auto;
|
|
|
white-space: pre;
|
|
|
box-shadow: none;
|
|
|
opacity: 1;
|
|
|
transform: none;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.ML__keyboard :where(div) {
|
|
|
box-sizing: border-box;
|
|
|
outline: none;
|
|
|
border: none;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
line-height: 1;
|
|
|
overflow-wrap: unset;
|
|
|
text-align: left;
|
|
|
vertical-align: baseline;
|
|
|
cursor: auto;
|
|
|
white-space: pre;
|
|
|
box-shadow: none;
|
|
|
transform: none;
|
|
|
}
|
|
|
.MLK__backdrop {
|
|
|
position: absolute;
|
|
|
bottom: calc(-1 * var(--_keyboard-height));
|
|
|
width: 100%;
|
|
|
height: var(--_keyboard-height);
|
|
|
box-sizing: border-box;
|
|
|
padding-top: var(--_padding-top);
|
|
|
padding-bottom: var(--_padding-bottom);
|
|
|
padding-left: var(--_padding-horizontal);
|
|
|
padding-right: var(--_padding-horizontal);
|
|
|
opacity: 0;
|
|
|
visibility: hidden;
|
|
|
transform: translate(0, 0);
|
|
|
background: var(--_background);
|
|
|
}
|
|
|
.backdrop-is-transparent .MLK__backdrop {
|
|
|
background: transparent;
|
|
|
}
|
|
|
/* If a custom layout has a custom container/backdrop
|
|
|
(backdrop-is-transparent), make sure to let pointer event go through. */
|
|
|
.backdrop-is-transparent .MLK__plate {
|
|
|
background: transparent;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
/* If a custom layout has a custom container/backdrop, make sure to
|
|
|
allow pointer events on it. */
|
|
|
.backdrop-is-transparent .MLK__layer > div > div {
|
|
|
pointer-events: all;
|
|
|
}
|
|
|
.ML__keyboard.is-visible > .MLK__backdrop {
|
|
|
transform: translate(0, calc(-1 * var(--_keyboard-height)));
|
|
|
opacity: 1;
|
|
|
visibility: visible;
|
|
|
}
|
|
|
.caps-lock-indicator {
|
|
|
display: none;
|
|
|
width: 8px;
|
|
|
height: 8px;
|
|
|
background: #0cbc0c;
|
|
|
box-shadow: inset 0 0 4px 0 #13ca13, 0 0 4px 0 #a9ef48;
|
|
|
border-radius: 8px;
|
|
|
right: 8px;
|
|
|
top: 8px;
|
|
|
position: absolute;
|
|
|
}
|
|
|
.ML__keyboard.is-caps-lock .caps-lock-indicator {
|
|
|
display: block;
|
|
|
}
|
|
|
.ML__keyboard.is-caps-lock .shift {
|
|
|
background: var(--_keycap-background-active);
|
|
|
color: var(--_keycap-text-active);
|
|
|
}
|
|
|
.MLK__plate {
|
|
|
position: absolute;
|
|
|
top: var(--_padding-top);
|
|
|
left: var(--_padding-horizontal);
|
|
|
width: calc(100% - 2 * var(--_padding-horizontal));
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
container-type: inline-size;
|
|
|
touch-action: none;
|
|
|
-webkit-user-select: none;
|
|
|
user-select: none;
|
|
|
pointer-events: all;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 16px;
|
|
|
/* Size of toolbar labels */
|
|
|
font-weight: 400;
|
|
|
text-shadow: none;
|
|
|
}
|
|
|
.ML__box-placeholder {
|
|
|
color: var(--_box-placeholder-color);
|
|
|
}
|
|
|
.MLK__tex {
|
|
|
font-family: KaTeX_Main, KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
}
|
|
|
.MLK__tex-math {
|
|
|
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.MLK__layer {
|
|
|
display: none;
|
|
|
outline: none;
|
|
|
}
|
|
|
.MLK__layer.is-visible {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
}
|
|
|
/* Keyboard layouts are made or rows of keys... */
|
|
|
.MLK__rows {
|
|
|
--_keycap-width: min(var(--_keycap-max-width), 10cqw);
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
align-items: center;
|
|
|
border-collapse: separate;
|
|
|
clear: both;
|
|
|
border: 0;
|
|
|
margin: 0;
|
|
|
margin-bottom: var(--_keycap-gap);
|
|
|
gap: var(--_keycap-gap);
|
|
|
/* If the styling include, e.g., some shadows, they will be
|
|
|
cut off by the overflow. In that case, set the padding to
|
|
|
compensate. */
|
|
|
padding-left: var(--_row-padding-left);
|
|
|
padding-right: var(--_row-padding-right);
|
|
|
overflow: visible;
|
|
|
touch-action: none;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row {
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
justify-content: center;
|
|
|
width: 100%;
|
|
|
gap: var(--_keycap-gap);
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
/* For the alignment of the text on some modifiers (e.g. shift) */
|
|
|
/* Extra spacing between two adjacent keys */
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .tex {
|
|
|
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .tex-math {
|
|
|
font-family: KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .big-op {
|
|
|
font-size: calc(1.25 * var(--_keycap-font-size));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .small {
|
|
|
font-size: var(--_keycap-small-font-size);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .bottom {
|
|
|
justify-content: flex-end;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .left {
|
|
|
align-items: flex-start;
|
|
|
padding-left: 12px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .right {
|
|
|
align-items: flex-end;
|
|
|
padding-right: 12px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w0 {
|
|
|
width: 0;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w5 {
|
|
|
width: calc(0.5 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w15 {
|
|
|
width: calc(1.5 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w20 {
|
|
|
width: calc(2 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w40 {
|
|
|
width: calc(4 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w50 {
|
|
|
width: calc(5 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .MLK__keycap.w50 {
|
|
|
font-size: 80%;
|
|
|
padding-top: 10px;
|
|
|
font-weight: 100;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .separator {
|
|
|
background: transparent;
|
|
|
border: none;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .horizontal-rule {
|
|
|
height: 6px;
|
|
|
margin-top: 3px;
|
|
|
margin-bottom: 0;
|
|
|
width: 100%;
|
|
|
border-radius: 0;
|
|
|
border-top: var(--_horizontal-rule);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .ghost {
|
|
|
background: var(--_toolbar-background);
|
|
|
border: none;
|
|
|
color: var(--_toolbar-text);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .ghost:hover {
|
|
|
background: var(--_toolbar-background-hover);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .bigfnbutton {
|
|
|
font-size: var(--_keycap-extra-small-font-size);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift,
|
|
|
.MLK__rows > .MLK__row .action {
|
|
|
color: var(--_keycap-secondary-text);
|
|
|
background: var(--_keycap-secondary-background);
|
|
|
border-color: var(--_keycap-secondary-border);
|
|
|
border-bottom-color: var(--_keycap-secondary-border-bottom);
|
|
|
line-height: 0.8;
|
|
|
font-size: min(1rem, var(--_keycap-small-font-size));
|
|
|
font-weight: 600;
|
|
|
padding: 8px 12px 8px 12px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift:hover,
|
|
|
.MLK__rows > .MLK__row .action:hover {
|
|
|
background: var(--_keycap-secondary-background-hover);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .action.primary {
|
|
|
background: var(--_keycap-primary-background);
|
|
|
color: var(--_keycap-primary-text);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .action.primary:hover {
|
|
|
background: var(--_keycap-primary-background-hover);
|
|
|
color: var(--_keycap-primary-text);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift.selected,
|
|
|
.MLK__rows > .MLK__row .action.selected {
|
|
|
color: var(--_toolbar-text-active);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift.selected.is-pressed,
|
|
|
.MLK__rows > .MLK__row .action.selected.is-pressed,
|
|
|
.MLK__rows > .MLK__row .shift.selected.is-active,
|
|
|
.MLK__rows > .MLK__row .action.selected.is-active {
|
|
|
color: white;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .warning {
|
|
|
background: #cd0030;
|
|
|
color: white;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .warning svg.svg-glyph {
|
|
|
width: 24px;
|
|
|
height: 24px;
|
|
|
min-height: 24px;
|
|
|
}
|
|
|
/** A regular keycap
|
|
|
* Use the :where() pseudo-class to give it a very low specifity,
|
|
|
* so that it can be overriden by custom style.
|
|
|
*/
|
|
|
:where(.MLK__rows > .MLK__row div) {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
align-items: center;
|
|
|
justify-content: space-evenly;
|
|
|
width: calc(var(--_keycap-width) - var(--_keycap-gap));
|
|
|
height: var(--_keycap-height);
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
vertical-align: top;
|
|
|
text-align: center;
|
|
|
float: left;
|
|
|
color: var(--_keycap-text);
|
|
|
fill: currentColor;
|
|
|
font-size: var(--_keycap-font-size);
|
|
|
background: var(--_keycap-background);
|
|
|
border: 1px solid var(--_keycap-border);
|
|
|
border-bottom-color: var(--_keycap-border-bottom);
|
|
|
border-radius: 6px;
|
|
|
cursor: pointer;
|
|
|
touch-action: none;
|
|
|
/* Keys with a variants panel */
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
-webkit-user-select: none;
|
|
|
user-select: none;
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div):hover {
|
|
|
overflow: visible;
|
|
|
background: var(--_keycap-background-hover);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) .ML__latex {
|
|
|
pointer-events: none;
|
|
|
touch-action: none;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) svg.svg-glyph {
|
|
|
margin: 8px 0;
|
|
|
width: 20px;
|
|
|
height: 20px;
|
|
|
min-height: 20px;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) svg.svg-glyph-lg {
|
|
|
margin: 8px 0;
|
|
|
width: 24px;
|
|
|
height: 24px;
|
|
|
min-height: 24px;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__tex-math {
|
|
|
font-size: 25px;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).is-pressed {
|
|
|
background: var(--_keycap-background-pressed);
|
|
|
color: var(--_keycap-text-pressed);
|
|
|
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed {
|
|
|
z-index: calc(var(--_keyboard-zindex) - 5);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active aside,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active aside,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed aside,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed aside {
|
|
|
display: none;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active .MLK__shift,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active .MLK__shift,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed .MLK__shift,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed .MLK__shift {
|
|
|
display: none;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).shift.is-pressed,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed {
|
|
|
background: var(--_keycap-background-pressed);
|
|
|
color: var(--_keycap-text-pressed);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).shift.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active {
|
|
|
background: var(--_keycap-background-active);
|
|
|
color: var(--_keycap-text-active);
|
|
|
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) small {
|
|
|
color: var(--_keycap-secondary-text);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) aside {
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 10px;
|
|
|
line-height: 10px;
|
|
|
color: var(--_keycap-secondary-text);
|
|
|
}
|
|
|
/* Add an attribute 'data-tooltip' to display a tooltip on hover.
|
|
|
Note there are a different set of tooltip rules for the keyboard toggle
|
|
|
(it's in a different CSS tree) */
|
|
|
.ML__keyboard [data-tooltip] {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__keyboard [data-tooltip]::after {
|
|
|
position: absolute;
|
|
|
display: inline-table;
|
|
|
content: attr(data-tooltip);
|
|
|
top: inherit;
|
|
|
bottom: 100%;
|
|
|
width: max-content;
|
|
|
max-width: 200px;
|
|
|
padding: 8px 8px;
|
|
|
background: #616161;
|
|
|
color: #fff;
|
|
|
text-align: center;
|
|
|
z-index: 2;
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
|
border-radius: 2px;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-weight: 400;
|
|
|
font-size: 12px;
|
|
|
transition: all 0.15s cubic-bezier(0.4, 0, 1, 1) 1s;
|
|
|
opacity: 0;
|
|
|
transform: scale(0.5);
|
|
|
}
|
|
|
.ML__keyboard [data-tooltip]:hover {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__keyboard [data-tooltip]:hover::after {
|
|
|
opacity: 1;
|
|
|
transform: scale(1);
|
|
|
}
|
|
|
.MLK__toolbar {
|
|
|
align-self: center;
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
justify-content: space-between;
|
|
|
width: 100%;
|
|
|
max-width: 996px;
|
|
|
min-height: 32px;
|
|
|
/* Icons for undo/redo, etc. */
|
|
|
}
|
|
|
.MLK__toolbar svg {
|
|
|
height: 20px;
|
|
|
width: 20px;
|
|
|
}
|
|
|
.MLK__toolbar > .left {
|
|
|
position: relative;
|
|
|
display: flex;
|
|
|
justify-content: flex-start;
|
|
|
flex-flow: row;
|
|
|
}
|
|
|
.MLK__toolbar > .right {
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
flex-flow: row;
|
|
|
}
|
|
|
.MLK__toolbar > div > div {
|
|
|
/* "button" in the toolbar */
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
color: var(--_toolbar-text);
|
|
|
fill: currentColor;
|
|
|
background: var(--_toolbar-background);
|
|
|
font-size: var(--_toolbar-font-size);
|
|
|
padding: 4px 15px;
|
|
|
cursor: pointer;
|
|
|
width: max-content;
|
|
|
min-width: 42px;
|
|
|
min-height: 34px;
|
|
|
border: none;
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|
|
|
padding-bottom: 8px;
|
|
|
padding-top: 8px;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 4px;
|
|
|
margin-left: 4px;
|
|
|
margin-right: 4px;
|
|
|
border-radius: 8px;
|
|
|
box-shadow: none;
|
|
|
border-bottom: 2px solid transparent;
|
|
|
}
|
|
|
.MLK__toolbar > div > div:not(.disabled):not(.selected):hover {
|
|
|
background: var(--_toolbar-background-hover);
|
|
|
}
|
|
|
.MLK__toolbar > div > div.disabled svg,
|
|
|
.MLK__toolbar > div > div.disabled:hover svg,
|
|
|
.MLK__toolbar > div > div.disabled.is-pressed svg {
|
|
|
color: var(--_toolbar-text);
|
|
|
opacity: 0.2;
|
|
|
}
|
|
|
.MLK__toolbar > div > div:hover,
|
|
|
.MLK__toolbar > div > div:active,
|
|
|
.MLK__toolbar > div > div.is-pressed,
|
|
|
.MLK__toolbar > div > div.is-active {
|
|
|
color: var(--_toolbar-text-active);
|
|
|
}
|
|
|
.MLK__toolbar > div > div.selected {
|
|
|
color: var(--_toolbar-text-active);
|
|
|
background: var(--_toolbar-background-selected);
|
|
|
border-radius: 0;
|
|
|
border-bottom-color: var(--_toolbar-text-active);
|
|
|
padding-bottom: 4px;
|
|
|
margin-bottom: 8px;
|
|
|
}
|
|
|
/* This is the element that displays variants on press+hold */
|
|
|
.MLK__variant-panel {
|
|
|
visibility: hidden;
|
|
|
position: fixed;
|
|
|
display: flex;
|
|
|
flex-flow: row wrap-reverse;
|
|
|
justify-content: center;
|
|
|
align-content: center;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
bottom: auto;
|
|
|
top: 0;
|
|
|
box-sizing: content-box;
|
|
|
transform: none;
|
|
|
z-index: calc(var(--_keyboard-zindex) + 1);
|
|
|
touch-action: none;
|
|
|
max-width: 350px;
|
|
|
background: var(--_variant-panel-background);
|
|
|
text-align: center;
|
|
|
border-radius: 6px;
|
|
|
padding: 6px;
|
|
|
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
transition: none;
|
|
|
}
|
|
|
.MLK__variant-panel.is-visible {
|
|
|
visibility: visible;
|
|
|
}
|
|
|
.MLK__variant-panel.compact {
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 50px);
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
|
|
|
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 10px);
|
|
|
}
|
|
|
.MLK__variant-panel .item {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
font-size: var(--_variant-keycap-font-size);
|
|
|
height: var(--_variant-keycap-length);
|
|
|
width: var(--_variant-keycap-length);
|
|
|
margin: 0;
|
|
|
box-sizing: border-box;
|
|
|
border-radius: 5px;
|
|
|
border: 1px solid transparent;
|
|
|
background: transparent;
|
|
|
pointer-events: all;
|
|
|
cursor: pointer;
|
|
|
color: var(--_variant-keycap-text);
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
@media (max-height: 412px) {
|
|
|
.MLK__variant-panel .item {
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 50px);
|
|
|
}
|
|
|
}
|
|
|
.MLK__variant-panel .item .ML__latex {
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.MLK__variant-panel .item.is-active {
|
|
|
background: var(--_variant-keycap-background-active);
|
|
|
color: var(--_variant-keycap-text-active);
|
|
|
}
|
|
|
.MLK__variant-panel .item.is-pressed {
|
|
|
background: var(--_variant-keycap-background-pressed);
|
|
|
color: var(--_variant-keycap-text-pressed);
|
|
|
}
|
|
|
.MLK__variant-panel .item.small {
|
|
|
font-size: var(--_keycap-small-font-size);
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button {
|
|
|
box-sizing: border-box;
|
|
|
background: #fbfbfb;
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button > span {
|
|
|
display: inline-block;
|
|
|
margin: 6px;
|
|
|
width: calc(100% - 12px);
|
|
|
height: calc(100% - 12px);
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button:hover {
|
|
|
background: #f0f0f0;
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button:hover > span {
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
.MLK__variant-panel .item.box > div,
|
|
|
.MLK__variant-panel .item.box > span {
|
|
|
border: 1px dashed rgba(0, 0, 0, 0.24);
|
|
|
}
|
|
|
.MLK__variant-panel .item .warning {
|
|
|
min-height: 60px;
|
|
|
min-width: 60px;
|
|
|
background: #cd0030;
|
|
|
color: white;
|
|
|
padding: 5px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
.MLK__variant-panel .item .warning.is-pressed,
|
|
|
.MLK__variant-panel .item .warning.is-active {
|
|
|
background: red;
|
|
|
}
|
|
|
.MLK__variant-panel .item .warning svg.svg-glyph {
|
|
|
width: 50px;
|
|
|
height: 50px;
|
|
|
}
|
|
|
.MLK__variant-panel .item aside {
|
|
|
font-size: var(--_variant-keycap-aside-font-size);
|
|
|
line-height: 12px;
|
|
|
opacity: 0.78;
|
|
|
padding-top: 2px;
|
|
|
}
|
|
|
.MLK__keycap {
|
|
|
position: relative;
|
|
|
}
|
|
|
.MLK__shift {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
right: 4px;
|
|
|
top: 4px;
|
|
|
font-size: var(--_keycap-shift-font-size);
|
|
|
color: var(--_keycap-shift-color);
|
|
|
}
|
|
|
.hide-shift .MLK__shift {
|
|
|
display: none;
|
|
|
}
|
|
|
@media (max-width: 414px) {
|
|
|
.MLK__variant-panel {
|
|
|
max-width: 350px;
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 50px);
|
|
|
}
|
|
|
}
|
|
|
/* @xs breakpoint: iPhone 5 */
|
|
|
@container (max-width: 414px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-gap: max(var(--_keycap-gap, 2px), 2px);
|
|
|
--_keycap-height: max(var(--_keycap-height), 42px);
|
|
|
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
|
|
|
}
|
|
|
.MLK__toolbar > div > div {
|
|
|
font-size: 100%;
|
|
|
margin-left: 2px;
|
|
|
margin-right: 2px;
|
|
|
}
|
|
|
.MLK__rows .shift,
|
|
|
.MLK__rows .action {
|
|
|
font-size: 65%;
|
|
|
}
|
|
|
.MLK__rows .warning svg.svg-glyph {
|
|
|
width: 14px;
|
|
|
height: 14px;
|
|
|
min-height: 14px;
|
|
|
}
|
|
|
}
|
|
|
@container (max-width: 744px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-gap: max(var(--keycap-gap, 2px), 2px);
|
|
|
--_keycap-height: max(var(--keycap-height, 52px), 52px);
|
|
|
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
|
|
|
}
|
|
|
.MLK__toolbar > div > div {
|
|
|
padding-left: 0;
|
|
|
padding-right: 0;
|
|
|
}
|
|
|
.MLK__tooltip::after {
|
|
|
padding: 8px 16px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div.fnbutton {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div.bigfnbutton {
|
|
|
font-size: calc(var(--_keycap-extra-small-font-size) / 1.55);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div.small {
|
|
|
font-size: 13px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div > aside {
|
|
|
display: none;
|
|
|
}
|
|
|
.MLK__shift {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
/* Medium breakpoint: larger phones */
|
|
|
@container (max-width: 768px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-height: max(var(--keycap-height, 42px), 42px);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div > small {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
@media (max-height: 768px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-height: max(var(--keycap-height, 42px), 42px);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div > small {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
@container (max-width: 1444px) {
|
|
|
.MLK__rows .if-wide {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
.ML__keyboard {
|
|
|
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
|
|
|
--_background: var(--keyboard-background, #151515);
|
|
|
--_border: var(--keyboard-border, transparent);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
|
|
|
--keyboard-toolbar-background-hover: #303030;
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
|
|
|
--_keycap-background: var(--keycap-background, #1f2022);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
|
|
|
--_keycap-border: var(--_keycap-border, transparent);
|
|
|
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
|
|
|
--_keycap-text: var(--keycap-text, #e3e4e8);
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
|
|
|
--keycap-secondary-border: transparent;
|
|
|
--keycap-secondary-border-bottom: transparent;
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
|
|
|
--_variant-panel-background: var(--variant-panel-background, #303030);
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
|
|
|
}
|
|
|
}
|
|
|
/* Same as the media query, but with a class */
|
|
|
[theme='dark'] .ML__keyboard {
|
|
|
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
|
|
|
--_background: var(--keyboard-background, #151515);
|
|
|
--_border: var(--keyboard-border, transparent);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
|
|
|
--keyboard-toolbar-background-hover: #303030;
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
|
|
|
--_keycap-background: var(--keycap-background, #1f2022);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
|
|
|
--_keycap-border: var(--_keycap-border, transparent);
|
|
|
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
|
|
|
--_keycap-text: var(--keycap-text, #e3e4e8);
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
|
|
|
--keycap-secondary-border: transparent;
|
|
|
--keycap-secondary-border-bottom: transparent;
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
|
|
|
--_variant-panel-background: var(--variant-panel-background, #303030);
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
|
|
|
}
|
|
|
[theme='light'] .ML__keyboard {
|
|
|
--_accent-color: var(--keyboard-accent-color, #0c75d8);
|
|
|
--_background: var(--keyboard-background, #cacfd7);
|
|
|
--_border: var(--keyboard-border, #ddd);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
|
|
|
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
|
|
|
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
|
|
|
--_keycap-background: var(--keycap-background, white);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
|
|
|
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
|
|
|
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
|
|
|
--_keycap-border: var(--_keycap-border, #e5e6e9);
|
|
|
--_keycap-border-bottom: var(--_keycap-border-bottom, #8d8f92);
|
|
|
--_keycap-text: var(--keycap-text, #000);
|
|
|
--_keycap-text-active: var(--keycap-text-active, #fff);
|
|
|
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
|
|
|
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
|
|
|
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
|
|
|
--_variant-panel-background: var(--variant-panel-background, #fff);
|
|
|
--_variant-keycap-text: var(--variant-keycap-textvar, var(--_keycap-text));
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
|
|
|
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
|
|
|
}
|
|
|
`,yd=`:host {
|
|
|
--primary-color: #5898ff;
|
|
|
--primary-color-dimmed: #c0c0f0;
|
|
|
--primary-color-dark: var(--blue-500);
|
|
|
--primary-color-light: var(--blue-100);
|
|
|
--primary-color-reverse: #ffffff;
|
|
|
--secondary-color: #ff8a65;
|
|
|
--secondary-color-dimmed: #f0d5c5;
|
|
|
--secondary-color-dark: var(--orange-500);
|
|
|
--secondary-color-light: var(--orange-100);
|
|
|
--secondary-color-reverse: #ffffff;
|
|
|
--link-color: #5898ff;
|
|
|
--link-color-dimmed: #c5c5c5;
|
|
|
--link-color-dark: #121212;
|
|
|
--link-color-light: #e2e2e2;
|
|
|
--link-color-reverse: #ffffff;
|
|
|
--semantic-blue: var(--blue-700);
|
|
|
--semantic-red: var(--red-400);
|
|
|
--semantic-orange: var(--orange-400);
|
|
|
--semantic-green: var(--green-700);
|
|
|
--neutral-100: #f5f5f5;
|
|
|
--neutral-200: #eeeeee;
|
|
|
--neutral-300: #e0e0e0;
|
|
|
--neutral-400: #bdbdbd;
|
|
|
--neutral-500: #9e9e9e;
|
|
|
--neutral-600: #757575;
|
|
|
--neutral-700: #616161;
|
|
|
--neutral-800: #424242;
|
|
|
--neutral-900: #212121;
|
|
|
--red-25: #fff8f7;
|
|
|
--red-50: #fff1ef;
|
|
|
--red-100: #ffeae6;
|
|
|
--red-200: #ffcac1;
|
|
|
--red-300: #ffa495;
|
|
|
--red-400: #ff7865;
|
|
|
--red-500: #f21c0d;
|
|
|
--red-600: #e50018;
|
|
|
--red-700: #d30024;
|
|
|
--red-800: #bd002c;
|
|
|
--red-900: #a1002f;
|
|
|
--orange-25: #fffbf8;
|
|
|
--orange-50: #fff7f1;
|
|
|
--orange-100: #fff3ea;
|
|
|
--orange-200: #ffe1c9;
|
|
|
--orange-300: #ffcca2;
|
|
|
--orange-400: #ffb677;
|
|
|
--orange-500: #fe9310;
|
|
|
--orange-600: #f58700;
|
|
|
--orange-700: #ea7c00;
|
|
|
--orange-800: #dc6d00;
|
|
|
--orange-900: #ca5b00;
|
|
|
--brown-25: #fff8ef;
|
|
|
--brown-50: #fff1df;
|
|
|
--brown-100: #ffe9ce;
|
|
|
--brown-200: #ebcca6;
|
|
|
--brown-300: #cdaf8a;
|
|
|
--brown-400: #af936f;
|
|
|
--brown-500: #856a47;
|
|
|
--brown-600: #7f5e34;
|
|
|
--brown-700: #78511f;
|
|
|
--brown-800: #6e4200;
|
|
|
--brown-900: #593200;
|
|
|
--yellow-25: #fffdf9;
|
|
|
--yellow-50: #fffcf2;
|
|
|
--yellow-100: #fffaec;
|
|
|
--yellow-200: #fff2ce;
|
|
|
--yellow-300: #ffe8ab;
|
|
|
--yellow-400: #ffdf85;
|
|
|
--yellow-500: #ffcf33;
|
|
|
--yellow-600: #f1c000;
|
|
|
--yellow-700: #dfb200;
|
|
|
--yellow-800: #c9a000;
|
|
|
--yellow-900: #ad8a00;
|
|
|
--lime-25: #f4ffee;
|
|
|
--lime-50: #e9ffdd;
|
|
|
--lime-100: #ddffca;
|
|
|
--lime-200: #a8fb6f;
|
|
|
--lime-300: #94e659;
|
|
|
--lime-400: #80d142;
|
|
|
--lime-500: #63b215;
|
|
|
--lime-600: #45a000;
|
|
|
--lime-700: #268e00;
|
|
|
--lime-800: #007417;
|
|
|
--lime-900: #005321;
|
|
|
--green-25: #f5fff5;
|
|
|
--green-50: #ebffea;
|
|
|
--green-100: #e0ffdf;
|
|
|
--green-200: #a7ffa7;
|
|
|
--green-300: #5afa65;
|
|
|
--green-400: #45e953;
|
|
|
--green-500: #17cf36;
|
|
|
--green-600: #00b944;
|
|
|
--green-700: #00a34a;
|
|
|
--green-800: #008749;
|
|
|
--green-900: #00653e;
|
|
|
--teal-25: #f3ffff;
|
|
|
--teal-50: #e6fffe;
|
|
|
--teal-100: #d9fffe;
|
|
|
--teal-200: #8dfffe;
|
|
|
--teal-300: #57f4f4;
|
|
|
--teal-400: #43e5e5;
|
|
|
--teal-500: #17cfcf;
|
|
|
--teal-600: #00c2c0;
|
|
|
--teal-700: #00b5b1;
|
|
|
--teal-800: #00a49e;
|
|
|
--teal-900: #009087;
|
|
|
--cyan-25: #f7fcff;
|
|
|
--cyan-50: #eff8ff;
|
|
|
--cyan-100: #e7f5ff;
|
|
|
--cyan-200: #c2e6ff;
|
|
|
--cyan-300: #95d5ff;
|
|
|
--cyan-400: #61c4ff;
|
|
|
--cyan-500: #13a7ec;
|
|
|
--cyan-600: #069eda;
|
|
|
--cyan-700: #0095c9;
|
|
|
--cyan-800: #0088b2;
|
|
|
--cyan-900: #0a7897;
|
|
|
--blue-25: #f7faff;
|
|
|
--blue-50: #eef5ff;
|
|
|
--blue-100: #e5f1ff;
|
|
|
--blue-200: #bfdbff;
|
|
|
--blue-300: #92c2ff;
|
|
|
--blue-400: #63a8ff;
|
|
|
--blue-500: #0d80f2;
|
|
|
--blue-600: #0077db;
|
|
|
--blue-700: #006dc4;
|
|
|
--blue-800: #0060a7;
|
|
|
--blue-900: #005086;
|
|
|
--indigo-25: #f8f7ff;
|
|
|
--indigo-50: #f1efff;
|
|
|
--indigo-100: #eae7ff;
|
|
|
--indigo-200: #ccc3ff;
|
|
|
--indigo-300: #ac99ff;
|
|
|
--indigo-400: #916aff;
|
|
|
--indigo-500: #63c;
|
|
|
--indigo-600: #5a21b2;
|
|
|
--indigo-700: #4e0b99;
|
|
|
--indigo-800: #3b0071;
|
|
|
--indigo-900: #220040;
|
|
|
--purple-25: #fbf7ff;
|
|
|
--purple-50: #f8f0ff;
|
|
|
--purple-100: #f4e8ff;
|
|
|
--purple-200: #e4c4ff;
|
|
|
--purple-300: #d49aff;
|
|
|
--purple-400: #c36aff;
|
|
|
--purple-500: #a219e6;
|
|
|
--purple-600: #9000c4;
|
|
|
--purple-700: #7c009f;
|
|
|
--purple-800: #600073;
|
|
|
--purple-900: #3d0043;
|
|
|
--magenta-25: #fff8fb;
|
|
|
--magenta-50: #fff2f6;
|
|
|
--magenta-100: #ffebf2;
|
|
|
--magenta-200: #ffcddf;
|
|
|
--magenta-300: #ffa8cb;
|
|
|
--magenta-400: #ff7fb7;
|
|
|
--magenta-500: #eb4799;
|
|
|
--magenta-600: #da3689;
|
|
|
--magenta-700: #c82179;
|
|
|
--magenta-800: #b00065;
|
|
|
--magenta-900: #8a004c;
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
:host {
|
|
|
--semantic-blue: var(--blue-700);
|
|
|
--semantic-red: var(--red-400);
|
|
|
--semantic-orange: var(--orange-400);
|
|
|
--semantic-green: var(--green-700);
|
|
|
--semantic-bg-blue: var(--blue-25);
|
|
|
--semantic-bg-red: var(--red-25);
|
|
|
--semantic-bg-orange: var(--orange-25);
|
|
|
--semantic-bg-green: var(--green-25);
|
|
|
--neutral-100: #121212;
|
|
|
--neutral-200: #424242;
|
|
|
--neutral-300: #616161;
|
|
|
--neutral-400: #757575;
|
|
|
--neutral-500: #9e9e9e;
|
|
|
--neutral-600: #bdbdbd;
|
|
|
--neutral-700: #e0e0e0;
|
|
|
--neutral-800: #eeeeee;
|
|
|
--neutral-900: #f5f5f5;
|
|
|
}
|
|
|
}
|
|
|
:host([theme='dark']) {
|
|
|
--semantic-blue: var(--blue-700);
|
|
|
--semantic-red: var(--red-400);
|
|
|
--semantic-orange: var(--orange-400);
|
|
|
--semantic-green: var(--green-700);
|
|
|
--semantic-bg-blue: var(--blue-25);
|
|
|
--semantic-bg-red: var(--red-25);
|
|
|
--semantic-bg-orange: var(--orange-25);
|
|
|
--semantic-bg-green: var(--green-25);
|
|
|
--neutral-100: #121212;
|
|
|
--neutral-200: #424242;
|
|
|
--neutral-300: #616161;
|
|
|
--neutral-400: #757575;
|
|
|
--neutral-500: #9e9e9e;
|
|
|
--neutral-600: #bdbdbd;
|
|
|
--neutral-700: #e0e0e0;
|
|
|
--neutral-800: #eeeeee;
|
|
|
--neutral-900: #f5f5f5;
|
|
|
}
|
|
|
/* @media (prefers-color-scheme: dark) {
|
|
|
:host {
|
|
|
--label-color: #fff;
|
|
|
--active-label-color: #000;
|
|
|
--menu-bg: #525252;
|
|
|
--active-bg: #5898ff;
|
|
|
--active-bg-dimmed: #5c5c5c;
|
|
|
}
|
|
|
} */
|
|
|
:host {
|
|
|
--ui-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
|
|
|
'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
|
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
|
--ui-font-size: 14px;
|
|
|
--ui-line-height: 1.5;
|
|
|
--ui-letter-spacing: 0.007em;
|
|
|
--mono-font-family: 'Berkeley Mono', 'JetBrains Mono', 'IBM Plex Mono',
|
|
|
'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;
|
|
|
--ui-layer-1: var(--neutral-100);
|
|
|
--ui-layer-2: var(--neutral-200);
|
|
|
--ui-layer-3: var(--neutral-300);
|
|
|
--ui-layer-4: var(--neutral-400);
|
|
|
--ui-layer-5: var(--neutral-500);
|
|
|
--ui-layer-6: var(--neutral-600);
|
|
|
--ui-border-color: var(--primary-color);
|
|
|
--ui-border-radius: 4px;
|
|
|
--ui-text: var(--neutral-900);
|
|
|
--ui-text-secondary: var(--neutral-700);
|
|
|
--ui-text-placeholder: var(--neutral-500);
|
|
|
--ui-text-muted: var(--neutral-300);
|
|
|
/** A field is a UI element in which a user can type data, for
|
|
|
* example an input or textarea element.
|
|
|
*/
|
|
|
--ui-field-bg: var(--neutral-100);
|
|
|
--ui-field-bg-hover: var(--neutral-100);
|
|
|
--ui-field-bg-disabled: var(--neutral-300);
|
|
|
--ui-field-bg-invalid: var(--red-100);
|
|
|
--ui-field-bg-focus: var(--neutral-100);
|
|
|
--ui-field-border: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-hover: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-disabled: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-invalid: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-focus: 0.5px solid var(--border-color);
|
|
|
--ui-menu-bg: var(--neutral-100);
|
|
|
--ui-menu-text: var(--neutral-900);
|
|
|
--ui-menu-bg-hover: var(--neutral-200);
|
|
|
--ui-menu-text-hover: var(--neutral-900);
|
|
|
/** The \`active\` state is used for the state of menu items
|
|
|
* when they are selected.
|
|
|
*/
|
|
|
--ui-menu-bg-active: var(--primary-color);
|
|
|
--ui-menu-text-active: var(--primary-color-reverse);
|
|
|
/** The \`active-muted\` set is used for the state of
|
|
|
* submenus when they are open.
|
|
|
*/
|
|
|
--ui-menu-bg-active-muted: var(--neutral-300);
|
|
|
--ui-menu-text-active-muted: var(--neutral-900);
|
|
|
/* --ui-menu-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
|
|
|
0 2px 6px 2px rgba(60, 64, 67, 0.149); */
|
|
|
--ui-menu-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
|
|
|
--ui-menu-divider: 0.5px solid #c7c7c7;
|
|
|
/* var(--neutral-300); */
|
|
|
--ui-menu-z-index: 10000;
|
|
|
--page-bg: var(--neutral-100);
|
|
|
--content-bg: var(--neutral-200);
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
:host {
|
|
|
--ui-menu-bg: var(--neutral-200);
|
|
|
}
|
|
|
}
|
|
|
:host([theme='dark']) {
|
|
|
--ui-menu-bg: var(--neutral-200);
|
|
|
}
|
|
|
/* PingFang SC is a macOS font. Microsoft Yahei is a Windows font.
|
|
|
Noto is a Linux/Android font.
|
|
|
*/
|
|
|
:lang(zh-cn),
|
|
|
:lang(zh-sg),
|
|
|
:lang(zh-my),
|
|
|
:lang(zh) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'PingFang SC', 'Hiragino Sans GB',
|
|
|
'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans', 'Microsoft Yahei UI',
|
|
|
'Microsoft YaHei New', 'Microsoft Yahei', '\u5FAE\u8F6F\u96C5\u9ED1', SimSun, '\u5B8B\u4F53',
|
|
|
STXihei, '\u534E\u6587\u7EC6\u9ED1', sans-serif;
|
|
|
}
|
|
|
:lang(zh-tw),
|
|
|
:lang(zh-hk),
|
|
|
:lang(zh-mo) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Noto Sans',
|
|
|
'Microsoft JhengHei UI', 'Microsoft JhengHei', '\u5FAE\u8EDF\u6B63\u9ED1\u9AD4', '\u65B0\u7D30\u660E\u9AD4',
|
|
|
'PMingLiU', '\u7D30\u660E\u9AD4', 'MingLiU', sans-serif;
|
|
|
}
|
|
|
:lang(ja),
|
|
|
:lang(ja-jp),
|
|
|
:lang(ja-jp-mac) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Hiragino Sans',
|
|
|
'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans',
|
|
|
'\u6E38\u30B4\u30B7\u30C3\u30AF', '\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53', YuGothic, 'Yu Gothic', '\u30E1\u30A4\u30EA\u30AA', Meiryo,
|
|
|
'\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF', 'MS PGothic', sans-serif;
|
|
|
}
|
|
|
:lang(ko),
|
|
|
:lang(ko-kr),
|
|
|
:lang(ko-kr-std) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
|
|
|
'Noto Sans', 'Malgun Gothic', '\uB9D1\uC740 \uACE0\uB515', 'Apple SD Gothic Neo',
|
|
|
'\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo', 'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
|
|
|
}
|
|
|
:lang(ko-kr-apple) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
|
|
|
'Noto Sans', 'Apple SD Gothic Neo', '\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo',
|
|
|
'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
|
|
|
}
|
|
|
:lang(zh-cn),
|
|
|
:lang(zh-sg),
|
|
|
:lang(zh-my),
|
|
|
:lang(zh),
|
|
|
:lang(zh-tw),
|
|
|
:lang(zh-hk),
|
|
|
:lang(zh-mo),
|
|
|
:lang(ja),
|
|
|
:lang(ja-jp),
|
|
|
:lang(ja-jp-mac),
|
|
|
:lang(ko),
|
|
|
:lang(ko-kr),
|
|
|
:lang(ko-kr-std),
|
|
|
:lang(ko-kr-apple) {
|
|
|
--ui-font-size: 1rem;
|
|
|
--ui-line-height: 1.7;
|
|
|
--ui-letter-spacing: 0;
|
|
|
}
|
|
|
:dir(rtl) {
|
|
|
--ui-line-height: auto;
|
|
|
--ui-letter-spacing: 0;
|
|
|
}
|
|
|
`,dh=`.ui-menu *,
|
|
|
.ui-menu ::before,
|
|
|
.ui-menu ::after {
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.ui-menu {
|
|
|
display: none;
|
|
|
color-scheme: light dark;
|
|
|
-webkit-user-select: none;
|
|
|
/* Important: Safari iOS doesn't respect user-select */
|
|
|
user-select: none;
|
|
|
cursor: default;
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0 0 0 0);
|
|
|
--active-label-color: #fff;
|
|
|
/* ui-menu-text-active */
|
|
|
--label-color: #121212;
|
|
|
/* ui-menu-text */
|
|
|
--menu-bg: #e2e2e2;
|
|
|
/* ui-menu-background */
|
|
|
--active-bg: #5898ff;
|
|
|
/* ui-menu-background-active */
|
|
|
--active-bg-dimmed: #c5c5c5;
|
|
|
/* ui-menu-background-active-muted */
|
|
|
}
|
|
|
/** Use the :where pseudo selector to make the specificity of the
|
|
|
* selector 0, so that it can be overridden by the user.
|
|
|
*/
|
|
|
:where(.ui-menu-container) {
|
|
|
position: absolute;
|
|
|
overflow: visible;
|
|
|
width: auto;
|
|
|
height: auto;
|
|
|
z-index: 10000;
|
|
|
border-radius: 8px;
|
|
|
background: var(--ui-menu-bg);
|
|
|
box-shadow: var(--ui-menu-shadow);
|
|
|
list-style: none;
|
|
|
padding: 6px 0 6px 0;
|
|
|
margin: 0;
|
|
|
user-select: none;
|
|
|
cursor: default;
|
|
|
color: var(--ui-menu-text);
|
|
|
font-weight: normal;
|
|
|
font-style: normal;
|
|
|
text-shadow: none;
|
|
|
text-transform: none;
|
|
|
letter-spacing: 0;
|
|
|
outline: none;
|
|
|
opacity: 1;
|
|
|
/* The [popover] elements have a 1px solid black border. Ugh. */
|
|
|
border: none;
|
|
|
width: fit-content;
|
|
|
height: fit-content;
|
|
|
}
|
|
|
:where(.ui-menu-container > li) {
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
align-items: center;
|
|
|
padding: 1px 7px 1px 7px;
|
|
|
margin-top: 0;
|
|
|
margin-left: 6px;
|
|
|
margin-right: 6px;
|
|
|
border-radius: 4px;
|
|
|
white-space: nowrap;
|
|
|
position: relative;
|
|
|
outline: none;
|
|
|
fill: currentColor;
|
|
|
user-select: none;
|
|
|
cursor: default;
|
|
|
text-align: left;
|
|
|
color: inherit;
|
|
|
font-family: var(--ui-font-family);
|
|
|
font-size: var(--ui-font-size);
|
|
|
line-height: var(--ui-line-height);
|
|
|
letter-spacing: var(--ui-letter-spacing);
|
|
|
}
|
|
|
:where(.ui-menu-container > li > .label) {
|
|
|
appearance: none;
|
|
|
background: none;
|
|
|
outline: none;
|
|
|
width: 100%;
|
|
|
margin: 0;
|
|
|
padding: 1px 2px 1px 1px;
|
|
|
overflow: visible;
|
|
|
border: 1px solid transparent;
|
|
|
white-space: nowrap;
|
|
|
text-align: start;
|
|
|
}
|
|
|
:where(.ui-menu-container > li:has(.heading)) {
|
|
|
margin-top: 0.5em;
|
|
|
}
|
|
|
:where(.ui-menu-container > li > .label.heading) {
|
|
|
font-weight: bold;
|
|
|
opacity: 0.4;
|
|
|
}
|
|
|
:where(.ui-menu-container > li.indent > .label) {
|
|
|
margin-inline-start: 12px;
|
|
|
}
|
|
|
:where(.ui-menu-container > li > .label.indent) {
|
|
|
margin-inline-start: 12px;
|
|
|
}
|
|
|
:where(.ui-menu-container > li[role='divider']) {
|
|
|
border-bottom: 1px solid var(--ui-menu-divider);
|
|
|
border-radius: 0;
|
|
|
padding: 0;
|
|
|
margin-left: 15px;
|
|
|
margin-right: 15px;
|
|
|
padding-top: 5px;
|
|
|
margin-bottom: 5px;
|
|
|
width: calc(100% - 30px);
|
|
|
/** 100% - (margin-left + margin-right) */
|
|
|
}
|
|
|
:where(.ui-menu-container > li[aria-disabled='true']) {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
:where(.ui-menu-container > li.active) {
|
|
|
background: var(--ui-menu-bg-active);
|
|
|
background: -apple-system-control-accent;
|
|
|
color: var(--ui-menu-text-active);
|
|
|
}
|
|
|
:where(.ui-menu-container > li.active.is-submenu-open) {
|
|
|
background: var(--ui-menu-bg-active-muted);
|
|
|
color: inherit;
|
|
|
}
|
|
|
:where(.ui-menu-container > li[aria-haspopup='true'] > .label) {
|
|
|
padding-inline-end: 0;
|
|
|
}
|
|
|
:where(.ui-menu-container > li[aria-haspopup='true'].active::after) {
|
|
|
color: var(--ui-menu-text-active);
|
|
|
}
|
|
|
/** Keyboard shortcut */
|
|
|
:where(.ui-menu-container > li > kbd) {
|
|
|
font-family: var(--ui-font-family);
|
|
|
margin-inline-start: 12px;
|
|
|
opacity: 0.4;
|
|
|
}
|
|
|
:where(.ui-menu-container > li.active > kbd) {
|
|
|
opacity: 0.85;
|
|
|
}
|
|
|
.ui-trailing-chevron {
|
|
|
display: flex;
|
|
|
margin-inline-start: 24px;
|
|
|
width: 10px;
|
|
|
height: 10px;
|
|
|
margin-bottom: 4px;
|
|
|
}
|
|
|
.ui-trailing-chevron:dir(rtl) {
|
|
|
transform: scaleX(-1);
|
|
|
}
|
|
|
.ui-checkmark {
|
|
|
display: flex;
|
|
|
margin-inline-end: -11px;
|
|
|
margin-inline-start: -4px;
|
|
|
margin-top: 2px;
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
}
|
|
|
.ui-mixedmark {
|
|
|
display: flex;
|
|
|
margin-inline-end: -11px;
|
|
|
margin-inline-start: -4px;
|
|
|
margin-top: 2px;
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
}
|
|
|
`,rs;function pc(a){let y="";switch(a){case"mathfield-element":y=`
|
|
|
:host { display: inline-block; background-color: field; color: fieldtext; border-width: 1px; border-style: solid; border-color: #acacac; border-radius: 2px; padding:4px;}
|
|
|
:host([hidden]) { display: none; }
|
|
|
:host([disabled]), :host([disabled]:focus), :host([disabled]:focus-within) { outline: none; opacity: .5; }
|
|
|
:host(:focus), :host(:focus-within) {
|
|
|
outline: Highlight auto 1px; /* For Firefox */
|
|
|
outline: -webkit-focus-ring-color auto 1px;
|
|
|
}
|
|
|
:host([readonly]:focus), :host([readonly]:focus-within),
|
|
|
:host([read-only]:focus), :host([read-only]:focus-within) {
|
|
|
outline: none;
|
|
|
}
|
|
|
@media (hover: none) and (pointer: coarse) {
|
|
|
:host(:not(:focus)) :first-child { pointer-events: none !important; }
|
|
|
}`;break;case"core":y=Qo;break;case"mathfield":y=Cf;break;case"environment-popover":y=Ef;break;case"suggestion-popover":y=uh;break;case"keystroke-caption":y=Fc;break;case"virtual-keyboard":y=ch;break;case"ui":y=yd;break;case"menu":y=dh;break;default:debugger}return y}function Pc(a){return rs||(rs={}),rs[a]||(rs[a]=new CSSStyleSheet,rs[a].replaceSync(pc(a))),rs[a]}var Pu;function Ul(a){var y;if(!("adoptedStyleSheets"in document)){if(window.document.getElementById(`mathlive-style-${a}`))return;const b=window.document.createElement("style");b.id=`mathlive-style-${a}`,b.append(window.document.createTextNode(pc(a))),window.document.head.appendChild(b);return}if(Pu||(Pu={}),((y=Pu[a])!=null?y:0)!==0)Pu[a]+=1;else{const b=Pc(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Pu[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Pu!=null&&Pu[a]&&(Pu[a]-=1,Pu[a]<=0)){const y=rs[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class kp extends Br{constructor(y){var b;super(me(ye({},y),{type:"accent",body:(b=y.body)!=null?b:void 0})),y.accentChar?this.accent=y.accentChar:this.svgAccent=y==null?void 0:y.svgAccent,this.skipBoundary=!0,this.captureSelection=!0}static fromJson(y){return new kp(y)}toJson(){return me(ye({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new vo({parent:y,mathstyle:"cramp"},this.style),ee=(b=Br.createBox(E,this.body))!=null?b:new ci("\u25A2",{style:this.style});let re=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(re=ee.skew);let se=Math.min(ee.height,Al),ge;if(this.svgAccent)ge=Pl(this.svgAccent),se=E.metrics.bigOpSpacing1-se;else if(this.accent){const Ae=new ci(this.accent,{fontFamily:"Main-Regular"});Ae.italic=0;const Te=this.accent===8407?" ML__accent-vec":"";ge=new ci(new ci(Ae),{classes:"ML__accent-body"+Te})}ge=new Vo({shift:0,children:[{box:new ci(ee)},-se,{box:ge,marginLeft:ee.left+2*re,classes:["ML__center"]}]});const xe=new ci(ge,{type:"lift"});return this.caret&&(xe.caret=this.caret),this.bind(E,xe.wrap(E)),this.attachSupsub(E,{base:xe})}},ne={"(":")","{":"}","[":"]","|":"|","\\lbrace":"\\rbrace","\\lparen":"\\rparen","\\{":"\\}","\\langle":"\\rangle","\\lfloor":"\\rfloor","\\lceil":"\\rceil","\\vert":"\\vert","\\lvert":"\\rvert","\\Vert":"\\Vert","\\lVert":"\\rVert","\\lbrack":"\\rbrack","\\ulcorner":"\\urcorner","\\llcorner":"\\lrcorner","\\lgroup":"\\rgroup","\\lmoustache":"\\rmoustache"},te=Object.fromEntries(Object.entries(ne).map(([a,y])=>[y,a]));function oe(a){var y;return(y={"[":91,"]":93,"(":40,")":41,"\\mid":8739,"|":8739,"\u2223":8739,"\u2225":8741,"\\|":8739,"\\{":123,"\\}":125,"\\lbrace":123,"\\rbrace":125,"\\lparen":40,"\\rparen":41,"\\lbrack":91,"\\rbrack":93,"\\vert":8739,"\\lvert":8739,"\\mvert":8739,"\\rvert":8739,"\\Vert":8741,"\\lVert":8741,"\\mVert":8741,"\\rVert":8741,"\\parallel":8741,"\\shortparallel":8741,"\\langle":10216,"\\rangle":10217,"\\lfloor":8970,"\\rfloor":8971,"\\lceil":8968,"\\rceil":8969,"\\ulcorner":9484,"\\urcorner":9488,"\\llcorner":9492,"\\lrcorner":9496,"\\lgroup":10222,"\\rgroup":10223,"\\lmoustache":9136,"\\rmoustache":9137,"\\surd":8730}[a])!=null?y:a.codePointAt(0)}function fe(a,y,b,E){var ee;const se=new ci(oe(a),{fontFamily:"Main-Regular",isSelected:E.isSelected,classes:"ML__small-delim "+((ee=E.classes)!=null?ee:"")}).wrap(y);return b&&se.setTop((1-y.scalingFactor)*qs),se}function Se(a,y,b,E,ee){var re,se;const ge=new vo({parent:E,mathstyle:"textstyle"},ee==null?void 0:ee.style),xe=new ci(oe(a),{fontFamily:`Size${y}-Regular`,isSelected:ee.isSelected,classes:((re=ee.classes)!=null?re:"")+` ML__delim-size${y}`,type:(se=ee.type)!=null?se:"ignore"}).wrap(ge);return b&&xe.setTop((1-ge.scalingFactor)*qs),xe}function Ne(a,y,b,E,ee){var re;let se,ge,xe,Ae;se=xe=Ae=oe(a),ge=null;let Te="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?xe=se=Ae=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?xe=se=Ae=8741:a==="\\uparrow"?xe=Ae=9168:a==="\\Uparrow"?xe=Ae=8214:a==="\\downarrow"?se=xe=9168:a==="\\Downarrow"?se=xe=8214:a==="\\updownarrow"?(se=8593,xe=9168,Ae=8595):a==="\\Updownarrow"?(se=8657,xe=8214,Ae=8659):a==="["||a==="\\lbrack"?(se=9121,xe=9122,Ae=9123,Te="Size4-Regular"):a==="]"||a==="\\rbrack"?(se=9124,xe=9125,Ae=9126,Te="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(xe=se=9122,Ae=9123,Te="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(se=9121,xe=Ae=9122,Te="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(xe=se=9125,Ae=9126,Te="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(se=9124,xe=Ae=9125,Te="Size4-Regular"):a==="("||a==="\\lparen"?(se=9115,xe=9116,Ae=9117,Te="Size4-Regular"):a===")"||a==="\\rparen"?(se=9118,xe=9119,Ae=9120,Te="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(se=9127,ge=9128,Ae=9129,xe=9130,Te="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(se=9131,ge=9132,Ae=9133,xe=9130,Te="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(se=9127,Ae=9129,xe=9130,Te="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(se=9131,Ae=9133,xe=9130,Te="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(se=9127,Ae=9133,xe=9130,Te="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(se=9131,Ae=9129,xe=9130,Te="Size4-Regular"):a==="\\surd"?(se=57345,Ae=9143,xe=57344,Te="Size4-Regular"):a==="\\ulcorner"?(se=9484,xe=Ae=32):a==="\\urcorner"?(se=9488,xe=Ae=32):a==="\\llcorner"?(Ae=9492,xe=se=32):a==="\\lrcorner"&&(se=9496,xe=se=32);const Qe=ql(se,Te),bt=Qe.height+Qe.depth,Gt=ql(xe,Te),an=Gt.height+Gt.depth,cr=ql(Ae,Te),di=cr.height+cr.depth;let ar=0,Zr=1;if(ge!==null){const rl=ql(ge,Te);ar=rl.height+rl.depth,Zr=2}const hi=bt+di+ar,$r=Math.max(0,Math.ceil((y-hi)/(Zr*an))),Yi=hi+$r*Zr*an;let xa=qs;b&&(xa=xa*E.scalingFactor);const fa=Yi/2-xa,Eo=.008,Xo=[];Xo.push({box:new ci(Ae,{fontFamily:Te})}),Xo.push(-Eo);const wi=new ci(xe,{fontFamily:Te});if(ge===null)for(let rl=0;rl<$r;rl++)Xo.push({box:wi});else{for(let rl=0;rl<$r;rl++)Xo.push({box:wi});Xo.push(-Eo),Xo.push({box:new ci(ge,{fontFamily:Te})}),Xo.push(-Eo);for(let rl=0;rl<$r;rl++)Xo.push({box:wi})}Xo.push(-Eo),Xo.push({box:new ci(se,{fontFamily:Te})});let cu="";Te==="Size1-Regular"?cu=" delim-size1":Te==="Size4-Regular"&&(cu=" delim-size4");const $u=new Vo({bottom:fa,children:Xo},{classes:cu});return new ci($u,me(ye({},ee!=null?ee:{}),{classes:((re=ee==null?void 0:ee.classes)!=null?re:"")+" ML__delim-mult"}))}var He=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),_e=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),Vt=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),sn=[0,1.2,1.8,2.4,3];function Yn(a,y,b,E){return a===void 0||a==="."?Ui(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),He.has(a)||Vt.has(a)?Se(a,y,!1,b,E):_e.has(a)?Ne(a,sn[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var On=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ir=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],ti=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}];function vi(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function Ii(a,y,b,E){const ee={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let re=ee;re<b.length&&b[re].type!=="stack";re++){const se=ql(a,vi(b[re]));if(se.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let ge=se.height+se.depth;if(b[re].type==="small"&&(b[re].mathstyle==="scriptscriptstyle"?ge*=Math.max(wc[Math.max(1,E.size-2)],E.minFontScale):b[re].mathstyle==="scriptstyle"&&(ge*=Math.max(wc[Math.max(1,E.size-1)],E.minFontScale))),ge>y)return b[re]}return b[b.length-1]}function ji(a,y,b,E,ee,re){if(!y||y.length===0||y===".")return Ui(ee);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let se;Vt.has(y)?se=On:He.has(y)?se=ti:se=Ir;const ge=Ii(oe(y),b,se,ee),xe=new vo({parent:ee,mathstyle:ge.mathstyle},re==null?void 0:re.style);return ge.type==="small"?fe(y,xe,E,me(ye({},re),{type:a})):ge.type==="large"?Se(y,ge.size,E,xe,me(ye({},re),{type:a})):(console.assert(ge.type==="stack"),Ne(y,b,E,xe,me(ye({},re),{type:a})))}function Mi(a,y,b,E,ee,re){if(y===".")return Ui(ee,re==null?void 0:re.classes);const se=qs*ee.scalingFactor,ge=901,xe=5/hu,Ae=Math.max(b-se,E+se),Te=Math.max(Ae/500*ge,2*Ae-xe);return ji(a,y,Te,!0,ee,re)}function Ui(a,y){const b=new ci(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new vo({parent:a,mathstyle:"textstyle"}))}var ka=class Dp extends Br{constructor(y){var b;super({type:"placeholder",command:"\\placeholder",mode:(b=y==null?void 0:y.mode)!=null?b:"math",style:y==null?void 0:y.style}),this.captureSelection=!0}static fromJson(y){return new Dp(y)}toJson(){return super.toJson()}render(y){let b;return this.value=y.placeholderSymbol,typeof y.renderPlaceholder=="function"?b=y.renderPlaceholder(y):b=this.createBox(y),this.caret&&(b.classes+=" ML__placeholder-selected"),b}_serialize(y){return y.skipPlaceholders?"":"\\placeholder{}"}},Pa=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],yo=["cases","dcases","rcases"],is=["align","align*","aligned","gather","gathered","split"],_s=["array","subequations","eqnarray"];function xs(a){return _s.concat(is).concat(yo).concat(Pa).includes(a)}function bl(a){return Pa.includes(a)}function xl(a){return yo.includes(a)}function Ns(a){return is.includes(a)}function wl(a,y,b){let E=0;for(const Ae of b)"align"in Ae&&(E+=1);let ee=0;const re=[];for(const Ae of y){let Te=0;for(ee=Math.max(ee,Math.min(Ae.length,E));Te<Ae.length;){const Qe=[],bt=Math.min(Ae.length,Te+E);for(;Te<bt;){const Gt=Ae[Te];Gt.length===0?Qe.push([new Br({type:"first",mode:a.mode})]):Gt[0].type!=="first"?Qe.push([new Br({type:"first",mode:a.mode}),...Gt]):(console.assert(!Gt.slice(1).some(an=>an.type==="first")),Qe.push(Gt)),Te+=1}re.push(Qe)}}re.length>0&&re[re.length-1].length===1&&re[re.length-1][0].length===1&&re[re.length-1][0][0].type==="first"&&re.pop();const se=[];for(const Ae of re){if(Ae.length!==ee)for(let Te=Ae.length;Te<ee;Te++)Ae.push([new Br({type:"first",mode:a.mode}),new ka]);se.push(Ae)}let ge=0,xe=0;for(const Ae of se){xe=0;for(const Te of Ae){for(const Qe of Te)Qe.parent=a,Qe.parentBranch=[ge,xe];xe+=1}ge+=1}return a.isDirty=!0,se}var Xa=class Bp extends Br{constructor(y,b,E,ee={}){var re;super({type:"array"}),this.environmentName=y,this.rowGaps=E,ee.mathstyleName&&(this.mathstyleName=ee.mathstyleName),ee.columns&&(ee.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ee.columns),this.colFormat||(this.colFormat=[{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"}]),this.array=wl(this,b,this.colFormat),ee.leftDelim&&(this.leftDelim=ee.leftDelim),ee.rightDelim&&(this.rightDelim=ee.rightDelim),ee.arraycolsep!==void 0&&(this.arraycolsep=ee.arraycolsep),this.colSeparationType=ee.colSeparationType,ee.arraystretch!==void 0&&(this.arraystretch=ee.arraystretch),this.minColumns=(re=ee.minColumns)!=null?re:1}static fromJson(y){return new Bp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=me(ye({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(E=>E.map(ee=>ee.toJson()))),rowGaps:this.rowGaps,columns:this.colFormat,colSeparationType:this.colSeparationType});return this.arraystretch!==void 0&&(y.arraystretch=this.arraystretch),this.arraycolsep!==void 0&&(y.arraycolsep=this.arraycolsep),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}branch(y){var b;if(Vu(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return Vu(y)?(this.isDirty=!0,(b=this.branch(y))!=null?b:[]):[]}get rowCount(){return this.array.length}get colCount(){return this.array[0].length}get maxColumns(){return this.colFormat.filter(y=>!!y.align).length}removeBranch(y){if(Zl(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(E=>{E.parent=void 0,E.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const E of b)if(E)for(const ee of E)y.push(...ee.children),y.push(ee);return[...y,...super.children]}render(y){var b,E,ee,re,se,ge;const xe=new vo({parent:y,mathstyle:this.mathstyleName},this.style),Ae=xe.getRegisterAsEm("arrayrulewidth"),Te=xe.getRegisterAsEm("arraycolsep"),Qe=xe.getRegisterAsEm("doublerulesep"),bt=(E=(b=this.arraystretch)!=null?b:xe.getRegisterAsNumber("arraystretch"))!=null?E:1;let Gt=typeof this.arraycolsep=="number"?this.arraycolsep:Te;this.colSeparationType==="small"&&(Gt=.2778*(new vo({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const an=bt*sc,cr=.7*an,di=.3*an;let ar=0;const Zr=[];let hi=0;const $r=this.array.length;for(let os=0;os<$r;++os){const Is=this.array[os];hi=Math.max(hi,Is.length);const il=new vo({parent:xe,mathstyle:this.mathstyleName},this.style);let ec=cr/il.scalingFactor,tc=di/il.scalingFactor;const nc={cells:[],height:0,depth:0,pos:0};for(const Ou of Is){const e0=(ee=Br.createBox(il,Ou,{type:"ignore"}))!=null?ee:new ci(null,{type:"ignore"});tc=Math.max(tc,e0.depth),ec=Math.max(ec,e0.height),nc.cells.push(e0)}let rc=(re=Gc(this.rowGaps[os]))!=null?re:0;rc>0&&(rc+=di,tc=Math.max(tc,rc),rc=0),os<$r-1&&!bl(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(tc+=xe.getRegisterAsEm("jot")),nc.height=ec,nc.depth=tc,ar+=ec,nc.pos=ar,ar+=tc+rc,Zr.push(nc)}const Yi=ar/2+qs,xa=[];for(let os=0;os<hi;os++){const Is=[];for(const il of Zr){const ec=il.cells[os];ec.depth=il.depth,ec.height=il.height,Is.push({box:ec,shift:il.pos-Yi})}Is.length>0&&xa.push(new Vo({individualShift:Is}))}const fa=[];let Eo=!1,Xo=!1,wi=0,cu=!this.leftDelim;const{colFormat:$u}=this;for(const os of $u){if("align"in os&&wi>=xa.length)break;if("align"in os)Eo?fa.push(ws(2*Gt)):(Xo||cu)&&fa.push(ws(Gt)),fa.push(new ci(xa[wi],{classes:"col-align-"+os.align})),wi++,Eo=!0,Xo=!1,cu=!1;else if("gap"in os){if(typeof os.gap=="number")fa.push(ws(os.gap));else{const Is=Ms(y,Zr,Yi,os.gap);Is&&fa.push(Is)}Eo=!1,Xo=!1,cu=!1}else if("separator"in os){const Is=new ci(null,{classes:"vertical-separator"});Is.height=ar,Is.setStyle("height",ar,"em"),Is.setStyle("border-right",`${Ae}em ${os.separator} currentColor`),Is.setStyle("vertical-align",-(ar-Yi),"em");let il=0;Xo?il=Qe-Ae:Eo&&(il=Gt-Ae),Is.left=il,fa.push(Is),Eo=!1,Xo=!0,cu=!1}}Eo&&!this.rightDelim&&fa.push(ws(Gt));const Cu=new ci(fa,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(Cu.caret=this.caret),this.bind(y,Cu);const rl=Cu.height,du=Cu.depth,Rl=this.bind(y,new ci([this.bind(y,Mi("open",(se=this.leftDelim)!=null?se:".",rl,du,xe,{isSelected:this.isSelected})),Cu,this.bind(y,Mi("close",(ge=this.rightDelim)!=null?ge:".",rl,du,xe,{isSelected:this.isSelected}))],{type:"ord"}));return Rl?(Rl.setStyle("display","inline-block"),this.caret&&(Rl.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Rl}))):null}_serialize(y){var b;const E=[];if(this.environmentName==="lines"?E.push("{\\displaylines"):E.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(E.push("{"),this.colFormat!==void 0)for(const ee of this.colFormat)"align"in ee&&typeof ee.align=="string"?E.push(ee.align):"separator"in ee&&ee.separator==="solid"?E.push("|"):"separator"in ee&&ee.separator==="dashed"&&E.push(":");E.push("}")}for(let ee=0;ee<this.array.length;ee++){for(let re=0;re<this.array[ee].length;re++)re>0&&E.push(" & "),E.push(Br.serialize(this.array[ee][re],y));if(ee<this.array.length-1){const re=this.rowGaps[ee];re!=null&&re.dimension?E.push(`\\\\[${re.dimension} ${(b=re.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),so(E)}getCell(y,b){return this.array[y][b]}setCell(y,b,E){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const re of this.array[y][b])re.parent=void 0,re.parentBranch=void 0;let ee=E;(E.length===0||E[0].type!=="first")&&(ee=[new Br({type:"first",mode:this.mode}),...E]),this.array[y][b]=ee;for(const re of ee)re.parent=this,re.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(As(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const se of re)se.parentBranch=[E,ee]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(As(this));this.array.splice(y+1,0,b);for(let E=y+1;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const se of re)se.parentBranch=[E,ee]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const E of b)for(const ee of E)if(ee)for(const re of ee)re.parent=void 0,re.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const se of re)se.parentBranch=[E,ee]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,As(this));for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const re of ee)re.parentBranch=[b,E]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,As(this));for(let b=0;b<this.rowCount;b++)for(let E=y+1;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const re of ee)re.parentBranch=[b,E]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const E=b.splice(y,1);for(const ee of E)if(ee)for(const re of ee)re.parent=void 0,re.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const re of ee)re.parentBranch=[b,E]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const E of b)E&&y.push(E.filter(ee=>ee.type!=="first"));return y}};function As(a){const y=new Br({type:"first",mode:a.mode});y.parent=a;const b=new ka;return b.parent=a,[y,b]}function ws(a){const y=new ci(null,{classes:"arraycolsep"});return y.width=a,y}function Ms(a,y,b,E){if(!E)return null;const ee=[];for(const re of y){const se=Br.createBox(a,E,{type:"ignore"});se&&(se.depth=re.depth,se.height=re.height,ee.push({box:se,shift:re.pos-b}))}return new Vo({individualShift:ee}).wrap(a)}var Fs=class Lp extends Br{constructor(y){super({mode:y.mode,command:y.command,style:y.style,body:y.body,type:"box"}),this.framecolor=y.framecolor,this.backgroundcolor=y.backgroundcolor,this.padding=y.padding,this.offset=y.offset,this.border=y.border}static fromJson(y){return new Lp(y)}toJson(){return me(ye({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,ee,re;const se=Br.createBox(y,this.body,{type:"lift"});if(!se)return null;const ge=y.toEm((b=this.offset)!=null?b:{dimension:0});se.depth+=ge,se.setStyle("display","inline-block"),se.setStyle("position","relative"),se.setStyle("height",Math.floor(100*se.height+se.depth)/100,"em"),se.setStyle("vertical-align",-Math.floor(100*se.height)/100,"em");const xe=new vo({parent:y},this.style),Ae=xe.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),Te=new ci(null,{classes:"ML__box"});Te.height=se.height+Ae,Te.depth=se.depth+Ae,Te.setStyle("box-sizing","border-box"),Te.setStyle("position","absolute"),Te.setStyle("top",-Ae+.3,"em"),Te.setStyle("left",0),Te.setStyle("height",Te.height+Te.depth,"em"),Te.setStyle("width","100%"),this.backgroundcolor&&Te.setStyle("background-color",(ee=xe.toColor(this.backgroundcolor))!=null?ee:"transparent"),this.framecolor&&Te.setStyle("border",`${xe.getRegisterAsEm("fboxrule",2)}em solid ${(re=xe.toColor(this.framecolor))!=null?re:"black"}`),this.border&&Te.setStyle("border",this.border);const Qe=new ci([Te,se],{type:"lift"});return Qe.setStyle("display","inline-block"),Qe.setStyle("position","relative"),Qe.setStyle("line-height",0),Qe.height=se.height+Ae+(ge>0?ge:0),Qe.depth=se.depth+Ae+(ge<0?-ge:0),Qe.setStyle("padding-left",Ae,"em"),Qe.setStyle("padding-right",Ae,"em"),Qe.setStyle("height",Math.floor(100*(se.height+se.depth+2*Ae+Math.abs(ge)))/100,"em"),Qe.setStyle("margin-top",-Ae,"em"),Qe.setStyle("top",Math.floor(100*(se.depth-se.height+2*Ae-ge))/100,"em"),Qe.setStyle("vertical-align",Math.floor(100*(se.depth+2*Ae))/100,"em"),this.caret&&(Qe.caret=this.caret),this.attachSupsub(y,{base:Qe})}_serialize(y){return y.skipStyles?so([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},mc=class Fp extends Br{constructor(y,b){var E;super({type:"composition",mode:(E=b==null?void 0:b.mode)!=null?E:"math",value:y})}static fromJson(y){return new Fp(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new ci(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},kl=class Pp extends Br{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Pp(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},el=class Ip extends Br{constructor(y,b,E){super({type:"group",mode:b,style:E}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new Ip(y.body,y.mode,y.style)}render(y){const b=Br.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Ro=class Tp extends Br{constructor(y,b,E){super({type:"leftright",style:E.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=E.leftDelim,this.rightDelim=E.rightDelim}static fromJson(y){var b;return new Tp((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,E;const ee=this.matchingRightDelim();return this.variant==="left...right"?so(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ee]):this.variant==="mleft...mright"?so(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",ee]):so([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ee])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const E=(y=this.leftDelim)!=null?y:".";return(b=ne[E])!=null?b:E}render(y){var b,E;const ee=new vo({parent:y},this.style);console.assert(this.body!==void 0);const re=new vo({parent:y,mathstyle:"textstyle"},this.style),se=(b=Br.createBox(ee,this.body,{type:"inner"}))!=null?b:new ci(null,{type:"inner"}),ge=se.height/re.scalingFactor,xe=se.depth/re.scalingFactor,Ae=[];if(this.leftDelim&&Ae.push(this.bind(re,Mi("open",this.leftDelim,ge,xe,re,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),se&&(Vs(se.children,this,ee,ge,xe),Ae.push(se)),this.rightDelim){let Gt=this.containsCaret?" ML__contains-caret":"",an=this.rightDelim;an==="?"&&(ee.smartFence?(an=this.matchingRightDelim(),Gt+=" ML__smart-fence__close"):an="."),Ae.push(this.bind(re,Mi("close",an,ge,xe,re,{isSelected:this.isSelected,classes:Gt+" ML__close",mode:this.mode,style:this.style})))}let Te=this.variant==="mleft...mright";const Qe=this.leftSibling;Qe&&(!Te&&Qe.isFunction&&(Te=!0),!Te&&Qe.type==="subsup"&&((E=Qe.leftSibling)!=null&&E.isFunction)&&(Te=!0));const bt=new ci(Ae,{type:Te?"close":"inner",classes:"left-right"});return bt.setStyle("margin-top",`${-se.depth}em`),bt.setStyle("height",`${se.height+se.depth}em`),this.caret&&(bt.caret=this.caret),this.bind(ee,bt.wrap(ee))}};function Vs(a,y,b,E,ee){if(a)for(let re=0;re<a.length;re++){const se=a[re];se.type==="middle"?(a[re]=y.bind(b,Mi("inner",se.value,E,ee,b,{isSelected:y.isSelected})),a[re].caret=se.caret,a[re].isSelected=se.isSelected,a[re].cssId=se.cssId,a[re].htmlData=se.htmlData,a[re].htmlStyle=se.htmlStyle,a[re].attributes=se.attributes,a[re].cssProperties=se.cssProperties):se.children&&Vs(se.children,y,b,E,ee)}}var bd=class Op extends Br{constructor(y,b){var E;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(E=b.expand)!=null?E:!1}static fromJson(y){return new Op(y.command,y)}toJson(){const y=super.toJson();return this.expand&&(y.expand=!0),this.captureSelection!==void 0&&(y.captureSelection=this.captureSelection),this.macroArgs&&(y.args=this.macroArgs),y}_serialize(y){var b;return y.expandMacro&&this.expand?this.bodyToLatex(y):this.command+((b=this.macroArgs)!=null?b:"")}render(y){const b=Br.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Iu=class Np extends Br{constructor(){super({type:"macro-argument"})}static fromJson(y){return new Np}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},Gu=class Rp extends Br{constructor(y,b,E=!1,ee,re){var se;super({type:"prompt",mode:(se=re==null?void 0:re.mode)!=null?se:"math",style:re==null?void 0:re.style,command:"\\placeholder"}),this.body=ee,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new Rp(y.placeholderId,y.correctness,y.locked,y.body,y)}toJson(){const y=super.toJson();return this.placeholderId&&(y.placeholderId=this.placeholderId),this.body||delete y.body,this.body&&(y.body=this.body.filter(b=>b.type!=="first").map(b=>b.toJson())),this.correctness&&(y.correctness=this.correctness),y.locked=this.locked,y}render(y){const b=new vo({parent:y}),E=b.getRegisterAsEm("fboxsep"),ee=E,re=E,se=Br.createBox(y,this.body);if(!se)return null;se.height||(se.height=b.metrics.xHeight),se.setStyle("vertical-align",-se.height,"em"),this.correctness==="correct"?se.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&se.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const ge=new ci(se,{type:"ord"});ge.setStyle("display","inline-block"),ge.setStyle("height",se.height+se.depth,"em"),ge.setStyle("vertical-align",-re,"em");let xe="ML__prompt ";this.locked?xe+=" ML__lockedPromptBox ":xe+=" ML__editablePromptBox ",this.correctness==="correct"?xe+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(xe+=" ML__incorrectPromptBox "),this.containsCaret&&(xe+=" ML__focusedPromptBox ");const Ae=new ci(null,{classes:xe,attributes:{part:"prompt"}});Ae.height=ge.height+re,Ae.depth=ge.depth+re,Ae.width=ge.width+2*ee,Ae.setStyle("box-sizing","border-box"),Ae.setStyle("position","absolute"),Ae.setStyle("height",ge.height+ge.depth+2*re,"em"),ee===0&&Ae.setStyle("width","100%"),ee!==0&&(Ae.setStyle("width",`calc(100% + ${2*ee}em)`),Ae.setStyle("top",E,"em"),Ae.setStyle("left",-ee,"em")),(!this.body||this.body.length===1)&&(Ae.width=3*ee,Ae.setStyle("width",`calc(100% + ${3*ee}em)`),Ae.setStyle("left",-1.5*ee,"em"));let Te="";this.correctness==="incorrect"&&(Te+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),Te&&(Ae.svgOverlay=Te);const Qe=new ci([Ae,ge],{classes:"ML__prompt-atom"});return Qe.setStyle("position","relative"),Qe.setStyle("display","inline-block"),Qe.setStyle("line-height",0),Qe.height=ge.height+re+.2,Qe.depth=ge.depth+re,Qe.left=ee,Qe.right=ee,Qe.setStyle("height",ge.height+re,"em"),Qe.setStyle("top",ge.depth-ge.height,"em"),Qe.setStyle("vertical-align",ge.depth+re,"em"),Qe.setStyle("margin-left",.5,"em"),Qe.setStyle("margin-right",.5,"em"),this.caret&&(Qe.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:Qe}))}_serialize(y){var b;const E=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return E;let ee="\\placeholder";return this.placeholderId&&(ee+=`[${this.placeholderId}]`),this.correctness==="correct"?ee+="[correct]":this.correctness==="incorrect"&&(ee+="[incorrect]"),this.locked&&(ee+="[locked]"),No(ee,E)}},xu=class zp extends Br{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new zp(y);for(const E of ju)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new vo({parent:y,isPhantom:!0}),ee=this.leftSibling,re=(b=ee.render(E))!=null?b:new ci(null),se=new ci(null);return se.height=re.height,se.depth=re.depth,this.attachSupsub(y,{base:se,isCharacterBox:ee.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function Rs(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var gc=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,ee,re,se;b!=null||(b={}),this.tokens=a,this.context=y instanceof vo&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new vo({from:y,mathstyle:b.mathstyle},b.style),this.args=(E=b.args)!=null?E:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(ee=b.style)!=null?ee:{},parseMode:(re=b.parseMode)!=null?re:"math",mathstyle:(se=b.mathstyle)!=null?se:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const ee=this.parsingContext,re={parent:ee,mathlist:[],style:ye({},ee.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ee.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ee.mathstyle,tabular:(E=a==null?void 0:a.tabular)!=null?E:!1};this.parsingContext=re}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(ye({before:tu(this.tokens.slice(this.index,this.index+10)),after:tu(this.tokens.slice(Math.max(0,this.index-10),this.index))},a))}get mathlist(){return this.parsingContext.mathlist}set mathlist(a){this.parsingContext.mathlist=a}get parseMode(){return this.parsingContext.parseMode}set parseMode(a){this.parsingContext.parseMode=a}get tabularMode(){return this.parsingContext.tabular}get style(){let a=this.parsingContext;for(;a;){if(a.style)return ye({},a.style);a=a.parent}return{}}set style(a){this.parsingContext.style=a}end(){return this.endCount++,this.index>=this.tokens.length||this.endCount>1e3}next(){this.index+=1}get(){return this.endCount=0,this.index<this.tokens.length?this.tokens[this.index++]:""}peek(){return this.tokens[this.index]}match(a){return this.tokens[this.index]===a?(this.index++,!0):!1}lastSubsupAtom(){let a;return this.mathlist.length>0&&(a=this.mathlist[this.mathlist.length-1],a.type==="subsup"||a.subsupPlacement!==void 0)||(a=new xu({style:this.style}),this.mathlist.push(a)),a}hasPattern(a){return a.test(this.tokens[this.index])}hasInfixCommand(){var a;const{index:y}=this;if(y<this.tokens.length&&this.tokens[y].startsWith("\\")){const b=It(this.tokens[y],this.parseMode);return!b||b.definitionType==="symbol"||b.ifMode&&!b.ifMode.includes(this.parseMode)?!1:(a=b.infix)!=null?a:!1}return!1}matchColumnSeparator(){return!this.tabularMode||this.peek()!=="&"?!1:(this.index++,!0)}matchRowSeparator(){if(!this.tabularMode)return!1;const a=this.peek();return a!=="\\\\"&&a!=="\\cr"&&a!=="\\tabularnewline"?!1:(this.index++,!0)}placeholder(){var a;const y=(a=this.args)==null?void 0:a.call(this,"?");return y?tl(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new ka({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),E="";for(;!b;){const re=this.get();Rs(re)?(E+=re,b=this.end()||E.length>=a.length):b=!0}const ee=a.toUpperCase()===E.toUpperCase();return ee||(this.index=y),ee}scanString(){let a="";for(;!this.end();){const y=this.peek();if(y==="]")return a;if(y==="<space>")a+=" ";else if(y.startsWith("\\"))this.onError({code:"unexpected-command-in-string"}),a+=y.substring(1);else if(Rs(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const E=this.get();E==="<space>"?a+=" ":E==="<{>"?(a+="{",b+=1):E==="<}>"?(b-=1,b>0?a+="}":this.index-=1):E==="<$>"?a+="$":E==="<$$>"?a+="$$":a+=E,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const E=this.get();E==="<}>"?(b-=1,b>0&&(y+="}")):E==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(E)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[E])!=null?a:E)}return y}scanNumber(a=!0){var y,b;let E=!1,ee=this.peek();for(;ee==="<space>"||ee==="+"||ee==="-";)this.get(),ee==="-"&&(E=!E),ee=this.peek();a=!!a;let re=10,se=/\d/;if(this.match("'"))re=8,se=/[0-7]/,a=!0;else if(this.match('"'))re=16,se=/[\dA-F]/,a=!0;else if(this.match("x"))re=16,se=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ee=this.get(),ee?ee.length===2&&ee.startsWith("\\")?{number:(E?-1:1)*((y=ee.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(E?-1:1)*((b=ee.codePointAt(0))!=null?b:0),base:"alpha"}:null;let ge="";for(;this.hasPattern(se);)ge+=this.get();if(!a&&(this.match(".")||this.match(",")))for(ge+=".";this.hasPattern(se);)ge+=this.get();const xe=a?Number.parseInt(ge,re):Number.parseFloat(ge);return Number.isNaN(xe)?null:{number:E?-xe:xe,base:re===16?"hexadecimal":re===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let E=!1;if(b===null)for(;;){const re=this.peek();if(re==="-")E=!E;else if(re!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const re=this.get();return re.startsWith("\\")?b?{register:re,global:!0,factor:(E?-1:1)*b.number}:E?{register:re,global:!0,factor:-1}:{register:re,global:!0}:(this.index=y,null)}let ee=this.get();return ee!=null&&ee.startsWith("\\")?(ee=ee.substring(1),this.context.registers[ee]?!E||b!==null?{register:ee,factor:(E?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ee}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const E=this.scanNumber();if(E)return E;if(this.end()||!Rs(this.peek()))return null;const ee=this.scanString();return ee.length>0?{string:ee}:null}scanDimen(){const a=this.scanNumber(!1);if(a===null)return null;const y=a.number;this.skipWhitespace(),this.matchKeyword("true"),this.skipWhitespace();let b;return this.matchKeyword("pt")?b="pt":this.matchKeyword("mm")?b="mm":this.matchKeyword("cm")?b="cm":this.matchKeyword("ex")?b="ex":this.matchKeyword("px")?b="px":this.matchKeyword("em")?b="em":this.matchKeyword("bp")?b="bp":this.matchKeyword("dd")?b="dd":this.matchKeyword("pc")?b="pc":this.matchKeyword("in")?b="in":this.matchKeyword("mu")&&(b="mu"),b?{dimension:y,unit:b}:{dimension:y}}scanGlueOrDimen(){const a=this.scanDimen();if(a===null)return null;if(this.skipWhitespace(),this.match("\\relax"))return a;const y={glue:a};if(this.matchKeyword("plus")){const b=this.scanDimen();if(b)y.grow=b;else return y}if(this.skipWhitespace(),this.match("\\relax"))return y;if(this.skipWhitespace(),this.matchKeyword("minus")){const b=this.scanDimen();if(b)y.shrink=b;else return y}return!y.grow&&!y.shrink?a:y}scanColspec(){this.skipWhitespace();const a=[];for(;!this.end()&&!(this.peek()==="<}>"||this.peek()==="]");){const y=this.get();y==="c"||y==="r"||y==="l"?a.push({align:y}):y==="|"?a.push({separator:"solid"}):y===":"?a.push({separator:"dashed"}):y==="@"&&(this.match("<{>")&&(this.beginContext({mode:"math"}),a.push({gap:this.scan(b=>b==="<}>")}),this.endContext()),this.match("<}>")||this.onError({code:"unbalanced-braces"}))}return a}scanModeSet(){let a;if(this.match("\\(")&&(a="textstyle"),!a&&this.match("\\[")&&(a="displaystyle"),!a)return null;this.beginContext({mode:"math",mathstyle:a});const y=this.scan(b=>b===(a==="displaystyle"?"\\]":"\\)"));return this.match(a==="displaystyle"?"\\]":"\\)")||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanModeShift(){let a="";if(this.match("<$>")&&(a="<$>"),!a&&this.match("<$$>")&&(a="<$$>"),!a)return null;this.beginContext({mode:"math",mathstyle:"textstyle"});const y=this.scan(b=>b===a);return this.match(a)||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanEnvironment(){if(!this.match("\\begin"))return null;const a=this.scanArgument("string");if(!a)return null;const y=Et(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const ge of y.params)if(ge.isOptional)b.push(this.scanOptionalArgument(ge.type));else{const xe=this.scanArgument(ge.type);xe||this.onError({code:"missing-argument",arg:a}),b.push(xe)}this.beginContext({tabular:y.tabular});const E=[],ee=[];let re=[],se=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),se=!0),!se&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),se=!0),!se)if(this.matchColumnSeparator())re.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){re.push(this.mathlist),this.mathlist=[];let ge=null;this.skipWhitespace(),this.match("[")&&(ge=this.scanDimen(),this.skipWhitespace(),this.match("]")),ee.push(ge!=null?ge:{dimension:0}),E.push(re),re=[]}else this.mathlist.push(...this.scan(ge=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(ge)));while(!se);return re.push(this.mathlist),re.length>0&&E.push(re),this.endContext(),y.createAtom(a,E,ee,b)}scanExpression(){const a=this.mathlist;if(this.mathlist=[],this.parseExpression()){const y=this.mathlist;return this.mathlist=a,y}return this.mathlist=a,null}scan(a){this.beginContext(),a||(a=se=>se==="<}>");let y="",b=null,E=[],ee=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=It(y,"math"),b&&(E=this.scanArguments(b)[1]),ee=this.mathlist,this.mathlist=[]):this.parseExpression();let re;return y?(console.assert(!!b),E.unshift(this.mathlist),ee&&E.unshift(ee),re=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):re=this.mathlist,this.endContext(),re}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(E=>E==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new el(y,this.parseMode,this.style);return b.verbatimLatex=tu(this.tokens.slice(a,this.index)),b}scanSmartFence(){if(this.skipWhitespace(),!this.match("("))return null;this.beginContext();let a=1;for(;!this.end()&&a!==0;)this.match("(")&&(a+=1),this.match(")")&&(a-=1),a!==0&&this.parseExpression();const y=new Ro("",this.mathlist,{leftDelim:"(",rightDelim:a===0?")":"?"});return this.endContext(),y}scanDelim(){this.skipWhitespace();const a=this.peek();if(!a)return this.onError({code:"unexpected-end-of-string"}),null;if(!Rs(a)&&!a.startsWith("\\"))return null;this.next();const y=It(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new kl("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new kl("\\mright");let y="\\right";if(!this.match("\\left")){if(!this.match("\\mleft"))return null;y="\\mright"}const b=this.scanDelim();if(!b)return this.onError({code:"unexpected-delimiter"}),new kl(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const E=this.mathlist;this.endContext();const ee=(a=this.scanDelim())!=null?a:".";return new Ro(y==="\\right"?"left...right":"mleft...mright",E,{leftDelim:b,rightDelim:ee,style:this.style})}parseSupSub(){if(this.parseMode!=="math")return!1;let a=this.peek();if(a!=="^"&&a!=="_"&&a!=="'")return!1;const y=this.lastSubsupAtom();for(;a==="^"||a==="_"||a==="'";)this.match("'")?this.match("'")?y.addChild(new Br({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new Br({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(ft(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const E=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return E===null?!1:(E.explicitSubsupPlacement=!0,a&&(E.subsupPlacement="over-under"),y&&(E.subsupPlacement="adjacent"),b&&(E.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let E=a.infix?2:0;for(;E<a.params.length;){const ee=a.params[E];ee.type==="rest"?b.push(this.scan(re=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(re))):ee.isOptional?b.push(this.scanOptionalArgument(ee.type)):ee.type.endsWith("*")?y=ee.type.slice(0,-1):b.push(this.scanArgument(ee.type)),E+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(Rs(a)){const b=ll.createAtom(this.parseMode,a,ye({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=It(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new kl(a)];if(b.definitionType==="symbol"){const E=ye({},this.style);b.variant&&(E.variant=b.variant),y=new Br({type:b.type,command:a,style:E,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new kl(a)];b.createAtom&&(y=b.createAtom({command:a,args:[],style:this.style,mode:this.parseMode}))}}return y?[y]:null}scanArgument(a){var y;this.skipFiller();const b=this.parseMode;if(a==="auto"&&(a=b),!this.match("<{>")){if(a==="string")return this.scanString();if(a==="value")return this.scanValue();if(a==="delim")return(y=this.scanDelim())!=null?y:".";if(a==="expression")return this.scanExpression();if(a==="math"){a!==b&&this.beginContext({mode:"math"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}return a==="balanced-string"||console.assert(!1),null}if(a==="text"){this.beginContext({mode:"text"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}let E=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}return a==="string"?E=this.scanString():a==="balanced-string"?E=this.scanBalancedString():a==="colspec"?E=this.scanColspec():a==="value"&&(E=this.scanValue()),this.skipUntilToken("<}>"),E}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},E=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ee of E){const re=ee.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(re)b.padding={dimension:parseInt(re[1]),unit:re[2]};else{const se=ee.match(/^\s*border\s*:\s*(.*)/);se?b.border=se[1]:b.backgroundcolor={string:ee}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,E;if(a==="\\placeholder"){const ge=this.scanOptionalArgument("string"),xe=this.scanOptionalArgument("math"),Ae=Br.serialize(xe,{defaultMode:"math"});let Te=[],Qe;!Qe&&Ae==="correct"?Qe="correct":!Qe&&Ae==="incorrect"?Qe="incorrect":Ae!==""&&(Te=xe);const bt=this.scanOptionalArgument("string")==="locked",Gt=this.scanArgument("auto");let an;return Gt&&Array.isArray(Gt)&&Gt.length>0?an=Gt:Gt&&typeof Gt=="object"&&"group"in Gt?an=Gt.group:an=Te,ge?[new Gu(ge,Qe,bt,an!=null?an:Te,{mode:this.parseMode,style:this.style})]:[new ka({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const ge=this.index,xe=this.scanLiteralGroup()||this.next();if(!xe)return null;if(this.context.registers[xe.substring(1)]){const Ae=this.scanArgument("string");Ae!==null&&(this.context.registers[xe.substring(1)]=Ae);const Te=so([a,tu(this.tokens.slice(ge,this.index))]);return[new Br({type:"text",value:"",verbatimLatex:Te})]}}let ee=this.scanMacro(a);if(ee)return[ee];const re=It(a,this.parseMode);if(!re)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(ge=>new Br({type:"text",value:ge,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new kl(a)]);const se=this.index;if(re.definitionType==="symbol"){const ge=ye({},this.style);re.variant&&(ge.variant=re.variant),ee=new Br({type:re.type,command:a,style:ge,value:String.fromCodePoint(re.codepoint),mode:this.parseMode})}else{if(re.ifMode&&!re.ifMode.includes(this.parseMode))return[];const ge=this.parseMode;re.applyMode&&(this.parseMode=re.applyMode);let xe,Ae=[];if(re.parse?Ae=re.parse(this):[xe,Ae]=this.scanArguments(re),this.parseMode=ge,re.applyMode&&!re.applyStyle&&!re.createAtom)return ft(Ae[0]);if(re.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof re.createAtom=="function")ee=re.createAtom({command:a,args:Ae,style:this.style,mode:this.parseMode}),xe&&(ee.body=ft(this.scanArgument(xe)));else if(typeof re.applyStyle=="function"){const Te=ye(ye({},this.style),re.applyStyle(a,Ae,this.context)),Qe=this.parseMode;if(re.applyMode&&(this.parseMode=re.applyMode),xe){const bt=this.style;this.style=Te;const Gt=this.scanArgument(xe);return this.style=bt,this.parseMode=Qe,ft(Gt)}this.style=Te}else ee=new Br({type:"mord",command:(b=re.command)!=null?b:a,style:ye({},this.style),value:a,mode:(E=re.applyMode)!=null?E:this.parseMode})}if(!ee)return null;if(ee instanceof Br&&ee.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const ge=so([a,tu(this.tokens.slice(se,this.index))]);ge&&(ee.verbatimLatex=ge)}if(ee.verbatimLatex===null&&(ee.verbatimLatex=void 0),ee.isFunction&&this.smartFence){const ge=this.scanSmartFence();if(ge)return[ee,ge]}return[ee]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(Rs(a)){const y=ll.createAtom(this.parseMode,a,ye({},this.style));if(!y)return null;if(y.isFunction&&this.smartFence){const b=this.scanSmartFence();if(b)return[y,b]}return[y]}return a.startsWith("\\")?this.scanSymbolOrCommand(a):a==="<space>"?this.parseMode==="text"?[new iu(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const E=this.index,ee=b.args,re={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let se=1;se<=ee;se++){let ge=this.scanLiteralGroup();if(!ge){const xe=this.index;this.scanExpression(),ge=tu(this.tokens.slice(xe,this.index))}re[se]=ge}return new bd(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:tu(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:tl(b.def,{context:this.context,parseMode:this.parseMode,args:se=>re[se],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,E;let ee=(E=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?E:this.scanLeftRight();if(ee===null){if(this.parseSupSub()||this.parseLimits())return!0;ee=this.scanSymbolCommandOrLiteral()}return ee?(Array.isArray(ee)?this.mathlist.push(...ee):this.mathlist.push(ee),!0):!1}};function tl(a,y){var b,E,ee,re;const se=(b=y==null?void 0:y.args)!=null?b:void 0,ge=new gc(eu(a,se),y==null?void 0:y.context,{args:se,mathstyle:(E=y==null?void 0:y.mathstyle)!=null?E:"displaystyle",parseMode:(ee=y==null?void 0:y.parseMode)!=null?ee:"math",style:(re=y==null?void 0:y.style)!=null?re:{}}),xe=[];for(;!ge.end();)xe.push(...ge.scan(()=>!1));return xe}function t0(a,y){var b;const E=new gc(eu(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!E.end();)E.scan();return E.errors}var n0=class Hp extends Br{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=vs.go(ai.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=tl(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new Hp(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return me(ye({},super.toJson()),{arg:this.arg})}render(y){const b=Br.createBox(y,this.body,{type:"inner"});return this.caret&&(b.caret=this.caret),this.bind(y,b)}_serialize(y){return console.assert(this.verbatimLatex!==void 0),this.verbatimLatex}};rn(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new n0(a.command,(y=a.args[0])!=null?y:"")}});var ai={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",E={};E.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var ee,re=10,se=[];;){ee!==a?(re=10,ee=a):re--;var ge=ai.stateMachines[y],xe=ge.transitions[b]||ge.transitions["*"];e:for(var Ae=0;Ae<xe.length;Ae++){var Te=ai.patterns.match_(xe[Ae].pattern,a);if(Te){for(var Qe=xe[Ae].task,bt=0;bt<Qe.action_.length;bt++){var Gt;if(ge.actions[Qe.action_[bt].type_])Gt=ge.actions[Qe.action_[bt].type_](E,Te.match_,Qe.action_[bt].option);else if(ai.actions[Qe.action_[bt].type_])Gt=ai.actions[Qe.action_[bt].type_](E,Te.match_,Qe.action_[bt].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+Qe.action_[bt].type_+")"];ai.concatArray(se,Gt)}if(b=Qe.nextState||b,a.length>0){if(Qe.revisit||(a=Te.remainder),!Qe.toContinue)break e}else return se}}if(re<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(a,y){if(y)if(Object.prototype.toString.call(y)==="[object Array]")for(var b=0;b<y.length;b++)a.push(y[b]);else a.push(y)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:(?:([eE])|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"(-)(9)^(-9)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"state of aggregation $":function(a){var y=ai.patterns.findObserveGroups(a,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(y&&y.remainder.match(/^($|[\s,;\)\]\}])/))return y;var b=a.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return b?{match_:b[0],remainder:a.substr(b[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(a){return ai.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return ai.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return ai.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return ai.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return ai.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return ai.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return ai.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return ai.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return ai.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return ai.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return ai.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return ai.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return ai.patterns.findObserveGroups(a,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(a){return ai.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return ai.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return ai.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return ai.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(a){return ai.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return ai.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return ai.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return ai.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return ai.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return ai.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return ai.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return ai.patterns.findObserveGroups(a,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(a){var y;if(y=a.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),y)return{match_:y[0],remainder:a.substr(y[0].length)};var b=ai.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,E,ee,re,se,ge,xe,Ae){var Te=function(ar,Zr){if(typeof Zr=="string")return ar.indexOf(Zr)!==0?null:Zr;var hi=ar.match(Zr);return hi?hi[0]:null},Qe=function(ar,Zr,hi){for(var $r=0;Zr<ar.length;){var Yi=ar.charAt(Zr),xa=Te(ar.substr(Zr),hi);if(xa!==null&&$r===0)return{endMatchBegin:Zr,endMatchEnd:Zr+xa.length};if(Yi==="{")$r++;else if(Yi==="}"){if($r===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];$r--}Zr++}return $r>0,null},bt=Te(a,y);if(bt===null||(a=a.substr(bt.length),bt=Te(a,b),bt===null))return null;var Gt=Qe(a,bt.length,E||ee);if(Gt===null)return null;var an=a.substring(0,E?Gt.endMatchEnd:Gt.endMatchBegin);if(re||se){var cr=this.findObserveGroups(a.substr(Gt.endMatchEnd),re,se,ge,xe);if(cr===null)return null;var di=[an,cr.match_];return{match_:Ae?di.join(""):di,remainder:cr.remainder}}else return{match_:an,remainder:a.substr(Gt.endMatchEnd)}},match_:function(a,y){var b=ai.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return ai.patterns.patterns[a](y);var E=y.match(b);if(E){var ee;return E[2]?ee=[E[1],E[2]]:E[1]?ee=E[1]:ee=E[0],{match_:ee,remainder:y.substr(E[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return ai.go(y,"text")},"{text}":function(a,y){var b=["{"];return ai.concatArray(b,ai.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return ai.go(y,"tex-math")},"tex-math tight":function(a,y){return ai.go(y,"tex-math tight")},bond:function(a,y,b){return{type_:"bond",kind_:b||y}},"color0-output":function(a,y){return{type_:"color0",color:y[0]}},ce:function(a,y){return ai.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var E=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return E[1]=E[1].replace(/\$/g,""),b.push({type_:"frac",p1:E[1],p2:E[2]}),E[3]&&(E[3]=E[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:E[3]})),b},"9,9":function(a,y){return ai.go(y,"9,9")}},createTransitions:function(a){var y,b,E,ee,re={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,ee=0;ee<E.length;ee++)re[E[ee]]=[];for(y in a)for(b in a[y])for(E=a[y][b].stateArray||[],ee=0;ee<E.length;ee++){var se=a[y][b];if(se.action_){se.action_=[].concat(se.action_);for(var ge=0;ge<se.action_.length;ge++)typeof se.action_[ge]=="string"&&(se.action_[ge]={type_:se.action_[ge]})}else se.action_=[];for(var xe=y.split("|"),Ae=0;Ae<xe.length;Ae++)if(E[ee]==="*")for(var Te in re)re[Te].push({pattern:xe[Ae],task:se});else re[E[ee]].push({pattern:xe[Ae],task:se})}return re},stateMachines:{}};ai.stateMachines={ce:{transitions:ai.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var E=a.d;a.d=void 0,b=this.output(a),a.b=E}else b=this.output(a);return ai.actions["o="](a,y),b},"d= kv":function(a,y){a.d=y,a.dType="kv"},"charge or bond":function(a,y){if(a.beginsWithBond){var b=[];return ai.concatArray(b,this.output(a)),ai.concatArray(b,ai.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=ai.patterns.match_("orbital",a.o||""),ee=ai.patterns.match_("one lowercase greek letter $",a.o||""),re=ai.patterns.match_("one lowercase latin letter $",a.o||""),se=ai.patterns.match_("$one lowercase latin letter$ $",a.o||""),ge=y==="-"&&(E&&E.remainder===""||ee||re||se);ge&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&re&&(a.o="$"+a.o+"$");var xe=[];return ge?(ai.concatArray(xe,this.output(a)),xe.push({type_:"hyphen"})):(E=ai.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(ai.concatArray(xe,ai.actions["d="](a,y)),ai.concatArray(xe,this.output(a))):(ai.concatArray(xe,this.output(a)),ai.concatArray(xe,ai.actions.bond(a,y,"-")))),xe},"a to o":function(a){a.o=a.a,a.a=void 0},"sb=true":function(a){a.sb=!0},"sb=false":function(a){a.sb=!1},"beginsWithBond=true":function(a){a.beginsWithBond=!0},"beginsWithBond=false":function(a){a.beginsWithBond=!1},"parenthesisLevel++":function(a){a.parenthesisLevel++},"parenthesisLevel--":function(a){a.parenthesisLevel--},"state of aggregation":function(a,y){return{type_:"state of aggregation",p1:ai.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),E=b!==y;return E&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var E;if(!a.r)E=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&E.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&ai.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),E.push({type_:"chemfive",a:ai.go(a.a,"a"),b:ai.go(a.b,"bd"),p:ai.go(a.p,"pq"),o:ai.go(a.o,"o"),q:ai.go(a.q,"pq"),d:ai.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ee;a.rdt==="M"?ee=ai.go(a.rd,"tex-math"):a.rdt==="T"?ee=[{type_:"text",p1:a.rd||""}]:ee=ai.go(a.rd);var re;a.rqt==="M"?re=ai.go(a.rq,"tex-math"):a.rqt==="T"?re=[{type_:"text",p1:a.rq||""}]:re=ai.go(a.rq),E={type_:"arrow",r:a.r,rd:ee,rq:re}}for(var se in a)se!=="parenthesisLevel"&&se!=="beginsWithBond"&&delete a[se];return E},"oxidation-output":function(a,y){var b=["{"];return ai.concatArray(b,ai.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:ai.go(y[0]),p2:ai.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:ai.go(y[0]),p2:ai.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:ai.go(y[0]),p2:ai.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:ai.go(y[0]),p2:ai.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:ai.go(y[1])}},"r=":function(a,y){a.r=y},"rdt=":function(a,y){a.rdt=y},"rd=":function(a,y){a.rd=y},"rqt=":function(a,y){a.rqt=y},"rq=":function(a,y){a.rq=y},operator:function(a,y,b){return{type_:"operator",kind_:b||y}}}},a:{transitions:ai.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:ai.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:ai.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(a){if(a.text_){var y={type_:"text",p1:a.text_};for(var b in a)delete a[b];return y}}}},pq:{transitions:ai.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(a,y){return{type_:"state of aggregation subscript",p1:ai.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:ai.go(y[1],"pq")}}}},bd:{transitions:ai.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(a,y){return{type_:"color",color1:y[0],color2:ai.go(y[1],"bd")}}}},oxidation:{transitions:ai.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(a,y){return{type_:"roman numeral",p1:y||""}}}},"tex-math":{transitions:ai.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"tex-math tight":{transitions:ai.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(a,y){a.o=(a.o||"")+"{"+y+"}"},output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"9,9":{transitions:ai.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:ai.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),y[1]&&(ai.concatArray(b,ai.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?ai.concatArray(b,ai.go(y[2],"pu-9,9")):b.push(y[2])),(y[3]||y[4])&&(y[3]==="e"||y[4]==="*"?b.push({type_:"cdot"}):b.push({type_:"times"}))),y[5]&&b.push("10^{"+y[5]+"}"),b},"number^":function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),ai.concatArray(b,ai.go(y[1],"pu-9,9")),b.push("^{"+y[2]+"}"),b},operator:function(a,y,b){return{type_:"operator",kind_:b||y}},space:function(){return{type_:"pu-space-1"}},output:function(a){var y,b=ai.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=ai.patterns.match_("{(...)}",a.q||"");if(E&&E.remainder===""&&(a.q=E.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var ee={d:ai.go(a.d,"pu"),q:ai.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ee.d,p2:ee.q}:(y=ee.d,ee.d.length>1||ee.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),ai.concatArray(y,ee.q))}else y=ai.go(a.d,"pu-2");for(var re in a)delete a[re];return y}}},"pu-2":{transitions:ai.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(a,y){a.rm+="^{"+y+"}"},space:function(){return{type_:"pu-space-2"}},output:function(a){var y=[];if(a.rm){var b=ai.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=ai.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:ai.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var E=a.text_.length-3;E>0;E-=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var ee in a)delete a[ee];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,E=0;E<b;E+=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(E))}else y.push(a.text_);for(var ee in a)delete a[ee];return y}}}};var vs={go:function(a,y){if(!a)return"";for(var b="",E=!1,ee=0;ee<a.length;ee++){var re=a[ee];typeof re=="string"?b+=re:(b+=vs._go2(re),re.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&vs.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:vs._goInner(a.a),b:vs._goInner(a.b),p:vs._goInner(a.p),o:vs._goInner(a.o),q:vs._goInner(a.q),d:vs._goInner(a.d)};b.a&&(b.a.match(/^[+\-]/)&&(b.a="{"+b.a+"}"),y+=b.a+"\\,"),(b.b||b.p)&&(y+="{\\vphantom{X}}",y+="^{\\hphantom{"+(b.b||"")+"}}_{\\hphantom{"+(b.p||"")+"}}",y+="{\\vphantom{X}}",y+="^{\\smash[t]{\\vphantom{2}}\\llap{"+(b.b||"")+"}}",y+="_{\\vphantom{2}\\llap{\\smash[t]{"+(b.p||"")+"}}}"),b.o&&(b.o.match(/^[+\-]/)&&(b.o="{"+b.o+"}"),y+=b.o),a.dType==="kv"?((b.d||b.q)&&(y+="{\\vphantom{X}}"),b.d&&(y+="^{"+b.d+"}"),b.q&&(y+="_{\\smash[t]{"+b.q+"}}")):a.dType==="oxidation"?(b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"),b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}")):(b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}"),b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"));break;case"rm":y="\\mathrm{"+a.p1+"}";break;case"text":a.p1.match(/[\^_]/)?(a.p1=a.p1.replace(" ","~").replace("-","\\text{-}"),y="\\mathrm{"+a.p1+"}"):y="\\text{"+a.p1+"}";break;case"roman numeral":y="\\mathrm{"+a.p1+"}";break;case"state of aggregation":y="\\mskip2mu "+vs._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+vs._goInner(a.p1);break;case"bond":if(y=vs._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var E="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+E+"}{"+E+"}{"+E+"}{"+E+"}";break;case"pu-frac":var ee="\\frac{"+vs._goInner(a.p1)+"}{"+vs._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ee+"}{"+ee+"}{"+ee+"}{"+ee+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+vs._goInner(a.p1)+"}{"+vs._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+vs._goInner(a.p1)+"}{"+vs._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+vs._goInner(a.p1)+"}{"+vs._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+vs._goInner(a.p1)+"}_{"+vs._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+vs._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var re={rd:vs._goInner(a.rd),rq:vs._goInner(a.rq)},se=vs._getArrow(a.r);re.rd||re.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(se="\\long"+se,re.rd&&(se="\\overset{"+re.rd+"}{"+se+"}"),re.rq&&(a.r==="<-->"?se="\\underset{\\lower2mu{"+re.rq+"}}{"+se+"}":se="\\underset{\\lower6mu{"+re.rq+"}}{"+se+"}"),se=" {}\\mathrel{"+se+"}{} "):(re.rq&&(se+="[{"+re.rq+"}]"),se+="{"+re.rd+"}",se=" {}\\mathrel{\\x"+se+"}{} "):se=" {}\\mathrel{\\long"+se+"}{} ",y=se;break;case"operator":y=vs._getOperator(a.kind_);break;case"1st-level escape":y=a.p1+" ";break;case"space":y=" ";break;case"entitySkip":y="~";break;case"pu-space-1":y="~";break;case"pu-space-2":y="\\mkern3mu ";break;case"1000 separator":y="\\mkern2mu ";break;case"commaDecimal":y="{,}";break;case"comma enumeration L":y="{"+a.p1+"}\\mkern6mu ";break;case"comma enumeration M":y="{"+a.p1+"}\\mkern3mu ";break;case"comma enumeration S":y="{"+a.p1+"}\\mkern1mu ";break;case"hyphen":y="\\text{-}";break;case"addition compound":y="\\,{\\cdot}\\,";break;case"electron dot":y="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":y="{\\times}";break;case"prime":y="\\prime ";break;case"cdot":y="\\cdot ";break;case"tight cdot":y="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":y="\\times ";break;case"circa":y="{\\sim}";break;case"^":y="uparrow";break;case"v":y="downarrow";break;case"ellipsis":y="\\ldots ";break;case"/":y="/";break;case" / ":y="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return y},_getArrow:function(a){switch(a){case"->":return"rightarrow";case"\u2192":return"rightarrow";case"\u27F6":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"leftrightarrows";case"<=>":return"rightleftharpoons";case"\u21CC":return"rightleftharpoons";case"<=>>":return"Rightleftharpoons";case"<<=>":return"Leftrightharpoons";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(a){switch(a){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\rlap{\\lower.1em{-}}\\raise.1em{\\tripledash}}";case"~=":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"~--":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"-~-":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{-}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(a){switch(a){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};function A1(a){}function M1(a){}var r0=class Kp extends Br{constructor(y){super(me(ye({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Kp(y)}toJson(){return me(ye({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new ci(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):No(this.command,this.value)}},i0=class Wp extends Br{constructor(y){super(me(ye({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Wp(y)}toJson(){return me(ye({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=Yn(this.value,this.size,y,{classes:{open:"mopen",close:"mclose"}[this.delimType],type:this.delimType,isSelected:this.isSelected});return b?(b=this.bind(y,b),this.caret&&(b.caret=this.caret),b):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):No(this.command,this.value)}},Yd=class Zp extends Br{constructor(y,b,E,ee){var re,se;super({type:"enclose",command:y,style:ee.style}),this.body=b,this.backgroundcolor=ee.backgroundcolor,E.updiagonalarrow&&(E.updiagonalstrike=!1),E.box&&(E.left=!1,E.right=!1,E.bottom=!1,E.top=!1),this.notation=E,this.shadow=(re=ee.shadow)!=null?re:"none",this.strokeWidth=(se=ee.strokeWidth)!=null?se:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ee.strokeStyle,this.svgStrokeStyle=ee.svgStrokeStyle,this.strokeColor=ee.strokeColor,this.borderStyle=ee.borderStyle,this.padding=ee.padding,this.captureSelection=!1}static fromJson(y){return new Zp(y.command,y.body,y.notation,y)}toJson(){return me(ye({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=It(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);let ee=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ee+="{"+Object.keys(this.notation).join(" ")+"}";let re="",se="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(re+=se+'mathbackground="'+this.backgroundcolor+'"',se=","),this.shadow&&this.shadow!=="auto"&&(re+=se+'shadow="'+this.shadow+'"',se=","),this.strokeWidth||this.strokeStyle!=="solid"?(re+=se+this.borderStyle,se=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(re+=se+'mathcolor="'+this.strokeColor+'"',se=","),re&&(ee+=`[${re}]`)}return No(ee,this.bodyToLatex(y))}render(y){const b=new vo({parent:y},this.style),E=Br.createBox(b,this.body);if(!E)return null;const ee=im(this.borderStyle),re=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",re,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const se=new ci(null,{classes:"ML__notation"});let ge=E.height+E.depth+2*re;const xe=E.width+2*re;let Ae="";if(this.notation.horizontalstrike&&(Ae+=this.line(3,50,97,50)),this.notation.verticalstrike&&(Ae+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(Ae+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(Ae+=this.line(3,3,97,97)),this.notation.updiagonalarrow){Ae+=this.line(re.toString(),(re+E.depth+E.height).toString(),(re+E.width).toString(),re.toString());const an=.03*Math.sqrt(xe*xe+ge*ge)*1,cr=E.width*an,di=(E.depth+E.height)*an,ar=re+E.width;let Zr=re;Zr+di-.4*cr<0&&(Zr=.4*cr-di),Ae+='<polygon points="',Ae+=`${ar},${Zr} ${ar-cr-.4*di},${Zr+di-.4*cr} `,Ae+=`${ar-.7*cr},${Zr+.7*di} ${ar-cr+.4*di},${Zr+di+.4*cr} `,Ae+=`${ar},${Zr}`,Ae+=`" stroke='none' fill="${this.strokeColor}"`,Ae+="/>"}let Te=0;if(this.notation.phasorangle){const bt=a0(b),Gt=(E.height+E.depth+2*bt+re).toString(),an=(E.height+E.depth)/2;Ae+=this.line(re.toString(),Gt,(re+an+E.width).toString(),Gt),Ae+=this.line(re.toString(),Gt,(re+an).toString(),(re-bt).toString()),ge+=bt,Te=an,E.left+=ge/2-re}if(this.notation.longdiv){const bt=a0(b);ge+=bt,Ae+=this.line(re.toString(),re.toString(),(re+E.width).toString(),re.toString());const Gt=.3;Te=Gt+bt,E.left+=Gt+bt,E.setTop(re+bt),Ae+='<path d="',Ae+=`M ${re} ${re} a${Gt} ${(E.depth+E.height+2*bt)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*bt} "`,Ae+=` stroke-width="${am(b)}" stroke="${this.strokeColor}" fill="none"`,Ae+="/>"}if(se.width=E.width+2*re+Te,se.height=E.height+re,se.depth=E.depth+re,se.setStyle("box-sizing","border-box"),se.setStyle("left",`calc(-${ee} / 2 )`),se.setStyle("height",`${Math.floor(100*ge)/100}em`),se.setStyle("top",`calc(${ee} / 2 )`),this.backgroundcolor&&se.setStyle("background-color",this.backgroundcolor),this.notation.box&&se.setStyle("border","1px solid red"),this.notation.actuarial&&(se.setStyle("border-top",this.borderStyle),se.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(se.setStyle("border-bottom",this.borderStyle),se.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(se.setStyle("border-radius","8px"),se.setStyle("border",this.borderStyle)),this.notation.circle&&(se.setStyle("border-radius","50%"),se.setStyle("border",this.borderStyle)),this.notation.top&&se.setStyle("border-top",this.borderStyle),this.notation.left&&se.setStyle("border-left",this.borderStyle),this.notation.right&&se.setStyle("border-right",this.borderStyle),this.notation.bottom&&se.setStyle("border-bottom",this.borderStyle),Ae){let bt="";this.shadow==="auto"&&(bt+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(bt+=`filter: drop-shadow(${this.shadow})`),bt+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,bt+=' stroke-linecap="round"',this.svgStrokeStyle&&(bt+=` stroke-dasharray="${this.svgStrokeStyle}"`),se.svgStyle=bt,se.svgOverlay=Ae}const Qe=new ci([se,E]);return Qe.setStyle("position","relative"),Qe.setStyle("vertical-align",re,"em"),Qe.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*re))/100}em`),Qe.setStyle("display","inline-block"),Qe.height=se.height,Qe.depth=se.depth,Qe.width=se.width-2*re,Qe.left=re,Qe.right=re,this.caret&&(Qe.caret=this.caret),Qe.wrap(b)}line(y,b,E,ee){return`<line x1="${Af(y)}" y1="${Af(b)}" x2="${Af(E)}" y2="${Af(ee)}" vector-effect="non-scaling-stroke"></line>`}};function Af(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function im(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function am(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function a0(a){const y=a.isDisplayStyle?Al:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var xd=class jp extends Br{constructor(y,b,E){var ee,re;super(me(ye({},E),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ee=E==null?void 0:E.hasBarLine)!=null?ee:!0,this.continuousFraction=(re=E==null?void 0:E.continuousFraction)!=null?re:!1,this.numerPrefix=E==null?void 0:E.numerPrefix,this.denomPrefix=E==null?void 0:E.denomPrefix,this.mathstyleName=E==null?void 0:E.mathstyleName,this.leftDelim=E==null?void 0:E.leftDelim,this.rightDelim=E==null?void 0:E.rightDelim,this.fractionNavigationOrder=E==null?void 0:E.fractionNavigationOrder}static fromJson(y){return new jp(y.above,y.below,y)}toJson(){const y={};return this.continuousFraction&&(y.continuousFraction=!0),this.numerPrefix&&(y.numerPrefix=this.numerPrefix),this.denomPrefix&&(y.denomPrefix=this.denomPrefix),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),this.hasBarLine||(y.hasBarLine=!1),this.mathstyleName&&(y.mathstyleName=this.mathstyleName),this.fractionNavigationOrder&&(y.fractionNavigationOrder=this.fractionNavigationOrder),ye(ye({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,E;const ee=new vo({parent:y,mathstyle:this.mathstyleName},this.style),re=ee.metrics,se=new vo({parent:ee,mathstyle:this.continuousFraction?"":"numerator"},this.style),ge=this.numerPrefix?new ci([new ci(this.numerPrefix),Br.createBox(se,this.above)],{isTight:se.isTight,type:"ignore"}):(b=Br.createBox(se,this.above,{type:"ignore"}))!=null?b:new ci(null,{type:"ignore"}),xe=new vo({parent:ee,mathstyle:this.continuousFraction?"":"denominator"},this.style),Ae=this.denomPrefix?new ci([new ci(this.denomPrefix),Br.createBox(xe,this.below,{type:"ignore"})]):(E=Br.createBox(xe,this.below,{type:"ignore"}))!=null?E:new ci(null,{type:"ignore"}),Te=this.hasBarLine?re.defaultRuleThickness:0;let Qe,bt=0,Gt;ee.isDisplayStyle?(Qe=se.metrics.num1,bt=Te>0?3*Te:7*Te,Gt=xe.metrics.denom1):(Te>0?(Qe=se.metrics.num2,bt=Te):(Qe=se.metrics.num3,bt=3*re.defaultRuleThickness),Gt=xe.metrics.denom2);const an=[];this.isSelected&&an.push("ML__selected");const cr=ge.depth,di=Ae.height;let ar;if(Te<=0){const fa=Qe-cr-(di-Gt);fa<bt&&(Qe+=(bt-fa)/2,Gt+=(bt-fa)/2),ar=new Vo({individualShift:[{box:ge,shift:-Qe,classes:[...an,"ML__center"]},{box:Ae,shift:Gt,classes:[...an,"ML__center"]}]}).wrap(ee)}else{const fa=new ci(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});fa.softWidth=Math.max(ge.width,Ae.width),fa.height=Te/2,fa.depth=Te/2;const Eo=qs+Te/2;Qe<bt+cr+Eo&&(Qe=bt+cr+Eo);const Xo=qs-Te/2;Gt<bt+di-Xo&&(Gt=bt+di-Xo),ar=new Vo({individualShift:[{box:Ae,shift:Gt,classes:[...an,"ML__center"]},{box:fa,shift:-Xo,classes:an},{box:ge,shift:-Qe,classes:[...an,"ML__center"]}]}).wrap(ee)}const Zr=ee.isDisplayStyle?re.delim1:re.delim2,hi=this.leftDelim?this.bind(y,ji("open",this.leftDelim,Zr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Ui(ee,"open");let $r=null;this.continuousFraction?$r=new ci(null,{type:"close"}):this.rightDelim?$r=this.bind(y,ji("close",this.rightDelim,Zr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):$r=Ui(ee,"close");const Yi=new ci([hi,ar,$r],{isTight:ee.isTight,type:"inner",classes:"mfrac"}),xa=this.bind(y,Yi);return this.caret&&(xa.caret=this.caret),this.attachSupsub(y,{base:xa})}},ul=class Vp extends Br{constructor(y,b){var E;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(E=b==null?void 0:b.isSuggestion)!=null?E:!1,this.isError=!1}static fromJson(y){const b=new Vp(y.value);return y.isSuggestion&&(b.isSuggestion=!0),y.isError&&(b.isError=!0),b}toJson(){const y={};return this.isSuggestion&&(y.isSuggestion=!0),this.isError&&(y.isError=!0),ye({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new ci(this.value,{classes:this.isSuggestion?"ML__suggestion":this.isError?"ML__error":"",type:"latex",maxFontSize:1});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Qd=class Up extends Br{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new ul(b)),this.skipBoundary=!1}static fromJson(y){return new Up("")}toJson(){return super.toJson()}render(y){const b=Br.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,E;return(E=(b=this.body)==null?void 0:b.map(ee=>ee.value).join(""))!=null?E:""}},fh=class Gp extends Br{constructor(y,b){super(me(ye({},b),{type:"extensible-symbol",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new Gp(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const E=y.isDisplayStyle&&this.value!=="\\smallint",ee=new ci(this.value,{fontFamily:E?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(E?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!ee)return null;ee.right=ee.italic;const re=(ee.height-ee.depth)/2-qs*y.scalingFactor,se=ee.italic;ee.setTop(re);let ge=ee;if(this.superscript||this.subscript){const xe=(b=this.subsupPlacement)!=null?b:"auto";ge=xe==="over-under"||xe==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ee,baseShift:re,slant:se}):this.attachSupsub(y,{base:ee})}return new ci(this.bind(y,ge),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[];return E.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),so(E)}},Qc=class _p extends Br{constructor(y){const b=y.body;super(me(ye({},y),{type:"overlap",body:typeof b=="string"?[new Br({value:b})]:b,style:y==null?void 0:y.style})),this.skipBoundary=!0,this.align=y==null?void 0:y.align,this.boxType=y==null?void 0:y.boxType}static fromJson(y){return new _p(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),ye(ye({},super.toJson()),y)}render(y){const b=Br.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new ci([b,new ci(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},wu=class Yp extends Br{constructor(y){var b,E,ee,re;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(E=y.boxType)!=null?E:"ord",this.paddedBody=(ee=y.paddedBody)!=null?ee:!1,this.paddedLabels=(re=y.paddedLabels)!=null?re:!1}static fromJson(y){return new Yp(y)}toJson(){const y=super.toJson();return this.skipBoundary||(y.skipBoundary=!1),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.svgAbove&&(y.svgAbove=this.svgAbove),this.svgBelow&&(y.svgBelow=this.svgBelow),this.svgBody&&(y.svgBody=this.svgBody),this.boxType!=="ord"&&(y.boxType=this.boxType),this.paddedBody&&(y.paddedBody=!0),this.paddedLabels&&(y.paddedLabels=!0),y}render(y){let b=this.svgBody?Pl(this.svgBody):Br.createBox(y,this.body,{type:"ignore"});const E=new vo({parent:y,mathstyle:"scriptstyle"},this.style);let ee=null;this.svgAbove?ee=Pl(this.svgAbove):this.above&&(ee=Br.createBox(E,this.above,{type:"ignore"}));let re=null;this.svgBelow?re=Pl(this.svgBelow):this.below&&(re=Br.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new ci([Ui(y,"open"),b,Ui(y,"close")],{type:"ignore"}));let se=om(y,{base:b,above:ee,below:re,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return se?(this.subsupPlacement==="over-under"?se=this.attachLimits(y,{base:se,type:se.type}):se=this.attachSupsub(y,{base:se}),this.caret&&(se.caret=this.caret),this.bind(y,se)):null}};function om(a,y){if(!y.base)return null;if(!y.above&&!y.below){const ge=new ci(y.base,{type:y.type});return ge.setStyle("position","relative"),ge}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const ee=y.base,re=0,se=["ML__center"];if(y.paddedAboveBelow&&se.push("ML__label_padding"),y.below&&y.above){const ge=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ee.depth+re;E=new Vo({bottom:ge,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:se},{box:ee,classes:["ML__center"]},b,{box:y.above,classes:se},a.metrics.bigOpSpacing5]})}else y.below?E=new Vo({top:ee.height-re,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:se},{box:ee,classes:["ML__center"]}]}):y.above&&(E=new Vo({bottom:ee.depth+re,children:[{box:ee,classes:["ML__center"]},b,{box:y.above,classes:se},a.metrics.bigOpSpacing5]}));return new ci(E,{type:y.type})}var Xd=class Qp extends Br{constructor(y){var b,E,ee,re;super(me(ye({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(E=y.smashDepth)!=null?E:!1,this.smashHeight=(ee=y.smashHeight)!=null?ee:!1,this.smashWidth=(re=y.smashWidth)!=null?re:!1}static fromJson(y){return new Qp(y)}toJson(){const y={};return this.isInvisible&&(y.isInvisible=!0),this.smashDepth&&(y.smashDepth=!0),this.smashHeight&&(y.smashHeight=!0),this.smashWidth&&(y.smashWidth=!0),ye(ye({},super.toJson()),y)}render(y){const b=new vo({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),Br.createBox(b,this.body,{classes:"inner"});const E=Br.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const ee=new ci(null,{classes:"fix"});return new ci([E,ee],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return E;if(this.smashHeight&&(E.height=0),this.smashDepth&&(E.depth=0),E.children)for(const ee of E.children)this.smashHeight&&(ee.height=0),this.smashDepth&&(ee.depth=0);return new Vo({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},Jd=class Xp extends Br{constructor(y){var b;super(ye({type:"spacing"},y)),this.width=y==null?void 0:y.width,this._braced=(b=y==null?void 0:y.braced)!=null?b:!1}static fromJson(y){return new Xp(y)}toJson(){const y=super.toJson();return this.width!==void 0&&(y.width=this.width),this._braced&&(y.braced=!0),y}render(y){var b;if(this.command==="space")return new ci(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new ci(null,{classes:"mspace"}),E.left=y.toEm(this.width);else{const ee=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";E=new ci(null,{classes:ee})}return E=this.bind(y,E),this.caret&&(E.caret=this.caret),E}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=It(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);const ee=(b=this.command)!=null?b:"";return this.width===void 0?ee:this._braced&&!("register"in this.width)?`${ee}{${gs(this.width)}}`:`${ee}${gs(this.width)}`}},o0=class Jp extends Br{constructor(y){var b;super(me(ye({},y),{type:"surd",mode:(b=y.mode)!=null?b:"math",style:y.style,displayContainsHighlight:!0,body:y.body})),this.above=y.index}static fromJson(y){return new Jp(me(ye({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=this.command,ee=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?No(`${E}[${this.aboveToLatex(y)}]`,ee):/^[0-9]$/.test(ee)?`${E}${ee}`:No(E,ee)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const E=new vo({parent:y,mathstyle:"cramp"},this.style),ee=(b=Br.createBox(E,this.body,{type:"inner"}))!=null?b:new ci(null),re=E.scalingFactor,se=E.metrics.defaultRuleThickness/re,ge=y.isDisplayStyle?Al:se,xe=new ci(null,{classes:"ML__sqrt-line",style:this.style});xe.height=se,xe.softWidth=ee.width;let Ae=re*(se+ge/4);const Qe=Math.max(re*2*ge,ee.height+ee.depth)+Ae+se,bt=new vo({parent:y},this.style),Gt=this.bind(bt,new ci(ji("inner","\\surd",Qe,!1,bt,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!Gt)return null;const an=Gt.height+Gt.depth-se;an>ee.height+ee.depth+Ae&&(Ae=(Ae+an-(ee.height+ee.depth))/2),Gt.setTop(Gt.height-ee.height-Ae);const cr=this.bind(y,new Vo({firstBaseline:[{box:new ci(ee)},Ae-2*se,{box:xe},se]})),di=Br.createBox(new vo({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!di){const hi=new ci([Gt,cr],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return hi.setStyle("display","inline-block"),hi.setStyle("height",hi.height+hi.depth,"em"),this.caret&&(hi.caret=this.caret),this.bind(y,hi)}const ar=new Vo({shift:-.6*(Math.max(Gt.height,cr.height)-Math.max(Gt.depth,cr.depth)),children:[{box:di}]}),Zr=new ci([new ci(ar,{classes:"ML__sqrt-index",type:"ignore"}),Gt,cr],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return Zr.height=Gt.height,Zr.depth=Gt.depth,this.caret&&(Zr.caret=this.caret),this.bind(y,Zr)}},sm=class extends ci{constructor(a){super(null,{type:"skip"}),this._width=a}toMarkup(){return`<span style="display:inline-block;width:${Math.ceil(this.width*100)/100}em"></span>`}};function Mf(a,y){if(!a.parent)return;const b=a.parent.children,E=b.indexOf(a);let ee=E-1;for(;ee>=0&&b[ee].type==="ignore";)ee-=1;if(ee<0&&a.parent.parent&&a.parent.type==="lift"){Mf(a.parent,y);return}E>0&&b[E-1].type==="skip"?b[E-1].width+=y:b.splice(E,0,new sm(y))}var lm={ord:{op:3,bin:4,rel:5,inner:3},op:{ord:3,op:3,rel:5,inner:3},bin:{ord:4,op:4,open:4,inner:4},rel:{ord:5,op:5,open:5,inner:5},close:{op:3,bin:4,rel:5,inner:3},punct:{ord:3,op:3,rel:3,open:3,punct:3,inner:3},inner:{ord:3,op:3,bin:4,rel:5,open:3,punct:3,inner:3}},um={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function cm(a){$d(a,(y,b)=>{b.type==="bin"&&(!y||/^(middle|bin|op|rel|open|punct)$/.test(y.type))&&(b.type="ord"),(y==null?void 0:y.type)==="bin"&&/^(rel|close|punct)$/.test(b.type)&&(y.type="ord"),b.type!=="ignore"&&(y=b)})}function qd(a,y){if(!a.children)return a;const b=a.children;cm(b);const E=y.getRegisterAsEm("thinmuskip"),ee=y.getRegisterAsEm("medmuskip"),re=y.getRegisterAsEm("thickmuskip");return $d(b,(se,ge)=>{var xe,Ae,Te;if(!se)return;const Qe=se.type,bt=ge.isTight?(xe=um[Qe])!=null?xe:null:(Ae=lm[Qe])!=null?Ae:null,Gt=(Te=bt==null?void 0:bt[ge.type])!=null?Te:null;Gt===3&&Mf(ge,E),Gt===4&&Mf(ge,ee),Gt===5&&Mf(ge,re)}),a}function $d(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=$d(E.children,y,b):E.type==="ignore"?$d(E.children,y):(y(b,E),$d(E.children,y),b=E);return b}var hh=class qp extends Br{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new Br({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new qp(me(ye({},y),{tooltip:Ic(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(E=>E.type!=="first").map(E=>E.toJson());return me(ye({},super.toJson()),{tooltip:b})}render(y){const b=Br.createBox(new vo,this.body);if(!b)return null;const E=new vo({parent:y,mathstyle:"displaystyle"},{fontSize:Jl}),ee=Ec(qd(new ci(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),re=new ci([ee,b],{classes:"ML__tooltip-container"});return this.caret&&(re.caret=this.caret),this.bind(y,re)}},Xc=class $p extends Br{constructor(y,b){super(me(ye({},b),{type:"operator",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.variantStyle=b==null?void 0:b.variantStyle,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new $p(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const E=new ci(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ee=E;if(this.superscript||this.subscript){const re=(b=this.subsupPlacement)!=null?b:"auto";ee=re==="over-under"||re==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new ci(this.bind(y,ee),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=It(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),so(E)}};function Ic(a){if(Ie(a))return a.map(E=>Ic(E));if(typeof a=="string")return Br.fromJson(a);a=ye({},a);for(const E of ju)a[E]&&(a[E]=Ic(a[E]));a.args&&(a.args=dm(a.args)),a.array&&(a.array=Ic(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=Xa.fromJson(a)),y==="box"&&(b=Fs.fromJson(a)),y==="chem"&&(b=n0.fromJson(a)),y==="composition"&&(b=mc.fromJson(a)),y==="delim"&&(b=r0.fromJson(a)),y==="enclose"&&(b=Yd.fromJson(a)),y==="error"&&(b=kl.fromJson(a)),y==="extensible-symbol"&&(b=fh.fromJson(a)),y==="genfrac"&&(b=xd.fromJson(a)),y==="group"&&(b=el.fromJson(a)),y==="latex"&&(b=ul.fromJson(a)),y==="latexgroup"&&(b=Qd.fromJson(a)),y==="leftright"&&(b=Ro.fromJson(a)),y==="macro"&&(b=bd.fromJson(a)),y==="macro-argument"&&(b=Iu.fromJson(a)),y==="operator"&&(b=Xc.fromJson(a)),y==="overlap"&&(b=Qc.fromJson(a)),y==="overunder"&&(b=wu.fromJson(a)),y==="placeholder"&&(b=ka.fromJson(a)),y==="prompt"&&(b=Gu.fromJson(a)),y==="phantom"&&(b=Xd.fromJson(a)),y==="sizeddelim"&&(b=i0.fromJson(a)),y==="spacing"&&(b=Jd.fromJson(a)),y==="subsup"&&(b=xu.fromJson(a)),y==="surd"&&(b=o0.fromJson(a)),y==="text"&&(b=iu.fromJson(a)),y==="tooltip"&&(b=hh.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=Br.fromJson(a));for(const E of ju)a[E]&&b.setChildren(a[E],E);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function dm(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>Ic(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>Ic(b)):y)}var s0={main:["Main-Regular","ML__cmr"],"main-italic":["Main-Italic","ML__cmr ML__it"],"main-bold":["Main-Bold","ML__cmr ML__bold"],"main-bolditalic":["Main-BoldItalic","ML__cmr ML__bold ML__it"],normal:["Main-Regular","ML__cmr"],"normal-bold":["Main-Bold","ML__mathbf"],"normal-italic":["Math-Italic","ML__mathit"],"normal-bolditalic":["Math-BoldItalic","ML__mathbfit"],ams:["AMS-Regular","ML__ams"],"ams-bold":["AMS-Regular","ML__ams"],"ams-italic":["AMS-Regular","ML__ams"],"ams-bolditalic":["AMS-Regular","ML__ams"],"sans-serif":["SansSerif-Regular","ML__sans"],"sans-serif-bold":["SansSerif-Regular","ML__sans ML__bold"],"sans-serif-italic":["SansSerif-Regular","ML__sans"],"sans-serif-bolditalic":["SansSerif-Regular","ML__sans"],calligraphic:["Caligraphic-Regular","ML__cal"],"calligraphic-bold":["Caligraphic-Regular","ML__cal ML__bold"],"calligraphic-italic":["Caligraphic-Regular","ML__cal ML__it"],"calligraphic-bolditalic":["Caligraphic-Regular","ML__cal ML__bold ML__it"],script:["Script-Regular","ML__script"],"script-bold":["Script-Regular","ML__script ML__bold"],"script-italic":["Script-Regular","ML__script ML__it"],"script-bolditalic":["Script-Regular","ML__script ML__bold ML__it"],fraktur:["Fraktur-Regular","ML__frak"],"fraktur-bold":["Fraktur-Regular","ML__frak"],"fraktur-italic":["Fraktur-Regular","ML__frak"],"fraktur-bolditalic":["Fraktur-Regular","ML__frak"],monospace:["Typewriter-Regular","ML__tt"],"monospace-bold":["Typewriter-Regular","ML__tt ML__bold"],"monospace-italic":["Typewriter-Regular","ML__tt ML__it"],"monospace-bolditalic":["Typewriter-Regular","ML__tt ML__bold ML__it"],"double-struck":["AMS-Regular","ML__bb"],"double-struck-bold":["AMS-Regular","ML__bb"],"double-struck-italic":["AMS-Regular","ML__bb"],"double-struck-bolditalic":["AMS-Regular","ML__bb"]},ph={"double-struck":/^[A-Z ]$/,script:/^[A-Z ]$/,calligraphic:/^[\dA-Z ]$/,fraktur:/^[\dA-Za-z ]$|^[!"#$%&'()*+,\-./:;=?[]^’‘]$/,monospace:/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/,"sans-serif":/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/},l0=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,fm=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,hm=[/^[a-z]$/,/^[A-Z]$/,l0,fm],pm={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},mm=class extends ll{constructor(){super("math")}createAtom(a,y,b){var E,ee,re,se;if(y===null)return new Br({type:"mord",mode:"math",command:a,value:a,style:b});const ge=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const Ae=new Br({type:(ee=y.type)!=null?ee:"mord",mode:"math",command:(re=y.command)!=null?re:a,value:String.fromCodePoint(y.codepoint),style:b});return ge&&(Ae.isFunction=!0),a.startsWith("\\")&&(Ae.verbatimLatex=a),Ae}const xe=new Br({type:"mord",mode:"math",command:(se=y.command)!=null?se:a,value:a,style:b});return ge&&(xe.isFunction=!0),a.startsWith("\\")&&(xe.verbatimLatex=a),xe}serialize(a,y){const b=gm(a,me(ye({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:E}=y;b==="normal"&&!E&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",E="italic"),b==="normal"&&!E&&a.value.length===1&&hm.forEach((ge,xe)=>{var Ae;ge.test(a.value)&&pm[(Ae=y.letterShapeStyle)!=null?Ae:"tex"][xe]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const ee=E?b+"-"+E:b;console.assert(s0[ee]!==void 0);const[re,se]=s0[ee];return ph[b]&&!ph[b].test(a.value)?(a.value=An(a.value,b,E),null):(l0.test(a.value)&&(a.classes+=" lcGreek"),se&&(a.classes+=" "+se),re)}};function gm(a,y){const{parent:b}=a[0],E=u0(b);return ys(a,"variant").map(ee=>{const re=u0(ee[0]);let se="";re&&re!==E&&(se={calligraphic:"\\mathcal",fraktur:"\\mathfrak","double-struck":"\\mathbb",script:"\\mathscr",monospace:"\\mathtt","sans-serif":"\\mathsf",normal:"\\mathrm","normal-italic":"\\mathnormal","normal-bold":"\\mathbf","normal-bolditalic":"\\mathbfit",ams:"","ams-italic":"\\mathit","ams-bold":"\\mathbf","ams-bolditalic":"\\mathbfit",main:"","main-italic":"\\mathit","main-bold":"\\mathbf","main-bolditalic":"\\mathbfit"}[re],console.assert(se!==void 0));const ge=so(ee.map(xe=>xe._serialize(y)));return se?No(se,ge):ge})}function u0(a){if(!a)return"";const{style:y}=a;if(y.variant===void 0)return"";let b=y.variant;return!["calligraphic","fraktur","double-struck","script","monospace","sans-serif"].includes(y.variant)&&y.variantStyle&&y.variantStyle!=="up"&&(b+="-"+y.variantStyle),b}new mm;function vm(a,y){return a.map(b=>b._serialize(y))}function ym(a,y){return ys(a,"fontShape").map(b=>{const E=vm(b,y),{fontShape:ee}=b[0].style;let re="";return ee==="it"&&(re="\\textit"),ee==="sl"&&(re="\\textsl"),ee==="sc"&&(re="\\textsc"),ee==="n"&&(re="\\textup"),!re&&ee?`{${No("\\fontshape",ee)}${so(E)}}`:re?No(re,so(E)):so(E)})}function bm(a,y){return ys(a,"fontSeries").map(b=>{const E=ym(b,y),{fontSeries:ee}=b[0].style;let re="";return ee==="b"&&(re="\\textbf"),ee==="l"&&(re="\\textlf"),ee==="m"&&(re="\\textmd"),ee&&!re?`{${No("\\fontseries",ee)}${so(E)}}`:re?No(re,so(E)):so(E)})}function xm(a,y){return ys(a,"fontSize").map(b=>{var E,ee;const re=bm(b,y),se=(ee=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(E=b[0].style.fontSize)!=null?E:""])!=null?ee:"";return se?`${se} ${so(re)}`:so(re)})}function wm(a,y,b){return ys(a,"fontFamily").map(E=>{var ee,re;const se=xm(E,y),ge=(re={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ee=E[0].style.fontFamily)!=null?ee:""])!=null?re:"";return ge?`\\${ge}{${so(se)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${so(se)}}`:b?`\\text{${so(se)}}`:so(se)})}var c0={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Sm=class extends ll{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new iu(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return wm(a,me(ye({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,ee,re,se;const{fontFamily:ge}=y;if(c0[ge]?a.classes+=" "+c0[ge]:ge&&a.setStyle("font-family",ge),y.fontShape&&(a.classes+=" ",a.classes+=(b={it:"ML__it",sl:"ML__shape_sl",sc:"ML__shape_sc",ol:"ML__shape_ol"}[y.fontShape])!=null?b:""),y.fontSeries){const xe=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);xe&&(a.classes+=" ",a.classes+=(ee={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(E=xe[1])!=null?E:""])!=null?ee:"",a.classes+=" ",a.classes+=(se={uc:"ML__series_uc",ec:"ML__series_ec",c:"ML__series_c",sc:"ML__series_sc",n:"",sx:"ML__series_sx",x:"ML__series_x",ex:"ML__series_ex",ux:"ML__series_ux"}[(re=xe[2])!=null?re:""])!=null?se:"")}return"Main-Regular"}};new Sm;var Cm=class extends ll{constructor(){super("latex")}createAtom(a){return new ul(a)}serialize(a,y){return a.filter(b=>b instanceof ul&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Cm;var Em={id:"dvorak",locale:"en",displayName:"Dvorak",virtualLayout:"dvorak",platform:"",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["x","X","\u2248","\u02DB"],KeyC:["j","J","\u2206","\xD4"],KeyD:["e","E","\xB4","\xB4"],KeyE:[".",">","\u2265","\u02D8"],KeyF:["u","U","\xA8","\xA8"],KeyG:["i","I","\u02C6","\u02C6"],KeyH:["d","D","\u2202","\xCE"],KeyI:["c","C","\xE7","\xC7"],KeyJ:["h","H","\u02D9","\xD3"],KeyK:["t","T","\u2020","\u02C7"],KeyL:["n","N","\u02DC","\u02DC"],KeyM:["m","M","\xB5","\xC2"],KeyN:["b","B","\u222B","\u0131"],KeyO:["r","R","\xAE","\u2030"],KeyP:["l","L","\xAC","\xD2"],KeyQ:["'",'"',"\xE6","\xC6"],KeyR:["p","P","\u03C0","\u220F"],KeyS:["o","O","\xF8","\xD8"],KeyT:["y","Y","\xA5","\xC1"],KeyU:["g","G","\xA9","\u02DD"],KeyV:["k","K","\u02DA","\uF8FF"],KeyW:[",","<","\u2264","\xAF"],KeyX:["q","Q","\u0153","\u0152"],KeyY:["f","F","\u0192","\xCF"],KeyZ:[";",":","\u2026","\xDA"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["[","{","\u201C","\u201D"],Equal:["]","}","\u2018","\u2019"],BracketLeft:["/","?","\xF7","\xBF"],BracketRight:["=","+","\u2260","\xB1"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:["s","S","\xDF","\xCD"],Quote:["-","_","\u2013","\u2014"],Backquote:["`","~","`","`"],Comma:["w","W","\u2211","\u201E"],Period:["v","V","\u221A","\u25CA"],Slash:["z","Z","\u03A9","\xB8"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},mh={id:"apple.en-intl",displayName:"English (international)",virtualLayout:"qwerty",platform:"apple",locale:"en",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u0131"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\xCE"],KeyE:["e","E","\xB4","\xB4"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\u02DD"],KeyH:["h","H","\u02D9","\xD3"],KeyI:["i","I","\u02C6","\u02C6"],KeyJ:["j","J","\u2206","\xD4"],KeyK:["k","K","\u02DA","\uF8FF"],KeyL:["l","L","\xAC","\xD2"],KeyM:["m","M","\xB5","\xC2"],KeyN:["n","N","\u02DC","\u02DC"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE","\u2030"],KeyS:["s","S","\xDF","\xCD"],KeyT:["t","T","\u2020","\u02C7"],KeyU:["u","U","\xA8","\xA8"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\u02DB"],KeyY:["y","Y","\xA5","\xC1"],KeyZ:["z","Z","\u03A9","\xB8"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["-","_","\u2013","\u2014"],Equal:["=","+","\u2260","\xB1"],BracketLeft:["[","{","\u201C","\u201D"],BracketRight:["]","}","\u2018","\u2019"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:[";",":","\u2026","\xDA"],Quote:["'",'"',"\xE6","\xC6"],Backquote:["`","\u02DC","`","`"],Comma:[",","<","\u2264","\xAF"],Period:[".",">","\u2265","\u02D8"],Slash:["/","?","\xF7","\xBF"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},d0={id:"windows.en-intl",displayName:"English (international)",platform:"windows",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","\xE1","\xC1"],KeyB:["b","B","",""],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\xE9","\xC9"],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","\xED","\xCD"],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","\xF8","\xD8"],KeyM:["m","M","\xB5",""],KeyN:["n","N","\xF1","\xD1"],KeyO:["o","O","\xF3","\xD3"],KeyP:["p","P","\xF6","\xD6"],KeyQ:["q","Q","\xE4","\xC4"],KeyR:["r","R","\xAE",""],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\xFE","\xDE"],KeyU:["u","U","\xFA","\xDA"],KeyV:["v","V","",""],KeyW:["w","W","\xE5","\xC5"],KeyX:["x","X","",""],KeyY:["y","Y","\xFC","\xDC"],KeyZ:["z","Z","\xE6","\xC6"],Digit1:["1","!","\xA1","\xB9"],Digit2:["2","@","\xB2",""],Digit3:["3","#","\xB3",""],Digit4:["4","$","\xA4","\xA3"],Digit5:["5","%","\u20AC",""],Digit6:["6","^","\xBC",""],Digit7:["7","&","\xBD",""],Digit8:["8","*","\xBE",""],Digit9:["9","(","\u2018",""],Digit0:["0",")","\u2019",""],Space:[" "," ","",""],Minus:["-","_","\xA5",""],Equal:["=","+","\xD7","\xF7"],BracketLeft:["[","{","\xAB",""],BracketRight:["]","}","\xBB",""],Backslash:["\\","|","\xAC","\xA6"],Semicolon:[";",":","\xB6","\xB0"],Quote:["'",'"',"\xB4","\xA8"],Backquote:["`","~","",""],Comma:[",","<","\xE7","\xC7"],Period:[".",">","",""],Slash:["/","?","\xBF",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["\\","|","",""]}},f0={id:"linux.en",displayName:"English",platform:"linux",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","a","A"],KeyB:["b","B","b","B"],KeyC:["c","C","c","C"],KeyD:["d","D","d","D"],KeyE:["e","E","e","E"],KeyF:["f","F","f","F"],KeyG:["g","G","g","G"],KeyH:["h","H","h","H"],KeyI:["i","I","i","I"],KeyJ:["j","J","j","J"],KeyK:["k","K","k","K"],KeyL:["l","L","l","L"],KeyM:["m","M","m","M"],KeyN:["n","N","n","N"],KeyO:["o","O","o","O"],KeyP:["p","P","p","P"],KeyQ:["q","Q","q","Q"],KeyR:["r","R","r","R"],KeyS:["s","S","s","S"],KeyT:["t","T","t","T"],KeyU:["u","U","u","U"],KeyV:["v","V","v","V"],KeyW:["w","W","w","W"],KeyX:["x","X","x","X"],KeyY:["y","Y","y","Y"],KeyZ:["z","Z","z","Z"],Digit1:["1","!","1","!"],Digit2:["2","@","2","@"],Digit3:["3","#","3","#"],Digit4:["4","$","4","$"],Digit5:["5","%","5","%"],Digit6:["6","^","6","^"],Digit7:["7","&","7","&"],Digit8:["8","*","8","*"],Digit9:["9","(","9","("],Digit0:["0",")","0",")"],Space:[" "," "," "," "],Minus:["-","_","-","_"],Equal:["=","+","=","+"],BracketLeft:["[","{","[","{"],BracketRight:["]","}","]","}"],Backslash:["\\","|","\\","|"],Semicolon:[";",":",";",":"],Quote:["'",'"',"'",'"'],Backquote:["`","~","`","~"],Comma:[",","<",",","<"],Period:[".",">",".",">"],Slash:["/","?","/","?"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}},Am={id:"apple.french",locale:"fr",displayName:"French",platform:"apple",virtualLayout:"azerty",score:0,mapping:{KeyA:["q","Q","\u2021","\u03A9"],KeyB:["b","B","\xDF","\u222B"],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\xEA","\xCA"],KeyF:["f","F","\u0192","\xB7"],KeyG:["g","G","\uFB01","\uFB02"],KeyH:["h","H","\xCC","\xCE"],KeyI:["i","I","\xEE","\xEF"],KeyJ:["j","J","\xCF","\xCD"],KeyK:["k","K","\xC8","\xCB"],KeyL:["l","L","\xAC","|"],KeyM:[",","?","\u221E","\xBF"],KeyN:["n","N","~","\u0131"],KeyO:["o","O","\u0153","\u0152"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xAE","\u201A"],KeyS:["s","S","\xD2","\u2211"],KeyT:["t","T","\u2020","\u2122"],KeyU:["u","U","\xBA","\xAA"],KeyV:["v","V","\u25CA","\u221A"],KeyW:["z","Z","\xC2","\xC5"],KeyX:["x","X","\u2248","\u2044"],KeyY:["y","Y","\xDA","\u0178"],KeyZ:["w","W","\u2039","\u203A"],Digit1:["&","1","\uF8FF","\xB4"],Digit2:["\xE9","2","\xEB","\u201E"],Digit3:['"',"3","\u201C","\u201D"],Digit4:["'","4","\u2018","\u2019"],Digit5:["(","5","{","["],Digit6:["\xA7","6","\xB6","\xE5"],Digit7:["\xE8","7","\xAB","\xBB"],Digit8:["!","8","\xA1","\xDB"],Digit9:["\xE7","9","\xC7","\xC1"],Digit0:["\xE0","0","\xF8","\xD8"],Space:[" "," "," "," "],Minus:[")","\xB0","}","]"],Equal:["-","_","\u2014","\u2013"],BracketLeft:["^","\xA8","\xF4","\xD4"],BracketRight:["$","*","\u20AC","\xA5"],Backslash:["`","\xA3","@","#"],Semicolon:["m","M","\xB5","\xD3"],Quote:["\xF9","%","\xD9","\u2030"],Backquote:["<",">","\u2264","\u2265"],Comma:[";",".","\u2026","\u2022"],Period:[":","/","\xF7","\\"],Slash:["=","+","\u2260","\xB1"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",".",",","."],IntlBackslash:["@","#","\u2022","\u0178"],NumpadEqual:["=","=","=","="]}},Mm={id:"windows.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"windows",score:0,mapping:{KeyA:["q","Q","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:[",","?","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["a","A","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["z","Z","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["w","W","",""],Digit1:["&","1","",""],Digit2:["\xE9","2","~",""],Digit3:['"',"3","#",""],Digit4:["'","4","{",""],Digit5:["(","5","[",""],Digit6:["-","6","|",""],Digit7:["\xE8","7","`",""],Digit8:["_","8","\\",""],Digit9:["\xE7","9","^",""],Digit0:["\xE0","0","@",""],Space:[" "," ","",""],Minus:[")","\xB0","]",""],Equal:["=","+","}",""],BracketLeft:["^","\xA8","",""],BracketRight:["$","\xA3","\xA4",""],Backslash:["*","\xB5","",""],Semicolon:["m","M","",""],Quote:["\xF9","%","",""],Backquote:["\xB2","","",""],Comma:[";",".","",""],Period:[":","/","",""],Slash:["!","\xA7","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},km={id:"linux.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"linux",score:0,mapping:{KeyA:["q","Q","@","\u03A9"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:[",","?","\u0301","\u030B"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["z","Z","\xAB","<"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["w","W","\u0142","\u0141"],Digit1:["&","1","\xB9","\xA1"],Digit2:["\xE9","2","~","\u215B"],Digit3:['"',"3","#","\xA3"],Digit4:["'","4","{","$"],Digit5:["(","5","[","\u215C"],Digit6:["-","6","|","\u215D"],Digit7:["\xE8","7","`","\u215E"],Digit8:["_","8","\\","\u2122"],Digit9:["\xE7","9","^","\xB1"],Digit0:["\xE0","0","@","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:[")","\xB0","]","\xBF"],Equal:["=","+","}","\u0328"],BracketLeft:["\u0302","\u0308","\u0308","\u030A"],BracketRight:["$","\xA3","\xA4","\u0304"],Backslash:["*","\xB5","\u0300","\u0306"],Semicolon:["m","M","\xB5","\xBA"],Quote:["\xF9","%","\u0302","\u030C"],Backquote:["\xB2","~","\xAC","\xAC"],Comma:[";",".","\u2500","\xD7"],Period:[":","/","\xB7","\xF7"],Slash:["!","\xA7","\u0323","\u0307"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"]}},Dm={id:"apple.german",locale:"de",displayName:"German",virtualLayout:"qwertz",platform:"apple",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u2039"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\u2122"],KeyE:["e","E","\u20AC","\u2030"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\xCC"],KeyH:["h","H","\xAA","\xD3"],KeyI:["i","I","\u2044","\xDB"],KeyJ:["j","J","\xBA","\u0131"],KeyK:["k","K","\u2206","\u02C6"],KeyL:["l","L","@","\uFB02"],KeyM:["m","M","\xB5","\u02D8"],KeyN:["n","N","~","\u203A"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\xAB","\xBB"],KeyR:["r","R","\xAE","\xB8"],KeyS:["s","S","\u201A","\xCD"],KeyT:["t","T","\u2020","\u02DD"],KeyU:["u","U","\xA8","\xC1"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\xD9"],KeyY:["z","Z","\u03A9","\u02C7"],KeyZ:["y","Y","\xA5","\u2021"],Digit1:["1","!","\xA1","\xAC"],Digit2:["2",'"',"\u201C","\u201D"],Digit3:["3","\xA7","\xB6","#"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","[","\uFB01"],Digit6:["6","&","]","^"],Digit7:["7","/","|","\\"],Digit8:["8","(","{","\u02DC"],Digit9:["9",")","}","\xB7"],Digit0:["0","=","\u2260","\xAF"],Space:[" "," "," "," "],Minus:["\xDF","?","\xBF","\u02D9"],Equal:["\xB4","`","'","\u02DA"],BracketLeft:["\xFC","\xDC","\u2022","\xB0"],BracketRight:["+","*","\xB1","\uF8FF"],Backslash:["#","'","\u2018","\u2019"],Semicolon:["\xF6","\xD6","\u0153","\u0152"],Quote:["\xE4","\xC4","\xE6","\xC6"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u221E","\u02DB"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",",",".","."],IntlBackslash:["^","\xB0","\u201E","\u201C"],NumpadEqual:["=","=","=","="]}},Bm={id:"windows.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","\xB5",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","@",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["z","Z","",""],KeyZ:["y","Y","",""],Digit1:["1","!","",""],Digit2:["2",'"',"\xB2",""],Digit3:["3","\xA7","\xB3",""],Digit4:["4","$","",""],Digit5:["5","%","",""],Digit6:["6","&","",""],Digit7:["7","/","{",""],Digit8:["8","(","[",""],Digit9:["9",")","]",""],Digit0:["0","=","}",""],Space:[" "," ","",""],Minus:["\xDF","?","\\","\u1E9E"],Equal:["\xB4","`","",""],BracketLeft:["\xFC","\xDC","",""],BracketRight:["+","*","~",""],Backslash:["#","'","",""],Semicolon:["\xF6","\xD6","",""],Quote:["\xE4","\xC4","",""],Backquote:["^","\xB0","",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","|",""]}},Lm={id:"linux.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201C","\u2018"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0323","\u0307"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","\u201D","\u2019"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\u017F","\u1E9E"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201E","\u201A"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xAB","\u2039"],KeyY:["z","Z","\u2190","\xA5"],KeyZ:["y","Y","\xBB","\u203A"],Digit1:["1","!","\xB9","\xA1"],Digit2:["2",'"',"\xB2","\u215B"],Digit3:["3","\xA7","\xB3","\xA3"],Digit4:["4","$","\xBC","\xA4"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["\xDF","?","\\","\xBF"],Equal:["\u0301","\u0300","\u0327","\u0328"],BracketLeft:["\xFC","\xDC","\u0308","\u030A"],BracketRight:["+","*","~","\xAF"],Backslash:["#","'","\u2019","\u0306"],Semicolon:["\xF6","\xD6","\u030B","\u0323"],Quote:["\xE4","\xC4","\u0302","\u030C"],Backquote:["\u0302","\xB0","\u2032","\u2033"],Comma:[",",";","\xB7","\xD7"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],PrintScreen:["","","",""],PageUp:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",",","",","],IntlBackslash:["<",">","|","\u0331"],AltRight:["\r","\r","\r","\r"],MetaRight:[".",".",".","."]}},Fm={id:"apple.spanish",locale:"es",displayName:"Spanish ISO",platform:"apple",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\xDF",""],KeyC:["c","C","\xA9"," "],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0192","\uFB01"],KeyG:["g","G","\uF8FF","\uFB02"],KeyH:["h","H","\u2122"," "],KeyI:["i","I"," "," "],KeyJ:["j","J","\xB6","\xAF"],KeyK:["k","K","\xA7","\u02C7"],KeyL:["l","L"," ","\u02D8"],KeyM:["m","M","\xB5","\u02DA"],KeyN:["n","N"," ","\u02D9"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE"," "],KeyS:["s","S","\u222B"," "],KeyT:["t","T","\u2020","\u2021"],KeyU:["u","U"," "," "],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\xE6","\xC6"],KeyX:["x","X","\u2211","\u203A"],KeyY:["y","Y","\xA5"," "],KeyZ:["z","Z","\u03A9","\u2039"],Digit1:["1","!","|","\u0131"],Digit2:["2",'"',"@","\u02DD"],Digit3:["3","\xB7","#","\u2022"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","\u221E","\u2030"],Digit6:["6","&","\xAC"," "],Digit7:["7","/","\xF7","\u2044"],Digit8:["8","(","\u201C","\u2018"],Digit9:["9",")","\u201D","\u2019"],Digit0:["0","=","\u2260","\u2248"],Space:[" "," "," "," "],Minus:["'","?","\xB4","\xB8"],Equal:["\xA1","\xBF","\u201A","\u02DB"],BracketLeft:["`","^","[","\u02C6"],BracketRight:["+","*","]","\xB1"],Backslash:["\xE7","\xC7","}","\xBB"],Semicolon:["\xF1","\xD1","~","\u02DC"],Quote:["\xB4","\xA8","{","\xAB"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u201E",""],Period:[".",":","\u2026","\u2026"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[",",",",",",","],IntlBackslash:["\xBA","\xAA","\\","\xB0"]}},Pm={id:"windows.spanish",locale:"es",displayName:"Spanish",platform:"windows",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["z","Z","",""],Digit1:["1","!","|",""],Digit2:["2",'"',"@",""],Digit3:["3","\xB7","#",""],Digit4:["4","$","~",""],Digit5:["5","%","\u20AC",""],Digit6:["6","&","\xAC",""],Digit7:["7","/","",""],Digit8:["8","(","",""],Digit9:["9",")","",""],Digit0:["0","=","",""],Space:[" "," ","",""],Minus:["'","?","",""],Equal:["\xA1","\xBF","",""],BracketLeft:["`","^","[",""],BracketRight:["+","*","]",""],Backslash:["\xE7","\xC7","}",""],Semicolon:["\xF1","\xD1","",""],Quote:["\xB4","\xA8","{",""],Backquote:["\xBA","\xAA","\\",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},Im={id:"linux.spanish",locale:"es",displayName:"Spanish",platform:"linux",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["z","Z","\xAB","<"],Digit1:["1","!","|","\xA1"],Digit2:["2",'"',"@","\u215B"],Digit3:["3","\xB7","#","\xA3"],Digit4:["4","$","~","$"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["'","?","\\","\xBF"],Equal:["\xA1","\xBF","\u0303","~"],BracketLeft:["\u0300","\u0302","[","\u030A"],BracketRight:["+","*","]","\u0304"],Backslash:["\xE7","\xC7","}","\u0306"],Semicolon:["\xF1","\xD1","~","\u030B"],Quote:["\u0301","\u0308","{","{"],Backquote:["\xBA","\xAA","\\","\\"],Comma:[",",";","\u2500","\xD7"],Period:[".",":","\xB7","\xF7"],Slash:["-","_","\u0323","\u0307"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadEnter:["\r","\r","\r","\r"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}};function h0(a){const y=a.split("+"),b={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:y.pop()};return y.includes("shift")&&(b.shift=!0),y.includes("alt")&&(b.alt=!0),y.includes("ctrl")&&(b.ctrl=!0),y.includes("cmd")&&(b.cmd=!0),y.includes("win")&&(b.win=!0),y.includes("meta")&&(b.meta=!0),b}function wd(a){let y="";return a.shift&&(y+="shift+"),a.alt&&(y+="alt+"),a.ctrl&&(y+="ctrl+"),a.cmd&&(y+="cmd+"),a.win&&(y+="win+"),a.meta&&(y+="meta+"),y+a.key}var Tm={enter:"[Enter]",escape:"[Escape]",backspace:"[Backspace]",tab:"[Tab]",space:"[Space]",pausebreak:"[Pause]",insert:"[Insert]",home:"[Home]",pageup:"[PageUp]",delete:"[Delete]",end:"[End]",pagedown:"[PageDown]",right:"[ArrowRight]",left:"[ArrowLeft]",down:"[ArrowDown]",up:"[ArrowUp]",numpad0:"[Numpad0]",numpad1:"[Numpad1]",numpad2:"[Numpad2]",numpad3:"[Numpad3]",numpad4:"[Numpad4]",numpad5:"[Numpad5]",numpad6:"[Numpad6]",numpad7:"[Numpad7]",numpad8:"[Numpad8]",numpad9:"[Numpad9]",numpad_divide:"[NumpadDivide]",numpad_multiply:"[NumpadMultiply]",numpad_subtract:"[NumpadSubtract]",numpad_add:"[NumpadAdd]",numpad_decimal:"[NumpadDecimal]",numpad_separator:"[NumpadComma]",capslock:"[Capslock]",f1:"[F1]",f2:"[F2]",f3:"[F3]",f4:"[F4]",f5:"[F5]",f6:"[F6]",f7:"[F7]",f8:"[F8]",f9:"[F9]",f10:"[F10]",f11:"[F11]",f12:"[F12]",f13:"[F13]",f14:"[F14]",f15:"[F15]",f16:"[F16]",f17:"[F17]",f18:"[F18]",f19:"[F19]"},ef=[],tf;function gh(){switch(Me()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function lu(a){(!a.platform||a.platform===gh())&&ef.push(a)}function Om(a,y){var b;const E={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return E;for(const[ee,re]of Object.entries(y.mapping)){if(re[0]===a)return E.key=`[${ee}]`,E;if(re[1]===a)return E.shift=!0,E.key=`[${ee}]`,E;if(re[2]===a)return E.alt=!0,E.key=`[${ee}]`,E;if(re[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${ee}]`,E}return E.key=(b=Tm[a])!=null?b:"",E}function Nm(a){if(a.code)return a;const y=Object.entries(nf().mapping);let b=!1,E=!1,ee="";for(let re=0;re<4;re++){for(const[se,ge]of y)if(ge[re]===a.key){ee=se,re===3?(b=!0,E=!0):re===2?b=!0:re===1&&(E=!0);break}if(ee)break}return new KeyboardEvent(a.type,me(ye({},a),{altKey:b,shiftKey:E,code:ee}))}function Rm(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const E=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const ee of ef)((y=ee.mapping[a.code])==null?void 0:y[E])===a.key?ee.score+=1:(b=ee.mapping[a.code])!=null&&b[E]&&(ee.score=0);ef.sort((ee,re)=>re.score-ee.score)}function zm(a){tf=ef.find(y=>a.startsWith(y.locale))}function nf(){return tf!=null?tf:ef[0]}function Hm(){switch(gh()){case"apple":return mh;case"windows":return d0;case"linux":return f0}return mh}switch(gh()){case"apple":lu(mh),lu(Am),lu(Fm),lu(Dm);break;case"windows":lu(d0),lu(Mm),lu(Pm),lu(Bm);break;case"linux":lu(f0),lu(km),lu(Im),lu(Lm);break}lu(Em);function vh(a){var y;const b=/macos|ios/.test(Me()),E=a.split("+");let ee="";for(const re of E)ee&&(ee+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),re.startsWith("[Key")?ee+=re.slice(4,5):re.startsWith("Key")?ee+=re.slice(3,4):re.startsWith("[Digit")?ee+=re.slice(6,7):re.startsWith("Digit")?ee+=re.slice(5,6):ee+=(y={cmd:"\u2318",meta:b?"\u2318":"Ctrl",shift:b?"\u21E7":"Shift",alt:b?"\u2325":"Alt",ctrl:b?"\u2303":"Ctrl","\n":b?"\u23CE":"Return","[return]":b?"\u23CE":"Return","[enter]":b?"\u2324":"Enter","[tab]":b?"\u21E5":"Tab","[escape]":"Esc","[backspace]":b?"\u232B":"Backspace","[delete]":b?"\u2326":"Del","[pageup]":b?"\u21DE":"Page Up","[pagedown]":b?"\u21DF":"Page Down","[home]":b?"\u2912":"Home","[end]":b?"\u2913":"End","[space]":"Space","[equal]":"=","[minus]":"-","[comma]":",","[slash]":"/","[backslash]":"\\","[bracketleft]":"[","[bracketright]":"]",semicolon:";",period:".",comma:",",minus:"-",equal:"=",quote:"'",backslash:"\\",intlbackslash:"\\",backquote:"`",slash:"/",numpadmultiply:"* 🔢",numpaddivide:"/ 🔢",numpadsubtract:"- 🔢",numpadadd:"+ 🔢",numpaddecimal:". 🔢",numpadcomma:", 🔢",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[re.toLowerCase()])!=null?y:re.toUpperCase();return ee}function kf(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((E,ee)=>({x:E.x+ee.clientX,y:E.y+ee.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function Jc(a){const y={alt:!1,control:!1,shift:!1,meta:!1};return(a instanceof MouseEvent||a instanceof PointerEvent||a instanceof TouchEvent||a instanceof KeyboardEvent)&&(a.altKey&&(y.alt=!0),a.ctrlKey&&(y.control=!0),a.metaKey&&(y.meta=!0),a.shiftKey&&(y.shift=!0)),y}function Km(a,y){return!a&&y||a&&!y?!1:!a||!y?!0:a.alt===y.alt&&a.control===y.control&&a.shift===y.shift&&a.meta===y.meta}var Wm=new Set(["Backquote","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","Minus","Equal","IntlYen","KeyQ","KeyW","KeyE","KeyR","KeyT","KeyY","KeyU","KeyI","KeyO","KeyP","BracketLeft","BracketRight","Backslash","KeyA","KeyS","KeyD","KeyF","KeyG","KeyH","KeyJ","KeyK","KeyL","Semicolon","Quote","IntlBackslash","KeyZ","KeyX","KeyC","KeyV","KeyB","KeyN","KeyM","Comma","Period","Slash","IntlRo","Space","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","NumpadAdd","NumpadComma","NumpadDecimal","NumpadDivide","NumpadEqual","NumpadHash","NumpadMultiply","NumpadParenLeft","NumpadParenRight","NumpadStar","NumpadSubstract"]);function Df(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Wm.has(a.code)}function Bf(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var _u=class xc{static get scrim(){return xc._scrim||(xc._scrim=new xc),xc._scrim}static open(y){xc.scrim.open(y)}static close(){xc.scrim.close()}static get state(){return xc.scrim.state}static get element(){return xc.scrim.element}constructor(y){var b,E;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(E=y==null?void 0:y.translucent)!=null?E:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=Bf();const{element:E}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(E),E.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const ee=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const re=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${re+ee}px`,y!=null&&y.child&&E.append(y.child),this.state="open"}close(){var y,b,E,ee;if(this.state!=="open"){console.assert(this.element.parentElement!==null);return}this.state="closing",typeof this.onDismiss=="function"&&this.onDismiss(),this.onDismiss=void 0;const{element:re}=this;re.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),re.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Bf()!==this.savedActiveElement&&((ee=(E=this.savedActiveElement)==null?void 0:E.focus)==null||ee.call(E)),re.innerHTML="",this.state="closed"}handleEvent(y){this.lightDismiss&&(y.target===this._element&&y.type==="click"?(this.close(),y.preventDefault(),y.stopPropagation()):y.target===document&&(y.type==="touchmove"||y.type==="scroll")&&(this.close(),y.preventDefault(),y.stopPropagation()))}};function Zm(a,y,b){let E=null,ee=null,re=!1,se=!1,ge=!1;const xe=new AbortController,Ae=xe.signal;return a.addEventListener("keydown",Te=>{if(re||Te.key==="Process"||Te.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(Te.code)){E=null;return}E=Te,ee=null,b.onKeystroke(Te)?a.textContent="":E=null},{capture:!0,signal:Ae}),a.addEventListener("keypress",Te=>{re||(E&&ee&&b.onKeystroke(E),ee=Te)},{capture:!0,signal:Ae}),a.addEventListener("compositionstart",Te=>{a.textContent="",re=!0,b.onCompositionStart(Te.data)},{capture:!0,signal:Ae}),a.addEventListener("compositionupdate",Te=>{re&&b.onCompositionUpdate(Te.data)},{capture:!0,signal:Ae}),a.addEventListener("compositionend",Te=>{a.textContent="",re&&(re=!1,b.onCompositionEnd(Te.data))},{capture:!0,signal:Ae}),a.addEventListener("beforeinput",Te=>Te.stopImmediatePropagation(),{signal:Ae}),a.addEventListener("input",Te=>{var Qe;if(!re&&(a.textContent="",Te.inputType!=="insertCompositionText")){if(Te.inputType==="insertFromPaste"){Te.preventDefault(),Te.stopPropagation();return}b.onInput((Qe=Te.data)!=null?Qe:""),Te.preventDefault(),Te.stopPropagation()}},{signal:Ae}),a.addEventListener("paste",Te=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(Te)||Te.preventDefault(),Te.stopImmediatePropagation()},{signal:Ae}),a.addEventListener("cut",Te=>b.onCut(Te),{capture:!0,signal:Ae}),a.addEventListener("copy",Te=>b.onCopy(Te),{capture:!0,signal:Ae}),a.addEventListener("blur",Te=>{var Qe,bt;if(((bt=(Qe=Te.relatedTarget)==null?void 0:Qe._mathfield)==null?void 0:bt.element)===y){a.focus({preventScroll:!0}),Te.preventDefault(),Te.stopPropagation();return}const Gt=_u.state;if(Gt==="open"||Gt==="opening"){Te.preventDefault(),Te.stopPropagation();return}if(Te.relatedTarget===Te.target.getRootNode().host){Te.preventDefault(),Te.stopPropagation();return}ge||se||(ge=!0,E=null,ee=null,b.onBlur(),ge=!1)},{capture:!0,signal:Ae}),a.addEventListener("focus",Te=>{ge||se||(se=!0,b.onFocus(),se=!1)},{capture:!0,signal:Ae}),{dispose:()=>xe.abort(),cancelComposition:()=>{re&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!se&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Bf()===a,setAriaLabel:Te=>a.setAttribute("aria-label",Te),setValue:Te=>{var Qe;a.textContent=Te,a.style.left="-1000px",(Qe=window.getSelection())==null||Qe.selectAllChildren(a)},moveTo:(Te,Qe)=>{a.style.top=`${Qe}px`,a.style.left=`${Te}px`}}}function Sd(a){var y;if(!a||!Df(a))return"";let b;return a.key==="Unidentified"&&a.target&&(b=a.target.value),b=(y=b!=null?b:a.key)!=null?y:a.code,/^(Dead|Return|Enter|Tab|Escape|Delete|PageUp|PageDown|Home|End|Help|ArrowLeft|ArrowRight|ArrowUp|ArrowDown)$/.test(b)&&(b=""),b}function p0(a){a=Nm(a);const y=[];return a.ctrlKey&&y.push("ctrl"),a.metaKey&&y.push("meta"),a.altKey&&y.push("alt"),a.shiftKey&&y.push("shift"),y.length===0?`[${a.code}]`:(y.push(`[${a.code}]`),y.join("+"))}function jm(a){if(ot()){const y=Me(),b=a.startsWith("!"),E=a.endsWith(y);if(b&&!E||!b&&E)return!0}return a==="!other"?!1:a==="other"}function Vm(a,y,b){if(a.length===0)return"";const E=wd(h0(p0(b))),ee=wd({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(Me()),cmd:!1,win:!1});for(let re=a.length-1;re>=0;re--)if((a[re].key===E||a[re].key===ee)&&(!a[re].ifMode||a[re].ifMode===y))return a[re].command;return""}function m0(a){let y=a;return Ie(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function Um(a,y){let b=[];if(typeof y=="string"){const re=Zd[y];Ie(re)?b=re.slice():re&&b.push(re)}const E=m0(y),ee=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const re of a)ee.test(m0(re.command))&&b.push(re.key);return b.map(vh)}function Gm(a,y){if(a.ifPlatform&&!/^!?(macos|windows|android|ios|chromeos|other)$/.test(a.ifPlatform))throw new Error(`Unexpected platform "${a.ifPlatform}" for keybinding ${a.key}`);if(a.ifLayout!==void 0&&(y.score===0||!a.ifLayout.includes(y.id)))return;const b=h0(a.key);let E=a.ifPlatform;if(b.cmd){if(E&&E!=="macos"&&E!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+E+`"
|
|
|
"cmd" modifier can only be used with macOS or iOS platform.`);E||(E=Me()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(E&&E!=="windows")throw new Error('Unexpected "win" modifier with platform "'+E+`"
|
|
|
"win" modifier can only be used with Windows platform.`);E="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(E&&!jm(E))return;if(/^\[.+\]$/.test(b.key))return me(ye({},a),{key:wd(b)});const ee=Om(b.key,y);if(!ee)return me(ye({},a),{key:wd(b)});if(ee.shift&&b.shift||ee.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${yh(a.command)}) is conflicting with the key combination ${wd(ee)} using the ${y.displayName} keyboard layout`);return ee.shift=ee.shift||b.shift,ee.alt=ee.alt||b.alt,ee.meta=b.meta,ee.ctrl=b.ctrl,me(ye({},a),{key:wd(ee)})}function yh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function _m(a,y){const b=[],E=[];for(const ee of a)try{const re=Gm(ee,y);if(!re)continue;const se=E.find(ge=>ge.key===re.key&&ge.ifMode===re.ifMode);if(se)throw new Error(`Ambiguous key binding ${ee.key} (${yh(ee.command)}) matches ${se.key} (${yh(se.command)}) with the ${y.displayName} keyboard layout`);E.push(re)}catch(re){re instanceof Error&&b.push(re.message)}return[E,b]}var Ym=class extends Ga{constructor(){super("latex")}createAtom(a){return new ul(a)}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("application/x-latex")||y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),ks(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ls(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const re=[];for(const xe of y)ue.test(xe)&&re.push(new ul(xe));let se=a.at(a.position);if(se instanceof Qd&&(se=se.lastChild),!(se.parent instanceof Qd)){const xe=new Qd("");se.parent.addChildAfter(xe,se),se=xe.firstChild}const ge=se.parent.addChildrenAfter(re,se);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ge)):ge&&(a.position=a.offsetOf(ge))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function Qm(a){return a.atoms.find(y=>y.type==="latexgroup")}function rf(a){var y,b;const E=a.atoms.find(ee=>ee.type==="latexgroup");return E?(b=(y=E.body)==null?void 0:y.filter(ee=>ee.type==="latex"))!=null?b:[]:[]}function g0(a,y){var b;let E=0,ee=!1;const re=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=re&&!ee;){const xe=a.at(E);ee=xe instanceof ul&&xe.isSuggestion,ee||E++}if(!ee)return[void 0,void 0];let se=E,ge=!1;for(;se<=re&&!ge;){const xe=a.at(se);ge=!(xe instanceof ul&&xe.isSuggestion),ge||se++}return[E-1,se-1]}new Ym;function Lf(a){const y=rf(a.model).filter(b=>b.isSuggestion);if(y.length!==0){a.model.position=a.model.offsetOf(y[0].leftSibling);for(const b of y)b.parent.removeChild(b)}}function af(a,y){var b;const{model:E}=a;Lf(a);for(const Te of rf(E))Te.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Ed(a);return}const ee=[];let re=E.at(E.position);for(;re&&re instanceof ul&&/^[a-zA-Z\*]$/.test(re.value);)re=re.leftSibling;if(re&&re instanceof ul&&re.value==="\\")for(ee.push(re),re=re.rightSibling;re&&re instanceof ul&&/^[a-zA-Z\*]$/.test(re.value);)ee.push(re),re=re.rightSibling;const se=ee.map(Te=>Te.value).join(""),ge=Yt(a,se);if(ge.length===0){if(/^\\[a-zA-Z\*]+$/.test(se))for(const Te of ee)Te.isError=!0;Ed(a);return}const xe=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=xe<0?ge.length-1:xe%ge.length;const Ae=ge[a.suggestionIndex];if(Ae!==se){const Te=ee[ee.length-1];Te.parent.addChildrenAfter([...Ae.slice(se.length-Ae.length)].map(Qe=>new ul(Qe,{isSuggestion:!0})),Te),qc(a,{interactive:!0})}Jm(a,ge)}function v0(a){const[y,b]=g0(a,{before:a.position});if(y===void 0||b===void 0)return!1;let E=!1;return a.getAtoms([y,b]).forEach(ee=>{ee.isSuggestion&&(ee.isSuggestion=!1,E=!0)}),E}function Cd(a,y="accept",b){var E,ee;Ed(a);const re=Qm(a.model);if(!re)return!1;if(y==="accept-suggestion"||y==="accept-all"){const Ae=rf(a.model).filter(Te=>Te.isSuggestion);if(Ae.length!==0){for(const Te of Ae)Te.isSuggestion=!1;a.model.position=a.model.offsetOf(Ae[Ae.length-1])}if(y==="accept-suggestion")return Ae.length!==0}const ge=rf(a.model).filter(Ae=>!Ae.isSuggestion).map(Ae=>Ae.value).join(""),xe=re.leftSibling;return re.parent.removeChild(re),a.model.position=a.model.offsetOf(xe),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(Ga.insert(a.model,ge,{selectionMode:(ee=b==null?void 0:b.selectItem)!=null&&ee?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function Ff(a){var y;let b=document.getElementById(a);return b?b.dataset.refcount=Number(Number.parseInt((y=b.dataset.refcount)!=null?y:"0")+1).toString():(b=document.createElement("div"),b.setAttribute("aria-hidden","true"),b.dataset.refcount="1",b.id=a,document.body.append(b)),b}function bh(a){var y;const b=document.getElementById(a);if(!b)return;const E=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");E<=1?b.remove():b.dataset.refcount=Number(E-1).toString()}function Xm(a,y){const b=new vo({from:a.context}),E=new Br({mode:"math",type:"root",body:tl(y,{context:b})}),ee=Ec(qd(new ci(E.render(b),{classes:"ML__base"}),b));return dc(ee,{classes:"ML__latex"}).toMarkup()}function Jm(a,y){var b;if(y.length===0){Ed(a);return}let E="";for(const[re,se]of y.entries()){const ge=se,xe=Xm(a,se),Ae=Um(a.keybindings,ge).join("<br>");E+=`<li role="button" data-command="${ge}" ${re===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${ge}</span><span class="ML__popover__command">${xe}</span>`,Ae&&(E+=`<span class="ML__popover__keybinding">${Ae}</span>`),E+="</li>"}const ee=qm(a,`<ul>${E}</ul>`);xh()&&((b=ee.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var re;ee&&!xh()&&(ee.classList.add("is-visible"),Pf(a),(re=ee.querySelector(".ML__popover__current"))==null||re.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function xh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function Pf(a,y){var b;if(!a.element||a.element.mathfield!==a||!xh())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){Ed(a);return}if(y!=null&&y.deferred){setTimeout(()=>Pf(a),32);return}const E=Uu(a.field);if(!E)return;const ee=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,re=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,se=window.innerWidth-document.documentElement.clientWidth,ge=window.innerHeight-document.documentElement.clientHeight,xe=window.mathVirtualKeyboard.boundingRect.height,Ae=document.getElementById("mathlive-suggestion-popover");E.x+Ae.offsetWidth/2>re-se?Ae.style.left=`${re-Ae.offsetWidth-se}px`:E.x-Ae.offsetWidth/2<0?Ae.style.left="0":Ae.style.left=`${E.x-Ae.offsetWidth/2}px`;const Te=E.y-E.height;ee-ge-xe-E.y<Te?(Ae.classList.add("ML__popover--reverse-direction"),Ae.classList.remove("top-tip"),Ae.classList.add("bottom-tip"),Ae.style.top=`${E.y-E.height-Ae.offsetHeight-15}px`):(Ae.classList.remove("ML__popover--reverse-direction"),Ae.classList.add("top-tip"),Ae.classList.remove("bottom-tip"),Ae.style.top=`${E.y+15}px`)}function Ed(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function qm(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=Ff("mathlive-suggestion-popover"),Ul("suggestion-popover"),Ul("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let ee=E.target;for(;ee&&!ee.dataset.command;)ee=ee.parentElement;ee&&(Cd(a,"reject"),Ga.insert(a.model,ee.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function $m(){document.getElementById("mathlive-suggestion-popover")&&(bh("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function eg(){const a=String(new Error().stack).replace(/^Error.*\n/,"").split(`
|
|
|
`);if(a.length===0)return console.error(`Can't use relative paths to specify assets location because the sourcefile location could not be determined (unexpected stack trace format "${new Error().stack}").`),"";let y=a[1],b=y.match(/http.*\.ts[\?:]/);return b&&(y=a[2]),b=y.match(/(https?:.*):[0-9]+:[0-9]+/),b||(b=y.match(/at (.*(\.ts))[\?:]/),b||(b=y.match(/at (.*(\.mjs|\.js))[\?:]/))),b?b[1]:(console.error(a),console.error(`Can't use relative paths to specify assets location because the source file location could not be determined (unexpected location "${y}").`),"")}var If=null,y0,b0,wh=((b0=(y0=globalThis==null?void 0:globalThis.document)==null?void 0:y0.currentScript)==null?void 0:b0.src)||eg();function x0(a){return zc(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(If===null)try{const y=yield fetch(wh,{method:"HEAD"});y.status===200&&(If=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${wh}")`)}return new URL(a,If!=null?If:wh).href})}function tg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var uu="not-loaded";function ng(){return zc(this,null,function*(){return uu="not-loaded",Tf()})}function Tf(){return zc(this,null,function*(){var a;if(uu!=="not-loaded")return;if(uu="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){uu="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],E=Array.from(document.fonts).map(se=>se.family);if(b.every(se=>E.includes(se))){uu="ready";return}if(!window.MathfieldElement.fontsDirectory){uu="not-loaded";return}const ee=yield x0(window.MathfieldElement.fontsDirectory);if(!ee){document.body.classList.add("ML__fonts-did-not-load"),uu="error";return}const re=[["KaTeX_Main-Regular"],["KaTeX_Main-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_Main-Bold",{weight:"bold"}],["KaTeX_Main-Italic",{style:"italic"}],["KaTeX_Math-Italic",{style:"italic"}],["KaTeX_Math-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_AMS-Regular"],["KaTeX_Caligraphic-Regular"],["KaTeX_Caligraphic-Bold",{weight:"bold"}],["KaTeX_Fraktur-Regular"],["KaTeX_Fraktur-Bold",{weight:"bold"}],["KaTeX_SansSerif-Regular"],["KaTeX_SansSerif-Bold",{weight:"bold"}],["KaTeX_SansSerif-Italic",{style:"italic"}],["KaTeX_Script-Regular"],["KaTeX_Typewriter-Regular"],["KaTeX_Size1-Regular"],["KaTeX_Size2-Regular"],["KaTeX_Size3-Regular"],["KaTeX_Size4-Regular"]].map(se=>tg(se[0].replace(/-[a-zA-Z]+$/,""),`${ee}/${se[0]}`,se[1]));try{(yield Promise.all(re.map(ge=>{try{return ge.load()}catch(xe){}}))).forEach(ge=>document.fonts.add(ge)),uu="ready";return}catch(se){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ee}"`,{cause:se}),document.body.classList.add("ML__fonts-did-not-load")}uu="error"}})}function rg(a){let y=0;for(let b=0;b<a.length;b++)y=y*31+a.charCodeAt(b),y=y|0;return Math.abs(y)}function ks(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{ou(a)&&a.dirty&&(a.atomBoundsCache=new Map,qc(a,y),a.atomBoundsCache=void 0)})))}function ig(a,y){var b;y=y!=null?y:{};const E=new vo({from:me(ye({},a.context),{atomIdsSettings:{seed:y.forHighlighting?rg(Br.serialize([a.model.root],{expandMacro:!1,defaultMode:a.options.defaultMode})):"random",groupNumbers:(b=y.forHighlighting)!=null?b:!1},letterShapeStyle:a.options.letterShapeStyle}),mathstyle:a.options.defaultMode==="inline-math"?"textstyle":"displaystyle"}),ee=a.model.root.render(E);return dc(qd(ee,E),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function w0(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const ee of b.atoms)ee.caret=void 0,ee.isSelected=!1,ee.containsCaret=!1;if(b.selectionIsCollapsed){const ee=b.at(b.position);ee.caret=a.model.mode;let re=ee.parent;for(;re;)re.containsCaret=!0,re=re.parent}else{const ee=b.getAtoms(b.selection,{includeChildren:!0});for(const re of ee)re.isSelected=!0}return ig(a,y).toMarkup()}function qc(a,y){if(!ou(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const E=a.field;if(!E)return;const ee=a.isSelectionEditable&&a.hasFocus(),re=E.classList.contains("ML__focused");re&&!ee?E.classList.remove("ML__focused"):!re&&ee&&E.classList.add("ML__focused");let se=w0(a,y);const ge=a.element.querySelector("[part=menu-toggle]");if(ge&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?ge.style.display="none":ge.style.display=""),a.model.atoms.length<=1){const xe=a.options.contentPlaceholder;xe&&(se+=`<span part=placeholder class="ML__content-placeholder">${nl(xe)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(se),Of(a,y.interactive),a.dirty=!1}function Of(a,y){const b=a.field;if(!b)return;for(const ge of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))ge.remove();!(y!=null&&y)&&uu!=="error"&&uu!=="ready"&&setTimeout(()=>{uu==="ready"?Of(a):setTimeout(()=>Of(a),128)},32);const E=a.model,ee=b.offsetWidth,re=b.getBoundingClientRect().width;let se=Math.floor(re)/ee;if(se=isNaN(se)?1:se,E.selectionIsCollapsed){Pf(a,{deferred:!0});let ge=E.at(E.position);for(;ge&&ge.type!=="prompt"&&!(ge.containsCaret&&ge.displayContainsHighlight);)ge=ge.parent;if(ge!=null&&ge.containsCaret&&ge.displayContainsHighlight){const xe=Vd(a,Lc(a,ge),se);if(xe){xe.left/=se,xe.right/=se,xe.top/=se,xe.bottom/=se;const Ae=document.createElement("div");Ae.classList.add("ML__contains-highlight"),Ae.style.position="absolute",Ae.style.left=`${xe.left+1}px`,Ae.style.top=`${Math.ceil(xe.top)}px`,Ae.style.width=`${Math.ceil(xe.right-xe.left)}px`,Ae.style.height=`${Math.ceil(xe.bottom-xe.top)}px`,b.insertBefore(Ae,b.childNodes[0])}}return}for(const ge of ag(Gd(a,{excludeAtomsWithBackground:!0}))){ge.left/=se,ge.right/=se,ge.top/=se,ge.bottom/=se;const xe=document.createElement("div");xe.classList.add("ML__selection"),xe.style.position="absolute",xe.style.left=`${ge.left}px`,xe.style.top=`${ge.top}px`,xe.style.width=`${Math.ceil(ge.right-ge.left)}px`,xe.style.height=`${Math.ceil(ge.bottom-ge.top-1)}px`,b.insertBefore(xe,b.childNodes[0])}}function ag(a){let y=[];for(const b of a){let E=!1;for(const ee of y)if(b.left===ee.left&&b.right===ee.right&&b.top===ee.top&&b.bottom===ee.bottom){E=!0;break}E||y.push(b)}a=y,y=[];for(const b of a){let E=0;for(const ee of a)if(b.left>=ee.left&&b.right<=ee.right&&b.top>=ee.top&&b.bottom<=ee.bottom&&(E+=1,E>1))break;E===1&&y.push(b)}return y}var S0=3,Yu;function Gl(a,y){y=ye({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Yu||(Yu={});for(const b of Object.keys(a))console.assert(!Yu[b],"Selector already defined: ",b),Yu[b]=me(ye({},y),{fn:a[b]})}function Sh(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return Sh(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Yu[y]}function Ad(a){var y;return(y=Sh(a))==null?void 0:y.target}function og(a,y){var b;if(!y)return!1;let E,ee=[],re=!1,se=!1;Ie(y)?(E=y[0],ee=y.slice(1)):E=y,E=E.replace(/-\w/g,Ae=>Ae[1].toUpperCase());const ge=Yu[E],xe=ge==null?void 0:ge.target;if(xe==="model"){if(!a.isSelectionEditable&&(ge!=null&&ge.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||Lf(a),Yu[E].fn(a.model,...ee),af(a),se=!0,re=!0}else if(xe==="virtual-keyboard")se=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,re=!0;else if(Yu[E]){if(!a.isSelectionEditable&&(ge!=null&&ge.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),se=Yu[E].fn(a,...ee),re=!0}else throw new Error(`Unknown command "${E}"`);return xe!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||ge!=null&&ge.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),ge!=null&&ge.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),se&&ks(a),re}function sg(a,y){var b;if(!a)return!1;a.focus(),vp.keypressVibration&&nt()&&navigator.vibrate(S0);const E=Sh(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const ee=a.executeCommand(y);return a.scrollIntoView(),ee}Gl({performWithFeedback:(a,y)=>sg(a,y)});function lg(a){return af(a,{atIndex:a.suggestionIndex+1}),!1}function ug(a){return af(a,{atIndex:a.suggestionIndex-1}),!1}Gl({complete:Cd},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Gl({nextSuggestion:lg,previousSuggestion:ug},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var Nf="mathlive#virtual-keyboard-message";function Ch(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===Nf}var cg=class em{constructor(){this.targetOrigin=window.origin,this.originValidator="none",this._boundingRect=new DOMRect(0,0,0,0),this._isShifted=!1,window.addEventListener("message",this),this.sendMessage("proxy-created"),this.listeners={}}static get singleton(){return this._singleton||(this._singleton=new em),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(Ch(y)){if(!_d(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:E}=y;Ad(E)==="virtual-keyboard"&&this.executeCommand(E);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(ye({type:Nf,action:y},b),this.targetOrigin)}},C0={numeric:{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",rows:[[{latex:"x",shift:"y",variants:["y","z","t","r","x^2","x^n","x^{#?}","x_n","x_i","x_{#?}",{latex:"f(#?)",class:"small"},{latex:"g(#?)",class:"small"}]},{latex:"n",shift:"a",variants:["i","j","p","k","a","u"]},"[separator-5]","[7]","[8]","[9]","[/]","[separator-5]",{latex:"\\exponentialE",shift:"\\ln",variants:["\\exp","\\times 10^{#?}","\\ln","\\log_{10}","\\log"]},{latex:"\\imaginaryI",variants:["\\Re","\\Im","\\imaginaryJ","\\Vert #0 \\Vert"]},{latex:"\\pi",shift:"\\sin",variants:["\\prod",{latex:"\\theta",aside:"theta"},{latex:"\\rho",aside:"rho"},{latex:"\\tau",aside:"tau"},"\\sin","\\cos","\\tan"]}],[{label:"<",latex:"<",class:"hide-shift",shift:{latex:"\\le",label:"\u2264"}},{label:">",latex:">",class:"hide-shift",shift:{latex:"\\ge",label:"\u2265"}},"[separator-5]","[4]","[5]","[6]","[*]","[separator-5]",{class:"hide-shift",latex:"#@^2}",shift:"#@^{\\prime}}"},{latex:"#@^{#0}}",class:"hide-shift",shift:"#@_{#?}"},{class:"hide-shift",latex:"\\sqrt{#0}",shift:{latex:"\\sqrt[#0]{#?}}"}}],["[(]","[)]","[separator-5]","[1]","[2]","[3]","[-]","[separator-5]",{latex:"\\int^{\\infty}_{0}\\!#?\\,\\mathrm{d}x",class:"small hide-shift",shift:"\\int",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{class:"hide-shift",latex:"\\forall",shift:"\\exists"},{label:"[backspace]",width:1}],[{label:"[shift]",width:2},"[separator-5]","[0]","[.]","[=]","[+]","[separator-5]","[left]","[right]",{label:"[action]",width:1}]]},greek:{label:"αβγ",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>φ</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>ς</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>ϵ</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>ρ</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>τ</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>υ</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>θ</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>ι</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>ο</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>π</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>α</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>σ</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>δ</i>",class:"MLK__tex hide-shift",insert:"\\delta",aside:"delta",shift:"\\Delta"},{latex:"\\phi",class:"MLK__tex hide-shift",insert:"\\phi",aside:"phi",shift:"\\Phi"},{label:"<i>γ</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>η</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>ξ</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>κ</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>λ</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>ζ</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>χ</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>ψ</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>ω</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>β</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>ν</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>μ</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>ε</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>ϑ</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>ϰ</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>ϖ</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>ϱ</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"∞\u2260\u2208",labelClass:"MLK__tex",tooltip:"keyboard.tooltip.symbols",rows:[[{latex:"\\sin",shift:"\\sin^{-1}",variants:[{class:"small",latex:"\\sinh"},{class:"small",latex:"\\sin^{-1}"},{class:"small",latex:"\\arsinh"}]},"\\ln",{latex:"\\mathrm{abs}",insert:"\\mathrm{abs}\\left(#0\\right)"},{latex:"\\rarr",shift:"\\rArr",variants:[{latex:"\\implies",aside:"implies"},{latex:"\\to",aside:"to"},"\\dashv",{latex:"\\roundimplies",aside:"round implies"}]},{latex:"\\exists",variants:["\\nexists"],shift:"\\nexists"},{latex:"\\in",shift:"\\notin",variants:["\\notin","\\owns"]},"\\cup",{latex:"\\overrightarrow{#@}",shift:"\\overleftarrow{#@}",variants:["\\overleftarrow{#@}","\\bar{#@}","\\vec{#@}","\\hat{#@}","\\check{#@}","\\dot{#@}","\\ddot{#@}","\\mathring{#@}","\\breve{#@}","\\acute{#@}","\\tilde{#@}","\\grave{#@}"]},{class:"small",latex:"\\lim_{#?}",shift:"\\lim_{x\\to\\infty}",variants:[{class:"small",latex:"\\liminf_{#?}"},{class:"small",latex:"\\limsup_{#?}"}]},"\\exponentialE"],[{latex:"\\cos",shift:"\\cos^{-1}",variants:[{class:"small",latex:"\\cosh"},{class:"small",latex:"\\cos^{-1}"},{class:"small",latex:"\\arcosh"}]},{latex:"\\log",shift:"\\log_{10}",variants:["\\log_{#0}","\\log_{10}"]},"\\left\\vert#0\\right\\vert",{latex:"\\larr",shift:"\\lArr",variants:[{latex:"\\impliedby",aside:"implied by"},{latex:"\\gets",aside:"gets"},"\\lArr","\\vdash",{latex:"\\models",aside:"models"}]},{latex:"\\forall",shift:"\\lnot",variants:[{latex:"\\land",aside:"and"},{latex:"\\lor",aside:"or"},{latex:"\\oplus",aside:"xor"},{latex:"\\lnot",aside:"not"},{latex:"\\downarrow",aside:"nor"},{latex:"\\uparrow",aside:"nand"},{latex:"\\curlywedge",aside:"nor"},{latex:"\\bar\\curlywedge",aside:"nand"}]},{latex:"\\ni",shift:"\\not\\owns"},"\\cap",{latex:"\\overline{#@}",shift:"\\underline{#@}",variants:["\\overbrace{#@}","\\overlinesegment{#@}","\\overleftrightarrow{#@}","\\overrightarrow{#@}","\\overleftarrow{#@}","\\overgroup{#@}","\\underbrace{#@}","\\underlinesegment{#@}","\\underleftrightarrow{#@}","\\underrightarrow{#@}","\\underleftarrow{#@}","\\undergroup{#@}"]},{class:"hide-shift",latex:"\\int",shift:"\\iint",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\smallint",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\intop","\\iiint","\\oiint","\\oiiint","\\intclockwise","\\varointclockwise","\\ointctrclockwise","\\intctrclockwise"]},{latex:"\\pi",shift:"\\tau",variants:["\\tau"]}],[{latex:"\\tan",shift:"\\tan^{-1}",variants:[{class:"small",latex:"\\tanh"},{class:"small",latex:"\\tan^{-1}"},{class:"small",latex:"\\artanh"},{class:"small",latex:"\\arctan"},{class:"small",latex:"\\arctg"},{class:"small",latex:"\\tg"}]},{latex:"\\exp",insert:"\\exp\\left(#0\\right)",variants:["\\exponentialE^{#0}"]},"\\left\\Vert#0\\right\\Vert",{latex:"\\lrArr",shift:"\\leftrightarrow",variants:[{latex:"\\iff",aside:"if and only if"},"\\leftrightarrow","\\leftrightarrows","\\Leftrightarrow",{latex:"^\\biconditional",aside:"biconditional"}]},{latex:"\\vert",shift:"!"},{latex:"#@^{\\complement}",aside:"complement",variants:[{latex:"\\setminus",aside:"set minus"},{latex:"\\smallsetminus",aside:"small set minus"}]},{latex:"\\subset",shift:"\\subseteq",variants:["\\subset","\\subseteq","\\subsetneq","\\varsubsetneq","\\subsetneqq","\\nsubset","\\nsubseteq","\\supset","\\supseteq","\\supsetneq","\\supsetneqq","\\nsupset","\\nsupseteq"]},{latex:"#@^{\\prime}",shift:"#@^{\\doubleprime}",variants:["#@^{\\doubleprime}","#@\\degree"]},{latex:"\\mathrm{d}",shift:"\\partial",variants:["\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{latex:"\\infty",variants:["\\aleph_0","\\aleph_1","\\omega","\\mathfrak{m}"]}],[{label:"[shift]",width:2},{class:"box",latex:",",shift:";",variants:[";","?"]},{class:"box",latex:"\\colon",shift:"\\Colon",variants:[{latex:"\\Colon",aside:"such that",class:"box"},{latex:":",aside:"ratio",class:"box"},{latex:"\\vdots",aside:"",class:"box"},{latex:"\\ddots",aside:"",class:"box"},{latex:"\\ldotp",aside:"low dot",class:"box"},{latex:"\\cdotp",aside:"center dot",class:"box"},{latex:"\\ldots",aside:"low ellipsis",class:"box"},{latex:"\\cdots",aside:"center ellipsis",class:"box"},{latex:"\\therefore",aside:"therefore",class:"box"},{latex:"\\because",aside:"because",class:"box"}]},{class:"box",latex:"\\cdot",aside:"centered dot",shift:"\\ast",variants:["\\circ","\\bigcirc","\\bullet","\\odot","\\oslash","\\circledcirc","\\ast","\\star","\\times","\\doteq","\\doteqdot"]},"[separator]","[left]","[right]",{label:"[backspace]",width:1,class:"action hide-shift"},{label:"[action]",width:1}]]},compact:{label:"compact",rows:[["[+]","[-]","[*]","[/]","[=]","[.]","[(]","[)]","\\sqrt{#0}","#@^{#?}"],["[1]","[2]","[3]","[4]","[5]","[6]","[7]","[8]","[9]","[0]"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]},minimalist:{label:"minimalist",layers:[{style:`
|
|
|
.minimalist-backdrop {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
}
|
|
|
.minimalist-container {
|
|
|
--keycap-height: 40px;
|
|
|
--keycap-max-width: 53px;
|
|
|
--keycap-small-font-size: 12px;
|
|
|
background: var(--keyboard-background);
|
|
|
padding: 20px;
|
|
|
border-top-left-radius: 8px;
|
|
|
border-top-right-radius: 8px;
|
|
|
border: 1px solid var(--keyboard-border);
|
|
|
box-shadow: 0 0 32px rgb(0 0 0 / 30%);
|
|
|
}
|
|
|
`,backdrop:"minimalist-backdrop",container:"minimalist-container",rows:[["+","-","\\times",{latex:"\\frac{#@}{#0}",class:"small"},"=","[.]","(",")",{latex:"\\sqrt{#0}",class:"small"},{latex:"#@^{#?}",class:"small"}],["1","2","3","4","5","6","7","8","9","0"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]}]},"numeric-only":{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",id:"numeric-only",rows:[["7","8","9","[separator]",{label:"[backspace]",width:2}],["4","5","6","[separator]","[separator]","[separator]"],["1","2","3","[separator]","[separator]","[separator]"],["0",{label:"[.]",variants:[]},"-","[separator]","[left]","[right]"]]}},Rf={0:["\\varnothing","\\infty"],1:["\\frac{1}{#@}","#@^{-1}","\\times 10^{#?}","\\phi","\\imaginaryI"],2:["\\frac{1}{2}","#@^2","\\sqrt2","\\exponentialE"],3:["\\frac{1}{3}","#@^3","\\sqrt3","\\pi"],4:["\\frac{1}{4}","#@^4"],5:["\\frac{1}{5}","#@^5","\\sqrt5"],6:["\\frac{1}{6}","#@^6"],7:["\\frac{1}{7}","#@^7"],8:["\\frac{1}{8}","#@^8"],9:["\\frac{1}{9}","#@^9"],".":[".",",",";","\\colon"],",":["{,}",".",";","\\colon"],a:[{latex:"\\aleph",aside:"aleph"},{latex:"\\forall",aside:"for all"},"\xE0","\xE1","\xE2","\xE4","\xE6"],b:[{latex:"\\beth",aside:"beth"}],c:[{latex:"\\C",aside:"set of complex numbers"},"\xE7"],d:[{latex:"\\daleth",aside:"daleth"}],e:[{latex:"\\exponentialE",aside:"exponential e"},{latex:"\\exists",aside:"there is"},{latex:"\\nexists",aside:"there isn\u2019t"},"\xE8","\xE9","\xEA","\xEB"],g:[{latex:"\\gimel",aside:"gimel"}],h:[{latex:"\\hbar",aside:"h bar"},{latex:"\\hslash",aside:"h slash"}],i:[{latex:"\\imaginaryI",aside:"imaginary i"},"\xEC","\xED","\xEE","\xEF"],j:[{latex:"\\imaginaryJ",aside:"imaginary j"}],l:[{latex:"\\ell",aside:"ell"}],n:[{latex:"\\mathbb{N}",aside:"set of natural numbers"},"\xF1"],o:["\xF8","\u0153","\xF2","\xF3","\xF4","\xF6","\u0153"],p:[{latex:"\\mathbb{P}",aside:"set of primes"}],q:[{latex:"\\mathbb{Q}",aside:"set of rational numbers"}],r:[{latex:"\\mathbb{R}",aside:"set of real numbers"}],u:["\xF9","\xFA","\xFB","\xFC"],z:[{latex:"\\mathbb{Z}",aside:"set of integers"}],y:["\xFD","\xFF"],space:[{latex:'\\char"203A\\!\\char"2039',insert:"\\!",aside:"negative thin space<br>\u207B\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\,\\char"2039',insert:"\\,",aside:"thin space<br>\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\:\\char"2039',insert:"\\:",aside:"medium space<br>\u2074\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\;\\char"2039',insert:"\\;",aside:"thick space<br>\u2075\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\ \\char"2039',insert:"\\ ",aside:"\u2153 em"},{latex:'\\char"203A\\enspace\\char"2039',insert:"\\enspace",aside:"\xBD em"},{latex:'\\char"203A\\quad\\char"2039',insert:"\\quad",aside:"1 em"},{latex:'\\char"203A\\qquad\\char"2039',insert:"\\qquad",aside:"2 em"}]},of;function E0(a,y){var b,E,ee;const re=Tc.singleton;if(!re)return;const se=Md(a),ge=(E=(b=re.getKeycap(se==null?void 0:se.id))==null?void 0:b.variants)!=null?E:"";if(typeof ge=="string"&&!A0(ge)||Array.isArray(ge)&&ge.length===0){y==null||y();return}const xe={};let Ae="";for(const cr of fg(ge)){const di=k0(cr),ar=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);xe[ar]=di;const[Zr,hi]=zf(di);Ae+=`<div id=${ar} class="item ${hi}">${Zr}</div>`}const Te=document.createElement("div");Te.setAttribute("aria-hidden","true"),Te.className="MLK__variant-panel",Te.style.height="auto";const Qe=Object.keys(xe).length;let bt=5;Qe===1?bt=1:Qe===2||Qe===4?bt=2:Qe===3||Qe===5||Qe===6?bt=3:Qe>=7&&Qe<14&&(bt=4),Te.style.width=`calc(var(--variant-keycap-length) * ${bt} + 12px)`,Te.innerHTML=vp.createHTML(Ae),_u.open({root:(ee=re==null?void 0:re.container)==null?void 0:ee.querySelector(".ML__keyboard"),child:Te}),of=new AbortController;const{signal:Gt}=of,an=a==null?void 0:a.getBoundingClientRect();if(an){an.top-Te.clientHeight<0&&(Te.style.width="auto",Qe<=6?Te.style.height="56px":Qe<=12?Te.style.height="108px":Qe<=18?Te.style.height="205px":Te.classList.add("compact"));const cr=Math.max(0,Math.min(window.innerWidth-Te.offsetWidth,(an.left+an.right-Te.offsetWidth)/2)),di=an.top-Te.clientHeight+5;Te.style.transform=`translate(${cr}px, ${di}px)`,Te.classList.add("is-visible"),requestAnimationFrame(()=>{Te.addEventListener("pointerup",ar=>{const Zr=Md(ar.target);!(Zr!=null&&Zr.id)||!xe[Zr.id]||(Eh(xe[Zr.id]),sf(),y==null||y(),ar.preventDefault())},{capture:!0,passive:!1,signal:Gt}),Te.addEventListener("pointerenter",ar=>{const Zr=Md(ar.target);!(Zr!=null&&Zr.id)||!xe[Zr.id]||Zr.classList.add("is-active")},{capture:!0,signal:Gt}),Te.addEventListener("pointerleave",ar=>{const Zr=Md(ar.target);!(Zr!=null&&Zr.id)||!xe[Zr.id]||Zr.classList.remove("is-active")},{capture:!0,signal:Gt}),window.addEventListener("pointercancel",()=>{sf(),y==null||y()},{signal:Gt}),window.addEventListener("pointerup",()=>{sf(),y==null||y()},{signal:Gt})})}}function sf(){of==null||of.abort(),of=null,_u.state==="open"&&_u.close()}function dg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(Ve))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+Ve[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(je))y.push({class:"swatch-button",label:'<span style="background:'+je[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function A0(a){return Rf[a]!==void 0}function fg(a){var y;return typeof a!="string"?a:(Rf[a]||(Rf[a]=(y=dg(a))!=null?y:[]),Rf[a])}function hg(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function pg(a){return Object.keys(a).map(y=>`${y} {${hg(a[y])}}`).join("")}function lf(a){if(!a)return"";const y=new vo,b=new Br({mode:"math",type:"root",body:tl(a,{context:y,args:ee=>ee==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=Ec(qd(new ci(b.render(y),{classes:"ML__base"}),y));return dc(E,{classes:"ML__latex"}).toMarkup()}function uf(a){var y;if(Array.isArray(a))return a.map(E=>uf(E)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(E=>E.map(ee=>k0(ee)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function mg(){var a,y;let E=window.mathVirtualKeyboard.alphabeticLayout;if(E==="auto"){const ge=nf();ge&&(E=ge.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[at.locale.slice(0,2)])!=null?a:"qwerty")}const ee={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},re=(y=ee[E])!=null?y:ee.qwerty,se=E==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const ge of re){const xe=[];for(const Ae of ge)/[a-z]/.test(Ae)?xe.push({label:Ae,class:"hide-shift",shift:{label:Ae.toUpperCase()},variants:A0(Ae)?Ae:void 0}):Ae==="~"?E!=="dvorak"?xe.push("[backspace]"):xe.push({label:"[backspace]",width:1}):Ae==="^"?xe.push("[shift]"):Ae===" "&&xe.push("[separator-5]");se.push(xe)}return se.push(["[-]","[+]","[=]",{label:" ",width:1.5},{label:",",shift:";",variants:".",class:"hide-shift"},"[.]","[left]","[right]",{label:"[action]",width:1.5}]),{label:"abc",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.alphabetic",layers:uf({rows:se})}}function M0(a){if(a==="alphabetic")return mg();if(typeof a=="string")return console.assert(C0[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),M0(C0[a]);let y;if("rows"in a&&Array.isArray(a.rows)){console.assert(!("layers"in a||"markup"in a),'MathLive 0.98.5: when providing a "rows" property, "layers" and "markup" are ignored');const ee=a,{rows:re}=ee,se=mt(ee,["rows"]);y=me(ye({},se),{layers:uf({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ee=a,{markup:re}=ee,se=mt(ee,["markup"]);y=me(ye({},se),{layers:uf(a.markup)})}else y=ye({},a),"layers"in a?y.layers=uf(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,E=!1;for(const ee of y.layers)if(ee.rows)for(const re of ee.rows.flat()){kd(re)&&(b=!0);const se=re.command;typeof se=="string"&&["undo","redo","cut","copy","paste"].includes(se)&&(E=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!E),y}function gg(a,y){var b,E;let ee='<div class="left">';if(a.normalizedLayouts.length>1)for(const[re,se]of a.normalizedLayouts.entries()){const ge=se,xe=[re===y?"selected":"layer-switch"];ge.tooltip&&xe.push("MLK__tooltip"),ge.labelClass&&xe.push(...ge.labelClass.split(" ")),ee+=`<div class="${xe.join(" ")}"`,ge.tooltip&&(ee+=" data-tooltip='"+((b=ht(ge.tooltip))!=null?b:ge.tooltip)+"' "),re!==y&&(ee+=`data-layer="${ge.layers[0].id}"`),ee+=`>${(E=ge.label)!=null?E:"untitled"}</div>`}return ee+="</div>",ee}function vg(a,y){let b="";if(a.editToolbar==="none")return"";const ee=[];y.selectionIsCollapsed?ee.push("undo","redo","pasteFromClipboard"):ee.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const re={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
|
|
|
data-command='"undo"'
|
|
|
data-tooltip='${ht("tooltip.undo")}'>
|
|
|
<svg><use xlink:href='#svg-undo' /></svg>
|
|
|
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
|
|
|
data-command='"redo"'
|
|
|
data-tooltip='${ht("tooltip.redo")}'>
|
|
|
<svg><use xlink:href='#svg-redo' /></svg>
|
|
|
</div>`,cutToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"cutToClipboard"'
|
|
|
data-tooltip='${ht("tooltip.cut to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-cut' /></svg>
|
|
|
</div>
|
|
|
`,copyToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"copyToClipboard"'
|
|
|
data-tooltip='${ht("tooltip.copy to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-copy' /></svg>
|
|
|
</div>
|
|
|
`,pasteFromClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"pasteFromClipboard"'
|
|
|
data-tooltip='${ht("tooltip.paste from clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-paste' /></svg>
|
|
|
</div>
|
|
|
`};return b+=ee.map(se=>re[se]).join(""),b}function yg(a){for(const y of a)bg(y)}function bg(a){const y=Tc.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(E){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[E,ee]=zf(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function xg(){Ul("virtual-keyboard"),Ul("core"),Tf()}function wg(){x("core"),x("virtual-keyboard")}var Sg=`<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
|
|
|
|
<symbol id="svg-delete-backward" viewBox="0 0 576 512">
|
|
|
<path d="M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z"/>
|
|
|
</symbol>
|
|
|
|
|
|
<symbol id="svg-shift" viewBox="0 0 384 512">
|
|
|
<path d="M2.438 252.3C7.391 264.2 19.06 272 32 272h80v160c0 26.51 21.49 48 48 48h64C250.5 480 272 458.5 272 432v-160H352c12.94 0 24.61-7.797 29.56-19.75c4.953-11.97 2.219-25.72-6.938-34.88l-160-176C208.4 35.13 200.2 32 192 32S175.6 35.13 169.4 41.38l-160 176C.2188 226.5-2.516 240.3 2.438 252.3zM192 86.63L313.4 224H224v208H160V224H70.63L192 86.63z"/>
|
|
|
</symbol>
|
|
|
|
|
|
<symbol id="svg-commit" viewBox="0 0 512 512">
|
|
|
<path d="M135 432.1l-128-128C2.344 300.3 0 294.2 0 288s2.344-12.28 7.031-16.97l128-128c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L81.94 264H464v-208C464 42.75 474.8 32 488 32S512 42.75 512 56V288c0 13.25-10.75 24-24 24H81.94l87.03 87.03c9.375 9.375 9.375 24.56 0 33.94S144.4 442.3 135 432.1z"/>
|
|
|
</symbol>
|
|
|
|
|
|
|
|
|
<symbol id="circle-plus" viewBox="0 0 512 512"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24V280h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V168c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"/></symbol>
|
|
|
|
|
|
<symbol id="svg-command" viewBox="0 0 640 512">
|
|
|
<path d="M34.495 36.465l211.051 211.05c4.686 4.686 4.686 12.284 0 16.971L34.495 475.535c-4.686 4.686-12.284 4.686-16.97 0l-7.071-7.07c-4.686-4.686-4.686-12.284 0-16.971L205.947 256 10.454 60.506c-4.686-4.686-4.686-12.284 0-16.971l7.071-7.07c4.686-4.687 12.284-4.687 16.97 0zM640 468v-10c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h328c6.627 0 12-5.373 12-12z"/>
|
|
|
</symbol>
|
|
|
|
|
|
<symbol id="svg-undo" viewBox="0 0 512 512">
|
|
|
<path d="M20 8h10c6.627 0 12 5.373 12 12v110.625C85.196 57.047 165.239 7.715 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.834 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l7.069-7.069c4.503-4.503 11.749-4.714 16.482-.454C150.782 449.238 200.935 470 256 470c117.744 0 214-95.331 214-214 0-117.744-95.331-214-214-214-82.862 0-154.737 47.077-190.289 116H180c6.627 0 12 5.373 12 12v10c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V20c0-6.627 5.373-12 12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-redo" viewBox="0 0 512 512">
|
|
|
<path d="M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-arrow-left" viewBox="0 0 320 512">
|
|
|
<path d="M206.7 464.6l-183.1-191.1C18.22 267.1 16 261.1 16 256s2.219-11.97 6.688-16.59l183.1-191.1c9.152-9.594 24.34-9.906 33.9-.7187c9.625 9.125 9.938 24.37 .7187 33.91L73.24 256l168 175.4c9.219 9.5 8.906 24.78-.7187 33.91C231 474.5 215.8 474.2 206.7 464.6z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-arrow-right" viewBox="0 0 320 512">
|
|
|
<path d="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-tab" viewBox="0 0 448 512">
|
|
|
<path d="M32 217.1c0-8.8 7.2-16 16-16h144v-93.9c0-7.1 8.6-10.7 13.6-5.7l143.5 143.1c6.3 6.3 6.3 16.4 0 22.7L205.6 410.4c-5 5-13.6 1.5-13.6-5.7v-93.9H48c-8.8 0-16-7.2-16-16v-77.7m-32 0v77.7c0 26.5 21.5 48 48 48h112v61.9c0 35.5 43 53.5 68.2 28.3l143.6-143c18.8-18.8 18.8-49.2 0-68L228.2 78.9c-25.1-25.1-68.2-7.3-68.2 28.3v61.9H48c-26.5 0-48 21.6-48 48zM436 64h-8c-6.6 0-12 5.4-12 12v360c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-paste" viewBox="0 0 512 512"><path d="M160 32c11.6 0 21.3 8.2 23.5 19.2C185 58.6 191.6 64 199.2 64H208c8.8 0 16 7.2 16 16V96H96V80c0-8.8 7.2-16 16-16h8.8c7.6 0 14.2-5.4 15.7-12.8C138.7 40.2 148.4 32 160 32zM64 64h2.7C65 69 64 74.4 64 80V96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V80c0-5.6-1-11-2.7-16H256c17.7 0 32 14.3 32 32h32c0-35.3-28.7-64-64-64H210.6c-9-18.9-28.3-32-50.6-32s-41.6 13.1-50.6 32H64C28.7 32 0 60.7 0 96V384c0 35.3 28.7 64 64 64H192V416H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM288 480c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h96v56c0 22.1 17.9 40 40 40h56V448c0 17.7-14.3 32-32 32H288zM416 165.3L474.7 224H424c-4.4 0-8-3.6-8-8V165.3zM448 512c35.3 0 64-28.7 64-64V235.9c0-12.7-5.1-24.9-14.1-33.9l-59.9-59.9c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448z"/></symbol>
|
|
|
<symbol id="svg-cut" viewBox="0 0 512 512"><path d="M485.6 444.2L333.6 314.9C326.9 309.2 326.1 299.1 331.8 292.4C337.5 285.6 347.6 284.8 354.4 290.5L506.4 419.8C513.1 425.5 513.9 435.6 508.2 442.4C502.5 449.1 492.4 449.9 485.6 444.2zM485.7 67.76C492.5 62.07 502.5 62.94 508.2 69.69C513.9 76.45 513.1 86.55 506.3 92.24L208.5 343.1C218.3 359.7 224 379.2 224 400C224 461.9 173.9 512 112 512C50.14 512 0 461.9 0 400C0 338.1 50.14 288 112 288C141.5 288 168.4 299.4 188.4 318.1L262.2 256L188.4 193.9C168.4 212.6 141.5 224 112 224C50.14 224 0 173.9 0 112C0 50.14 50.14 0 112 0C173.9 0 224 50.14 224 112C224 132.8 218.3 152.3 208.5 168.9L287 235.1L485.7 67.76zM32 112C32 156.2 67.82 192 112 192C156.2 192 192 156.2 192 112C192 67.82 156.2 32 112 32C67.82 32 32 67.82 32 112zM112 480C156.2 480 192 444.2 192 400C192 355.8 156.2 320 112 320C67.82 320 32 355.8 32 400C32 444.2 67.82 480 112 480z"/></symbol>
|
|
|
<symbol id="svg-copy" viewBox="0 0 512 512"><path d="M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-angle-double-right" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-angle-double-left" viewBox="0 0 512 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-trash" viewBox="0 0 448 512">
|
|
|
<path d="M336 64l-33.6-44.8C293.3 7.1 279.1 0 264 0h-80c-15.1 0-29.3 7.1-38.4 19.2L112 64H24C10.7 64 0 74.7 0 88v2c0 3.3 2.7 6 6 6h26v368c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V96h26c3.3 0 6-2.7 6-6v-2c0-13.3-10.7-24-24-24h-88zM184 32h80c5 0 9.8 2.4 12.8 6.4L296 64H152l19.2-25.6c3-4 7.8-6.4 12.8-6.4zm200 432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V96h320v368zm-176-44V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm-80 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm160 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-keyboard-down" viewBox="0 0 576 512"><path d="M64 48c-8.8 0-16 7.2-16 16V240c0 8.8 7.2 16 16 16H512c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H64zM0 64C0 28.7 28.7 0 64 0H512c35.3 0 64 28.7 64 64V240c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM159 359c9.4-9.4 24.6-9.4 33.9 0l95 95 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L305 505c-4.5 4.5-10.6 7-17 7s-12.5-2.5-17-7L159 393c-9.4-9.4-9.4-24.6 0-33.9zm1-167c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V192zM120 88h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H200c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H280c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H360c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H440c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16z"/></symbol>
|
|
|
</svg>`;function Cg(a){a.resetKeycapRegistry(),xg();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Sg+a.normalizedLayouts.map((se,ge)=>Eg(a,se,ge)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Mg,{passive:!1});const ee=y.querySelectorAll(".ML__edit-toolbar");if(ee)for(const se of ee)se.addEventListener("click",ge=>{var xe,Ae;let Te=ge.target,Qe="";for(;Te&&!Qe;)Qe=(xe=Te==null?void 0:Te.getAttribute("data-command"))!=null?xe:"",Te=(Ae=Te==null?void 0:Te.parentElement)!=null?Ae:null;Qe&&a.executeCommand(JSON.parse(Qe))});yg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const re=y.querySelectorAll(".MLK__layer");console.assert(re.length>0,"No virtual keyboards available");for(const se of re)se.addEventListener("pointerdown",ge=>ge.preventDefault());return a.currentLayer=a.latentLayer,y}function Eg(a,y,b){const E=[];if(!("layers"in y))return"";for(const ee of y.layers)E.push(`<div tabindex="-1" class="MLK__layer" id="${ee.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(E.push("<div class='MLK__toolbar' role='toolbar'>"),E.push(gg(a,b)),y.displayEditToolbar&&E.push('<div class="ML__edit-toolbar right"></div>'),E.push("</div>")),E.push(Ag(a,ee)),E.push("</div>");return E.join("")}function Ag(a,y){if(typeof y=="string")return y;let b="";if(typeof y.style=="string"?b+=`<style>${y.style}</style>`:typeof y.style=="object"&&(b+=`<style>${pg(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const E of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const ee of E)if(ee){const re=a.registerKeycap(ee),[se,ge]=zf(ee);/(^|\s)separator/.test(ge)?b+=`<div class="${ge}"`:b+=`<div tabindex="-1" id="${re}" class="${ge}"`,ee.tooltip&&(b+=` data-tooltip="${ee.tooltip}"`),b+=`>${se}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function zf(a,y={shifted:!1}){var b,E,ee,re,se,ge,xe;let Ae="",Te=(b=a.class)!=null?b:"";if(y.shifted&&kd(a)&&(Te+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?Ae=lf(a.shift):typeof a.shift=="object"&&(Ae=a.shift.label?a.shift.label:(E=lf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(Te=(re=(ee=a.shift.class)!=null?ee:a.class)!=null?re:"");else{if(Ae=a.label?a.label:(se=lf(a.latex||a.insert||"")||a.key)!=null?se:"",a.shift){let Qe;typeof a.shift=="string"?Qe=lf(a.shift):a.shift.label?Qe=a.shift.label:Qe=(ge=lf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?ge:"",Ae+=`<span class="MLK__shift">${Qe}</span>`}a.aside&&(Ae+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(Te)&&(Te+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(Te)||(Te+=" MLK__keycap"),!/\bw[0-9]+\b/.test(Te)&&a.width&&(Te+=(xe={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?xe:""),[Ae,Te||"MLK__keycap"]}var $c={"[left]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-left /></svg>",command:["performWithFeedback","moveToPreviousChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-left /></svg>",command:["performWithFeedback","extendSelectionBackward"]}},"[right]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-right /></svg>",command:["performWithFeedback","moveToNextChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-right /></svg>",command:["performWithFeedback","extendSelectionForward"]}},"[up]":{class:"action hide-shift",label:"\u2191",command:["performWithFeedback","moveUp"],shift:{label:"\u219F",command:["performWithFeedback","extendSelectionUpward"]}},"[down]":{class:"action hide-shift",label:"\u2193",command:["performWithFeedback","moveDown"],shift:{label:"\u21A1",command:["performWithFeedback","extendSelectionDownward"]}},"[return]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[action]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{label:"<svg class=svg-glyph><use xlink:href=#circle-plus /></svg>",command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[hr]":{class:"separator horizontal-rule"},"[hide-keyboard]":{class:"action",command:["hideVirtualKeyboard"],width:1.5,label:"<svg class=svg-glyph-lg><use xlink:href=#svg-keyboard-down /></svg>"},"[.]":{variants:".",command:["performWithFeedback","insertDecimalSeparator"],shift:",",class:"big-op hide-shift",label:"."},"[,]":{variants:",",command:["performWithFeedback","insertDecimalSeparator"],shift:".",class:"big-op hide-shift",label:","},"[+]":{variants:[{latex:"\\sum_{#0}^{#0}",class:"small"},"\\oplus"],latex:"+",label:"+",class:"big-op hide-shift",shift:{latex:"\\sum",insert:"\\sum",class:"small"}},"[-]":{variants:["\\pm","\\ominus"],latex:"-",label:"−",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"÷"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"×",shift:{latex:"\\times"},class:"big-op hide-shift"},"[=]":{variants:["\\neq","\\equiv","\\varpropto","\\thickapprox","\\lt","\\gt","\\le","\\ge"],latex:"=",label:"=",shift:{label:"\u2260",latex:"\\ne"},class:"big-op hide-shift"},"[backspace]":{class:"action bottom right hide-shift",width:1.5,command:["performWithFeedback","deleteBackward"],label:"<svg class=svg-glyph><use xlink:href=#svg-delete-backward /></svg>",shift:{class:"action warning",label:"<svg class=svg-glyph><use xlink:href=#svg-trash /></svg>",command:"deleteAll"}},"[undo]":{class:"ghost if-can-undo",command:"undo",label:"<svg class=svg-glyph><use xlink:href=#svg-undo /></svg>",tooltip:"tooltip.undo"},"[redo]":{class:"ghost if-can-redo",command:"redo",label:"<svg class=svg-glyph><use xlink:href=#svg-redo /></svg>",tooltip:"tooltip.redo"},"[(]":{variants:[{latex:"\\lbrack",key:"["},"\\langle","\\lfloor","\\lceil",{latex:"\\lbrace",key:"{"}],key:"(",label:"(",shift:{label:"[",key:"["},class:"hide-shift"},"[)]":{variants:[{latex:"\\rbrack",key:"]"},"\\rangle","\\rfloor","\\rceil",{latex:"\\rbrace",key:"]"}],key:")",label:")",shift:{label:"]",latex:"\\rbrack"},class:"hide-shift"},"[0]":{variants:"0",latex:"0",label:"0",shift:"\\infty",class:"hide-shift"},"[1]":{variants:"1",latex:"1",label:"1",shift:"#@^{-1}",class:"hide-shift"},"[2]":{variants:"2",latex:"2",label:"2",shift:"#@^2",class:"hide-shift"},"[3]":{variants:"3",latex:"3",label:"3",shift:"#@^3",class:"hide-shift"},"[4]":{variants:"4",latex:"4",label:"4",shift:"#@^4",class:"hide-shift"},"[5]":{variants:"5",latex:"5",label:"5",shift:"#@^5",class:"hide-shift"},"[6]":{variants:"6",latex:"6",label:"6",shift:"#@^6",class:"hide-shift"},"[7]":{variants:"7",latex:"7",label:"7",shift:"#@^7",class:"hide-shift"},"[8]":{variants:"8",latex:"8",label:"8",shift:"#@^8",class:"hide-shift"},"[9]":{variants:"9",latex:"9",label:"9",shift:"#@^9",class:"hide-shift"},"[separator-5]":{class:"separator",width:.5},"[separator]":{class:"separator"},"[separator-10]":{class:"separator"},"[separator-15]":{class:"separator",width:1.5},"[separator-20]":{class:"separator",width:2},"[separator-50]":{class:"separator",width:5},"[shift]":{class:"shift bottom left",width:1.5,label:"<span class=caps-lock-indicator></span><svg class=svg-glyph><use xlink:href=#svg-shift /></svg>"},"[foreground-color]":{variants:"foreground-color",command:["applyStyle",{color:"red"}],label:"<span style='border-radius: 50%;width:22px;height:22px; border: 3px solid #cc2428; box-sizing: border-box'>"},"[background-color]":{variants:"background-color",command:["applyStyle",{backgroundColor:"yellow"}],label:"<span style='border-radius: 50%;width:22px;height:22px; background:#fff590; box-sizing: border-box'></span>"}};function k0(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!$c[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&$c[a.label]&&(b=me(ye(ye({},$c[a.label]),a),{label:$c[a.label].label})),"key"in a&&a.key&&$c[a.key]&&(b=me(ye(ye({},$c[a.key]),a),{key:$c[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=ye(ye({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var cf;function Mg(a){var y;if(a.button!==0)return;const b=Tc.singleton;if(!b)return;let E=a.target;for(;E&&!E.getAttribute("data-layer");)E=E.parentElement;if(E){b.currentLayer=(y=E.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const ee=Md(a.target);if(!(ee!=null&&ee.id))return;const re=b.getKeycap(ee.id);if(!re)return;console.assert(a.type==="pointerdown");const se=new AbortController,ge=se.signal;ee.classList.add("is-pressed"),ee.addEventListener("pointerenter",Hf(se),{capture:!0,signal:ge}),ee.addEventListener("pointerleave",Hf(se),{capture:!0,signal:ge}),ee.addEventListener("pointercancel",Hf(se),{signal:ge}),ee.addEventListener("pointerup",Hf(se),{signal:ge}),kd(re)&&(ee.classList.add("is-active"),b.shiftPressCount++),re.variants&&(cf&&clearTimeout(cf),cf=setTimeout(()=>{ee.classList.contains("is-pressed")&&(ee.classList.remove("is-pressed"),ee.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),E0(ee,()=>{se.abort(),ee==null||ee.classList.remove("is-active")}))},300)),a.preventDefault()}function Hf(a){return y=>{const b=Md(y.target);if(!(b!=null&&b.id))return;const E=Tc.singleton;if(!E)return;const ee=E.getKeycap(b.id);if(ee){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),kd(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),kd(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){cf&&clearTimeout(cf),kd(ee)?b.classList.toggle("is-active",E.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),E.isShifted&&ee.shift?typeof ee.shift=="string"?E.executeCommand(["insert",ee.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Eh(ee.shift):Eh(ee),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Eh(a){var y;let b=a.command;!b&&a.insert&&(b=["insert",a.insert,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),!b&&a.key&&(b=["typedText",a.key,{focus:!0,feedback:!0,simulateKeystroke:!0}]),!b&&a.latex&&(b=["insert",a.latex,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),b||(b=["typedText",a.label,{focus:!0,feedback:!0,simulateKeystroke:!0}]),(y=Tc.singleton)==null||y.executeCommand(b)}function kg(a){if(a.nodeType!==1)return!1;const y=a.classList;return y.contains("MLK__keycap")||y.contains("shift")||y.contains("action")||y.contains("fnbutton")||y.contains("bigfnbutton")}function Md(a){if(!a)return;let y=a;for(;y&&!kg(y);)y=y.parentElement;return y!=null?y:void 0}function kd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var Tc=class tm{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,E;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(ee=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(E=window.top)==null||E.addEventListener("message",this)}catch(ee){window.addEventListener("message",this)}document.body.addEventListener("focusin",ee=>{const re=ee.target;re!=null&&re.isConnected&&setTimeout(()=>{const se=D0();se&&!se.readOnly&&se.mathVirtualKeyboardPolicy==="auto"&&dt()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ee=>{ee.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{D0()||this.hide()},300)})}get currentLayer(){var y,b,E;return(E=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?E:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let E=y?this._element.querySelector(`#${y}.MLK__layer`):null;E||(E=this._element.querySelector(".MLK__layer")),E&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),E.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const E of b)for(const ee of E.layers)if(ee.id===y)return ee}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],E=b.findIndex(ee=>ee==="default");E>=0&&b.splice(E,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ee=>M0(ee))}get normalizedLayouts(){return this._normalizedLayouts||this.updateNormalizedLayouts(this._layouts),this._normalizedLayouts}get editToolbar(){return this._editToolbar}set editToolbar(y){this._editToolbar=y,this.rebuild()}get container(){return this._container}set container(y){this._container=y,this.rebuild()}static get singleton(){if(this._singleton===void 0)try{this._singleton=new tm}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const E=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${E}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const ee=E-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ee}px)`:`${ee}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${E}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const E of b){const ee=this.getKeycap(E.id);if(ee){const[re,se]=zf(ee,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(re),E.className=se}}}show(y){var b;if(this._visible)return;const E=this.container;if(E&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const ee=this._element.getElementsByClassName("MLK__plate")[0];if(ee&&this.observer.observe(ee),E===window.document.body){const re=E.style.paddingBottom;this.originalContainerBottomPadding=re;const se=ee.offsetHeight-1;E.style.paddingBottom=re?`calc(${re} + ${se}px)`:`${se}px`}window.addEventListener("mouseup",this),window.addEventListener("blur",this),window.addEventListener("keydown",this,{capture:!0}),window.addEventListener("keyup",this,{capture:!0}),(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.currentLayer=this.latentLayer}this._visible=!0,y!=null&&y.animate?requestAnimationFrame(()=>{this._element&&(this._element.classList.add("animate"),this._element.addEventListener("transitionend",()=>{var ee;return(ee=this._element)==null?void 0:ee.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const E=this.container;if(E&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const ee=this._element.getElementsByClassName("MLK__plate")[0];ee&&this.observer.unobserve(ee),window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("keydown",this,{capture:!0}),window.removeEventListener("keyup",this,{capture:!0}),window.removeEventListener("contextmenu",this,{capture:!0}),sf(),wg(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(E.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=Cg(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&E0(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Ch(y)){if(!_d(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:E}=y;if(E==="execute-command"){const{command:ee}=y,re=Ad(ee);if(window.top!==void 0&&re!=="virtual-keyboard")return;this.executeCommand(ee);return}if((E==="connect"||E==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),E!=="disconnect"&&window===window.top){if(E==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(E==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(E==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(E==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,E){if(E||(E=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||E===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:ye({type:Nf,action:y},b)}));return}if(E)E.postMessage(ye({type:Nf,action:y},b),{targetOrigin:this.targetOrigin});else if(b.command&&this.dispatchEvent(new CustomEvent("math-virtual-keyboard-command",{detail:b.command})),y==="execute-command"&&Array.isArray(b.command)&&b.command[0]==="insert"){const ee=b.command[1].split("");for(const re of ee)this.dispatchEvent(new KeyboardEvent("keydown",{key:re,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:re,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const E=b.querySelectorAll(".ML__edit-toolbar");if(E)for(const ee of E)ee.innerHTML=vg(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,E=[],ee=Ad(y);return Ie(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ee=Ad(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,re=>re[1].toUpperCase()),ee==="virtual-keyboard"?Yu[b].fn(void 0,...E):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function D0(){var a,y;let b=Bf(),E=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){E=b.host;break}b=b.parentNode}return E}if(ot()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=Tc.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>cg.singleton,configurable:!0});function Kf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(Ie(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[re,se]=E.split(",").map(ge=>parseInt(ge.trim()));y.scriptDepth=[re,se]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ee=a.mathVirtualKeyboardPolicy.toLowerCase();if(ee==="sandboxed"){if(window!==window.top){const re=Tc.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>re})}ee="manual"}y.mathVirtualKeyboardPolicy=ee;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?at.locale.startsWith("fr")?y.letterShapeStyle="french":y.letterShapeStyle="tex":y.letterShapeStyle=a.letterShapeStyle;break;case"defaultMode":["text","math","inline-math"].includes(a.defaultMode)?y.defaultMode=a.defaultMode:(console.error('MathLive 0.98.5: valid values for defaultMode are "text", "math" or "inline-math"'),y.defaultMode="math");break;case"macros":y.macros=yt(a.macros);break;default:Ie(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=ye({},a[b]):y[b]=a[b]}return y}function ed(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const E={};for(const ee of b)a[ee]===null?E[ee]=null:Ie(a[ee])?E[ee]=[...a[ee]]:typeof a[ee]=="object"&&!(a[ee]instanceof Element)&&ee!=="computeEngine"?E[ee]=ye({},a[ee]):E[ee]=a[ee];return typeof y=="string"?E[y]:E}function Wf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:Ye,backgroundColorMap:We,letterShapeStyle:at.locale.startsWith("fr")?"french":"tex",minFontScale:0,smartMode:!1,smartFence:!0,smartSuperscript:!0,scriptDepth:[1/0,1/0],removeExtraneousParentheses:!0,isImplicitFunction:a=>["\\sin","\\cos","\\tan","\\arcsin","\\arccos","\\arctan","\\arcsec","\\arccsc","\\arsinh","\\arcosh","\\artanh","\\arcsech","\\arccsch","\\arg","\\ch","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\sec","\\sinh","\\sh","\\tanh","\\tg","\\th","\\lg","\\lb","\\log","\\ln"].includes(a),mathModeSpace:"",placeholderSymbol:"\u25A2",contentPlaceholder:"",popoverPolicy:"auto",environmentPopoverPolicy:"off",keybindings:lh,inlineShortcuts:ko,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:sh,value:""}}function B0(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function Oc(a,y){!a||!y||(Ie(a)?a.forEach(b=>Oc(b,y)):typeof a=="object"&&!a.style.color&&!a.style.backgroundColor&&!a.style.fontFamily&&!a.style.fontShape&&!a.style.fontSeries&&!a.style.fontSize&&!a.style.variant&&!a.style.variantStyle&&(a.applyStyle(y),Oc(a.body,y),Oc(a.above,y),Oc(a.below,y),Oc(a.subscript,y),Oc(a.superscript,y)))}function Ah(a,y,b,E){function ee(se,ge){for(const xe of re)if(xe.style[se]!==ge)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const re=a.getAtoms(y,{includeChildren:!0});E.operation==="toggle"&&(b.color&&ee("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ee("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ee("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ee("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ee("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ee("fontSize",b.fontSize)&&(b.fontSize=Jl),b.variant&&ee("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ee("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const se of re)se.applyStyle(b);return!0}function Dg(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:E}=b;b.caret=void 0;const ee=new mc(y,{mode:b.mode});ee.caret=E,b.parent.addChildAfter(ee,b),a.position+=1}}function Bg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}gr(["math","displaymath"],Su),gr("center",Su),rn("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(E=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(E)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new Xa("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),kr("array","{columns:colspec}",(a,y,b,E)=>new Xa(a,Mh(y),b,{columns:E[0],mathstyleName:"textstyle"})),kr(["equation","equation*","subequations"],"",(a,y,b)=>new Xa(a,Mh(y),b,{columns:[{align:"c"}]})),kr(["multline","multline*"],"",Su),kr(["align","align*","aligned","eqnarray"],"",Su),kr("split","",Su),kr(["gather","gathered"],"",Su),kr(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",Su),kr(["smallmatrix","smallmatrix*"],"[columns:colspec]",Su),kr(["cases","dcases","rcases"],"",Su);function Lg(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Mh(a,y=1){return Lg(a)?Array(y).fill([[new Br({type:"first"}),new ka]]):a.map(b=>b.length===0?[[new Br({type:"first"})]]:b.map(E=>E.length===0?[new Br({type:"first"})]:(E[0].type!=="first"&&E.unshift(new Br({type:"first"})),E)))}function Su(a,y=[[[]]],b=[],E=[]){switch(y=Mh(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new Xa(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new Xa(a,y,b,{mathstyleName:"textstyle"});case"center":return new Xa(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new Xa(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new Xa(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new Xa(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new Xa(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:td(E[0])});case"bmatrix":case"bmatrix*":return new Xa(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:td(E[0])});case"Bmatrix":case"Bmatrix*":return new Xa(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:td(E[0])});case"vmatrix":case"vmatrix*":return new Xa(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:td(E[0])});case"Vmatrix":case"Vmatrix*":return new Xa(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:td(E[0])});case"matrix":case"matrix*":return new Xa(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:td(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new Xa(a,y,b,{mathstyleName:"scriptstyle",columns:td(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new Xa(a,y,b,{mathstyleName:a==="dcases"?"displaystyle":"textstyle",arraystretch:1.2,leftDelim:"\\lbrace",rightDelim:".",columns:[{align:"l"},{gap:1},{align:"l"}]});case"rcases":return new Xa(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new Xa(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ee=0;for(const ge of y)ee=Math.max(ee,ge.length);const re=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let se=2;for(;se<ee;)re.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),se+=2;return re.push({gap:0}),new Xa(a,y,b,{arraycolsep:0,columns:re,minColumns:2})}}return new Xa(a,y,b,{mathstyleName:"textstyle"})}function td(a){return a!=null?a:[{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"}]}function Fg(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof Xa);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof Xa)){const E=a.at(a.position);if(b=E,!b.parent.parent){let ee=a.extractAtoms([a.position,a.lastOffset]),re=a.extractAtoms([0,a.position]);re.length===0&&(re=Vf()),ee.length===0&&(ee=Vf());let se;return y.endsWith("column")?(se=Su("split",[[re,ee]]),a.root=se,nd(se,0,0)?rd(a,se,0,0):nd(se,0,1)?rd(a,se,0,1):a.position=a.offsetOf(E)):(se=Su("lines",[[re],[ee]]),a.root=se,nd(se,0,0)?rd(a,se,0,0):nd(se,1,0)?rd(a,se,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof Ro){const ee=b.parent;let re=a.extractAtoms([a.position,a.offsetOf(ee.lastChild)]),se=a.extractAtoms([a.offsetOf(ee.firstChild),a.position]);se.length===0&&(se=Vf()),re.length===0&&(re=Vf());let ge="pmatrix";const xe=ee.leftDelim,Ae=ee.rightDelim;xe==="("&&(Ae===")"||Ae==="?")?ge="pmatrix":(xe==="["||xe==="\\lbrack")&&(Ae==="]"||Ae==="\\rbrack"||Ae==="?")?ge="bmatrix":xe==="\\vert"&&Ae==="\\vert"?ge="vmatrix":xe==="\\Vert"&&Ae==="\\Vert"?ge="Vmatrix":(xe==="{"||xe==="\\lbrace")&&(Ae==="."||Ae==="?")&&(ge="cases");const Te=Su(ge,y.endsWith("column")?[[se,re]]:[[se],[re]]);return ee.parent.addChildBefore(Te,ee),ee.parent.removeChild(ee),nd(Te,0,0)?rd(a,Te,0,0):y.endsWith("column")?nd(Te,0,1)?rd(a,Te,0,1):a.position=a.offsetOf(b):nd(Te,1,0)?rd(a,Te,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof Xa?[b.parent,b.parentBranch]:[void 0,[0,0]]}function nd(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function Pg(a,y,b,E){const ee=y.getCell(b,E);return ee?[a.offsetOf(ee[0]),a.offsetOf(ee[ee.length-1])]:-1}function rd(a,y,b,E){const ee=Pg(a,y,b,E);typeof ee!="number"&&a.setSelection(ee)}function Zf(a,y,b,E,ee){const re=y.getCell(b,E);re&&a.setPositionHandlingPlaceholder(a.offsetOf(re[ee==="start"?0:re.length-1]))}function jf(a,y){const[b,[E,ee]]=Fg(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),Zf(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ee),Zf(a,b,E,ee+1,"end");break;case"before row":b.addRowBefore(E),Zf(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ee),Zf(a,b,E,ee,"start");break}}function L0(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Ig(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function F0(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Tg(a){return a.contentWillChange({inputType:"insertText"})?(jf(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function P0(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",E=".";switch(y){case"pmatrix":case"pmatrix*":b="(",E=")";break;case"bmatrix":case"bmatrix*":b="[",E="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",E="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",E="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",E="\\Vert";break;case"matrix":case"matrix*":b=".",E=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":E="\\rbrace";break}const ee=a.at(a.position),re=ee.type==="array"?ee:a.parentEnvironment;return re.environmentName=y,re.leftDelim=b,re.rightDelim=E,a.contentDidChange({}),!0}function I0(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof Xa);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof Xa){const E=b.parent,ee=b.parentBranch;let re;switch(y){case"row":if(E.rowCount>1){E.removeRow(ee[0]);const se=E.getCell(Math.max(0,ee[0]-1),ee[1]);re=a.offsetOf(se[se.length-1])}break;case"column":if(E.colCount>E.minColumns){E.removeColumn(ee[1]);const se=E.getCell(ee[0],Math.max(0,ee[1]-1));re=a.offsetOf(se[se.length-1])}break}re&&a.setPositionHandlingPlaceholder(re)}}function Og(a){return a.contentWillChange({inputType:"deleteContent"})?(I0(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function Ng(a){return a.contentWillChange({inputType:"deleteContent"})?(I0(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Gl({addRowAfter:L0,addColumnAfter:F0,addRowBefore:Ig,addColumnBefore:Tg,removeRow:Og,removeColumn:Ng,setEnvironment:P0},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Vf(){return[new ka]}var T0=class nm{constructor(y){this.recording=!1,this.model=y,this.reset()}reset(){this.stack=[],this.index=-1,this.lastOp=""}startRecording(){this.recording=!0}stopRecording(){this.recording=!1}canUndo(){return this.index-1>=0}canRedo(){return this.stack.length-1>this.index}stopCoalescing(y){y&&this.index>=0&&(this.stack[this.index].selection=y),this.lastOp=""}undo(){return this.canUndo()?(this.model.setState(this.stack[this.index-1],{silenceNotifications:!1,type:"undo"}),this.index-=1,this.lastOp="",!0):!1}redo(){return this.canRedo()?(this.index+=1,this.model.setState(this.stack[this.index],{silenceNotifications:!1,type:"redo"}),this.lastOp="",!0):!1}pop(){this.canUndo()&&(this.stack.splice(this.index,this.stack.length-this.index),this.index-=1)}snapshot(y){return this.recording?(y&&y===this.lastOp&&this.pop(),this.stack.splice(this.index+1,this.stack.length-this.index-1),this.stack.push(this.model.getState()),this.index+=1,this.stack.length>nm.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};T0.maximumDepth=1e3;var Rg=T0;function kh(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let ee;if(de.test(a.at(y).value)){let re=y,se;do se=a.at(re).mode==="text"&&de.test(a.at(re).value),re+=E;while(a.at(re)&&se);ee=a.at(re)?re-2*E:re-E}else if(/\s/.test(a.at(y).value)){let re=y;for(;a.at(re)&&a.at(re).mode==="text"&&/\s/.test(a.at(re).value);)re+=E;if(!a.at(re))ee=re-E;else{let se=!0;do se=a.at(re).mode==="text"&&!/\s/.test(a.at(re).value),re+=E;while(a.at(re)&&se);ee=a.at(re)?re-2*E:re-E}}else{let re=y;for(;a.at(re)&&a.at(re).mode==="text"&&!/\s/.test(a.at(re).value);)re+=E;ee=a.at(re)?re:re-E;let se=!0;for(;a.at(re)&&se;)se=a.at(re).mode==="text"&&/\s/.test(a.at(re).value),se&&(ee=re),re+=E;ee=a.at(re)?re-2*E:re-E}return ee-(E>0?0:1)}function Dd(a,y,b){var E,ee,re,se,ge,xe,Ae;const Te=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let Qe=a.at(a.position);if(y==="forward"&&(Qe.type==="subsup"?(Qe=Qe.rightSibling,Qe||(Qe=a.at(a.position+1))):Qe=a.at(a.position+1)),!Qe)return a.announce("plonk"),!1;let bt=a.offsetOf(Qe);if(Qe instanceof iu)bt=kh(a,bt,y);else if(Qe instanceof ul)if(Qe.isSuggestion)for(console.assert(y==="forward");Qe&&Qe instanceof ul;)Qe.isSuggestion=!1,bt=a.offsetOf(Qe),Qe=Qe.rightSibling;else if(y==="forward"){if(Qe=Qe.rightSibling,!Qe||!(Qe instanceof ul))return a.announce("plonk"),!1;for(;Qe&&Qe instanceof ul&&/[a-zA-Z\*]/.test(Qe.value);)bt=a.offsetOf(Qe),Qe=Qe.rightSibling}else{if(Qe=Qe.leftSibling,!Qe||!(Qe instanceof ul))return a.announce("plonk"),!1;for(;Qe&&Qe instanceof ul&&/[a-zA-Z\*]/.test(Qe.value);)bt=a.offsetOf(Qe),Qe=Qe.leftSibling}else if(y==="forward"&&Qe.type==="mopen"){let Gt=0;do Qe.type==="mopen"?Gt+=1:Qe.type==="mclose"&&(Gt-=1),Qe=Qe.rightSibling;while(!Qe.isLastSibling&&Gt!==0);bt=a.offsetOf(Qe.leftSibling)}else if(y==="backward"&&Qe.type==="mclose"){let Gt=0;do Qe.type==="mopen"?Gt+=1:Qe.type==="mclose"&&(Gt-=1),Qe=Qe.leftSibling;while(!Qe.isFirstSibling&&Gt!==0);bt=a.offsetOf(Qe)}else if(y==="backward")if(Qe.type==="first")for(;bt>0&&Qe.type==="first";)bt-=1,Qe=a.at(bt);else{const Gt=Qe.type;Qe.type==="subsup"&&(bt=a.offsetOf(a.at(bt).leftSibling)),bt-=1;let an=(ee=a.at(bt))==null?void 0:ee.type;for(;bt>=0&&an===Gt;)((re=a.at(bt))==null?void 0:re.type)==="subsup"?bt=a.offsetOf(a.at(bt).leftSibling):bt-=1,an=a.at(bt).type}else{const{type:Gt}=Qe;let an=(se=a.at(bt))==null?void 0:se.type;const{lastOffset:cr}=a;for(;bt<=cr&&(an===Gt||an==="subsup");){for(;((ge=a.at(bt).rightSibling)==null?void 0:ge.type)==="subsup";)bt=a.offsetOf(a.at(bt).rightSibling);bt+=1,an=(xe=a.at(bt))==null?void 0:xe.type}bt-=1}if((Ae=b==null?void 0:b.extend)!=null&&Ae){if(!a.setSelection(a.anchor,bt))return a.announce("plonk"),!1}else{if(bt===a.position)return a.announce("plonk"),!1;a.position=bt}return a.announce("move",Te),a.mathfield.stopCoalescingUndo(),!0}function Qu(a,y,b){var E,ee;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[ge,xe]=g0(a);ge!==void 0&&xe!==void 0&&a.deleteAtoms([ge,xe])}if(y==="upward")return Hg(a,b);if(y==="downward")return Kg(a,b);if(b.extend){let ge=Uf(a,a.position,y);ge<0&&(ge=0),ge>a.lastOffset&&(ge=a.lastOffset);const xe=a.setSelection(a.anchor,ge);return a.mathfield.stopCoalescingUndo(),xe}if(a.selectionIsPlaceholder){a.collapseSelection(y);const ge=Qu(a,y);return a.mathfield.stopCoalescingUndo(),ge}let re=a.position;const se=re;if(a.collapseSelection(y)?(re=a.position,O0(a,re)||(re=Uf(a,re,y))):re=Uf(a,re,y),re<0||re>a.lastOffset){let ge=!0;return a.silenceNotifications||(ge=(ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0),ge&&a.announce("plonk"),ge}return a.setPositionHandlingPlaceholder(re),a.mathfield.stopCoalescingUndo(),a.announce("move",se),!0}function Uf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||O0(a,y)?y:Uf(a,y,b)}function O0(a,y){var b;const E=a.at(y);let ee=E.parent;for(;ee&&!ee.inCaptureSelection;)ee=ee.parent;return!(ee!=null&&ee.inCaptureSelection||(b=E.parent)!=null&&b.skipBoundary&&(!E.isFirstSibling&&E.isLastSibling||E.type==="first")||a.mathfield.hasEditablePrompts&&!E.parentPrompt)}function zg(a,y,b){let E=1/0,ee=0;for(;ee<y.length;ee++){const re=vd(a.getHTMLElement(y[ee])).right,se=Math.abs(b-re);if(se<=E)E=se;else break}return y[ee-1]}function Gf(a,y,b,E,ee){const re=a.mathfield.hasEditablePrompts,se=re?b.filter(Ae=>Ae.type==="prompt"&&!Ae.captureSelection):b,ge=vd(a.mathfield.getHTMLElement(y)).right,xe=a.offsetOf(zg(a.mathfield,se,ge))-(re?1:0);if(E){const[Ae,Te]=a.selection.ranges[0];let Qe;xe<(ee==="up"?Ae:Te)?Qe={ranges:[[xe,Te]],direction:"backward"}:Qe={ranges:[[Ae,xe]],direction:"forward"},a.setSelection(Qe)}else a.setPositionHandlingPlaceholder(xe);a.announce(`move ${ee}`)}function Hg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("backward");const re=()=>{var xe,Ae;let Te=!0;return a.silenceNotifications||(Te=(Ae=(xe=a.mathfield.host)==null?void 0:xe.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Ae:!0),a.announce(Te?"plonk":"line"),Te},se=a.at(a.position);let ge=se;for(;ge&&ge.parentBranch!=="below"&&!(Array.isArray(ge.parentBranch)&&ge.parent instanceof Xa);)ge=ge.parent;if(Array.isArray(ge==null?void 0:ge.parentBranch)&&ge.parent instanceof Xa){const xe=ge.parent;if(ge.parentBranch[0]<1)return re();const Ae=ge.parentBranch[0]-1,Te=xe.array[Ae][ge.parentBranch[1]];if(!Te.some(bt=>bt.type==="prompt"&&!bt.captureSelection)&&a.mathfield.hasEditablePrompts)return re();Gf(a,se,Te,ee,"up")}else if(ge){const xe=(E=ge.parent.branch("above"))!=null?E:ge.parent.createBranch("above");if(!xe.some(Te=>Te.type==="prompt"&&Te.placeholderId)&&a.mathfield.hasEditablePrompts)return re();Gf(a,se,xe,ee,"up")}else return re();return a.mathfield.stopCoalescingUndo(),!0}function Kg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("forward");const re=()=>{var xe,Ae;let Te=!0;return a.silenceNotifications||(Te=(Ae=(xe=a.mathfield.host)==null?void 0:xe.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Ae:!0),a.announce(Te?"plonk":"line"),Te},se=a.at(a.position);let ge=se;for(;ge&&ge.parentBranch!=="above"&&!(Array.isArray(ge.parentBranch)&&ge.parent instanceof Xa);)ge=ge.parent;if(Array.isArray(ge==null?void 0:ge.parentBranch)&&ge.parent instanceof Xa){const xe=ge.parent;if(ge.parentBranch[0]+1>xe.array.length-1)return re();const Ae=ge.parentBranch[0]+1,Te=xe.array[Ae][ge.parentBranch[1]];if(!Te.some(bt=>bt.type==="prompt"&&!bt.captureSelection)&&a.mathfield.hasEditablePrompts)return re();Gf(a,se,Te,ee,"down")}else if(ge){const xe=(E=ge.parent.branch("below"))!=null?E:ge.parent.createBranch("below");if(!xe.some(Te=>Te.type==="prompt")&&a.mathfield.hasEditablePrompts)return re();Gf(a,se,xe,ee,"down")}else return re();return!0}function N0(a){const y=a.position,b=a.at(y).parent;return b!=null&&b.parent?(a.position=a.offsetOf(b),a.mathfield.stopCoalescingUndo(),a.announce("move",y),!0):(a.announce("plonk"),!1)}function Wg(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!1):E=!0,b=b.parent;return E?y:0}function Zg(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!0):E=!1,b=b.parent;return E?y:0}function R0(a){var y;if(a.collapseSelection(),Wg(a)>=a.mathfield.options.scriptDepth[1])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=b.rightSibling)==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new xu({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function z0(a){var y;if(a.collapseSelection(),Zg(a)>=a.mathfield.options.scriptDepth[0])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=a.at(a.position+1))==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new xu({style:a.at(a.position).computedStyle}),b),b=a.at(a.position+1)),b.createBranch("subscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.subscript[0]))),!0}function jg(){function a(xe){const Ae=[],Te=[];return[...xe.querySelectorAll(`input, select, textarea, a[href], button,
|
|
|
[tabindex], audio[controls], video[controls],
|
|
|
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((bt,Gt)=>{const an=E(bt);an===0?Ae.push(bt):Te.push({documentOrder:Gt,tabIndex:an,node:bt})}),Te.sort((bt,Gt)=>bt.tabIndex===Gt.tabIndex?bt.documentOrder-Gt.documentOrder:bt.tabIndex-Gt.tabIndex).map(bt=>bt.node).concat(Ae)}function y(xe){return!(!b(xe)||ee(xe)||E(xe)<0)}function b(xe){return!(xe.disabled||xe.type==="hidden"&&xe.tagName.toUpperCase()==="INPUT"||ge(xe))}function E(xe){var Ae;const Te=Number.parseInt((Ae=xe.getAttribute("tabindex"))!=null?Ae:"NaN",10);return Number.isNaN(Te)?xe.contentEditable==="true"||(xe.nodeName==="AUDIO"||xe.nodeName==="VIDEO")&&xe.getAttribute("tabindex")===null?0:xe.tabIndex:Te}function ee(xe){return xe.tagName.toUpperCase()==="INPUT"&&xe.type==="radio"&&!se(xe)}function re(xe,Ae){for(const Te of xe)if(Te.checked&&Te.form===Ae)return Te;return null}function se(xe){var Ae;if(!xe.name)return!0;const Qe=((Ae=xe.form)!=null?Ae:xe.ownerDocument).querySelectorAll('input[type="radio"][name="'+xe.name+'"]'),bt=re(Qe,xe.form);return!bt||bt===xe}function ge(xe){if(!ot()||xe===document.activeElement||xe.contains(document.activeElement))return!1;if(getComputedStyle(xe).visibility==="hidden")return!0;const Ae=xe.getBoundingClientRect();if(Ae.width===0||Ae.height===0)return!0;for(;xe;){if(getComputedStyle(xe).display==="none")return!0;xe=xe.parentElement}return!1}return ot()?a(document.body):[]}function Dl(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const ee=a.offsetOf(y[0]),re=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ee,re):a.setSelection(re,ee),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?Dl(a,[y.leftSibling,y]):Dl(a,[y,y.leftSibling])}function Tu(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const E=a.offsetOf(y);y.type==="placeholder"?a.setSelection(E-1,E):a.position=E}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function _f(a,y,b=!0){var E,ee;const re=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Qu(a,y);let se;const ge=a.at(a.anchor).parentPrompt;ge?y==="forward"?se=a.offsetOf(ge)+1:se=a.offsetOf(ge.leftSibling):se=Math.max(a.position+re,0);const xe=Dh(a,se,y);if(!xe||y==="forward"&&a.offsetOf(xe)<se||y==="backward"&&a.offsetOf(xe)>se){if(!b||!((ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ee))return a.announce("plonk"),!1;const Te=jg();if(!document.activeElement||Te.length<=1)return a.announce("plonk"),!1;let Qe=Te.indexOf(document.activeElement)+re;return Qe<0&&(Qe=Te.length-1),Qe>=Te.length&&(Qe=0),Te[Qe].focus(),a.mathfield.stopCoalescingUndo(),!0}return Tu(a,xe),!0}function Dh(a,y=0,b="forward"){return a.findAtom(E=>E.type==="placeholder"||E.type==="prompt"||!a.mathfield.readOnly&&E.treeDepth>2&&E.isFirstSibling&&E.isLastSibling,y,b)}Gl({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:E}=b;if(!E)return a.announce("plonk"),!1;const ee=b.parentBranch;let re;if(typeof ee=="string"&&(re=y[ee]),!re){const ge=b.subsupPlacement?z0(a):R0(a);return a.mathfield.stopCoalescingUndo(),ge}E.branch(re)||E.createBranch(re);const se=a.setSelection(a.getBranchRange(a.offsetOf(E),re));return a.mathfield.stopCoalescingUndo(),se},moveBeforeParent:a=>{const{parent:y}=a.at(a.position);return y?(a.position=a.offsetOf(y),a.mathfield.stopCoalescingUndo(),!0):(a.announce("plonk"),!1)},moveAfterParent:a=>N0(a),moveToNextChar:a=>Qu(a,"forward"),moveToPreviousChar:a=>Qu(a,"backward"),moveUp:a=>Qu(a,"upward"),moveDown:a=>Qu(a,"downward"),moveToNextWord:a=>Dd(a,"forward"),moveToPreviousWord:a=>Dd(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,E,ee;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return _f(a,"forward");const re=a.at(a.position);if(re.mode==="text"){if(a.selectionIsCollapsed){let bt=re;for(;bt&&bt.mode==="text";)bt=bt.leftSibling;let Gt=re;for(;((y=Gt.rightSibling)==null?void 0:y.mode)==="text";)Gt=Gt.rightSibling;if(bt&&Gt)return Dl(a,[bt,Gt])}if(re.rightSibling.mode==="text"){let bt=re;for(;bt&&bt.mode==="text";)bt=bt.rightSibling;return bt?(Tu(a,(b=bt.leftSibling)!=null?b:bt),a.mathfield.switchMode("math"),!0):Tu(a,a.lastOffset)}}const ge=a.at(a.anchor).parentPrompt,xe=ge?a.offsetOf(ge)+1:Math.max(a.position+1,0),Ae=Dh(a,xe,"forward");if(Ae)return Tu(a,Ae);const Te=H0(a,re,bt=>bt.type==="leftright"||bt.type==="text","forward");if(Te){if(Te.mode==="text"){let bt=Te;for(;bt&&bt.mode==="text";)bt=bt.rightSibling;return Dl(a,[(E=Te.leftSibling)!=null?E:Te,(ee=bt.leftSibling)!=null?ee:bt])}return Dl(a,Te)}const Qe=re.parent;if(Qe){if(Qe.type==="leftright"||Qe.type==="surd")return Dl(a,Qe);if(re.parentBranch==="superscript"&&Qe.subscript)return Dl(a,Qe.subscript);if(re.parentBranch==="above"&&Qe.below)return Dl(a,Qe.below);if(re.parentBranch==="superscript"||re.parentBranch==="subscript")return Tu(a,Qe);if(re.parentBranch==="above"||re.parentBranch==="below")return Dl(a,Qe)}return Tu(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return _f(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let ge=b;for(;ge&&ge.mode==="text";)ge=ge.leftSibling;let xe=b;for(;((y=xe.rightSibling)==null?void 0:y.mode)==="text";)xe=xe.rightSibling;if(ge&&xe)return Dl(a,[ge,xe])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Tu(a,b):Tu(a,0)}const ee=a.at(a.anchor).parentPrompt,re=ee?a.offsetOf(ee.leftSibling):Math.max(a.position-1,0),se=Dh(a,re,"backward");if(se)return Tu(a,se);if(E==="math"){const ge=H0(a,b,Ae=>Ae.type==="leftright"||Ae.type==="text","backward");if(ge){if(ge.mode==="text"){let Ae=ge;for(;Ae&&Ae.mode==="text";)Ae=Ae.leftSibling;return Dl(a,[ge,Ae])}return Dl(a,ge)}const xe=b.parent;if(xe){if(xe.type==="leftright"||xe.type==="surd")return Dl(a,xe);if(b.parentBranch==="subscript"&&xe.superscript)return Dl(a,xe.superscript);if(b.parentBranch==="below"&&xe.above)return Dl(a,xe.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Tu(a,xe);if(b.parentBranch==="above"||b.parentBranch==="below")return Dl(a,xe)}return Tu(a,0)}return!1},moveToMathfieldStart:a=>a.selectionIsCollapsed&&a.position===0?(a.announce("plonk"),!1):(a.position=0,a.mathfield.stopCoalescingUndo(),!0),moveToMathfieldEnd:a=>a.selectionIsCollapsed&&a.position===a.lastOffset?(a.announce("plonk"),!1):(a.position=a.lastOffset,a.mathfield.stopCoalescingUndo(),!0),moveToSuperscript:R0,moveToSubscript:z0},{target:"model",changeSelection:!0}),Gl({moveToNextPlaceholder:a=>_f(a,"forward"),moveToPreviousPlaceholder:a=>_f(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function H0(a,y,b,E){if(E==="forward"){let re=y.rightSibling;for(;re&&!b(re);)re=re.rightSibling;return re}let ee=y.leftSibling;for(;ee&&!b(ee);)ee=ee.leftSibling;return ee}function Yf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1,re="";for(;!ee;){const se=a.at(E);ee=y===0||se===void 0||se.type==="first"||se.mode!=="math"||!(se.type&&/mord|mpunct|operator/.test(se.type)||se.type==="mop"&&/[a-zA-Z ]+/.test(se.value))||!se.hasEmptyBranch("superscript")||!se.hasEmptyBranch("subscript")||typeof b=="function"&&!b(se),ee||(se.mode="text",se.command=se.value,se.verbatimLatex=void 0,re+=se.value),E-=1,y-=1}a.contentDidChange({data:re,inputType:"insertText"})}function id(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1;const re=[];for(;!ee;){const se=a.at(E);ee=y===0||!se||se.type==="first"||se.isFirstSibling||se.mode!=="text"||se.value===" "||typeof b=="function"&&!b(se),ee||(re.push(Br.serialize([se],{defaultMode:"math"})),se.mode="math"),E-=1,y-=1}Bh(a),a.contentDidChange({data:so(re),inputType:"insertText"})}function Bh(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const E=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=E,a.contentDidChange({inputType:"deleteContent"})}}function Vg(a){let y="",b=a.position,E=!1;for(;!E;){const ee=a.at(b);E=!(ee&&(ee.mode==="text"||ee.mode==="math"&&ee.type&&/mord|mpunct/.test(ee.type))),E||(y=ee.value+y),b-=1}return y}function Ug(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!Df(b))return!1;const ee=Sd(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ee));const re=Vg(E)+ee;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ee))return!0;if(/[\^_]/.test(ee))return/(^|\s)[a-zA-Z][^_]$/.test(re)&&id(E,1),!0;const se={")":"(","}":"{","]":"["}[ee],{parent:ge}=E.at(E.position);if(se&&ge instanceof Ro&&ge.leftDelim===se)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(re))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ee))return!0;if(/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(re))return id(E,1),!1;if(/\D\.[^\d\s]$/.test(re)){id(E,1);const xe=E.at(E.position);return xe.value="\u22C5",xe.style.variant="normal",xe.command="\\cdot",xe.verbatimLatex=void 0,E.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(re)||/\.\d$/.test(re)||/\([\d+\-.]$/.test(re))return id(E,1),!0;if(/\([a-z][,;]$/.test(re))return id(E,2),!0;if(/[\d+\-=><*|]$/.test(ee))return Bh(E),!0}else{if(y==="[Space]")return Yf(E,void 0,se=>/[a-z][:,;.]$/.test(se.value)),!0;if(/[a-zA-Z]{3,}$/.test(re)&&!/(dxd|abc|xyz|uvw)$/.test(re))return Yf(E,void 0,se=>/[a-zA-Z]/.test(se.value)),!0;if(/(^|\W)(if)$/i.test(re))return Yf(E,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(re)&&!/(αβγ)$/.test(re))return Yf(E,void 0,se=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(se.value)),!0;if(ee==="?"||ee==="."&&!/[\d-+]\.$/.test(re))return!0}return!1}function Gg(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=K0(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(vh(y)||y)+"</span>"+b.innerHTML),b.style.visibility="visible",setTimeout(()=>{b.childNodes.length>0&&b.childNodes[b.childNodes.length-1].remove(),b.childNodes.length===0&&(b.style.visibility="hidden")},3e3)}function _g(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=K0();y.innerHTML=""}else{const y=Ff("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function K0(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(Ul("keystroke-caption"),Ul("core"),Ff("mathlive-keystroke-caption-panel"))}function Yg(){document.getElementById("mathlive-keystroke-caption-panel")&&(bh("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function W0(a,y){var b,E,ee;const{model:re}=a,se=p0(y);if(y.isTrusted){Rm(y);const Gt=nf();a.keyboardLayout!==Gt.id&&(a.keyboardLayout=Gt.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gg(a,se),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let ge,xe="",Ae;const Te=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(re.mode==="math")if(se==="[Backspace]")Te.pop();else if(!Df(y))a.flushInlineShortcutBuffer();else{const Gt=Sd(y),an=[...(E=(b=Te[Te.length-1])==null?void 0:b.keystrokes)!=null?E:[],Gt];Te.push({state:re.getState(),keystrokes:an,leftSiblings:Qg(a)});let cr=0,di="";for(;!ge&&cr<an.length;)Ae=Te.length-(an.length-cr),di=an.slice(cr).join(""),ge=Na(Te[Ae].leftSiblings,di,a.options.inlineShortcuts),!ge&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(di)&&(ge=a.options.onInlineShortcut(a,di)),cr+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(ge?a.switchMode("math"):Ug(a,se,y)&&(a.switchMode({math:"text",text:"math"}[re.mode]),xe=""))}if(!ge){if(xe||(xe=Vm(a.keybindings,re.mode,y)),!xe&&(se==="[Enter]"||se==="[Return]")){let Gt=!1;return re.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(Gt=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),Gt||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),re.contentDidChange({inputType:"insertLineBreak"})),Gt}if((!xe||se==="[Space]")&&re.mode==="math"){if(se==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return Ga.insert(re,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),xe="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const Gt=re.at(re.position+1),an=re.at(re.position-1);if((Gt==null?void 0:Gt.mode)==="text"||(an==null?void 0:an.mode)==="text")return Ga.insert(re," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ee=re.at(re.position))!=null&&ee.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Sd(y)===","&&(xe="insertDecimalSeparator")}}if(!ge&&!xe){if(re.mathfield.smartFence){if(Fh(re,Sd(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:Gt}=re.at(re.position);if(Gt instanceof Ro&&Gt.rightDelim==="?"&&re.at(re.position).isLastSibling&&/^[)}\]|]$/.test(se))return a.snapshot(),Gt.isDirty=!0,Gt.rightDelim=se,re.position+=1,re.selectionDidChange(),re.contentDidChange({data:Sd(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!re.selectionIsCollapsed){const an=Sd(y);if(an==="("||an==="{"||an==="["){const cr={"(":"(","{":"\\lbrace","[":"\\lbrack"}[an],di={"(":")","{":"\\rbrace","[":"\\rbrack"}[an],[ar,Zr]=Ls(re.selection);return a.snapshot(),re.position=Zr,Ga.insert(re,di,{format:"latex"}),re.position=ar,Ga.insert(re,cr,{format:"latex"}),re.setSelection(ar+1,Zr+1),re.contentDidChange({data:an,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const Qe=re.at(Math.max(re.position,re.anchor)),{parent:bt}=Qe;if(xe==="moveAfterParent"&&(bt==null?void 0:bt.type)==="leftright"&&Qe.isLastSibling&&a.options.smartFence&&Fh(re,".",a.defaultStyle)&&(xe="",ks(a)),a.keyboardDelegate.cancelComposition(),xe)a.executeCommand(xe);else if(ge){const Gt=a.effectiveStyle;re.setState(Te[Ae].state);const an=Te[Te.length-1].keystrokes;for(const cr of an)Ga.insert(re,cr,{silenceNotifications:!0,style:Gt});a.snapshot("insert-shortcut"),re.setState(Te[Ae].state),re.deferNotifications({content:!0,selection:!0,data:ge,type:"insertText"},()=>(Ga.insert(re,ge,{format:"latex",style:Gt}),Bh(a.model),ge.endsWith(" ")&&(a.switchMode("text"),Ga.insert(re," ",{style:Gt,mode:"text"})),a.snapshot(),re.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,re.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Lh(a,y,b){const{model:E}=a;if(!a.isSelectionEditable){E.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let ee=Zc(y);const re=window.mathVirtualKeyboard;if(re!=null&&re.isShifted&&(ee=typeof ee=="string"?ee.toUpperCase():ee.map(xe=>xe.toUpperCase())),b.simulateKeystroke){let xe=!0;for(const Ae of ee)W0(a,new KeyboardEvent("keypress",{key:Ae}))&&(xe=!1);if(xe)return}const se=E.at(E.position),ge=ye(ye({},se.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(Ls(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Lf(a);for(const xe of ee)Ga.insert(E,xe);a.snapshot("insert-latex"),af(a)});else if(E.mode==="text"){for(const xe of ee)Ga.insert(E,xe,{style:ge});a.snapshot("insert-text")}else if(E.mode==="math")for(const xe of ee)Xg(a,xe,ge,se);a.dirty=!0,a.scrollIntoView()}function Qg(a){const y=a.model,b=[];let E=y.at(Math.min(y.position,y.anchor));for(;E.type!=="first";)b.push(E),E=E.leftSibling;return b}function Xg(a,y,b,E){const ee=a.model;let re={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(re=["insert",a.options.mathModeSpace]),re){a.executeCommand(re);return}if(/\d/.test(y)&&a.options.smartSuperscript&&E.parentBranch==="superscript"&&E.parent.type!=="mop"&&E.parent.type!=="operator"&&E.parent.type!=="extensible-symbol"&&E.hasNoSiblings){Jg(ee),Ga.insert(ee,y,{style:b}),a.snapshot(),N0(ee),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const se=a.adoptStyle==="left"?E:E.parent?E.rightSibling:null;(se==null?void 0:se.type)==="mord"&&/[a-zA-Z0-9]/.test(se.value)&&(b=ye({},b),se.style.variant&&(b.variant=se.style.variant),se.style.variantStyle&&(b.variantStyle=se.style.variantStyle))}Ga.insert(ee,y,{style:b}),a.snapshot(`insert-${ee.at(ee.position).type}`)}function Jg(a){a.selectionIsCollapsed||(a.deleteAtoms(Ls(a.selection)),a.mathfield.snapshot("delete"))}function Fh(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:ee}=E,re={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!re)return!1;const se=te[re],ge=ne[re];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[xe,Ae]=Ls(a.selection),Te=a.extractAtoms([xe,Ae]),Qe=ee.addChildrenAfter([new Ro("left...right",Te,{leftDelim:re,rightDelim:ge})],a.at(xe));return a.setSelection(a.offsetOf(Qe.firstChild),a.offsetOf(Qe.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:re,inputType:"insertText"}),!0}if(re==="|"){const xe=ee instanceof Ro?ee.leftDelim+ee.rightDelim:"";if(xe==="\\lbrace\\rbrace"||xe==="\\{\\}"||xe==="\\lbrace?")return a.mathfield.snapshot(),Ga.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:re,inputType:"insertText"}),!0}if(ge){if(ee instanceof Ro&&ee.firstChild===E&&(ee.leftDelim==="?"||ee.leftDelim==="."))return ee.leftDelim=re,ee.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ee instanceof Ro)){let Qe=E;for(;Qe&&!(Qe.type==="mclose"&&Qe.value===ge);)Qe=Qe.rightSibling;if(Qe){a.mathfield.snapshot();const bt=a.extractAtoms([a.offsetOf(E),a.offsetOf(Qe)]);return bt.pop(),ee.addChildrenAfter([new Ro("left...right",bt,{leftDelim:re,rightDelim:ge})],E),a.position=a.offsetOf(ee.firstChild)+1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const xe=a.offsetOf(E.lastSibling);let Ae;for(Ae=a.position;Ae<=xe;Ae++){const Qe=a.at(Ae);if(Qe instanceof Ro&&(Qe.leftDelim==="?"||Qe.leftDelim===".")&&Z0(re,Qe.rightDelim))break}const Te=a.at(Ae);if(Ae<=xe&&Te instanceof Ro){Te.leftDelim=re,a.mathfield.snapshot();let Qe=a.extractAtoms([a.position,Ae-1]);return Qe=Qe.filter(bt=>bt.type!=="first"),Te.addChildren(Qe,Te.parentBranch),a.position+=1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ee instanceof Ro&&(ee.leftDelim==="?"||ee.leftDelim===".")&&Z0(re,ee.rightDelim)){ee.isDirty=!0,ee.leftDelim=re,a.mathfield.snapshot();const Qe=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const bt of Qe)ee.parent.addChildBefore(bt,ee);return a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ee instanceof Ro&&ee.leftDelim==="|")){if(a.mathfield.snapshot(),Ga.insert(a,`\\left${re}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const Qe=a.offsetOf(E.lastSibling),bt=a.extractAtoms([a.position,Qe]);a.at(a.position).body=bt,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(se){let xe=E;for(;xe;){if(xe.type==="mopen"&&xe.value===se){a.mathfield.snapshot();const Gt=xe.leftSibling,an=a.extractAtoms([a.offsetOf(xe.leftSibling),a.offsetOf(E)]);an.shift();const cr=new Ro("left...right",an,{leftDelim:se,rightDelim:re});return ee.addChildrenAfter([cr],Gt),a.position=a.offsetOf(cr),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}xe=xe.leftSibling}if(ee instanceof Ro&&E.isLastSibling&&Ph(ee.leftDelim,re))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=re,a.position+=1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Ae=a.offsetOf(E.firstSibling);let Te;for(Te=a.position;Te>=Ae;Te--){const Gt=a.at(Te);if(Gt instanceof Ro&&(Gt.rightDelim==="?"||Gt.rightDelim===".")&&Ph(Gt.leftDelim,re))break}const Qe=a.at(Te);if(Te>=Ae&&Qe instanceof Ro)return a.mathfield.snapshot(),Qe.rightDelim=re,Qe.addChildren(a.extractAtoms([Te,a.position]),Qe.parentBranch),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ee instanceof Ro&&(ee.rightDelim==="?"||ee.rightDelim===".")&&Ph(ee.leftDelim,re))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=re,ee.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),ee.parentBranch),a.position=a.offsetOf(ee),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const bt=ee.parent;return bt instanceof Ro&&(bt.rightDelim==="?"||bt.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(bt),Fh(a,re,b)):!1}return!1}function Ph(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ne[a]===y:!0}function Z0(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):te[y]===a:!0}Gl({undo:a=>(a.undo(),!0),redo:a=>(a.redo(),!0),scrollIntoView:a=>(a.scrollIntoView(),!0),scrollToStart:a=>(a.field.scroll(0,0),!0),scrollToEnd:a=>{const y=a.field.getBoundingClientRect();return a.field.scroll(y.left-window.scrollX,0),!0},toggleKeystrokeCaption:_g,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,E)=>(a.switchMode(y,b,E),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Lh(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const E=a.getPrompts();let ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),re=0;for(;E.includes(ee)&&re<100;){if(re===99)return console.error("could not find a unique ID after 100 tries"),!1;ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),re++}return a.insert(`\\placeholder[${y!=null?y:ee}]{}`,b),!0}}),Gl({copyToClipboard:a=>(a.focus(),a.model.selectionIsCollapsed&&a.select(),"queryCommandSupported"in document&&document.queryCommandSupported("copy")?document.execCommand("copy"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("copy",{bubbles:!0,composed:!0})),!1)},{target:"mathfield"}),Gl({cutToClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("cut")?document.execCommand("cut"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("cut",{bubbles:!0,composed:!0})),!0),pasteFromClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("paste")?(document.execCommand("paste"),!0):(navigator.clipboard.readText().then(y=>{y&&a.model.contentWillChange({inputType:"insertFromPaste",data:y})?(a.stopCoalescingUndo(),a.stopRecording(),a.insert(y,{mode:a.model.mode})&&(af(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),ks(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function qg(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Ih(a,y),{model:E}=a;return E.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=ye(ye({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(ee=>Ah(E,ee,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Gl({applyStyle:qg},{target:"mathfield",canUndo:!0,changeContent:!0});function Ih(a,y){var b,E,ee,re,se,ge,xe,Ae,Te,Qe;const bt={};if(typeof y.color=="string"){const an=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";an!==y.color&&(bt.verbatimColor=(ee=y.verbatimColor)!=null?ee:y.color),bt.color=an}if(typeof y.backgroundColor=="string"){const an=(se=a.backgroundColorMap((re=y.backgroundColor)!=null?re:y.verbatimBackgroundColor))!=null?se:"none";an!==y.backgroundColor&&(bt.verbatimBackgroundColor=(ge=y.verbatimBackgroundColor)!=null?ge:y.backgroundColor),bt.backgroundColor=an}typeof y.fontFamily=="string"&&(bt.fontFamily=y.fontFamily),typeof y.series=="string"&&(bt.fontSeries=y.series),typeof y.fontSeries=="string"&&(bt.fontSeries=y.fontSeries.toLowerCase()),bt.fontSeries&&(bt.fontSeries=(xe={bold:"b",medium:"m",normal:"m"}[bt.fontSeries])!=null?xe:bt.fontSeries),typeof y.shape=="string"&&(bt.fontShape=y.shape),typeof y.fontShape=="string"&&(bt.fontShape=y.fontShape.toLowerCase()),bt.fontShape&&(bt.fontShape=(Ae={italic:"it",up:"n",upright:"n",normal:"n"}[bt.fontShape])!=null?Ae:bt.fontShape),y.variant&&(bt.variant=y.variant.toLowerCase()),y.variantStyle&&(bt.variantStyle=y.variantStyle.toLowerCase());const Gt=(Te=y.size)!=null?Te:y.fontSize;return typeof Gt=="number"?bt.fontSize=Math.max(1,Math.min(10,Gt)):typeof Gt=="string"&&(bt.fontSize=(Qe={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[Gt.toLowerCase()])!=null?Qe:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[Gt]),bt}function Th(a){let[y,b]=Ls(a.selection);if(y=j0(a,y,"backward"),b=j0(a,b,"forward"),y===b){const E=a.at(y);if(E.type==="leftright")return a.setSelection(a.offsetOf(E.firstChild)-1,b);if(E.type==="first"&&(E.parent.type==="leftright"||E.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(E.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function j0(a,y,b){var E,ee,re;let se=a.at(y);if(!se)return y;const ge=b==="forward"?1:-1;if(se.mode==="text"){for(;se&&!(se.mode!=="text"||!de.test(se.value));)y+=ge,se=a.at(y);return b==="backward"?y-1:y}if(se.mode==="latex"){if(/[a-zA-Z\*]/.test(se.value))if(b==="backward")for(;se&&se.mode==="latex"&&se.value!=="\\"&&/[a-zA-Z]/.test(se.value);)y+=ge,se=a.at(y);else for(;se&&se.mode==="latex"&&/[a-zA-Z\*]/.test(se.value);)y+=ge,se=a.at(y);else if(se.value==="{"){if(b==="forward"){for(;se&&se.mode==="latex"&&se.value!=="}";)y+=ge,se=a.at(y);return y}return y-1}else if(se.value==="}"){if(b==="backward"){for(;se&&se.mode==="latex"&&se.value!=="{";)y+=ge,se=a.at(y);return y-1}return y}return y-1}if(se.mode==="math"){if(se.isDigit()){for(;(E=a.at(y+ge))!=null&&E.isDigit();)y+=ge;return b==="backward"?y-1:y}if(se.style.variant||se.style.variantStyle){let xe=(ee=a.at(y))==null?void 0:ee.style;for(;xe&&xe.variant===se.style.variant&&xe.variantStyle===se.style.variantStyle;)xe=(re=a.at(y+ge))==null?void 0:re.style,y+=ge;return b==="backward"?y-1:y}return y}return y}Gl({selectGroup:a=>{const y=Th(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Qu(a,"forward",{extend:!0}),extendSelectionBackward:a=>Qu(a,"backward",{extend:!0}),extendToNextWord:a=>Dd(a,"forward",{extend:!0}),extendToPreviousWord:a=>Dd(a,"backward",{extend:!0}),extendSelectionUpward:a=>Qu(a,"upward",{extend:!0}),extendSelectionDownward:a=>Qu(a,"downward",{extend:!0}),extendToNextBoundary:a=>Dd(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Dd(a,"backward",{extend:!0}),extendToGroupStart:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).firstSibling));return y||a.announce("plonk"),y},extendToGroupEnd:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).lastSibling));return y||a.announce("plonk"),y},extendToMathFieldStart:a=>{const y=a.setSelection(a.anchor,0);return y||a.announce("plonk"),y},extendToMathFieldEnd:a=>{const y=a.setSelection(a.anchor,a.lastOffset);return y||a.announce("plonk"),y}},{target:"model",changeSelection:!0});var ad=null,df=0,Qf=class Eu{static start(y,b,E,ee){var re;Eu.element=y,(re=Eu.controller)==null||re.abort(),Eu.controller=new AbortController;const se={signal:Eu.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,se),y.addEventListener("pointerup",ee,se),y.addEventListener("pointercancel",ee,se),Oh(b)&&(Eu.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",E,se),window.addEventListener("blur",ee,se),window.addEventListener("mouseup",ee,se))}static stop(){var y;(y=Eu.controller)==null||y.abort(),Eu.controller=void 0,typeof Eu.pointerId=="number"&&(Eu.element.releasePointerCapture(Eu.pointerId),Eu.pointerId=void 0)}};function Oh(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function V0(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const E=a;let ee,re=!1,se=!1,ge="none",xe=!1,Ae=!1;const Te=y.clientX,Qe=y.clientY,bt=Date.now(),Gt=E.field,an=setInterval(()=>{xe?Gt.scroll({top:0,left:Gt.scrollLeft-16}):Ae&&Gt.scroll({top:0,left:Gt.scrollLeft+16})},32);function cr(){Qf.stop(),re=!1,clearInterval(an),a.element.classList.remove("tracking"),y&&y.preventDefault()}function di(Zr){if(!E.hasFocus()){cr();return}const hi=Zr.clientX,$r=Zr.clientY,Yi=Oh(Zr)&&Zr.pointerType==="touch"?20:5;if(Date.now()<bt+500&&Math.abs(Te-hi)<Yi&&Math.abs(Qe-$r)<Yi){Zr.preventDefault(),Zr.stopPropagation();return}const xa=Gt.getBoundingClientRect();Ae=hi>xa.right,xe=hi<xa.left;let fa=ee;Oh(Zr)&&(Zr.isPrimary||(fa=ff(E,Zr.clientX,Zr.clientY,{bias:0})));const Eo=ff(E,hi,$r,{bias:hi<=Te?hi===Te?0:-1:1});fa>=0&&Eo>=0&&(E.model.extendSelectionTo(fa,Eo),ks(a)),se&&Th(E.model)}ad&&Math.abs(ad.x-Te)<5&&Math.abs(ad.y-Qe)<5&&Date.now()<ad.time+500?(df+=1,ad.time=bt):(ad={x:Te,y:Qe,time:bt},df=1);const ar=Gt.getBoundingClientRect();if(Te>=ar.left&&Te<=ar.right&&Qe>=ar.top&&Qe<=ar.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ee=ff(a,Te,Qe,{bias:0}),ee>=0){if(a.element.classList.add("tracking"),y.shiftKey){const Zr=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ee),v0(a.model)||Zr?ge="all":ge="selection"}else a.model.at(ee).type==="placeholder"?(a.model.setSelection(ee-1,ee),ge="selection"):((b=a.model.at(ee).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ee,ee+1),ge="selection"):(a.model.position=ee,v0(a.model)?ge="all":ge="selection");a.defaultStyle={},y.detail===3||df>2?(cr(),(y.detail===3||df===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},ge="all")):re||(re=!0,Qf.start(Gt,y,di,cr),(y.detail===2||df===2)&&(se=!0,Th(a.model),ge="all"))}a.hasFocus()||(ge="none",a.focus({preventScroll:!0}))}else ad=null;a.stopCoalescingUndo(),ge!=="none"&&(a.model.selectionIsCollapsed&&(ge="all"),ks(a)),y.preventDefault()}function $g(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const E=a-(b.left+b.right)/2,ee=y-(b.top+b.bottom)/2;return E*E+ee*ee}function U0(a,y,b,E,ee){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const re=Lc(a,b);if(!re)return[1/0,null];let se=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=re.left&&E<=re.right)for(const ge of b.children){const xe=U0(a,y,ge,E,ee);xe[0]<=se[0]&&(se=xe)}return se[1]||(se=[$g(E,ee,re),b]),y.set(b.id,se),se}function ev(a,y,b){const[,E]=U0(a,new Map,a.model.root,y,b);return E}function ff(a,y,b,E){var ee;const re=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!re)return 0;if(y>re.right||b>re.bottom+8)return a.model.lastOffset;if(y<re.left||b<re.top-8)return 0;E=E!=null?E:{},E.bias=(ee=E.bias)!=null?ee:0;let se=ev(a,y,b);const ge=[];let xe=se;for(;xe;)ge.unshift(xe),xe=xe.parent;for(const Te of ge)if(Te.captureSelection){se=Te;break}let Ae=a.model.offsetOf(se);if(Ae<0)return-1;if(se.leftSibling)if(E.bias===0&&se.type!=="placeholder"){const Te=Lc(a,se);Te&&y<(Te.left+Te.right)/2&&(Ae=a.model.offsetOf(se.leftSibling))}else E.bias<0&&(Ae=a.model.offsetOf(se.leftSibling));return Ae}var tv=class extends Ga{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",E="auto",ee=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ee)try{const re=JSON.parse(ee);if(re&&Array.isArray(re)){a.snapshot();const se=Ic(re),{model:ge}=a;ge.selectionIsCollapsed||ge.deleteAtoms(Ls(ge.selection));const xe=ge.at(ge.position);if(xe.parent instanceof Xa){console.assert(xe.parentBranch!==void 0);const Ae=[];let Te=[];se[0].type==="first"&&se.shift(),se[se.length-1].type==="first"&&se.pop();for(const an of se)an.type==="first"&&Te.length>0?(Ae.push(Te),Te=[an]):Te.push(an);Te.length>0&&Ae.push(Te);let Qe=Number(xe.parentBranch[0]),bt=Number(xe.parentBranch[1]);const Gt=xe.parent.maxColumns;for(;xe.parent.colCount-bt<Ae.length&&xe.parent.colCount<Gt;)xe.parent.addColumn();xe.parent.addChildrenAfter(Ae[0],xe);for(let an=1;an<Ae.length;an++)bt++,bt>=Gt&&(bt=0,xe.parent.addRowAfter(Qe),Qe++),xe.parent.setCell(Qe,bt,Ae[an])}else xe.parent.addChildrenAfter(se.filter(Ae=>Ae.type!=="first"),xe);return ge.position=ge.offsetOf(se[se.length-1]),ge.contentDidChange({inputType:"insertFromPaste"}),ks(a),!0}}catch(re){}if(ee=typeof y!="string"?y.getData("application/json"):"",ee&&window.MathfieldElement.computeEngine)try{const re=JSON.parse(ee);if(typeof re=="object"&&"latex"in re&&re.latex&&(b=re.latex),!b){const se=window.MathfieldElement.computeEngine.box(re);se&&!se.has("Error")&&(b=se.latex)}b||(E="latex")}catch(re){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(E="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let re;return[re,b]=Ml(b),E==="auto"&&re&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),ks(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,ee;const re=typeof y=="string"?y:(ee=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?ee:"";if(!b.silenceNotifications&&!a.contentWillChange({data:re,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:se}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ge=a.silenceNotifications;a.silenceNotifications=!0;const xe={"?":"\\placeholder{}","@":"\\placeholder{}"};xe[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ls(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward"),!a.at(a.position).isLastSibling&&a.at(a.position+1).type==="placeholder"?a.deleteAtoms([a.position,a.position+1]):a.at(a.position).type==="placeholder"&&a.deleteAtoms([a.position-1,a.position]);let Ae=-1;xe[0]?xe["@"]=xe[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(Ae=rv(a),Ae>=0&&(xe["@"]=a.getValue(Ae,a.position,"latex"))),xe[0]||(xe[0]=xe["?"]);let Te=!1;const Qe=hi=>(Te=!0,xe[hi]);let[bt,Gt]=G0(a,y,Qe,b);if(!Gt)return!1;const an=Gt.length===1&&Gt[0].type==="genfrac";an&&Ae>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(xe["@"]=xe["?"],Te=!1,[bt,Gt]=G0(a,y,Qe,b)):Ae>=0&&a.deleteAtoms([Ae,a.position]);const{parent:cr}=a.at(a.position),di=cr.hasEmptyBranch("body");if(an&&bt!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&cr instanceof Ro&&cr.leftDelim==="("&&di){const hi=cr.parent,$r=cr.parentBranch;hi.removeChild(cr),hi.setChildren(Gt,$r)}const ar=a.at(a.position);ar.parent.addChildrenAfter(Gt,ar),bt==="latex"&&typeof y=="string"&&(cr==null?void 0:cr.type)==="root"&&di&&!Te&&(cr.verbatimLatex=y),a.silenceNotifications=ge;const Zr=Gt[Gt.length-1];if(b.selectionMode==="placeholder"){const hi=Gt.flatMap($r=>[$r,...$r.children]).find($r=>$r.type==="placeholder");if(hi){const $r=a.offsetOf(hi);a.setSelection($r-1,$r),a.announce("move")}else Zr&&(a.position=a.offsetOf(Zr))}else b.selectionMode==="before"||(b.selectionMode==="after"?Zr&&(a.position=a.offsetOf(Zr)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(Zr)));return a.contentDidChange({data:re,inputType:"insertText"}),a.silenceNotifications=se,!0}};function G0(a,y,b,E){var ee;let re,se=[];if(typeof y!="string"||E.format==="math-json"){const ge=window.MathfieldElement.computeEngine;if(!ge)return["math-json",[]];[re,y]=["latex",ge.box(y).latex],se=tl(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([re,y]=Uo(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),se=tl(y,{context:a.mathfield.context}),re!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Xf(se)):(E.format==="auto"||(ee=E.format)!=null&&ee.startsWith("latex"))&&(E.format==="auto"&&([re,y]=Uo(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=Ml(y)),se=tl(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Xf(se));return Oc(se,E.style),[re!=null?re:"latex",se]}function nv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Ro&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function Xf(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Ro&&b.leftDelim==="("){let E=0,ee=0,re=0;for(let se=0;b.body[se];se++)b.body[se].type==="genfrac"&&(E++,ee=se),re++;re===0&&E===1&&(a[y]=b.body[ee])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){Xf(y.branch(b));const E=nv(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof Xa)for(const b of y.cells)Xf(b)}}}function rv(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let E=!1;if(y.type==="mclose"){const ee=te[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ee);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),E=!0}else y.type==="leftright"&&(y=y.leftSibling,E=!0);if(E)for(;!y.isFirstSibling&&(y.isFunction||_0(y));)y=y.leftSibling;else{const ee=[];for(;!y.isFirstSibling&&(_0(y)||ee.length>0);)y.type==="mclose"&&ee.unshift(y.value),y.type==="mopen"&&ee.length>0&&y.value===te[ee[0]]&&ee.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function _0(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new tv;var iv=class extends Ga{constructor(){super("text")}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.model.contentDidChange({inputType:"insertFromPaste"}),a.startRecording(),a.snapshot("paste"),ks(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(Ls(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const re=av(y,a.mathfield.context);if(Oc(re,b.style),!re)return!1;const se=a.at(a.position),ge=se.parent.addChildrenAfter(re,se);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(ge)):ge&&(a.position=a.offsetOf(ge))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function av(a,y){return a=a.replace(/\\/g,"\\textbackslash "),a=a.replace(/#/g,"\\#"),a=a.replace(/\$/g,"\\$"),a=a.replace(/%/g,"\\%"),a=a.replace(/&/g,"\\&"),a=a.replace(/_/g,"\\_"),a=a.replace(/{/g,"\\textbraceleft "),a=a.replace(/}/g,"\\textbraceright "),a=a.replace(/lbrace/g,"\\textbraceleft "),a=a.replace(/rbrace/g,"\\textbraceright "),a=a.replace(/\^/g,"\\textasciicircum "),a=a.replace(/~/g,"\\textasciitilde "),a=a.replace(/£/g,"\\textsterling "),tl(a,{context:y,parseMode:"text"})}new iv;function Xu(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var ds=4,Nl=20,Us=2*(Nl+ds),Jf=(a,y)=>`
|
|
|
<line x1="${a+Nl}" y1="${y+Nl}"
|
|
|
x2="${a>y?a+Nl:7*Nl+10*ds}"
|
|
|
y2="${a<y?y+Nl:7*Nl+10*ds}"/>
|
|
|
<svg id="plus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
|
|
|
<circle class="cls-2" cx="20" cy="20" r="20"/>
|
|
|
<path class="font" d="m33.33,20c0,1.84-1.49,3.34-3.33,3.34h-6.67v6.66c0,1.84-1.49,3.34-3.33,3.34s-3.34-1.5-3.34-3.34v-6.66h-6.66c-1.84,0-3.34-1.5-3.34-3.34s1.5-3.33,3.34-3.33h6.66v-6.67c0-1.84,1.5-3.33,3.34-3.33s3.33,1.49,3.33,3.33v6.67h6.67c1.84,0,3.33,1.49,3.33,3.33Z"/>
|
|
|
</svg>`,Y0=(a,y)=>`
|
|
|
<line x1="${a+Nl}" y1="${y+Nl}"
|
|
|
x2="${a>y?a+Nl:7*Nl+10*ds}"
|
|
|
y2="${a<y?y+Nl:7*Nl+10*ds}"/>
|
|
|
<svg id="minus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
|
|
|
<circle class="cls-2" cx="20" cy="20" r="20"/>
|
|
|
<path class="font" d="m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z"/>
|
|
|
</svg>`,qf=(a,y,b)=>`
|
|
|
<svg id="arrow" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
|
|
|
<circle class="cls-2" cx="20" cy="20" r="20"/>
|
|
|
<g transform="rotate(${b})" transform-origin="20 20">
|
|
|
<path class="font" d="m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z"/>
|
|
|
</g>
|
|
|
</svg>`,ov=`
|
|
|
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
viewBox=
|
|
|
"-2 -2 ${8*Nl+10*ds+5} ${8*Nl+10*ds+5}">
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background rows"
|
|
|
x="0"
|
|
|
y="${Us+ds}"
|
|
|
height="${3*Us}"
|
|
|
width="${Us}"
|
|
|
rx="${Us/2}"/>
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background columns"
|
|
|
x="${Us+ds}"
|
|
|
y="0"
|
|
|
height="${Us}"
|
|
|
width="${3*Us}"
|
|
|
rx="${Us/2}"/>
|
|
|
<g data-command='"moveDown"'>
|
|
|
${qf(2*(ds+Us),2*ds+3*Us,0)}
|
|
|
</g>
|
|
|
<g data-command='"moveUp"'>
|
|
|
${qf(2*(ds+Us),2*ds+Us,180)}
|
|
|
</g>
|
|
|
<g data-command='"moveToNextWord"'>
|
|
|
${qf(2*ds+3*Us,2*(ds+Us),-90)}
|
|
|
</g>
|
|
|
<g data-command='"moveToPreviousWord"'>
|
|
|
${qf(2*ds+Us,2*(ds+Us),90)}
|
|
|
</g>
|
|
|
<g>
|
|
|
|
|
|
<g data-command='"addColumnBefore"'>
|
|
|
${Jf(2*ds+Us,ds)}
|
|
|
</g>
|
|
|
<g data-command='"removeColumn"'>
|
|
|
${Y0(2*ds+2*Us,ds)}
|
|
|
</g>
|
|
|
<g data-command='"addColumnAfter"'>
|
|
|
${Jf(2*ds+3*Us,ds)}
|
|
|
</g>
|
|
|
<g data-command='"addRowBefore"'>
|
|
|
${Jf(ds,2*ds+Us)}
|
|
|
</g>
|
|
|
<g data-command='"removeRow"'>
|
|
|
${Y0(ds,2*ds+2*Us)}
|
|
|
</g>
|
|
|
<g data-command='"addRowAfter"'>
|
|
|
${Jf(ds,2*ds+3*Us)}
|
|
|
</g>
|
|
|
</svg>`,sv=a=>`
|
|
|
<svg id="matrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","matrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/></svg>`,lv=a=>`
|
|
|
<svg id="pmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","pmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m6,4c-3.96,4.6-3.96,11.4,0,16"/>
|
|
|
<path class="cls-2" d="m22,4c3.96,4.6,3.96,11.4,0,16"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/></svg>`,Q0=a=>`
|
|
|
<svg id="Bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","Bmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
|
|
|
<path class="cls-2" d="m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
</svg>`,uv=a=>`
|
|
|
<svg id="bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","bmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m6,4h-3v16h3"/>
|
|
|
<path class="cls-2" d="m22,4h3v16h-3"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
</svg>`,cv=a=>`
|
|
|
<svg id="vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","vmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
<line class="cls-2" x1="4" y1="4" x2="4" y2="20"/>
|
|
|
<line class="cls-2" x1="24" y1="4" x2="24" y2="20"/>
|
|
|
</svg>`,dv=a=>`
|
|
|
<svg id="Vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="-3.5 -3 35 30"
|
|
|
data-command='["setEnvironment","Vmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
<line class="cls-2" x1="6" y1="4" x2="6" y2="20"/>
|
|
|
<line class="cls-2" x1="22" y1="4" x2="22" y2="20"/>
|
|
|
<line class="cls-2" x1="2" y1="4" x2="2" y2="20"/>
|
|
|
<line class="cls-2" x1="26" y1="4" x2="26" y2="20"/>
|
|
|
</svg>`,fv=a=>`
|
|
|
<svg id="cases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","cases"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m10,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
|
|
|
<circle cx="13" cy="8" r="1"/>
|
|
|
<circle cx="13" cy="16" r="1"/>
|
|
|
<circle cx="21" cy="8" r="1"/>
|
|
|
<circle cx="21" cy="16" r="1"/>
|
|
|
</svg>`,hv=a=>`
|
|
|
<svg id="rcases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","rcases"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m18,20c1.1,0,2-.9,2-2v-3c0-1.66.9-3,2-3-1.1,0-2-1.34-2-3v-3c0-1.1-.9-2-2-2"/>
|
|
|
<circle cx="15" cy="8" r="1"/>
|
|
|
<circle cx="15" cy="16" r="1"/>
|
|
|
<circle cx="7" cy="8" r="1"/>
|
|
|
<circle cx="7" cy="16" r="1"/>
|
|
|
</svg>`,Nh={matrix:sv,pmatrix:lv,bmatrix:uv,Bmatrix:Q0,vmatrix:cv,Vmatrix:dv},Rh={cases:fv,rcases:hv,Bmatrix:Q0};function pv(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let ee=0;E.forEach(an=>{(!ee||an.length>ee)&&(ee=an.length)});let re=document.getElementById("mathlive-environment-popover");re||(re=Ff("mathlive-environment-popover"),Ul("environment-popover"),Ul("core"),re.setAttribute("aria-hidden","true"));let se;const ge=re.querySelector(".MLEP__environment-controls");ge?se=ge:(se=document.createElement("div"),re.innerHTML="",re.appendChild(se)),se.className="MLEP__environment-controls",se.style.display="flex",se.style.width="100%",se.style.height="100%",se.style.boxSizing="border-box",se.innerHTML=ov;let xe=[],Ae="";const Te=a.model.parentEnvironment.environmentName;if(bl(Te)){const an=gv(Te);Ae=Nh[an]("active");const cr=Nh,{[an]:di}=cr,ar=mt(cr,[Le(an)]);xe=Object.values(ar).map(Zr=>Zr("inactive"))}else if(xl(Te)){const an=vv(Te);Ae=Rh[an]("active");const cr=Rh,{[an]:di}=cr,ar=mt(cr,[Le(an)]);xe=Object.values(ar).map(Zr=>Zr("inactive"))}else Ns(Te)&&(Ae=Nh.matrix("active"),xe=Object.values(Rh).map(an=>an("inactive")));const Qe=document.createElement("div");Qe.className="MLEP__environment-delimiter-controls",Qe.style.display="flex",Qe.style.flexDirection="column",Qe.innerHTML=`
|
|
|
<div class='MLEP__array-delimiter-options'>
|
|
|
${Ae}
|
|
|
${xe.join("")}
|
|
|
</div>`,Ae&&se.appendChild(Qe),se.querySelectorAll("[data-command]").forEach(an=>{const cr=an.dataset.command;let di=cr;try{di=JSON.parse(cr)}catch(ar){}an.addEventListener("mousedown",ar=>ar.preventDefault()),di&&an.addEventListener("click",()=>a.executeCommand(di))});const Gt=(b=a.field)==null?void 0:b.getBoundingClientRect();Gt&&(re.style.top=`${window.scrollY+(Gt.top-re.clientHeight-15)}px`,re.style.left=`${Gt.left+20}px`,re.classList.add("is-visible"))}function zh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function mv(){document.getElementById("mathlive-environment-popover")&&(bh("mathlive-environment-popover"),x("environment-popover"),x("core"))}function $f(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&xs(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?pv(a):zh()}function gv(a){return a.replace("*","")}function vv(a){return a==="dcases"?"cases":a}function X0(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function J0(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function Hh(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="rtl"||b==="end"&&E==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function yv(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="ltr"||b==="end"&&E==="rtl"||b==="top"||b==="right"?a:a-y}function bv(a,y){var b,E,ee;const re=(b=X0(a))!=null?b:"ltr";a.style.position="fixed",a.style.left="",a.style.top="",a.style.right="",a.style.bottom="",a.style.height="",a.style.width="";const se=a.getBoundingClientRect(),ge=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let xe=Math.min(ge,(E=y.height)!=null?E:se.height),Ae=Hh(y.location.y,xe,y.verticalPos,re);Ae+xe>window.innerHeight-8&&(y.alternateLocation?(Ae=Hh(y.alternateLocation.y,xe,y.verticalPos,re),Ae+xe>window.innerHeight-8&&(Ae=void 0)):Ae=void 0),Number.isFinite(Ae)||(Ae=Math.max(8,window.innerHeight-8-xe),8+xe>window.innerHeight-8&&(a.style.bottom="8px")),xe=Math.min(Ae+xe,window.innerHeight-8)-Ae;const Te=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let Qe=Math.min(Te,(ee=y.width)!=null?ee:se.width),bt=Hh(y.location.x,Qe,y.horizontalPos,re);bt+Qe>window.innerWidth-8&&(y.alternateLocation?(bt=yv(y.alternateLocation.x,Qe,y.verticalPos,re),bt+Qe>window.innerWidth-8&&(bt=void 0)):bt=void 0),Number.isFinite(bt)||(bt=Math.max(8,window.innerWidth-8-Qe),8+Qe>window.innerWidth-8&&(a.style.right="8px")),Qe=Math.min(bt+Qe,window.innerWidth-8)-bt,re==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-bt-Qe).toString()}px`:a.style.left=`${Math.ceil(bt).toString()}px`,a.style.top=`${Math.ceil(Ae).toString()}px`,xe!==se.height&&(a.style.height=`${Math.ceil(xe).toString()}px`),Qe!==se.width&&(a.style.width=`${Math.ceil(Qe).toString()}px`)}function xv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Bd(a){return"submenu"in a}function Ju(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function Kh(a){return"type"in a&&a.type==="divider"}function Wh(a){return"type"in a&&a.type==="heading"}var q0={};function Zh(a){let y=q0[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
|
|
|
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const E=document.createElement("template");E.innerHTML=b,q0[a]=E,y=E}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var $0=80,ep=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Bd(a)?(this.type="submenu",this.submenu=new tp(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=Ju(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,E;const ee=this._declaration;if(Kh(ee)){this.enabled=!1,this.checked=!1;return}Wh(ee)&&(this.enabled=!1,this.checked=!1,this.visible=!0),Ju(ee)&&(this.checked=Ju(ee)&&((y=Ld(ee.checked,a))!=null?y:!1)),(Ju(ee)||Bd(ee))&&(this.enabled=(b=Ld(ee.enabled,a))!=null?b:!0,this.visible=(E=Ld(ee.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(Ju(ee)||Wh(ee)||Bd(ee))&&(this.label=Ld(ee.label,a),this.tooltip=Ld(ee.tooltip,a),this.ariaLabel=Ld(ee.ariaLabel,a)),this._element&&this.updateElement()}set dirty(a){console.assert(a===!0),a&&this.parentMenu&&(this.parentMenu.dirty=!0)}updateElement(){if(!this.visible||!this.element)return;const a=this.element;a.textContent="",this.enabled?a.removeAttribute("aria-disabled"):a.setAttribute("aria-disabled","true"),this.checked===!0?(a.setAttribute("aria-checked","true"),a.append(Zh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Zh("mixedmark"))):a.removeAttribute("aria-checked"),this.ariaLabel&&a.setAttribute("aria-label",this.ariaLabel);const y=document.createElement("span");if(y.className=this.parentMenu.hasCheck?"label indent":"label",this.type==="heading"&&y.classList.add("heading"),y.innerHTML=this.label,a.append(y),this._tooltip&&a.setAttribute("data-tooltip",this._tooltip),Ju(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=vh(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Zh("trailing-chevron"))}get element(){if(this._element)return this._element;if(Kh(this._declaration)){const b=document.createElement("li");return b.setAttribute("part","menu-divider"),b.setAttribute("role","divider"),this._element=b,b}const a=document.createElement("li");this._element=a,(Ju(this._declaration)||Wh(this._declaration)||Bd(this._declaration))&&this._declaration.class&&(a.className=this._declaration.class),a.setAttribute("part","menu-item"),a.setAttribute("tabindex","-1"),this.hasCheck?a.setAttribute("role","menuitemcheckbox"):a.setAttribute("role","menuitem"),this.type==="submenu"&&(a.setAttribute("aria-haspopup","true"),a.setAttribute("aria-expanded","false"));const y=this.abortController.signal;return a.addEventListener("pointerenter",this,{signal:y}),a.addEventListener("pointerleave",this,{signal:y}),a.addEventListener("pointerup",this,{signal:y}),a.addEventListener("click",this,{signal:y}),this._element}dispatchSelect(){if(!Ju(this._declaration))return;const a=new CustomEvent("menu-select",{cancelable:!0,bubbles:!0,detail:{modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data}});this.parentMenu.dispatchEvent(a)&&typeof this._declaration.onMenuSelect=="function"&&this._declaration.onMenuSelect({modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data})}handleEvent(a){var y;if(!(!this.visible||!this.enabled)){if(a.type==="click"){this.rootMenu.state==="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}if(a.type==="pointerenter"){const b=a;this.rootMenu.cancelDelayedOperation(),this.parentMenu.isSubmenuOpen&&((y=this.parentMenu.activeMenuItem)!=null&&y.movingTowardSubmenu(b))?this.rootMenu.scheduleOperation(()=>{this.parentMenu.activeMenuItem=this,this.openSubmenu()}):(this.parentMenu.activeMenuItem=this,this.openSubmenu({withDelay:!0}));return}if(a.type==="pointerleave"){this.rootMenu.activeSubmenu===this.parentMenu&&(this.parentMenu.activeMenuItem=null);return}if(a.type==="pointerup"){this.rootMenu.state!=="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}}}select(){if(this.rootMenu.cancelDelayedOperation(),this.type==="submenu"){this.openSubmenu();return}this.active=!1,setTimeout(()=>{this.active=!0,setTimeout(()=>{this.rootMenu.hide(),this.dispatchSelect()},$0)},$0)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),E=X0(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:J0(b,"trailing",E),y:b.top-4},alternateLocation:{x:J0(b,"leading",E),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const E=a.clientX-y.clientX;if(wv(E,y.clientY-a.clientY,b)<=.2)return!1;let re="right";if(this.submenu.element){const se=this.submenu.element.getBoundingClientRect(),ge=this.element.getBoundingClientRect();se.left<ge.left+ge.width/2&&(re="left")}return re==="right"?E>0:E<0}};function wv(a,y,b){return Math.hypot(a,y)/b}function Ld(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var tp=class zd{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var E,ee;this.parentMenu=(E=b==null?void 0:b.parentMenu)!=null?E:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ee=b==null?void 0:b.columnCount)!=null?ee:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(E=>E.onCreate?E.onCreate(E,this):new ep(E,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,E,ee;this._menuItems.forEach(Ae=>Ae.updateState(y));const re=this.hasCheck;this.hasCheck=this._menuItems.some(Ae=>Ae.visible&&Ae.hasCheck),this.hasCheck!==re&&this._menuItems.forEach(Ae=>Ae.updateState(y));let se,ge=0;for(const Ae of this._menuItems)Ae.type==="heading"?(se&&ge===0&&(se.visible=!1),se=Ae,ge=0):Ae.type==="divider"&&se?(se.visible=ge>0,se=void 0,ge=0):se&&Ae.visible&&(ge+=1);se&&(se.visible=ge>0);let xe=!0;for(const Ae of this._menuItems)Ae.type==="divider"?(Ae.visible=!xe,xe=!0):Ae.visible&&(xe=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((E=this.activeMenuItem)!=null&&E.enabled)&&((ee=this.activeMenuItem)==null?void 0:ee.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:E}of this._menuItems)b&&E&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,E,ee,re;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const se=this.activeMenuItem;se.active=!1,(b=se.submenu)==null||b.hide()}if(!((E=y==null?void 0:y.visible)==null||E)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(ee=y.element)==null||ee.focus({preventScroll:!0}):(re=this._element)==null||re.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const E=this._menuItems;for(;!b&&y<=E.length-1;){const ee=E[y];b=ee.type!=="divider"&&ee.visible&&ee.enabled,y+=1}return b?E[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,E=!1;for(;!E&&b>=0;){const ee=y[b];E=ee.type!=="divider"&&ee.visible&&ee.enabled,b-=1}return E?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),E=this._menuItems.indexOf(this.lastMenuItem);let ee=this._menuItems.indexOf(this._activeMenuItem),re=1;for(;ee>=b&&ee<=E;){ee+=y>0?1:-1;const se=this._menuItems[ee];if(!se)break;if(se.visible&&se.enabled){if(re===Math.abs(y))return this._menuItems[ee];re+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const E=this._menuItems.filter(ee=>ee.visible&&ee.enabled).indexOf(y);return E<0?-1:E%this.columnCount}static get collator(){return zd._collator||(zd._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),zd._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(ge=>ge.type!=="divider"&&ge.visible&&ge.enabled);if(E.length===0)return null;const ee=Math.max(...E.map(ge=>ge.label.length))-y.length;if(ee<0)return null;let re=null,se=0;for(;se<ee&&!re;)re=(b=E.find(ge=>zd.collator.compare(y,ge.label.substring(se,y.length))===0))!=null?b:null,se++;return re}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Ut()&&(this.element.popover="manual",this.element.showPopover()),y.location&&bv(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,E,ee,re;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Ut()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(E=(b=this.parentMenu)==null?void 0:b.element)==null||E.focus(),(re=(ee=this._element)==null?void 0:ee.parentNode)==null||re.removeChild(this._element)}set openSubmenu(y){var b,E,ee,re;const se=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",se.toString())),(re=(ee=this.activeMenuItem)==null?void 0:ee.element)==null||re.classList.toggle("is-submenu-open",se),this.isSubmenuOpen=se}},np=class rm extends tp{constructor(y,b){var E;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(E=b==null?void 0:b.host)!=null?E:null,this.isDynamic=y.some(rp),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){Km(this._modifiers,y)||(this._modifiers=y,this.dirty=!0)}get activeSubmenu(){let y=this;for(;y.isSubmenuOpen;)y=y.activeMenuItem.submenu;return y}set dirty(y){this._updating||(console.assert(y===!0),this._dirty!==y&&(this._dirty=!0,y&&setTimeout(()=>{this.updateState(this.modifiers),this.updateElement()})))}updateState(y){this._updating=!0,this.modifiers=y!=null?y:this.modifiers,super.updateState(this.modifiers),this._updating=!1}handleKeyupEvent(y){this.isDynamic&&(this.modifiers=Jc(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,ee;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=Jc(y));let re=!0;const se=this.activeSubmenu,ge=se.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":ge==null||ge.select(Jc(y));break;case"ArrowRight":if((ge==null?void 0:ge.type)==="submenu")ge.select(Jc(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!ge)se.activeMenuItem=se.firstMenuItem;else{const xe=(b=se.getMenuItemColumn(ge))!=null?b:-1;if(xe>=0&&xe<((E=se.columnCount)!=null?E:1)-1){const Ae=se.nextMenuItem(1);Ae&&(se.activeMenuItem=Ae)}}break;case"ArrowLeft":if(se===this.rootMenu)ge||(se.activeMenuItem=se.firstMenuItem);else if((ge&&(ee=se.getMenuItemColumn(ge))!=null?ee:-1)<=0||!ge){se.hide();const Ae=se.parentMenu.activeMenuItem;if(Ae){const{element:Te}=Ae;Te==null||Te.focus(),Te==null||Te.classList.remove("is-submenu-open")}}else{const Ae=se.nextMenuItem(-1);Ae&&(se.activeMenuItem=Ae)}break;case"ArrowDown":se.activeMenuItem=se.nextMenuItem(se.columnCount);break;case"ArrowUp":se.activeMenuItem=se.nextMenuItem(-se.columnCount);break;case"Home":case"PageUp":se.activeMenuItem=se.firstMenuItem;break;case"End":case"PageDown":se.activeMenuItem=se.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const xe=se.findMenuItem(this.typingBuffer);xe&&(se.activeMenuItem=xe),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Df(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const xe=se.findMenuItem(this.typingBuffer);xe&&(se.activeMenuItem=xe),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else re=!1}re&&(y.preventDefault(),y.stopPropagation())}handleEvent(y){if(y.type==="keydown")this.handleKeydownEvent(y);else if(y.type==="keyup")this.handleKeyupEvent(y);else if(y.type==="pointermove")this.lastMoveEvent=y;else if(y.type==="pointerup"&&y.target===this.scrim)Number.isFinite(this.rootMenu._openTimestamp)&&Date.now()-this.rootMenu._openTimestamp<120?this.state="modal":this.state==="modal"&&this.hide();else if(y.type==="contextmenu"){y.preventDefault(),y.stopPropagation();return}super.handleEvent(y)}dispatchEvent(y){return this._host?this._host.dispatchEvent(y):!0}get scrim(){return _u.element}connectScrim(y){const b=this.scrim;b.addEventListener("pointerup",this),b.addEventListener("contextmenu",this),b.addEventListener("keydown",this),b.addEventListener("keyup",this),b.addEventListener("pointermove",this),_u.open({root:y,onDismiss:()=>this.hide()})}disconnectScrim(){const y=this.scrim;y.removeEventListener("pointerup",this),y.removeEventListener("contextmenu",this),y.removeEventListener("keydown",this),y.removeEventListener("keyup",this),y.removeEventListener("pointermove",this),_u.state==="open"&&_u.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(me(ye({},y),{container:this.scrim}))?(this._openTimestamp=Date.now(),this.state="open",!0):(this.disconnectScrim(),!1)}hide(){this.cancelDelayedOperation(),this.state!==void 0&&(this.state!=="closed"&&(this.activeMenuItem=null,_u.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=rm.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};np.SUBMENU_DELAY=120;var Sv=np;function rp(a){return Kh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(Ju(a)||Bd(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||Ju(a)&&typeof a.checked=="function"?!0:Bd(a)?a.submenu.some(rp):!1}var eh=class{};eh.DELAY=300,eh.MAX_DISTANCE=10;function Cv(a){return new Promise((y,b)=>{const E=kf(a);E||y(!1);let ee=E;const re=setTimeout(()=>{se.abort(),y(xv(ee,E)<eh.MAX_DISTANCE)},eh.DELAY),se=new AbortController,ge=se.signal;for(const xe of["pointermove","pointerup","pointercancel"])window.addEventListener(xe,Ae=>{if(Ae.type==="pointerup"||Ae.type==="pointercancel")clearTimeout(re),se.abort(),y(!1);else if(Ae.type==="pointermove"){const Te=kf(Ae);Te&&(ee=Te)}},{passive:!0,signal:ge})})}function ip(a,y,b){return zc(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:kf(E),modifiers:Jc(E)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const E=a;if(E.code==="ContextMenu"||E.code==="F10"&&E.shiftKey){const ee=y==null?void 0:y.getBoundingClientRect();if(ee&&b.show({target:y,location:{x:Math.ceil(ee.left+ee.width/2),y:Math.ceil(ee.top+ee.height/2)},modifiers:Jc(E)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let E=a.target;for(;E&&y!==E;)E=E.parentNode;if(!E||!b.visible)return!1;const ee=kf(a);if(yield Cv(a))return b.state!=="closed"?!1:(b.show({target:y,location:ee}),!0)}return!1})}var ap={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};rn(Object.keys(ap),"{body:auto}",{createAtom:a=>new z(me(ye({},a),{body:ft(a.args[0]),accentChar:ap[a.command.slice(1)]}))}),rn(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=$t(ft(a.args[0]));return new z(me(ye({},a),{body:ft(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),rn(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(me(ye({},a),{body:ft(a.args[0]),svgAccent:"overarc"}))}),rn(["underarc","underparen"],"{body:auto}",{createAtom:a=>new wu(me(ye({},a),{body:ft(a.args[0]),svgBelow:"underarc"}))}),rn("utilde","{body:auto}",{createAtom:a=>{const y=ft(a.args[0]),b=$t(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new wu(me(ye({},a),{body:y,svgBelow:E,boxType:Hu(y)}))}}),rn("^","{:string}",{createAtom:a=>{var y;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE2",e:"\xEA",i:"\xEE",o:"\xF4",u:"\xFB",A:"\xC2",E:"\xCA",I:"\xCE",O:"\xD4",U:"\xDB"}[a.args[0]])!=null?y:"^"}))}}),rn("`","{:string}",{createAtom:a=>{var y;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE0",e:"\xE8",i:"\xEC",o:"\xF2",u:"\xF9",A:"\xC0",E:"\xC8",I:"\xCC",O:"\xD2",U:"\xD9"}[a.args[0]])!=null?y:"`"}))}}),rn("'","{:string}",{createAtom:a=>{var y;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE1",e:"\xE9",i:"\xED",o:"\xF3",u:"\xFA",A:"\xC1",E:"\xC9",I:"\xCD",O:"\xD3",U:"\xDA"}[a.args[0]])!=null?y:"'"}))}}),rn('"',"{:string}",{createAtom:a=>{var y,b;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\xE4",e:"\xEB",i:"\xEF",o:"\xF6",u:"\xFC",A:"\xC4",E:"\xCB",I:"\xCB",O:"\xD6",U:"\xDC"}[a.args[0]])!=null?b:'"'+a.args[0]:'"'}))}}),rn(".","{:string}",{createAtom:a=>{var y,b;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0227",e:"\u0117",i:"\u0307i",o:"\u022F",u:"\u0307u",A:"\u0226",E:"\u0116",I:"\u0130",O:"\u022E",U:"\u0307U"}[a.args[0]])!=null?b:"."+a.args[0]:"."}))}}),rn("=","{:string}",{createAtom:a=>{var y,b;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0101",e:"\u0113",i:"\u012B",o:"\u014D",u:"\u016B",A:"\u0100",E:"\u0112",I:"\u012A",O:"\u014C",U:"\u016A"}[a.args[0]])!=null?b:"="+a.args[0]:"="}))}}),rn("~","{:string}",{createAtom:a=>{var y;return new Br(me(ye({type:"mord"},a),{isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={n:"\xF1",N:"\xD1",a:"\xE3",o:"\xF5",A:"\xC3",O:"\xD5"}[a.args[0]])!=null?y:"\xB4"}))}}),rn("c","{:string}",{createAtom:a=>{var y;return new Br(me(ye({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),rn("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const E=a.args,ee={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(E[1]){const se=E[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ge of se){const xe=ge.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(xe)ee.strokeWidth=xe[1],ee.strokeStyle=xe[2],ee.strokeColor=xe[3];else{const Ae=ge.match(/\s*([a-z]*)\s*=\s*"(.*)"/);Ae&&(Ae[1]==="mathbackground"?ee.backgroundcolor=Ae[2]:Ae[1]==="mathcolor"?ee.strokeColor=Ae[2]:Ae[1]==="padding"?ee.padding=Ae[2]:Ae[1]==="shadow"&&(ee.shadow=Ae[2]))}}ee.strokeStyle==="dashed"?ee.svgStrokeStyle="5,5":ee.strokeStyle==="dotted"&&(ee.svgStrokeStyle="1,5")}ee.borderStyle=`${ee.strokeWidth} ${ee.strokeStyle} ${ee.strokeColor}`;const re={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(se=>se.length>0).forEach(se=>{re[se.toLowerCase()]=!0}),new Yd(a.command,ft(E[2]),re,ee)}}),rn("cancel","{body:auto}",{createAtom:a=>{var y;return new Yd(a.command,ft(a.args[0]),{updiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),rn("bcancel","{body:auto}",{createAtom:a=>{var y;return new Yd(a.command,ft(a.args[0]),{downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),rn("xcancel","{body:auto}",{createAtom:a=>{var y;return new Yd(a.command,ft(a.args[0]),{updiagonalstrike:!0,downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),rn(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new wu(me(ye({},a),{body:ft((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),rn("overbrace","{:auto}",{createAtom:a=>new wu(me(ye({},a),{body:ft(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),rn(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new wu(me(ye({},a),{body:ft(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),rn(["underbrace"],"{:auto}",{createAtom:a=>new wu(me(ye({},a),{body:ft(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),rn(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,E,ee,re;return new wu(me(ye({},a),{svgBody:a.command.slice(1),above:((b=ft((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:ft((E=a.args)==null?void 0:E[1]),below:(re=ft((ee=a.args)==null?void 0:ee[0]))!=null?re:null,skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,paddedLabels:!0,boxType:"rel"}))},serialize:(a,y)=>a.command+(a.hasEmptyBranch("below")?"":`[${a.belowToLatex(y)}]`)+`{${a.aboveToLatex(y)}}${a.supsubToLatex(y)}`}),rn(["arccos","arcsin","arctan","arctg","arcctg","arg","ch","cos","cosh","cot","cotg","coth","ctg","cth","csc","cosec","deg","dim","exp","gcd","hom","inf","ker","lb","lg","ln","log","Pr","sec","sh","sin","sinh","sup","tan","tanh","tg","th","arcsec","arccsc","arsinh","arcosh","artanh","arcsech","arccsch"],"",{isFunction:!0,ifMode:"math",createAtom:a=>new Xc(a.command.slice(1),me(ye({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),rn(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Xc({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],me(ye({},a),{limits:"over-under",variant:"main"}))}),rn(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Xc(a.command.slice(1),me(ye({},a),{limits:"over-under",variant:"main"}))}),rn(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Xc(a.command.slice(1),me(ye({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),rn(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),E=b.caret;b.caret=void 0;const ee=new ci("\xB0",{style:me(ye({},a.style),{variant:"normal",variantStyle:"up"})});return new ci([b,ee],{type:"inner",isSelected:a.isSelected,caret:E})}}),rn("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new o0(me(ye({},a),{body:ft(a.args[1]),index:a.args[0]?ft(a.args[0]):void 0}))}),rn(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=ye({},a),b=a.command,E=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new xd(E[0]?ft(E[0]):[new ka],E[1]?ft(E[1]):[new ka],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),E=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(E)?`${a.command}${b}${E}`:No(a.command,b,E)}}),rn(["brace","brack"],"",{infix:!0,createAtom:a=>new xd(ft(a.args[0]),ft(a.args[1]),me(ye({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>so([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),rn(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new xd(ft(E[0]),ft(E[1]),me(ye({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>so([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),rn(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const E=a.args;return new xd(ft(E[0]),ft(E[1]),me(ye({},a),{leftDelim:(y=E[2])!=null?y:".",rightDelim:(b=E[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),rn("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new xd(ft(a.args[0]),ft(a.args[1]),me(ye({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),rn(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new fh({coprod:"\u2210",bigvee:"\u22C1",bigwedge:"\u22C0",biguplus:"\u2A04",bigcap:"\u22C2",bigcup:"\u22C3",intop:"\u222B",prod:"\u220F",sum:"\u2211",bigotimes:"\u2A02",bigoplus:"\u2A01",bigodot:"\u2A00",bigsqcup:"\u2A06",smallint:"\u222B"}[a.command.slice(1)],me(ye({},a),{limits:"auto",variant:"main"}))}),rn("smallint","",{ifMode:"math",createAtom:a=>new Xc("\u222B",me(ye({},a),{limits:"adjacent",variant:"main"}))});var op={int:"\u222B",iint:"\u222C",iiint:"\u222D",oint:"\u222E",oiint:"\u222F",oiiint:"\u2230",intclockwise:"\u2231",varointclockwise:"\u2232",ointctrclockwise:"\u2233",intctrclockwise:"\u2A11",sqcup:"\u2294",sqcap:"\u2293",uplus:"\u228E",wr:"\u2240",amalg:"\u2A3F",Cap:"\u22D2",Cup:"\u22D3",doublecap:"\u22D2",doublecup:"\u22D3"};rn(Object.keys(op),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=op[y.slice(1)];return new fh(b,me(ye({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),rn(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Xc({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],me(ye({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),rn("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new r0(me(ye({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),rn("the","{:value}",{createAtom:a=>new Br(me(ye({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new vo({parent:y},a.style);let ee="";a.isSelected&&(ee+=" ML__selected");const re=E.evaluate(a.args[0]);return new ci(((b=gs(re))!=null?b:"").split("").map(se=>new ci(se,{type:"ord",classes:ee,mode:a.mode,isSelected:a.isSelected,style:ye({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ee}).wrap(E)},serialize:a=>{var y;return`\\the${(y=gs(a.args[0]))!=null?y:"\\relax"}`}}),rn("mathtip","{:auto}{:math}",{createAtom:a=>new hh(me(ye({},a),{body:ft(a.args[0]),tooltip:ft(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Br.serialize([a.tooltip],me(ye({},y),{defaultMode:"math"}))}}`}),rn("texttip","{:auto}{:text}",{createAtom:a=>new hh(me(ye({},a),{body:ft(a.args[0]),tooltip:ft(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${Br.serialize([a.tooltip],me(ye({},y),{defaultMode:"text"}))}}`}),rn("error","{:math}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),rn("ensuremath","{:math}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(me(ye({},y),{defaultMode:"math"}))}}`}),rn("color","{:value}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=gs(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),rn("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=gs(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),rn("boxed","{content:math}",{createAtom:a=>new Fs(me(ye({},a),{body:ft(a.args[0]),framecolor:{string:"black"}}))}),rn("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimBackgroundColor:(E=gs(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((ee=y[0])!=null?ee:{string:"yellow"})}}}),rn("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new Fs(me(ye({},a),{body:ft(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,E;return y.skipStyles?a.bodyToLatex(me(ye({},y),{defaultMode:"text"})):No(a.command,(b=gs(a.framecolor))!=null?b:"",(E=gs(a.backgroundcolor))!=null?E:"",a.bodyToLatex(me(ye({},y),{defaultMode:"text"})))}}),rn("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=ft(a.args[1]);return b?new Fs(me(ye({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new Fs(me(ye({},a),{body:E}))},serialize:(a,y)=>{var b,E;if(y.skipStyles)return a.bodyToLatex(y);let ee=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const re=[];a.padding&&re.push((b=gs(a.padding))!=null?b:""),a.border&&re.push(`border: ${a.border}`),a.backgroundcolor&&re.push((E=gs(a.backgroundcolor))!=null?E:""),ee+=`[${re.join(",")}]`}return No(ee,a.bodyToLatex(y))}}),rn(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),render:(a,y)=>{const b=new vo({parent:y,mathstyle:a.command.slice(1)},a.style),E=Br.createBox(b,a.body,{type:"lift"});return a.caret&&(E.caret=a.caret),a.bind(y,E)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${so([a.command,a.bodyToLatex(y)])}}`}),rn(["tiny","scriptsize","footnotesize","small","normalsize","large","Large","LARGE","huge","Huge"],"",{applyStyle:a=>({fontSize:{"\\tiny":1,"\\scriptsize":2,"\\footnotesize":3,"\\small":4,"\\normalsize":5,"\\large":6,"\\Large":7,"\\LARGE":8,"\\huge":9,"\\Huge":10}[a]})}),rn("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),rn("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),rn("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),rn("selectfont","",{ifMode:"text",applyStyle:()=>({})}),rn("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),rn(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),rn("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),rn("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),rn("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),rn("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),rn("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),rn("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),rn("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),rn("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),rn("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),rn("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),rn("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),rn("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),rn("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),rn("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),rn("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),rn("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),rn("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),rn("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),rn("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),rn("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),rn("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),rn("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),rn("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),rn("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),rn("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),rn("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),rn("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),rn(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),rn(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),rn("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),rn("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),rn("mbox","{:text}",{ifMode:"math",createAtom:a=>new Br(me(ye({},a),{type:"mord",body:ft(a.args[0]),mode:"math"})),serialize:(a,y)=>No("\\mbox",a.bodyToLatex(me(ye({},y),{defaultMode:"text"})))}),rn("text","{:text}",{ifMode:"math",applyMode:"text"}),rn(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[1])})),serialize:(a,y)=>!a.args[0]||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`,render:(a,y)=>{var b;return a.createBox(y,{classes:(b=a.args[0])!=null?b:""})}}),rn(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.cssId=(b=a.args[0])!=null?b:"",E}}),rn("htmlData","{data:string}{content:auto}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlData=(b=a.args[0])!=null?b:"",E}}),rn(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlStyle=(b=a.args[0])!=null?b:"",E}}),rn("em","{:rest}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{\\em ${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})}),rn("emph","{:auto}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[1])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\emph{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})});var sp={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}};rn(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new i0(me(ye({},a),{delim:(y=a.args[0])!=null?y:".",size:sp[a.command].size,delimType:sp[a.command].mclass}))}}),rn(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new Jd(me(ye({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),rn(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new Jd(me(ye({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),rn("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new Br(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===Wu||E===ru)&&(b=1),(E===gu||E===$s)&&(b=2),(E===yl||E===Zs)&&(b=3);const ee=ft(a.args[b]);return Br.createBox(y,ee)},serialize:(a,y)=>`\\mathchoice{${Br.serialize(a.args[0],y)}}{${Br.serialize(a.args[1],y)}}{${Br.serialize(a.args[2],y)}}{${Br.serialize(a.args[3],y)}}`}),rn("mathop","{:auto}",{createAtom:a=>new Br(me(ye({},a),{type:"mop",body:ft(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=Br.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return new ci(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[No(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),so(b)}}),rn(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new Br(me(ye({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:ft(a.args[0])}))}),rn(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=ft(a.args[0]).map(b=>{var E;return b.type!=="first"&&(b.type="mord",b.value=(E={"\u2217":"*","\u2212":"-"}[b.value])!=null?E:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new Br(me(ye({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=Br.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return a.caret&&(E.caret=a.caret),new ci(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[No(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),so(b)}}),rn(["char","unicode"],"{charcode:value}",{createAtom:a=>new Br(me(ye({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${gs((y=a.args[0])!=null?y:{number:10067,base:"hexadecimal"})}`},render:(a,y)=>{let b=y.evaluate(a.args[0]);return(!b||!("number"in b))&&(b={number:10067,base:"hexadecimal"}),a.value=String.fromCodePoint(b.number),a.createBox(y)}}),rn("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new Br(a),render:(a,y)=>{var b,E,ee;const re=new vo({parent:y,mathstyle:"textstyle"},a.style),se=re.toEm((b=a.args[0])!=null?b:{dimension:0}),ge=re.toEm((E=a.args[1])!=null?E:{dimension:10}),xe=re.toEm((ee=a.args[2])!=null?ee:{dimension:10}),Ae=new ci(null,{classes:"rule",type:"ord"});return Ae.width=ge,Ae.height=xe+se,Ae.depth=-se,Ae.setStyle("border-right-width",ge,"em"),Ae.setStyle("border-top-width",xe,"em"),Ae.setStyle("border-color",a.style.color),Ae.setStyle("vertical-align",se,"em"),a.isSelected&&Ae.setStyle("opacity","50%"),a.bind(re,Ae),a.caret&&(Ae.caret=a.caret),Ae.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${gs(a.args[0])}]`:""}{${gs(a.args[1])}}{${gs(a.args[2])}}`}),rn(["overline","underline"],"{:auto}",{createAtom:a=>new Br(me(ye({},a),{body:ft(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new vo({parent:y,mathstyle:"cramp"},a.style),ee=Br.createBox(E,a.body);if(!ee)return null;const re=E.metrics.defaultRuleThickness/E.scalingFactor,se=new ci(null,{classes:b+"-line"});se.height=re,se.maxFontSize=re*1.125*E.scalingFactor;let ge;return b==="overline"?ge=new Vo({shift:0,children:[{box:ee},3*re,{box:se},re]}):ge=new Vo({top:ee.height,children:[re,{box:se},3*re,{box:ee}]}),a.caret&&(ge.caret=a.caret),new ci(ge,{classes:b,type:"ignore"})}}),rn("overset","{:auto}{base:auto}",{createAtom:a=>{const y=ft(a.args[1]);return new wu(me(ye({},a),{above:ft(a.args[0]),body:y,skipBoundary:!1,boxType:Hu(y)}))},serialize:(a,y)=>No(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),rn("underset","{:auto}{base:auto}",{createAtom:a=>{const y=ft(a.args[1]);return new wu(me(ye({},a),{below:ft(a.args[0]),body:y,skipBoundary:!1,boxType:Hu(y)}))},serialize:(a,y)=>No(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),rn("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=ft(a.args[2]);return new wu(me(ye({},a),{above:ft(a.args[0]),below:ft(a.args[1]),body:y,skipBoundary:!1,boxType:Hu(y)}))},serialize:(a,y)=>No(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),rn(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new wu(me(ye({},a),{body:ft(a.args[2]),above:ft(a.args[1]),below:ft(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>No(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),rn("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,ee;return new Xd(me(ye({},a),{body:ft(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ee=(E=a.args[0])==null?void 0:E.includes("b"))!=null?ee:!0}))}}),rn(["vphantom"],"{:auto}",{createAtom:a=>new Xd(me(ye({},a),{body:ft(a.args[0]),isInvisible:!0,smashWidth:!0}))}),rn(["hphantom"],"{:auto}",{createAtom:a=>new Xd(me(ye({},a),{body:ft(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),rn(["phantom"],"{:auto}",{createAtom:a=>new Xd(me(ye({},a),{body:ft(a.args[0]),isInvisible:!0}))}),rn("not","{:math}",{createAtom:a=>{const y=ft(a.args[0]);return y.length===0?new Br(me(ye({},a),{type:"mrel",value:"\uE020"})):new Br(me(ye({},a),{body:[new Qc(me(ye({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],E=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?E?`\\not{${Br.serialize(b.group,y)}}`:`\\not${Br.serialize(b,y)}`:E?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const E=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":Hu(ft(a.args[0])),ee=Br.createBox(y,a.body,{type:E});return a.caret&&(ee.caret=a.caret),a.bind(y,ee)}}),rn(["ne","neq"],"",{createAtom:a=>new Br(me(ye({},a),{type:"mrel",body:[new Qc(me(ye({},a),{body:"\uE020",align:"right",boxType:"rel"})),new Br(me(ye({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),rn("rlap","{:auto}",{createAtom:a=>new Qc(me(ye({},a),{body:ft(a.args[0]),align:"right"}))}),rn("llap","{:auto}",{createAtom:a=>new Qc(me(ye({},a),{body:ft(a.args[0]),align:"left"}))}),rn("mathrlap","{:math}",{createAtom:a=>new Qc(me(ye({},a),{body:ft(a.args[0]),align:"left"}))}),rn("mathllap","{:math}",{createAtom:a=>new Qc(me(ye({},a),{body:ft(a.args[0]),align:"left"}))}),rn("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new Fs(me(ye({},a),{body:ft(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return No("\\raisebox",(b=gs(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),rn("raise","{:value}{:auto}",{createAtom:a=>{var y;return new Fs(me(ye({},a),{body:ft(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return No("\\raise",(b=gs(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),rn("lower","{:value}{:auto}",{createAtom:a=>{var y;return new Fs(me(ye({},a),{body:ft(a.args[1]),padding:{dimension:0},offset:(y=Wl(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return No("\\lower",(E=gs(Wl((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),De("0123456789/@.?!"),Ke(65,90),Ke(97,122),De([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),De([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),De([["\\backslash",92],["\\nabla",8711],["\\partial",8706],["\\ell",8467],["\\hbar",8463],["\\Q",81,"mord","double-struck"],["\\C",67,"mord","double-struck"],["\\P",80,"mord","double-struck"],["\\pounds",163],["\\euro",8364]]),De([["\\rightarrow",8594],["\\to",8594],["\\leftarrow",8592],["\\gets",8592],["\\Rightarrow",8658],["\\Leftarrow",8656],["\\longrightarrow",10230],["\\longleftarrow",10229],["\\Longrightarrow",10233],["\\implies",10233],["\\Longleftarrow",10232],["\\impliedby",10232],["\\longleftrightarrow",10231],["\\biconditional",10231],["\\Longleftrightarrow",10234],["\\mapsto",8614],["\\longmapsto",10236],["\\uparrow",8593],["\\downarrow",8595],["\\Uparrow",8657],["\\Downarrow",8659],["\\updownarrow",8597],["\\Updownarrow",8661],["\\hookrightarrow",8618],["\\hookleftarrow",8617],["\\rightharpoonup",8640],["\\leftharpoonup",8636],["\\rightharpoondown",8641],["\\leftharpoondown",8637],["\\searrow",8600],["\\nearrow",8599],["\\swarrow",8601],["\\nwarrow",8598],["\\originalof",8886],["\\laplace",8886],["\\imageof",8887],["\\Laplace",8887]],"mrel"),De([["\\mapsfrom",8612,"mrel"],["\\Mapsfrom",10502,"mrel"],["\\MapsTo",10503,"mrel"],["\\Yup",8516,"mord"],["\\lightning",8623,"mrel"],["\\leftarrowtriangle",8701,"mrel"],["\\rightarrowtriangle",8702,"mrel"],["\\leftrightarrowtriangle",8703,"mrel"],["\\boxdot",8865,"mbin"],["\\bigtriangleup",9651,"mbin"],["\\bigtriangledown",9661,"mbin"],["\\boxbar",9707,"mbin"],["\\Lbag",10181,"mopen"],["\\Rbag",10182,"mclose"],["\\llbracket",10214,"mopen"],["\\rrbracket",10215,"mclose"],["\\longmapsfrom",10235,"mrel"],["\\Longmapsfrom",10237,"mrel"],["\\Longmapsto",10238,"mrel"],["\\boxslash",10692,"mbin"],["\\boxbslash",10693,"mbin"],["\\boxast",10694,"mbin"],["\\boxcircle",10695,"mbin"],["\\boxbox",10696,"mbin"],["\\fatsemi",10783,"mop"],["\\leftslice",10918,"mrel"],["\\rightslice",10919,"mrel"],["\\interleave",10996,"mbin"],["\\biginterleave",11004,"mop"],["\\sslash",11005,"mbin"],["\\talloblong",11006,"mbin"]]),De([["\\lbrace",123,"mopen"],["\\rbrace",125,"mclose"],["\\lparen",40,"mopen"],["\\rparen",41,"mclose"],["\\langle",10216,"mopen"],["\\rangle",10217,"mclose"],["\\lfloor",8970,"mopen"],["\\rfloor",8971,"mclose"],["\\lceil",8968,"mopen"],["\\rceil",8969,"mclose"],["\\vert",8739],["\\lvert",8739,"mopen"],["\\rvert",8739,"mclose"],["\\|",8741],["\\Vert",8741],["\\mVert",8741],["\\lVert",8741,"mopen"],["\\rVert",8741,"mclose"],["\\lbrack",91,"mopen"],["\\rbrack",93,"mclose"],["\\{",123,"mopen"],["\\}",125,"mclose"],["(",40,"mopen"],[")",41,"mclose"],["[",91,"mopen"],["]",93,"mclose"],["\\ulcorner",9484,"mopen","ams"],["\\urcorner",9488,"mclose","ams"],["\\llcorner",9492,"mopen","ams"],["\\lrcorner",9496,"mclose","ams"],["\\lgroup",10222,"mopen"],["\\rgroup",10223,"mclose"],["\\lmoustache",9136,"mopen"],["\\rmoustache",9137,"mclose"]]),De([["\\dashrightarrow",8674],["\\dashleftarrow",8672],["\\Rrightarrow",8667],["\\Lleftarrow",8666],["\\leftrightarrows",8646],["\\rightleftarrows",8644],["\\curvearrowright",8631],["\\curvearrowleft",8630],["\\rightrightarrows",8649],["\\leftleftarrows",8647],["\\upuparrows",8648],["\\downdownarrows",8650],["\\vartriangle",9651],["\\triangleq",8796],["\\vartriangleleft",8882],["\\trianglelefteq",8884],["\\ntriangleleft",8938],["\\ntrianglelefteq",8940],["\\vartriangleright",8883],["\\trianglerighteq",8885],["\\ntriangleright",8939],["\\ntrianglerighteq",8941],["\\blacktriangleleft",9664],["\\blacktriangleright",9654],["\\leftarrowtail",8610],["\\rightarrowtail",8611],["\\looparrowright",8620],["\\looparrowleft",8619],["\\twoheadleftarrow",8606],["\\twoheadrightarrow",8608],["\\twoheadrightarrowtail",10518],["\\rightleftharpoons",8652],["\\leftrightharpoons",8651],["\\Rsh",8625],["\\Lsh",8624],["\\circlearrowright",8635],["\\circlearrowleft",8634],["\\restriction",8638],["\\upharpoonright",8638],["\\upharpoonleft",8639],["\\downharpoonright",8642],["\\downharpoonleft",8643],["\\rightsquigarrow",8669],["\\leadsto",8669],["\\leftrightsquigarrow",8621],["\\multimap",8888],["\\nleftarrow",8602],["\\nrightarrow",8603],["\\nRightarrow",8655],["\\nLeftarrow",8653],["\\nleftrightarrow",8622],["\\nLeftrightarrow",8654],["\\nvrightarrow",8696],["\\nvtwoheadrightarrow",10496],["\\nvrightarrowtail",10516],["\\nvtwoheadrightarrowtail",10519],["\\shortparallel",8741],["\\nless",8814],["\\nleqslant",57360],["\\lneq",10887],["\\lneqq",8808],["\\nleqq",57361],["\\lvertneqq",57356],["\\lnsim",8934],["\\lnapprox",10889],["\\nprec",8832],["\\npreceq",8928],["\\precnsim",8936],["\\precnapprox",10937],["\\nsim",8769],["\\nshortmid",57350],["\\nmid",8740],["\\nvdash",8876],["\\nvDash",8877],["\\ngtr",8815],["\\ngeqslant",57359],["\\ngeqq",57358],["\\gneq",10888],["\\gneqq",8809],["\\gvertneqq",57357],["\\gnsim",8935],["\\gnapprox",10890],["\\nsucc",8833],["\\nsucceq",8929],["\\succnsim",8937],["\\succnapprox",10938],["\\ncong",8774],["\\nshortparallel",57351],["\\nparallel",8742],["\\nVDash",8879],["\\nsupseteqq",57368],["\\supsetneq",8843],["\\varsupsetneq",57371],["\\supsetneqq",10956],["\\varsupsetneqq",57369],["\\nVdash",8878],["\\precneqq",10933],["\\succneqq",10934],["\\nsubseteqq",57366],["\\leqslant",10877],["\\geqslant",10878],["\\gtrsim",8819],["\\approxeq",8778],["\\thickapprox",8776],["\\lessapprox",10885],["\\gtrapprox",10886],["\\precapprox",10935],["\\succapprox",10936],["\\thicksim",8764],["\\succsim",8831],["\\precsim",8830],["\\backsim",8765],["\\eqsim",8770],["\\backsimeq",8909],["\\lesssim",8818],["\\nleq",8816],["\\ngeq",8817],["\\smallsmile",8995],["\\smallfrown",8994],["\\leqq",8806],["\\eqslantless",10901],["\\lll",8920],["\\lessgtr",8822],["\\lesseqgtr",8922],["\\lesseqqgtr",10891],["\\risingdotseq",8787],["\\fallingdotseq",8786],["\\subseteqq",10949],["\\Subset",8912],["\\sqsubset",8847],["\\preccurlyeq",8828],["\\curlyeqprec",8926],["\\vDash",8872],["\\Vvdash",8874],["\\bumpeq",8783],["\\Bumpeq",8782],["\\geqq",8807],["\\eqslantgtr",10902],["\\ggg",8921],["\\gtrless",8823],["\\gtreqless",8923],["\\gtreqqless",10892],["\\supseteqq",10950],["\\Supset",8913],["\\sqsupset",8848],["\\succcurlyeq",8829],["\\curlyeqsucc",8927],["\\Vdash",8873],["\\shortmid",8739],["\\between",8812],["\\pitchfork",8916],["\\varpropto",8733],["\\backepsilon",8717],["\\llless",8920],["\\gggtr",8921],["\\doteqdot",8785],["\\Doteq",8785],["\\eqcirc",8790],["\\circeq",8791],["\\therefore",8756],["\\because",8757]],"mrel","ams"),De([["+",43],["-",8722],["\u2212",8722],["\\pm",177],["\\mp",8723],["*",8727],["\\times",215],["\\div",247],["\\divides",8739],["\\cdot",8901],["\\cap",8745],["\\cup",8746],["\\setminus",8726],["\\land",8743],["\\wedge",8743],["\\lor",8744],["\\vee",8744],["\\circ",8728],["\\bigcirc",9711],["\\bullet",8729],["\\oplus",8853],["\\ominus",8854],["\\otimes",8855],["\\odot",8857],["\\oslash",8856],["\\bigtriangleup",9651],["\\bigtriangledown",9661],["\\triangleleft",9667],["\\triangleright",9657],["\\And",38],["\\dagger",8224],["\\dag",8224],["\\ddag",8225],["\\ddagger",8225],["\\ast",8727],["\\star",8902],["\\bigstar",9733],["\\diamond",8900]],"mbin"),De([["\\lhd",8882],["\\rhd",8883],["\\lessdot",8918],["\\gtrdot",8919],["\\ltimes",8905],["\\rtimes",8906],["\\leftthreetimes",8907],["\\rightthreetimes",8908],["\\intercal",8890],["\\dotplus",8724],["\\doublebarwedge",10846],["\\divideontimes",8903],["\\centerdot",8901],["\\smallsetminus",8726],["\\barwedge",8892],["\\veebar",8891],["\\nor",8891],["\\curlywedge",8911],["\\curlyvee",8910],["\\boxminus",8863],["\\boxplus",8862],["\\boxtimes",8864],["\\boxdot",8865],["\\circleddash",8861],["\\circledast",8859],["\\circledcirc",8858],["\\unlhd",8884],["\\unrhd",8885]],"mbin","ams"),De([["\\surd",8730],["\\infty",8734],["\\prime",8242],["\\doubleprime",8243],["\\angle",8736],["`",8216],["\\$",36],["\\%",37],["\\_",95],["\\alpha",945],["\\beta",946],["\\gamma",947],["\\delta",948],["\\epsilon",1013],["\\varepsilon",949],["\\zeta",950],["\\eta",951],["\\theta",952],["\\vartheta",977],["\\iota",953],["\\kappa",954],["\\varkappa",1008,"mord","ams"],["\\lambda",955],["\\mu",956],["\\nu",957],["\\xi",958],["\\omicron",111],["\\pi",960],["\\varpi",982],["\\rho",961],["\\varrho",1009],["\\sigma",963],["\\varsigma",962],["\\tau",964],["\\phi",981],["\\varphi",966],["\\upsilon",965],["\\chi",967],["\\psi",968],["\\omega",969],["\\Gamma",915],["\\Delta",916],["\\Theta",920],["\\Lambda",923],["\\Xi",926],["\\Pi",928],["\\Sigma",931],["\\Upsilon",933],["\\Phi",934],["\\Psi",936],["\\Omega",937],["\\digamma",989,"mord","ams"],["\\emptyset",8709]]),De([["=",61],["<",60],["\\lt",60],[">",62],["\\gt",62],["\\le",8804],["\\leq",8804],["\\ge",8805],["\\geq",8805],["\\ll",8810],["\\gg",8811],["\\coloneq",8788],["\\coloneqq",8788],["\\colonequals",8788],["\\measeq",8797],["\\eqdef",8798],["\\questeq",8799],[":",58],["\\cong",8773],["\\equiv",8801],["\\prec",8826],["\\preceq",10927],["\\succ",8827],["\\succeq",10928],["\\perp",8869],["\\propto",8733],["\\Colon",8759],["\\smile",8995],["\\frown",8994],["\\sim",8764],["\\doteq",8784],["\\bowtie",8904],["\\Join",8904],["\\asymp",8781],["\\sqsubseteq",8849],["\\sqsupseteq",8850],["\\approx",8776],["\\~",126],["\\leftrightarrow",8596],["\\Leftrightarrow",8660],["\\models",8872],["\\vdash",8866],["\\dashv",8867],["\\roundimplies",10608],["\\in",8712],["\\notin",8713],["\\ni",8715],["\\owns",8715],["\\subset",8834],["\\supset",8835],["\\subseteq",8838],["\\supseteq",8839],["\\differencedelta",8710],["\\mvert",8739],["\\parallel",8741],["\\simeq",8771]],"mrel"),De([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),De([["\\wp",8472],["\\aleph",8501]]),De([["\\blacktriangle",9650],["\\hslash",8463],["\\Finv",8498],["\\Game",8513],["\\eth",240],["\\mho",8487],["\\Bbbk",107],["\\yen",165],["\\square",9633],["\\Box",9633],["\\blacksquare",9632],["\\circledS",9416],["\\circledR",174],["\\triangledown",9661],["\\blacktriangledown",9660],["\\checkmark",10003],["\\diagup",9585],["\\measuredangle",8737],["\\sphericalangle",8738],["\\backprime",8245],["\\backdoubleprime",8246],["\\Diamond",9674],["\\lozenge",9674],["\\blacklozenge",10731],["\\varnothing",8709],["\\complement",8705],["\\maltese",10016],["\\beth",8502],["\\daleth",8504],["\\gimel",8503]],"mord","ams"),De([["\\ ",160],["~",160]],"space"),rn(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new Jd(a)}),rn("space","",{createAtom:a=>new Jd(a)}),De([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),De([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),De([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var lp="<mo>⁡</mo>",th="<mo>⁢</mo>";function nh(a){return a.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function as(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Ev(a,y,b){var E,ee,re,se,ge,xe,Ae,Te,Qe,bt,Gt;let an=!1;y=y!=null?y:a.atoms.length;let cr="",di="",ar=a.atoms[a.index];const Zr=(ee=(E=ar.style)==null?void 0:E.variant)!=null?ee:"",hi=(se=(re=ar.style)==null?void 0:re.variantStyle)!=null?se:"";let $r="";if(Zr||hi){const xa=An(ar.value,(ge=ar.style)==null?void 0:ge.variant,(xe=ar.style)==null?void 0:xe.variantStyle);if(xa!==ar.value)return a.index+=1,cr=`<mi${as(ar.id,b)}>${xa}</mi>`,vc(cr,a,b)||(a.mathML+=cr,a.lastType="mi"),!0;$r=(Ae={upnormal:"normal",boldnormal:"bold",italicmain:"italic",bolditalicmain:"bold-italic","updouble-struck":"double-struck","double-struck":"double-struck",boldfraktur:"bold-fraktur",calligraphic:"script",upcalligraphic:"script",script:"script",boldscript:"bold-script",boldcalligraphic:"bold-script",fraktur:"fraktur","upsans-serif":"sans-serif","boldsans-serif":"bold-sans-serif","italicsans-serif":"sans-serif-italic","bolditalicsans-serif":"sans-serif-bold-italic",monospace:"monospace"}[hi+Zr])!=null?Ae:"",$r=` mathvariant="${$r}"`}const Yi={"\\exponentialE":"ⅇ","\\imaginaryI":"ⅈ","\\differentialD":"ⅆ","\\capitalDifferentialD":"ⅅ","\\alpha":"α","\\pi":"π","\\infty":"∞","\\forall":"∀","\\nexists":"∄","\\exists":"∃","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(ar.command==="!")return a.index+=1,cr="<mo>!</mo>",vc(cr,a,b)||(a.mathML+=cr,a.lastType="mo"),!0;if(Yi[ar.command]){a.index+=1;let xa=`<mi${as(ar.id,b)}${$r}>${Yi[ar.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(xa=th+xa),vc(xa,a,b)||(a.mathML+=xa,a.lastType="mi"),!0}if(ar.command==="\\operatorname")di=Fd(ar.body),a.index+=1;else if(Zr||hi)for(;a.index<y&&(ar.type==="mord"||ar.type==="macro")&&!ar.isDigit()&&Zr===((Qe=(Te=ar.style)==null?void 0:Te.variant)!=null?Qe:"")&&hi===((Gt=(bt=ar.style)==null?void 0:bt.variantStyle)!=null?Gt:"");)di+=Fd([ar]),a.index+=1,ar=a.atoms[a.index];else(ar.type==="mord"||ar.type==="macro")&&!ar.isDigit()&&(di+=Fd([ar]),a.index+=1);if(di.length>0){an=!0,cr=`<mi${$r}>${di}</mi>`;const xa=a.lastType;cr.endsWith(">f</mi>")||cr.endsWith(">g</mi>")?(cr+=lp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(cr)?"mo":"mi",vc(cr,a,b)||((xa==="mi"||xa==="mn"||xa==="mtext"||xa==="fence")&&(cr=th+cr),a.mathML+=cr)}return an}function Av(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Mv(a){let y=-1,b=a.index,E=!1,ee=!1;for(;b<a.atoms.length&&!E&&!ee;){const re=a.atoms[b];E=!re.isDigit(),ee=!E&&re.superscript!==void 0,b++}return ee&&(y=b-1),y}function vc(a,y,b){var E;let ee=y.atoms[y.index-1];if(!ee)return!1;if(!ee.superscript&&!ee.subscript)if(((E=y.atoms[y.index])==null?void 0:E.type)==="subsup")ee=y.atoms[y.index],y.index+=1;else return!1;const re=y.lastType;y.lastType="";const se=zo(ee.superscript,b);y.lastType="";const ge=zo(ee.subscript,b);if(y.lastType=re,!se&&!ge)return!1;let xe="";return se&&ge?xe=`<msubsup>${a}${ge}${se}</msubsup>`:se?xe=`<msup>${a}${se}</msup>`:ge&&(xe=`<msub>${a}${ge}</msub>`),y.mathML+=xe,y.lastType="",!0}function kv(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ee+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ee.length>0?(a.mathML+=`<mtext ${as(a.atoms[E].id,b)}>${ee}</mtext>`,a.lastType="mtext",!0):!1}function Dv(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="",re=Mv(a);for(re>=0&&re<y&&(y=re);a.index<y&&a.atoms[a.index].isDigit();)ee+=a.atoms[a.index].asDigit(),a.index+=1;return ee.length<=0?!1:(ee="<mn"+as(a.atoms[E].id,b)+">"+ee+"</mn>",re<0&&Av(a)&&(re=a.index,a.index+=1),vc(ee,a,b)||(a.mathML+=ee,a.lastType="mn"),!0)}function Bv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",re="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let se=!1,ge=0;const xe=a.index;let Ae=-1,Te=xe+1;for(;Te<y&&!se;)a.atoms[Te].type==="mopen"?ge+=1:a.atoms[Te].type==="mclose"&&(ge-=1),ge===-1&&(se=!0,Ae=Te),Te+=1;se&&(ee="<mrow>",ee+=od(a.atoms[xe],b),ee+=zo(a.atoms,b,xe+1,Ae),ee+=od(a.atoms[Ae],b),ee+="</mrow>",a.index=Ae+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=th),vc(ee,a,b)&&(E=!0,a.lastType="",ee=""),re="fence")}return ee.length>0&&(E=!0,a.mathML+=ee,a.lastType=re),E}function Lv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",re="";const se=a.atoms[a.index];if(!se)return!1;const ge={"\\ne":"≠","\\neq":"&neq;","\\pm":"±","\\times":"×","\\colon":":","\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lbrack":"[","\\rbrack":"]","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"};if(ge[se.command]){a.index+=1;const xe=`<mo${as(se.id,b)}>${ge[se.command]}</mo>`;return vc(xe,a,b)||(a.mathML+=xe,a.lastType="mo"),!0}if(a.index<y&&(se.type==="mbin"||se.type==="mrel"))ee+=jh(a.atoms[a.index],b),a.index+=1,re="mo";else if(a.index<y&&(se.type==="mop"||se.type==="operator"||se.type==="extensible-symbol")){if(se.subsupPlacement==="over-under"&&(se.superscript||se.subscript)){const xe=od(se,b);return se.superscript&&se.subscript?(ee+="<munderover>"+xe,ee+=zo(se.subscript,b),ee+=zo(se.superscript,b),ee+="</munderover>"):se.superscript?(ee+="<mover>"+xe,ee+=zo(se.superscript,b),ee+="</mover>"):se.subscript&&(ee+="<munder>"+xe,ee+=zo(se.subscript,b),ee+="</munder>"),a.mathML+=ee,a.lastType="mo",a.index+=1,!0}{const xe=a.atoms[a.index],Ae=xe.value==="\\operatorname",Te=Ae?'<mi class="MathML-Unit"'+as(xe.id,b)+">"+Fd(xe.value)+"</mi>":od(xe,b);ee+=Te,!Ae&&!/^<mo>(.*)<\/mo>$/.test(Te)?(ee+=lp,re="applyfunction"):re=Ae?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ee)&&(ee=th+ee),a.index+=1}return ee.length>0&&(E=!0,vc(ee,a,b)||(a.mathML+=ee,a.lastType=re)),E}function zo(a,y,b,E){y!=null||(y={});const ee={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ee.mathML=a.toString();else if(typeof a=="string")ee.mathML=a;else if(a instanceof Br)ee.mathML=jh(a,y);else if(Array.isArray(a)){ee.atoms=a;let re=0;for(E=E||(a?a.length:0);ee.index<E;)if(kv(ee,E,y)||Dv(ee,E,y)||Ev(ee,E,y)||Lv(ee,E,y)||Bv(ee,E,y))re+=1;else if(ee.index<E){let se=jh(ee.atoms[ee.index],y);ee.lastType==="mn"&&se.length>0&&ee.atoms[ee.index].type==="genfrac"&&(se="<mo>⁤</mo>"+se),ee.atoms[ee.index].type==="genfrac"?ee.lastType="mfrac":ee.lastType="",ee.index+=1,vc(se,ee,y)?re+=1:se.length>0&&(ee.mathML+=se,re+=1)}re>1&&(ee.mathML="<mrow>"+ee.mathML+"</mrow>")}return ee.mathML}function od(a,y){let b="";const E=Fd(a.value);return E&&(b="<mo"+as(a.id,y)+">"+E+"</mo>"),b}function Fd(a){if(!a)return"";if(typeof a=="string")return nh(a);if(!Array.isArray(a)&&typeof a.body=="string")return nh(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return nh(y)}function jh(a,y){var b,E,ee,re,se,ge,xe,Ae,Te,Qe,bt,Gt,an,cr,di,ar,Zr,hi,$r,Yi,xa,fa;if(a.mode==="text")return`<mi${as(a.id,y)}>${a.value}</mi>`;const Eo={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",longleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",longrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",longrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xleftrightarrows:"\u21C4",xRightleftharpoons:"\u21CC",longRightleftharpoons:"\u21CC",xLeftrightharpoons:"\u21CB",longLeftrightharpoons:"\u21CB"},Xo={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let wi="",cu="",$u,Cu,rl,du,Rl,os;const{command:Is}=a;if(a.command==="\\error")return`<merror${as(a.id,y)}>${zo(a.body,y)}</merror>`;const il={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},ec={"\\vec":"⃗","\\acute":"´","\\grave":"`","\\dot":"˙","\\ddot":"¨","\\tilde":"~","\\bar":"¯","\\breve":"˘","\\check":"ˇ","\\hat":"^"};switch(a.type){case"first":break;case"group":case"root":wi=zo(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(wi+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(wi+="<mo>"+(il[a.leftDelim]||a.leftDelim)+"</mo>")),wi+="<mtable",a.colFormat){for(wi+=' columnalign="',rl=0;rl<a.colFormat.length;rl++)a.colFormat[rl].align&&(wi+={l:"left",c:"center",r:"right"}[a.colFormat[rl].align]+" ");wi+='"'}for(wi+=">",Cu=0;Cu<a.array.length;Cu++){for(wi+="<mtr>",$u=0;$u<a.array[Cu].length;$u++)wi+="<mtd>"+zo(a.array[Cu][$u],y)+"</mtd>";wi+="</mtr>"}wi+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(wi+="<mo>"+(il[a.leftDelim]||a.rightDelim)+"</mo>"),wi+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(wi+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(wi+="<mo"+as(a.id,y)+">"+(il[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(wi+="<mfrac>",wi+=zo(a.above,y)||"<mi> </mi>",wi+=zo(a.below,y)||"<mi> </mi>",wi+="</mfrac>"):(wi+="<mtable"+as(a.id,y)+">",wi+="<mtr>"+zo(a.above,y)+"</mtr>",wi+="<mtr>"+zo(a.below,y)+"</mtr>",wi+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(wi+="<mo"+as(a.id,y)+">"+(il[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(wi+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(wi+="<msqrt"+as(a.id,y)+">",wi+=zo(a.body,y),wi+="</msqrt>"):(wi+="<mroot"+as(a.id,y)+">",wi+=zo(a.body,y),wi+=zo(a.above,y),wi+="</mroot>");break;case"leftright":const tc=a,nc=tc.leftDelim;wi="<mrow>",nc&&nc!=="."&&(wi+=`<mo${as(a.id,y)}>${(b=il[nc])!=null?b:nc}</mo>`),a.body&&(wi+=zo(a.body,y));const rc=tc.matchingRightDelim();rc&&rc!=="."&&(wi+=`<mo${as(a.id,y)}>${(E=il[rc])!=null?E:rc}</mo>`),wi+="</mrow>";break;case"sizeddelim":case"delim":wi+=`<mo${as(a.id,y)}>${il[a.value]||a.value}</mo>`;break;case"accent":wi+='<mover accent="true"'+as(a.id,y)+">",wi+=zo(a.body,y),wi+="<mo>"+(ec[Is]||a.accent)+"</mo>",wi+="</mover>";break;case"line":case"overlap":break;case"overunder":Rl=a.above,du=a.below,(a.svgAbove||Rl)&&(a.svgBelow||du)?os=a.body:Rl&&Rl.length>0?(os=a.body,(re=(ee=a.body)==null?void 0:ee[0])!=null&&re.below?(du=a.body[0].below,os=a.body[0].body):((ge=(se=a.body)==null?void 0:se[0])==null?void 0:ge.type)==="first"&&((Ae=(xe=a.body)==null?void 0:xe[1])!=null&&Ae.below)&&(du=a.body[1].below,os=a.body[1].body)):du&&du.length>0&&(os=a.body,(Qe=(Te=a.body)==null?void 0:Te[0])!=null&&Qe.above?(Rl=a.body[0].above,os=a.body[0].body):((Gt=(bt=a.body)==null?void 0:bt[0])==null?void 0:Gt.type)==="first"&&((cr=(an=a.body)==null?void 0:an[1])!=null&&cr.above)&&(Rl=a.body[1].overscript,os=a.body[1].body)),(a.svgAbove||Rl)&&(a.svgBelow||du)?(wi+=`<munderover ${as(a.id,y)}>`,wi+=(di=Eo[a.svgBody])!=null?di:zo(os,y),wi+=(ar=Eo[a.svgBelow])!=null?ar:zo(du,y),wi+=(Zr=Eo[a.svgAbove])!=null?Zr:zo(Rl,y),wi+="</munderover>"):a.svgAbove||Rl?(wi+=`<mover ${as(a.id,y)}>`+((hi=Eo[a.svgBody])!=null?hi:zo(os,y)),wi+=($r=Eo[a.svgAbove])!=null?$r:zo(Rl,y),wi+="</mover>"):(a.svgBelow||du)&&(wi+=`<munder ${as(a.id,y)}>`+((Yi=Eo[a.svgBody])!=null?Yi:zo(os,y)),wi+=(xa=Eo[a.svgBelow])!=null?xa:zo(du,y),wi+="</munder>");break;case"placeholder":wi+="?";break;case"mord":{wi=typeof a.value=="string"?a.value:Is,Is==="\\char"?wi="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":wi.length>0&&wi.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?wi="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?wi=a.value.charAt(0):(console.error("Did not expect this"),wi=""));const Ou=/\d/.test(wi)?"mn":"mi";wi=`<${Ou}${as(a.id,y)}>${nh(wi)}</${Ou}>`;break}case"mbin":case"mrel":case"minner":wi=od(a,y);break;case"mpunct":wi='<mo separator="true"'+as(a.id,y)+">"+Is+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(wi="<mo"+as(a.id,y)+">",wi+=Is==="\\operatorname"?a.body:Is||a.body,wi+="</mo>");break;case"box":wi='<menclose notation="box"',a.backgroundcolor&&(wi+=' mathbackground="'+a.backgroundcolor+'"'),wi+=as(a.id,y)+">"+zo(a.body,y)+"</menclose>";break;case"spacing":wi+='<mspace width="'+((fa=Xo[Is])!=null?fa:0)+'em"/>';break;case"enclose":wi='<menclose notation="';for(const Ou in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Ou)&&a.notation[Ou]&&(wi+=cu+Ou,cu=" ");wi+=as(a.id,y)+'">'+zo(a.body,y)+"</menclose>";break;case"prompt":wi='<menclose notation="roundexbox""">'+zo(a.body,y)+"</menclose>";break;case"space":wi+=" ";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":wi+=od(a,y);break;case"mclose":wi+=od(a,y);break;case"macro":{const Ou=a.command+Fd(a.macroArgs);Ou&&(wi+=`<mo ${as(a.id,y)}>${Ou}</mo>`)}break;case"latexgroup":wi+=zo(a.body,y);break;case"latex":wi+="<mtext"+as(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":wi+=zo(a.body,y);break;case"text":wi+=`<mtext ${as(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${as(a.id,y)} displaystyle="true">${zo(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${as(a.id,y)} displaystyle="false">${zo(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return wi}var Pd={"\\alpha":"alpha ","\\mu":"mew ","\\sigma":"sigma ","\\pi":"pie ","\\imaginaryI":"imaginary eye ","\\imaginaryJ":"imaginary jay ","\\sum":"Summation ","\\prod":"Product ","+":"plus ","-":"minus ",";":'<break time="150ms"/> semi-colon <break time="150ms"/>',",":'<break time="150ms"/> comma <break time="150ms"/>',"|":'<break time="150ms"/>Vertical bar<break time="150ms"/>',"(":'<break time="150ms"/>Open paren. <break time="150ms"/>',")":'<break time="150ms"/> Close paren. <break time="150ms"/>',"=":"equals ","<":"is less than ","\\lt":"is less than ","<=":"is less than or equal to ","\\le":"is less than or equal to ","\\gt":"is greater than ",">":"is greater than ","\\pm":"plus or minus","\\mp":"minus or plus","\\ge":"is greater than or equal to ","\\geq":"is greater than or equal to ","\\leq":"is less than or equal to ","\\ne":"is not equal to ","\\neq":"is not equal to ","!":"factorial ","\\sin":"sine ","\\cos":"cosine ","\u200B":"","\u2212":"minus ",":":'<break time="150ms"/> such that <break time="200ms"/> ',"\\colon":'<break time="150ms"/> such that <break time="200ms"/> ',"\\hbar":"etch bar ","\\iff":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\Longleftrightarrow":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\land":"and ","\\lor":"or ","\\neg":"not ","\\div":"divided by ","\\forall":"for all ","\\exists":"there exists ","\\nexists":"there does not exists ","\\in":"element of ","\\N":'the set <break time="150ms"/><say-as interpret-as="character">n</say-as>',"\\C":'the set <break time="150ms"/><say-as interpret-as="character">c</say-as>',"\\Z":'the set <break time="150ms"/><say-as interpret-as="character">z</say-as>',"\\Q":'the set <break time="150ms"/><say-as interpret-as="character">q</say-as>',"\\infty":"infinity ","\\nabla":"nabla ","\\partial":"partial derivative of ","\\cdot":"times ","\\cdots":"dot dot dot ","\\Rightarrow":"implies ","\\lparen":'<break time="150ms"/>open paren<break time="150ms"/>',"\\rparen":'<break time="150ms"/>close paren<break time="150ms"/>',"\\lbrace":'<break time="150ms"/>open brace<break time="150ms"/>',"\\{":'<break time="150ms"/>open brace<break time="150ms"/>',"\\rbrace":'<break time="150ms"/>close brace<break time="150ms"/>',"\\}":'<break time="150ms"/>close brace<break time="150ms"/>',"\\langle":'<break time="150ms"/>left angle bracket<break time="150ms"/>',"\\rangle":'<break time="150ms"/>right angle bracket<break time="150ms"/>',"\\lfloor":'<break time="150ms"/>open floor<break time="150ms"/>',"\\rfloor":'<break time="150ms"/>close floor<break time="150ms"/>',"\\lceil":'<break time="150ms"/>open ceiling<break time="150ms"/>',"\\rceil":'<break time="150ms"/>close ceiling<break time="150ms"/>',"\\vert":'<break time="150ms"/>vertical bar<break time="150ms"/>',"\\mvert":'<break time="150ms"/>divides<break time="150ms"/>',"\\lvert":'<break time="150ms"/>left vertical bar<break time="150ms"/>',"\\rvert":'<break time="150ms"/>right vertical bar<break time="150ms"/>',"\\lbrack":'<break time="150ms"/> open square bracket <break time="150ms"/>',"\\rbrack":'<break time="150ms"/> close square bracket <break time="150ms"/>',mm:"millimeters",cm:"centimeters",km:"kilometers",kg:"kilograms"},Vh={array:"array",matrix:"matrix",pmatrix:"parenthesis matrix",bmatrix:"square brackets matrix",Bmatrix:"braces matrix",vmatrix:"bars matrix",Vmatrix:"double bars matrix","matrix*":"matrix",smallmatrix:"small matrix"};function Fv(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function hf(a){let y=0;if(Ie(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Pv(a){if(Ie(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function up(a){let y="";if(Ie(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Iv(a){return a?a.map(y=>y.value).join(""):""}function So(a,y){var b,E,ee,re,se;function ge(Te){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(Te)?` <say-as interpret-as="character">${Te}</say-as>`:/[A-Z]/.test(Te)?`capital <say-as interpret-as="character">${Te.toLowerCase()}</say-as>`:Te:/[a-z]/.test(Te)?" '"+Te.toUpperCase()+"'":/[A-Z]/.test(Te)?" 'capital "+Te.toUpperCase()+"'":Te}function xe(Te){return"<emphasis>"+Te+"</emphasis>"}if(!y)return"";let Ae="";if(Ie(y)){let Te=!1,Qe=!1;for(let bt=0;bt<y.length;bt++)y[bt].type!=="first"&&(y[bt].mode!=="text"&&(Qe=!1),bt<y.length-2&&y[bt].type==="mopen"&&y[bt+2].type==="mclose"&&y[bt+1].type==="mord"?(Ae+=" of ",Ae+=xe(So(a,y[bt+1])),bt+=2):y[bt].mode==="text"?Qe?Ae+=(b=y[bt].value)!=null?b:" ":(Qe=!0,Ae+=So("text",y[bt])):y[bt].isDigit()?Te?Ae+=y[bt].asDigit():(Te=!0,Ae+=So(a,y[bt])):(Te=!1,Ae+=So(a,y[bt])))}else if(y.mode==="text")y.id&&a==="math"&&(Ae+='<mark name="'+y.id.toString()+'"/>'),Ae+=y.value;else{y.id&&a==="math"&&(Ae+='<mark name="'+y.id.toString()+'"/>');let Te="",Qe="",bt="",Gt=!1;const{command:an}=y;switch(an){case"\\vec":return"vector "+So(a,y.body);case"\\acute":return So(a,y.body)+" acute";case"\\grave":return So(a,y.body)+" grave";case"\\dot":return"dot over"+So(a,y.body);case"\\ddot":return"double dot over"+So(a,y.body);case"\\mathring":return"ring over"+So(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+So(a,y.body);case"\\bar":return So(a,y.body)+" bar";case"\\breve":return So(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+So(a,y.body);case"\\hat":case"\\widehat":return"hat over"+So(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+So(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+So(a,y.body)}switch(y.type){case"prompt":const cr=y.body.length>1?'start input . <break time="500ms"/> '+So(a,y.body)+'. <break time="500ms"/> end input':"blank";Ae+=' <break time="300ms"/> '+cr+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const di=y.array,ar=y.environmentName;if(Object.keys(Vh).includes(ar)){Ae+=` begin ${Vh[ar]} `;for(let $r=0;$r<di.length;$r++){$r>0&&(Ae+=","),Ae+=` row ${$r+1} `;for(let Yi=0;Yi<di[$r].length;Yi++)Yi>0&&(Ae+=","),Ae+=` column ${Yi+1}: `,Ae+=So("math",di[$r][Yi])}Ae+=` end ${Vh[ar]} `}break;case"group":an==="\\ne"?Ae+=" not equal ":(an==="\\not"&&(Ae+=" not "),Ae+=So("math",y.body));break;case"root":Ae+=So("math",y.body);break;case"genfrac":if(Te=So("math",y.above),Qe=So("math",y.below),hf(y.above)&&hf(y.below)){const Yi={"1/2":" half ","1/3":" one third ","2/3":" two third","1/4":" one quarter ","3/4":" three quarter ","1/5":" one fifth ","2/5":" two fifths ","3/5":" three fifths ","4/5":" four fifths ","1/6":" one sixth ","5/6":" five sixths ","1/8":" one eight ","3/8":" three eights ","5/8":" five eights ","7/8":" seven eights ","1/9":" one ninth ","2/9":" two ninths ","4/9":" four ninths ","5/9":" five ninths ","7/9":" seven ninths ","8/9":" eight ninths "}[up(y.above)+"/"+up(y.below)];Yi?Ae=Yi:Ae+=Te+" over "+Qe}else Ae+=' the fraction <break time="150ms"/>'+Te+' over <break time="150ms"/>'+Qe+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(bt=So("math",y.body),y.hasEmptyBranch("above"))Ae+=hf(y.body)?" the square root of "+bt+" , ":' the square root of <break time="200ms"/>'+bt+'. <break time="200ms"/> End square root';else{let $r=So("math",y.above);$r=$r.trim();const Yi=$r.replace(/<mark([^/]*)\/>/g,"");Yi==="3"?Ae+=' the cube root of <break time="200ms"/>'+bt+'. <break time="200ms"/> End cube root':Yi==="n"?Ae+=' the nth root of <break time="200ms"/>'+bt+'. <break time="200ms"/> End root':Ae+=' the root with index: <break time="200ms"/>'+$r+', of <break time="200ms"/>'+bt+'. <break time="200ms"/> End root'}break;case"leftright":{const $r=y;Ae+=(ee=$r.leftDelim?Pd[$r.leftDelim]:void 0)!=null?ee:$r.leftDelim,Ae+=So("math",y.body),Ae+=(re=$r.rightDelim?Pd[$r.rightDelim]:void 0)!=null?re:$r.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const Zr=an.replace(/^\\/g,""),hi=hr()[Zr];hi&&(hi!=null&&hi.expand?Ae+=So("math",y.body):Ae+=`${Zr} `);break;case"placeholder":Ae+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(an==="\\mathbin"||an==="\\mathrel"||an==="\\mathopen"||an==="\\mathclose"||an==="\\mathpunct"||an==="\\mathord"||an==="\\mathinner"){Ae=So(a,y.body);break}let $r=y.isDigit()?y.asDigit():y.value,Yi=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Yi=y.value,$r=Yi),a==="text")Ae+=$r;else{if(y.type==="mbin"&&(Ae+='<break time="150ms"/>'),$r){const xa=Pd[$r]||(Yi?Pd[Yi.trim()]:"");if(xa)Ae+=" "+xa;else{const fa=Yi?Fv(Yi.trim()):"";Ae+=fa||ge($r)}}else Ae+=So("math",y.body);y.type==="mbin"&&(Ae+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const $r=y.command;if($r==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Yi=So("math",y.superscript);Yi=Yi.trim();let xa=So("math",y.subscript);xa=xa.trim(),Ae+=' the summation from <break time="200ms"/>'+xa+'<break time="200ms"/> to <break time="200ms"/>'+Yi+'<break time="200ms"/> of <break time="150ms"/>',Gt=!0}else if(y.hasEmptyBranch("subscript"))Ae+=" the summation of";else{let Yi=So("math",y.subscript);Yi=Yi.trim(),Ae+=' the summation from <break time="200ms"/>'+Yi+'<break time="200ms"/> of <break time="150ms"/>',Gt=!0}else if($r==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Yi=So("math",y.superscript);Yi=Yi.trim();let xa=So("math",y.subscript);xa=xa.trim(),Ae+=' the product from <break time="200ms"/>'+xa+'<break time="200ms"/> to <break time="200ms"/>'+Yi+'<break time="200ms"/> of <break time="150ms"/>',Gt=!0}else if(y.hasEmptyBranch("subscript"))Ae+=" the product of ";else{let Yi=So("math",y.subscript);Yi=Yi.trim(),Ae+=' the product from <break time="200ms"/>'+Yi+'<break time="200ms"/> of <break time="150ms"/>',Gt=!0}else if($r==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Yi=So("math",y.superscript);Yi=Yi.trim();let xa=So("math",y.subscript);xa=xa.trim(),Ae+=' the integral from <break time="200ms"/>'+xe(xa)+'<break time="200ms"/> to <break time="200ms"/>'+xe(Yi)+' <break time="200ms"/> of ',Gt=!0}else Ae+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Yi=(se=Pd[y.value])!=null?se:y.command?Pd[y.command]:void 0;Ae+=Yi||" "+y.value}else y.command&&(y.command==="\\mathop"?Ae+=So("math",y.body):y.command==="\\operatorname"?Ae+=Iv(y.body):Ae+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":bt=So("math",y.body),Ae+=" crossed out "+bt+". End crossed out.";break;case"space":case"spacing":break}if(!Gt&&!y.hasEmptyBranch("superscript")){let cr=So(a,y.superscript);cr=cr.trim();const di=cr.replace(/<[^>]*>/g,"");if(hf(y.superscript)){if(a==="math"){const ar=Pv(y.superscript);ar&&(Ae+='<mark name="'+ar+'"/>')}di==="\u2032"?Ae+=" prime ":di==="2"?Ae+=" squared ":di==="3"?Ae+=" cubed ":Number.isNaN(Number.parseInt(di))?Ae+=" to the "+cr+"; ":Ae+=' to the <say-as interpret-as="ordinal">'+di+"</say-as> power; "}else Number.isNaN(Number.parseInt(di))?Ae+=" raised to the "+cr+"; ":Ae+=' raised to the <say-as interpret-as="ordinal">'+di+"</say-as> power; "}if(!Gt&&!y.hasEmptyBranch("subscript")){let cr=So("math",y.subscript);cr=cr.trim(),Ae+=hf(y.subscript)?" sub "+cr:" subscript "+cr+". End subscript. "}}return Ae}function Id(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ee=zo(a);if(ee){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=me(ye({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=me(ye({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=me(ye({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const re=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&re.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let se="";try{se=re.toSpeech(ee)}catch(ge){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",ge)}return se}return""}let E=So("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ee="";window.MathfieldElement.speechEngineRate&&(ee='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),E='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+ee+"<p><s>"+E+"</s></p>"+(ee?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&Me()==="macos"?E=E.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):E=E.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return E}var pf={"\\ne":"\u2260","\\neq":"\u2260","\u2212":"-","-":"-","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\delta":"delta","\\epsilon":"epsilon","\\varepsilon":"varepsilon","\\zeta":"zeta","\\eta":"eta","\\theta":"theta","\\vartheta":"vartheta","\\iota":"iota","\\kappa":"kappa","\\lambda":"lambda","\\mu":"mu","\\nu":"nu","\\xi":"xi","\\pi":"pi","\\rho":"rho","\\sigma":"sigma","\\tau":"tau","\\upsilon":"upsilon","\\phi":"phi","\\varphi":"varphi","\\chi":"chi","\\psi":"psi","\\omega":"omega","\\Gamma":"Gamma","\\Delta":"Delta","\\Theta":"Theta","\\Lambda":"Lambda","\\Xi":"Xi","\\Pi":"Pi","\\Sigma":"Sigma","\\Phi":"Phi","\\Psi":"Psi","\\Omega":"Omega","\\exponentialE":"e","\\imaginaryI":"i","\\imaginaryJ":"j","\\!":" ","\\,":" ","\\:":" ","\\>":" ","\\;":" ","\\enskip":" ","\\enspace":" ","\\qquad":" ","\\quad":" ","\\infty":"oo"},mf={"\\pm":"+-","\\colon":":","\\vert":"|","\\Vert":"||","\\mid":"|","\\lbrack":"[","\\rbrack":"]","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"(:","\\rangle":":)","\\sum":" sum ","\\prod":" prod ","\\bigcap":" nnn ","\\bigcup":" uuu ","\\int":" int ","\\oint":" oint ","\\ge":">=","\\le":"<=","\\ne":"!=","\\neq":"!=","\\lt":"<","\\gt":">","\\gets":"<-","\\to":"->","\\land":" and ","\\lor":" or ","\\lnot":" not ","\\forall":" AA ","\\exists":" EE ","\\in":" in ","\\notin":" !in ","\\mapsto":"|->","\\implies":"=>","\\iff":"<=>","\\cdot":"*","\\ast":"**","\\star":"***","\\times":"xx","\\div":"-:","\\ltimes":"|><","\\rtimes":"><|","\\bowtie":"|><|","\\circ":"@"};function Tv(a){let y="";for(const b of a){const E=y[y.length-1];E!==void 0&&/\d/.test(E)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function Ps(a){var y,b,E,ee,re,se,ge,xe,Ae,Te,Qe,bt,Gt;if(!a)return"";if(Ie(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(Ps).join("");if(a[0].mode==="text"){let hi=0,$r="";for(;((y=a[hi])==null?void 0:y.mode)==="text";)$r+=a[hi].body?Ps(a[hi].body):a[hi].value,hi++;return`"${$r}" ${Ps(a.slice(hi))}`}let ar=0;const Zr=[];for(;a[ar]&&a[ar].mode==="math";){let hi="";for(;a[ar]&&a[ar].type==="mord"&&/\d/.test(a[ar].value);)hi+=a[ar++].value;hi?Zr.push(hi):Zr.push(Ps(a[ar++]))}return Zr.push(Ps(a.slice(ar))),Tv(Zr)}if(a.mode==="text")return`"${a.value}"`;let an="";const{command:cr}=a;let di;if(cr==="\\placeholder")return`(${Ps(a.body)})`;switch(a.type){case"accent":const ar={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[cr];an=`${ar!=null?ar:""} ${Ps(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(fa=>fa.value).join("");case"group":case"root":an=(b=pf[cr])!=null?b:Ps(a.body);break;case"genfrac":{const fa=a;(fa.leftDelim||fa.rightDelim)&&(an=fa.leftDelim==="."||!fa.leftDelim?"{:":fa.leftDelim),fa.hasBarLine?(an+="(",an+=Ps(fa.above),an+=")/(",an+=Ps(fa.below),an+=")"):(an+="("+Ps(fa.above)+"),",an+="("+Ps(fa.below)+")"),(fa.leftDelim||fa.rightDelim)&&(an+=fa.rightDelim==="."||!fa.rightDelim?"{:":fa.rightDelim)}break;case"surd":an+=a.hasEmptyBranch("above")?"sqrt("+Ps(a.body)+")":"root("+Ps(a.above)+")("+Ps(a.body)+")";break;case"latex":an=a.value;break;case"leftright":{const fa=a,Eo=fa.leftDelim;an+=Eo==="."||!Eo?"{:":Eo,an+=Ps(fa.body);const Xo=fa.matchingRightDelim();an+=Xo==="."||!Xo?":}":Xo}break;case"sizeddelim":case"delim":an=a.value;break;case"overlap":break;case"overunder":break;case"mord":an=(ee=(E=pf[cr])!=null?E:cr)!=null?ee:typeof a.value=="string"?a.value:"",an.startsWith("\\")&&(an+=" "),di=cr?cr.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,di?an=String.fromCodePoint(Number.parseInt("0x"+di[1])):an.length>0&&an.startsWith("\\")&&(an=typeof a.value=="string"?a.value.charAt(0):a.command),an=Ov(an,a.style);break;case"mbin":case"mrel":case"minner":an=(se=(re=pf[cr])!=null?re:mf[cr])!=null?se:a.value;break;case"mopen":case"mclose":an=a.value;break;case"mpunct":an=(ge=mf[cr])!=null?ge:cr;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(mf[cr]?an=mf[cr]:an=cr==="\\operatorname"?Ps(a.body):(xe=a.value)!=null?xe:cr,an+=" ");break;case"array":const Zr=a.array,hi=a.environmentName,$r=(Ae={bmatrix:["[","]"],"bmatrix*":["[","]"]}[hi])!=null?Ae:["(",")"],Yi=[];for(const fa of Zr){const Eo=[];for(const Xo of fa)Eo.push($r[0]+Ps(Xo)+$r[1]);Yi.push(Eo.join(","))}const xa=(Te={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[hi])!=null?Te:["(",")"];an=xa[0]+Yi.join(",")+xa[1];break;case"box":break;case"spacing":an=(Qe=pf[cr])!=null?Qe:" ";break;case"enclose":an="("+Ps(a.body)+")";break;case"space":an=" ";break;case"subsup":an="";break;case"macro":an=(Gt=(bt=pf[cr])!=null?bt:mf[cr])!=null?Gt:Ps(a.body);break}if(!a.hasEmptyBranch("subscript")){an+="_";const ar=Ps(a.subscript);an+=ar.length!==1?`(${ar})`:ar}if(!a.hasEmptyBranch("superscript")){an+="^";const ar=Ps(a.superscript);an+=ar.length!==1?`(${ar})`:ar}return an}function Ov(a,y){if(!y)return a;let b=a;return y.variant==="double-struck"&&(b=`bbb "${b}"`),y.variant==="script"&&(b=`cc "${b}"`),y.variant==="fraktur"&&(b=`fr "${b}"`),y.variant==="sans-serif"&&(b=`sf "${b}"`),y.variant==="monospace"&&(b=`tt "${b}"`),y.variantStyle==="bold"&&(b=`bb "${b}"`),y.color?`color({${y.color}})(${b})`:b}function nl(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ee=new vo({from:me(ye({},Ol()),{renderPlaceholder:()=>new ci(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),se=new Br({mode:"math",type:"root",body:tl(a,{context:ee,parseMode:"math",mathstyle:y.mathstyle})}).render(ee);return se?(Ec(qd(se,ee)),dc(se,{classes:"ML__latex"}).toMarkup()):""}function k1(a){return t0(a,{context:Ol()})}function Nv(a,y={}){return zo(tl(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Rv(a){const y=tl(a,{parseMode:"math",mathstyle:"displaystyle"});return Id(y)}var rh;function zv(a){var y,b;if(!rh){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?rh=new E:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=rh==null?void 0:rh.box(a).latex)!=null?b:""}function D1(a,y="math"){return Ps(new Br({type:"root",body:tl(a,{parseMode:y})}))}function B1(a){return Uo(a,{format:"ascii-math"})[1]}function Uh(a){if(typeof a=="string"){const y=Hv(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Wv(a):"a"in a?cp(a):a}function Td(a){return a<0?0:a>255?255:Math.round(a)}function Hv(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&typeof y.a=="undefined"&&(y.a=1),y}function Gh(a){const[y,b,E]=[a.L,a.C,a.H],ee=E*Math.PI/180,re={L:y,a:b*Math.cos(ee),b:b*Math.sin(ee)};return a.alpha!==void 0&&(re.alpha=a.alpha),re}function Kv(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.sqrt(b*b+E*E),se=Math.atan2(E,b)*180/Math.PI,ge={L:y,C:ee,H:se};return a.alpha!==void 0&&(ge.alpha=a.alpha),ge}function _h(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),re=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),se=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),ge=4.076741661347994*ee-3.307711590408193*re+.230969928729428*se,xe=-1.2684380040921763*ee+2.6097574006633715*re-.3413193963102197*se,Ae=-.004196086541837188*ee-.7034186144594493*re+1.7076147009309444*se,Te=Qe=>{const bt=Math.abs(Qe);return bt<=.0031308?Qe*12.92:(Math.sign(Qe)||1)*(1.055*Math.pow(bt,1/2.4)-.055)};return[Te(ge),Te(xe),Te(Ae)]}function Yh(a){const[y,b,E]=a;return y>=0&&y<=1&&b>=0&&b<=1&&E>=0&&E<=1}function Qh(a,y){let[b,E,ee]=a;return b=Td(b*255),E=Td(E*255),ee=Td(ee*255),y!==void 0?{r:b,g:E,b:ee,alpha:y}:{r:b,g:E,b:ee}}function cp(a){let[y,b,E]=_h(a);if(Yh([y,b,E]))return Qh([y,b,E],a.alpha);const ee=Kv(a);if(ee.C=0,[y,b,E]=_h(Gh(ee)),!Yh([y,b,E]))return Qh([y,b,E],a.alpha);let re=0,se=a.L,ge=(re+se)/2;ee.C=ge;const xe=.36/Math.pow(2,12);for(;se-re>xe;)ge=(re+se)/2,ee.C=ge,[y,b,E]=_h(Gh(ee)),Yh([y,b,E])?re=ge:se=ge;return Qh([y,b,E],a.alpha)}function Wv(a){return cp(Gh(a))}function dp(a,y){const b=Uh(a),E=Uh(y),ee=.56,re=.57,se=.62,ge=.65,xe=.022,Ae=1.414,Te=.1,Qe=5e-4,bt=1.14,Gt=.027,an=1.14,cr=.027;function di(fa){return fa>=xe?fa:fa+ic(xe-fa,Ae)}function ar(fa){return(fa<0?-1:1)*Math.pow(Math.abs(fa),2.4)}const Zr=di(ar(E.r/255)*.2126729+ar(E.g/255)*.7151522+ar(E.b/255)*.072175),hi=di(ar(b.r/255)*.2126729+ar(b.g/255)*.7151522+ar(b.b/255)*.072175);let $r,Yi,xa;return Math.abs(hi-Zr)<Qe?Yi=0:hi>Zr?($r=ic(hi,ee)-ic(Zr,re),Yi=$r*bt):($r=ic(hi,ge)-ic(Zr,se),Yi=$r*an),Math.abs(Yi)<Te?xa=0:Yi>0?xa=Yi-cr:xa=Yi+Gt,xa*100}function fp(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const E=dp(a,b),ee=dp(a,y);return Math.abs(E)>Math.abs(ee)?b:y}function Zv(a){const y=Uh(a);let b=((1<<24)+(Td(y.r)<<16)+(Td(y.g)<<8)+Td(y.b)).toString(16).slice(1);return y.alpha!==void 0&&y.alpha<1&&(b+=("00"+Math.round(y.alpha*255).toString(16)).slice(-2)),b[0]===b[1]&&b[2]===b[3]&&b[4]===b[5]&&b[6]===b[7]&&(b=b[0]+b[2]+b[4]+(y.alpha!==void 0&&y.alpha<1?b[6]:"")),"#"+b}function hs(a){const y=hp(a);let b="";for(const E of y){if(typeof E.value!="string")return"";b+=E.value}return b}function hp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function jv(a,y){const b=hp(a);if(b.length!==1)return!1;const E=ph[y];return E?!!E.test(b[0].value):!1}function Vv(a,y){return hs(a).length>0}function Uv(a){return[Xh(a,"double-struck","mathbb","tooltip.blackboard"),Xh(a,"fraktur","mathfrak","tooltip.fraktur"),Xh(a,"calligraphic","mathcal","tooltip.caligraphic"),Jh(a,"up","mathrm","tooltip.roman-upright"),Jh(a,"bold","mathbf","tooltip.bold"),Jh(a,"italic","mathit","tooltip.italic")]}function Gv(a){return[{label:()=>nl(`\\vec{${hs(a)}}`),visible:()=>hs(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>nl(`\\overrightarrow{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>nl(`\\overleftarrow{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>nl(`\\dot{${hs(a)}}`),visible:()=>hs(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>nl(`\\ddot{${hs(a)}}`),visible:()=>hs(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>nl(`\\bar{${hs(a)}}`),visible:()=>hs(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>nl(`\\overline{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>nl(`\\overgroup{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>nl(`\\overbrace{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>nl(`\\underline{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>nl(`\\undergroup{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>nl(`\\underbrace{${hs(a)}}`),visible:()=>hs(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function _v(a){return[{label:()=>nl(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>nl(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>nl(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Yv(a){const y=[];for(const b of Object.keys(je))y.push({class:(Zv(fp(je[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${je[b]} "></span>`,ariaLabel:()=>{var E;return(E=ht(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({backgroundColor:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function Qv(a){const y=[];for(const b of Object.keys(Ve))y.push({class:(fp(Ve[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Ve[b]} "></span>`,ariaLabel:()=>{var E;return(E=ht(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({color:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var Xv=class extends ep{constructor(a,y,b,E){super(a,y),this.row=b,this.col=E}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function Jv(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(ee,re)=>new Xv(ee,re,b,E),label:"\u2610",tooltip:()=>ht("tooltip.row-by-col",b,E),data:{row:b,col:E},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(E).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function qv(a){return[{label:()=>ht("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>sd(a)},{label:()=>ht("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>sd(a)},{label:()=>ht("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>sd(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=e1(a);return b<y.maxColumns}},{label:()=>ht("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>sd(a)},{type:"divider"},{label:()=>ht("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>sd(a)},{label:()=>ht("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>sd(a)},{type:"divider"},{label:()=>ht("menu.borders"),visible:()=>($v(a)||sd(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>gf(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>gf(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>gf(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>gf(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>gf(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>ht("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:Jv(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>ht("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>ht("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{Cd(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>ht("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Cd(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>ht("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>ht("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:Uv(a),submenuClass:"variant-submenu"},{label:()=>ht("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Qv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>ht("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Yv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>ht("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:Gv(a),submenuClass:"variant-submenu"},{label:()=>ht("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&hs(a).length>0,submenu:_v(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>ht("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=t1(a);if(!y){a.model.announce("plonk");return}a.model.selectionIsCollapsed?(a.model.position=a.model.lastOffset,a.insert(`=${y}`,{insertionMode:"insertAfter",selectionMode:"item"})):a.insert(y,{insertionMode:"replaceSelection",selectionMode:"item"})}},{label:()=>ht("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const E=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!E){a.model.announce("plonk");return}a.insert(`=${E.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!E){a.model.announce("plonk");return}a.insert(E.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?ht("menu.solve-for",nl(b)):ht("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,E=b==null?void 0:b.unknowns[0],ee=(y=b.solve(E))==null?void 0:y.map(re=>{var se;return(se=re.simplify().latex)!=null?se:""});if(!ee){a.model.announce("plonk");return}a.insert(`${E}=${ee.length===1?ee[0]:"\\left\\lbrace"+(ee==null?void 0:ee.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>ht("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>ht("menu.copy"),id:"copy",submenu:[{label:()=>ht("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>Ga.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>ht("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>Ga.copyToClipboard(a,"ascii-math")},{label:()=>ht("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>Ga.copyToClipboard(a,"math-ml")}]},{label:()=>ht("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>ht("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function sd(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function $v(a){return a.model.at(a.model.position).type==="array"}function e1(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((E,ee)=>Math.max(E,ee.length),0)]:[0,0]}function gf(a,y){Lf(a),a.flushInlineShortcutBuffer(),P0(a.model,y),ks(a)}function t1(a){var y,b;let E;if(a.model.selectionIsCollapsed?E=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!E)return"";let ee=E.evaluate();return ee.isSame(E)&&(ee=E.N()),ee.latex}function Xh(a,y,b,E){return{label:()=>nl(`\\${b}{${hs(a)}}`),tooltip:()=>{var ee;return(ee=ht(E))!=null?ee:E},visible:()=>jv(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variant:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Jh(a,y,b,E){return{label:()=>nl(`\\${b}{${hs(a)}}`),tooltip:()=>{var ee;return(ee=ht(E))!=null?ee:E},visible:()=>Vv(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variantStyle:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Od(a,y){return a+Id(y)}Gl({speak:(a,y,b)=>n1(a,y,b)},{target:"mathfield"});function n1(a,y,b){var E,ee;b=b!=null?b:{withHighlighting:!1};const{model:re}=a;function se(Te){let Qe=null;switch(Te){case"all":Qe=re.root;break;case"selection":Qe=re.getAtoms(re.selection);break;case"left":{Qe=re.getAtoms(re.offsetOf(re.at(re.position).leftSibling),re.position);break}case"right":{Qe=re.getAtoms(re.position,re.offsetOf(re.at(re.position).rightSibling));break}case"group":Qe=re.getAtoms(re.getSiblingsRange(re.position));break;case"parent":{const{parent:bt}=re.at(re.position);bt!=null&&bt.parent?Qe=bt:Qe=re.root;break}default:Qe=re.root}return Qe}function ge(Te){let Qe="";switch(Te){case"all":console.log("Internal failure: speak all failed");break;case"selection":Qe="no selection";break;case"left":Qe="at start";break;case"right":Qe="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":Qe="no parent";break;default:console.log('unknown speak_ param value: "'+Te+'"');break}return Qe}const xe=se(y);if(xe===null)return(ee=(E=window.MathfieldElement).speakHook)==null||ee.call(E,ge(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const Ae=Id(xe);return ot()&&b.withHighlighting?(Rc().readAloudMathfield=a,qc(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,Ae)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(Ae),!1}function r1(a){var y,b;if(!ot()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const E=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(E)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),ee={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};E.synthesizeSpeech(ee,(re,se)=>{if(re)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${re}`);else if(se!=null&&se.AudioStream){const ge=new Uint8Array(se.AudioStream),xe=new Blob([ge.buffer],{type:"audio/mpeg"}),Ae=URL.createObjectURL(xe);new Audio(Ae).play().catch(Qe=>console.log(Qe))}else console.log("polly.synthesizeSpeech():",se)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function pp(a){var y;let b;if(a.parent.type==="prompt")a.parentBranch==="body"&&(b="prompt");else if(a.parentBranch==="body")b=a.type&&(y={enclose:"cross out",leftright:"delimiter",surd:"square root",root:"math field",mop:"operator",first:"first"}[a.type])!=null?y:"parent";else if(a.parent.type==="genfrac"){if(a.parentBranch==="above")return"numerator";if(a.parentBranch==="below")return"denominator"}else a.parent.type==="surd"?a.parentBranch==="above"&&(b="index"):a.parentBranch==="superscript"?b="superscript":a.parentBranch==="subscript"&&(b="subscript");return b||console.log("unknown relationship"),b!=null?b:"parent"}function i1(a,y,b,E){let ee="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ee=Od("deleted: ",E);else if(y==="focus"||y.includes("move"))ee=a1(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+o1(a.model);else if(y==="replacement")ee=Od("",a.model.at(a.model.position));else if(y==="line"){const re=Od("",a.model.root);a.keyboardDelegate.setAriaLabel(re)}else ee=E?Od(y+" ",E):y;if(ee){const re=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ee+re}}function a1(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let E="",ee=b.parent;const re=a.at(a.position).parent;for(;ee!==a.root&&ee!==re;)E+=`out of ${pp(ee)};`,ee=ee.parent;return E}function o1(a){if(!a.selectionIsCollapsed)return Od("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),E=pp(b);return b.isFirstSibling&&(y=(E?"start of "+E:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=E?"end of "+E:"unknown"):y+=Od("",b),y}var s1=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const E=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let ee={};if((y==null?void 0:y.type)==="undo"&&(ee={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ee={inputType:"historyRedo"}),this.contentWillChange(ee)){const re=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=Ic(a.content),this.selection=a.selection,this.silenceNotifications=re,this.contentDidChange(ee)}this.silenceNotifications=E}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,E,ee;const re=this.normalizeSelection(a,y);if(re===void 0)throw new TypeError("Invalid selection");if(re.ranges.length===1&&re.ranges[0][0]===re.ranges[0][1]){const Te=re.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(Te))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(Te-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(Te-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ee=this.at(Te+1))!=null&&ee.parentPrompt){this._anchor=this.normalizeOffset(Te+1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}this._anchor=0,this._position=0,this._selection={ranges:[[0,0]]};return}this._anchor=Te,this._position=Te,this._selection=re;return}const se=Ls(re);re.direction==="backward"?[this._position,this._anchor]=se:[this._anchor,this._position]=se;const ge=this.at(se[0]+1),xe=this.at(se[1]),Ae=Br.commonAncestor(ge,xe);(Ae==null?void 0:Ae.type)==="array"&&ge.parent===Ae&&xe.parent===Ae?this._selection={ranges:[se],direction:re.direction}:this._selection={ranges:[se],direction:re.direction},console.assert(this._position>=0&&this._position<=this.lastOffset)})}setPositionHandlingPlaceholder(a){var y;const b=this.at(a);(b==null?void 0:b.type)==="placeholder"?this.setSelection(a-1,a):((y=b==null?void 0:b.rightSibling)==null?void 0:y.type)==="placeholder"?this.setSelection(a,a+1):this.position=a,b instanceof ul&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const E=y.parent.branch(y.parentBranch);return[this.offsetOf(E[0]),this.offsetOf(E[E.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let E=b!=null?b:{};if(Bc(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((Ae,Te)=>[...Ae,...this.getAtoms(Te,E)],[]);a=a.ranges[0]}let ee,re;if(jl(a)){if(ee=a,!jl(y))return[];re=y}else[ee,re]=a,E=y!=null?y:{};if(!Number.isFinite(ee))return[];E.includeChildren===void 0&&(E.includeChildren=!1),ee<0&&(ee=this.lastOffset-ee+1),re<0&&(re=this.lastOffset-re+1);const se=Math.min(ee,re)+1,ge=Math.max(ee,re);if(!E.includeChildren&&se===1&&ge===this.lastOffset)return[this.root];let xe=[];for(let Ae=se;Ae<=ge;Ae++){const Te=this.atoms[Ae];mp(this,Te,se,ge)&&xe.push(Te)}return E.includeChildren||(xe=xe.filter(Ae=>{let Te=!1,{parent:Qe}=Ae;for(;Qe&&!Te;)Te=mp(this,Qe,se,ge),Qe=Qe.parent;return!Te})),xe}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let E=a;E<=b;E++)y.push(this.atoms[E]);for(let E=0;E<a;E++)y.push(this.atoms[E]);return y}findAtom(a,y=0,b="forward"){let E;const ee=this.lastOffset;if(b==="forward"){for(let re=y;re<=ee;re++)if(E=this.atoms[re],a(E))return E;for(let re=0;re<y;re++)if(E=this.atoms[re],a(E))return E;return}for(let re=y;re>=0;re--)if(E=this.atoms[re],a(E))return E;for(let re=ee;re>y;re--)if(E=this.atoms[re],a(E))return E}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new Br({type:"root",body:[]}),y;for(const b of y)b.parent.removeChild(b);return y}deleteAtoms(a){this.extractAtoms(a),this.position=a[0]}atomToString(a,y){const b=y!=null?y:"latex";if(b.startsWith("latex"))return Br.serialize([a],{expandMacro:b==="latex-expanded",skipStyles:b==="latex-unstyled",skipPlaceholders:b==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode});if(b==="math-ml")return zo(a);if(b==="spoken")return Id(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ee=Id(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ee=Id(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}return b==="ascii-math"?Ps(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let E,ee;if(jl(a)&&jl(y)?(E=[this.normalizeRange([a,y])],ee=b):Dc(a)?(E=[this.normalizeRange(a)],ee=y):Bc(a)?(E=a.ranges,ee=y):(E=[this.normalizeRange([0,-1])],ee=a),ee!=null||(ee="latex"),ee==="math-json"){if(!window.MathfieldElement.computeEngine)return window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`The CortexJS Compute Engine library is not available.
|
|
|
Load the library, for example with:
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`),'["Error", "compute-engine-not-available"]';const re=this.getValue({ranges:E},"latex-unstyled");try{const se=window.MathfieldElement.computeEngine.parse(re);return JSON.stringify(se.json)}catch(se){return JSON.stringify(["Error",`'${se.toString()}'`])}}if(ee.startsWith("latex")){const re={expandMacro:ee==="latex-expanded",skipStyles:ee==="latex-unstyled",skipPlaceholders:ee==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return so(E.map(se=>Br.serialize(this.getAtoms(se),re)))}return E.map(re=>this.getAtoms(re).map(se=>this.atomToString(se,ee)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[E,ee]=b,{parent:re}=this.at(ee);if(re&&(re.type==="genfrac"||re.type==="subsup"))for(;re!==this.root&&qh(this,re,[E,ee]);)ee=this.offsetOf(re),re=re.parent;for(re=this.at(E).parent;re!==this.root&&qh(this,re,[E,ee]);)E=this.offsetOf(re.leftSibling),re=re.parent;if(re=this.at(ee).parent,(re==null?void 0:re.type)==="genfrac")for(;re!==this.root&&qh(this,re,[E,ee]);)ee=this.offsetOf(re),console.assert(ee>=0),re=re.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[E,ee]],direction:"none"}})}announce(a,y,b=[]){var E,ee;((ee=(E=this.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0)&&i1(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,ee=this._position,re=this.silenceNotifications;this.silenceNotifications=!0;const se=this.root.changeCounter;y();const ge=this.root.changeCounter!==se,xe=E!==this._anchor||ee!==this._position||hc(this._selection,b)==="different";return this.silenceNotifications=re,a.content&&ge&&this.contentDidChange({inputType:a.type}),a.selection&&xe&&this.selectionDidChange(),ge||xe}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let E;if(jl(a)){const ee=this.normalizeOffset(a);if(jl(y)){const re=this.normalizeOffset(y);E=ee<=re?{ranges:[[ee,re]],direction:"none"}:{ranges:[[re,ee]],direction:"backward"}}else E={ranges:[[ee,ee]],direction:"none"}}else if(Dc(a)){const ee=this.normalizeOffset(a[0]),re=this.normalizeOffset(a[1]);E=ee<=re?{ranges:[[ee,re]],direction:"none"}:{ranges:[[re,ee]],direction:"backward"}}else Bc(a)&&(E={ranges:a.ranges.map(ee=>this.normalizeRange(ee)),direction:(b=a.direction)!=null?b:"none"});return console.assert(E!==void 0),E}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",me(ye({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",bubbles:!0,composed:!0}))),this.silenceNotifications=b}selectionDidChange(){if(!this.mathfield||(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function mp(a,y,b,E){const ee=a.offsetOf(y);if(ee<b||ee>E)return!1;if(!y.hasChildren)return!0;const re=a.offsetOf(y.firstChild);if(re>=b&&re<=E){const se=a.offsetOf(y.lastChild);if(se>=b&&se<=E)return!0}return!1}function qh(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,ee]=b,re=a.offsetOf(y.firstChild),se=a.offsetOf(y.lastChild);return re>=E&&re<=ee&&se>=re&&se<=ee}function vf(a,y,b,E){var ee,re,se,ge,xe,Ae;const Te=b.parent;if(Te&&b instanceof Ro){const Qe=!E&&y==="forward"||E==="body"&&y==="backward";let bt=Qe?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return Qe?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(Te.addChildrenAfter(b.removeBranch("body"),b),Te.removeChild(b),bt--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(Te.addChildrenAfter(b.removeBranch("body"),b),Te.removeChild(b),bt--),a.position=bt,!0}if(Te&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const Qe=b.leftSibling;b.hasChildren&&Te.addChildrenAfter(b.removeBranch("body"),b),Te.removeChild(b),a.position=a.offsetOf(Qe)}else y==="forward"&&E==="body"?a.position=a.offsetOf(b):!E&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),Te.removeChild(b)):E==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(Te&&(b.type==="box"||b.type==="enclose")){const Qe=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return Te.addChildrenAfter(b.removeBranch("body"),b),Te.removeChild(b),a.position=a.offsetOf(Qe),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!E)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const Qe=yf.fractionNavigationOrder==="numerator-denominator"?"above":"below",bt=Qe==="above"?"below":"above";if(Te&&(y==="forward"&&E===Qe||y==="backward"&&E===bt)){const Gt=b.removeBranch(Qe),an=b.removeBranch(bt);return Te.addChildrenAfter([...Gt,...an],b),Te.removeChild(b),a.position=a.offsetOf(Gt.length>0?Gt[Gt.length-1]:an[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!E&&y==="forward")return!1;if(!E){if(b.subscript||b.superscript){const Qe=y==="forward"?(se=(ee=b.superscript)==null?void 0:ee[0])!=null?se:(re=b.subscript)==null?void 0:re[0]:(Ae=(ge=b.subscript)==null?void 0:ge[0].lastSibling)!=null?Ae:(xe=b.superscript)==null?void 0:xe[0].lastSibling;return Qe&&(a.position=a.offsetOf(Qe)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const Qe=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=Qe,!0}if(E==="superscript")if(y==="backward"){const Qe=a.offsetOf(b.firstChild)-1;console.assert(Qe>=0),a.position=Qe}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else E==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(E&&b.hasEmptyBranch(E)&&(b.removeBranch(E),b.type==="subsup"&&!b.subscript&&!b.superscript)){const Qe=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=Qe}return!0}if((Te==null?void 0:Te.type)==="genfrac"&&!E&&b.type!=="first"){let Qe=a.offsetOf(b.leftSibling);return Te.removeChild(b),Te.hasEmptyBranch("above")&&Te.hasEmptyBranch("below")?(Qe=a.offsetOf(Te.leftSibling),Te.parent.removeChild(Te),a.announce("delete",void 0,[Te]),a.position=Qe,!0):(a.announce("delete",void 0,[b]),a.position=Qe,!0)}if(y==="backward"&&((Te==null?void 0:Te.command)==="\\ln"||(Te==null?void 0:Te.command)==="\\log")&&b.parentBranch!=="body"){const Qe=a.offsetOf(Te.leftSibling);return Te.parent.removeChild(Te),a.announce("delete",void 0,[Te]),a.position=Qe,!0}return!1}function l1(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentBackward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentBackward"},()=>{let y=a.at(a.position);if(!(y&&vf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(vf(a,"backward",y.parent,y.parentBranch))return;y=null}if(!y){a.announce("plonk");return}a.position=a.offsetOf(y.leftSibling),y.parent.removeChild(y),a.announce("delete",void 0,[y])}}):qu(a,Ls(a.selection),"deleteContentBackward")}function u1(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let E=a.at(a.position).rightSibling;if(E&&vf(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&vf(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&vf(a,"forward",E.parent,E.parentBranch))return;E=void 0}if(a.position===a.lastOffset||!E){a.announce("plonk");return}E.parent.removeChild(E);let ee=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ee==null?void 0:ee.type)==="subsup";)ee.parent.removeChild(ee),ee=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[E])}):qu(a,Ls(a.selection),"deleteContentForward")}function qu(a,y,b){const E=a.getAtoms(y);if(E.length>0&&E[0].parent){let ee=E[0].parent.firstChild;ee.type==="first"&&(ee=ee.rightSibling);const re=E[E.length-1].parent.lastChild;let se=E[0];se.type==="first"&&(se=se.rightSibling);const ge=E[E.length-1];if(se===ee&&ge===re){const xe=E[0].parent;xe.parent&&xe.type!=="prompt"&&(y=[a.offsetOf(xe.leftSibling),a.offsetOf(xe)])}if(E.length===1&&E[0].type==="placeholder"&&E[0].parent.type==="genfrac"){const xe=E[0].parent,Ae=E[0].parentBranch==="below"?"above":"below",Te=a.offsetOf(xe.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var Qe,bt;const Gt=xe.removeBranch(Ae);if(Gt.length===1&&Gt[0].type==="placeholder")(bt=xe.parent)==null||bt.removeChild(xe),a.position=Math.max(0,Te);else{const an=xe.parent.addChildrenAfter(Gt,xe);(Qe=xe.parent)==null||Qe.removeChild(xe),a.position=a.offsetOf(an)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Gl({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&qu(a,[0,-1],"deleteContent"),deleteForward:a=>u1(a),deleteBackward:a=>l1(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&qu(a,[a.anchor,kh(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&qu(a,[a.anchor,kh(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&qu(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&qu(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&qu(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&qu(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var c1=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${ht("tooltip.toggle virtual keyboard")}"><path d="M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.823-7.177 16-16 16H48c-8.823 0-16-7.177-16-16V112c0-8.823 7.177-16 16-16h480c8.823 0 16 7.177 16 16v288zM168 268v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-336 80v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm384 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zM120 188v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-96 152v-8c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"/></svg>`,d1=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${ht("tooltip.menu")}"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`,f1=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,ee;this.options=ye(me(ye({},Wf()),{macros:hr(),registers:yu()}),Kf(y)),this.eventController=new AbortController;const re=this.eventController.signal;y.eventSink&&(this.host=y.eventSink),this.element=a,a.mathfield=this,this.blurred=!0,this.keystrokeCaptionVisible=!1,this.suggestionIndex=0,this.inlineShortcutBuffer=[],this.inlineShortcutBufferFlushTimer=0,this.defaultStyle={},this.adoptStyle="left",this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline"),this.dirty=!1;let se=(E=(b=y.value)!=null?b:this.element.textContent)!=null?E:"";se=se.trim();const ge=B0(this.options),xe=new Br({type:"root",mode:ge,body:tl(se,{context:this.context})});this.model=new s1(this,ge,xe),this.undoManager=new Rg(this.model);const Ae=[];if(Ae.push("<span contenteditable=true aria-multiline=false part=keyboard-sink class=ML__keyboard-sink autocapitalize=off autocomplete=off autocorrect=off spellcheck=false inputmode=none tabindex=0></span>"),Ae.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),Ae.push("<span part=content class=ML__content>"),Ae.push(w0(this)),Ae.push("</span>"),window.mathVirtualKeyboard&&(Ae.push(`<div part=virtual-keyboard-toggle class=ML__virtual-keyboard-toggle role=button ${this.hasEditableContent?"":'style="display:none;"'} data-l10n-tooltip="tooltip.toggle virtual keyboard">`),Ae.push(c1),Ae.push("</div>")),Ae.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),Ae.push(d1),Ae.push("</div>"),Ae.push("</span>"),Ae.push("<span class=ML__sr-only>"),Ae.push("<span role=status aria-live=assertive aria-atomic=true></span>"),Ae.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(Ae.join("")),!this.element.children){console.error("%cMathLive 0.98.5: Something went wrong and the mathfield could not be created.%c\nIf you are using Vue, this may be because you are using the runtime-only build of Vue. Make sure to include `runtimeCompiler: true` in your Vue configuration. There may a warning from Vue in the log above.","color:red;font-family:system-ui;font-size:1.2rem;font-weight:bold","color:inherit;font-family:system-ui;font-size:inherit;font-weight:inherit");return}this._l10Subscription=at.subscribe(()=>at.update(this.element)),at.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",Qe=>Qe.stopImmediatePropagation(),{capture:!1,signal:re}),this.field.addEventListener("wheel",this,{passive:!1,signal:re}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:re}):this.field.addEventListener("mousedown",this,{signal:re}),(ee=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ee.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Xu(this)))},{signal:re}),this._menu=new Sv(qv(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:re});const Te=this.element.querySelector("[part=menu-toggle]");Te==null||Te.addEventListener("pointerdown",Qe=>{if(Qe.currentTarget!==Te||this._menu.state!=="closed")return;this.element.classList.add("tracking");const bt=Te.getBoundingClientRect();this._menu.modifiers=Jc(Qe),this._menu.show({target:Te,location:{x:bt.left,y:bt.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),Qe.preventDefault(),Qe.stopPropagation()},{signal:re}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(Te.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=Zm(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:re}),document.addEventListener("scroll",this,{signal:re}),this.resizeObserver=new ResizeObserver(()=>ks(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:re}),tf&&!at.locale.startsWith(tf.locale)&&zm(at.locale),uu!=="ready"&&document.fonts.ready.then(()=>Of(this)),a.querySelector("[part=container]").style.removeProperty("visibility"),this.undoManager.startRecording(),this.undoManager.snapshot("set-value")}get defaultStyle(){return this._defaultStyle}set defaultStyle(a){this._defaultStyle=a}get effectiveStyle(){if(this.adoptStyle==="none")return this.defaultStyle;const a=this.model.at(this.model.position),y=this.adoptStyle==="right"?a.rightSibling:a;if(!y)return this.defaultStyle;if(y.type==="group"){const b=y.branch("body");return!b||b.length<2?{}:this.adoptStyle==="right"?b[1].computedStyle:b[b.length-1].computedStyle}return y.computedStyle}connectToVirtualKeyboard(){this.connectedToVirtualKeyboard||(this.connectedToVirtualKeyboard=!0,window.addEventListener("message",this,{signal:this.eventController.signal}),window.mathVirtualKeyboard.connect(),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this)),$f(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,zh())}showMenu(a){var y,b;const E=(b=(y=a==null?void 0:a.location)!=null?y:Uu(this.field))!=null?b:void 0,ee=a==null?void 0:a.modifiers,re=this.element.querySelector("[part=container]");return this._menu.show({target:re,location:E,modifiers:ee})}get colorMap(){return a=>{var y,b,E;return(E=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?E:Ye(a)}}get backgroundColorMap(){return a=>{var y,b,E,ee,re,se;return(se=(re=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?re:(ee=(E=this.options).colorMap)==null?void 0:ee.call(E,a))!=null?se:We(a)}}get smartFence(){var a;return(a=this.options.smartFence)!=null?a:!1}get readOnly(){var a;return(a=this.options.readOnly)!=null?a:!1}get disabled(){var a,y;return(y=(a=this.host)==null?void 0:a.disabled)!=null?y:!1}get contentEditable(){return this.host?this.host.getAttribute("contenteditable")!=="false":!1}get userSelect(){if(!this.host)return"";const a=getComputedStyle(this.host);return a.getPropertyValue("user-select")||a.getPropertyValue("-webkit-user-select")}get hasEditableContent(){return this.disabled||!this.contentEditable?!1:!this.readOnly||this.hasEditablePrompts}get hasEditablePrompts(){return this.readOnly&&!this.disabled&&this.contentEditable&&this.model.findAtom(a=>a.type==="prompt"&&!a.locked)!==void 0}get isSelectionEditable(){if(this.disabled||!this.contentEditable)return!1;if(!this.readOnly)return!0;const a=this.model.at(this.model.anchor),y=this.model.at(this.model.position),b=Br.commonAncestor(a,y);return!!((b==null?void 0:b.type)==="prompt"||b!=null&&b.parentPrompt)}get letterShapeStyle(){var a;return(a=this.options.letterShapeStyle)!=null?a:"tex"}get minFontScale(){return this.options.minFontScale}get selectionStyle(){if(this.model.selectionIsCollapsed)return this.effectiveStyle;const a=this.model.getAtoms(this.model.selection);if(a.length===0)return{};const y=ye({},a[0].style);for(const b of a)for(const[E,ee]of Object.entries(b.style))y[E]!==ee&&delete y[E];return y}queryStyle(a){const y=Ih(this,a);"verbatimColor"in y&&delete y.verbatimColor,"verbatimBackgroundColor"in y&&delete y.verbatimBackgroundColor;const b=Object.keys(y).length;if(b===0)return"all";if(b>1){for(const xe of Object.keys(y)){const Ae=this.queryStyle({[xe]:y[xe]});if(Ae==="none")return"none";if(Ae==="some")return"some"}return"all"}const E=Object.keys(y)[0],ee=y[E];if(this.model.selectionIsCollapsed)return this.effectiveStyle[E]===ee?"all":"none";const re=this.model.getAtoms(this.model.selection,{includeChildren:!0});let se=re.length;if(se===0)return"none";let ge=0;for(const xe of re){if(xe.type==="first"){se-=1;continue}xe.style[E]===ee&&(ge+=1)}return ge===0?"none":ge===se?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=_m(this.options.keybindings,(a=nf())!=null?a:Hm());return((y=nf())==null?void 0:y.score)>0&&(this._keybindings=b,E.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",E)),b}get menu(){return this._menu}setOptions(a){var y;this.options=ye(ye({},this.options),Kf(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const E=Br.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&Ga.insert(this.model,E,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&ks(this)}getOptions(a){return ed(this.options,a)}getOption(a){return ed(this.options,a)}handleEvent(a){return zc(this,null,function*(){var y;if(ou(this)){if(Ch(a)){if(!_d(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const E=a.data.command;if(Ad(E)==="virtual-keyboard")return;this.executeCommand(E)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&V0(this,a);break;case"pointerdown":this.userSelect!=="none"&&(V0(this,a),a.shiftKey===!1&&(yield ip(a,this.element.querySelector("[part=container]"),this._menu))&&Qf.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield ip(a,this.element.querySelector("[part=container]"),this._menu))&&Qf.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&$f(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>ou(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>ou(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!ou(this))return;at.unsubscribe(this._l10Subscription),this.keyboardDelegate.dispose(),this.keyboardDelegate=void 0,this.eventController.abort(),this.eventController=void 0,this.resizeObserver.disconnect(),window.mathVirtualKeyboard.removeEventListener("virtual-keyboard-toggle",this),this.disconnectFromVirtualKeyboard(),this.model.dispose();const a=this.element;delete a.mathfield,this.element=void 0,this.host=void 0,this.field=void 0,this.ariaLiveText=void 0,Yg(),$m(),mv()}flushInlineShortcutBuffer(a){if(a!=null||(a={defer:!1}),!a.defer){this.inlineShortcutBuffer=[],clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=0;return}this.options.inlineShortcutTimeout>0&&(clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=setTimeout(()=>this.flushInlineShortcutBuffer(),this.options.inlineShortcutTimeout))}executeCommand(a){return Ad(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Xu(this))),!1):og(this,a)}get errors(){return t0(this.model.getValue(),{context:this.context})}getValue(a,y,b){return this.model.getValue(a,y,b)}setValue(a,y){var b;y=y!=null?y:{mode:"math"},y.insertionMode===void 0&&(y.insertionMode="replaceAll"),(y.format===void 0||y.format==="auto")&&(y.format="latex"),(y.mode===void 0||y.mode==="auto")&&(y.mode=(b=Mo(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();Ga.insert(this.model,a,y)&&(ks(this),E||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const E=window.mathVirtualKeyboard.boundingRect,ee=this.host.getBoundingClientRect();ee.bottom>E.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ee.bottom-E.top+8))}}this.dirty&&qc(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Uu(this.field);else{const E=Gd(this);if(E.length>0){let ee=-1/0,re=-1/0;for(const se of E)se.right>ee&&(ee=se.right),se.top<re&&(re=se.top);b={x:ee+y.left-this.field.scrollLeft,y:re+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),ee=b.y;let re=this.host.scrollTop;ee<E.top?re=ee-E.top+this.host.scrollTop:ee>E.bottom&&(re=ee-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:re,left:0})}if(b){const E=b.x-window.scrollX;let ee=this.field.scrollLeft;E<y.left?ee=E-y.left+this.field.scrollLeft-20:E>y.right&&(ee=E-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ee})}}insert(a,y){return typeof a!="string"||a.length===0&&((y==null?void 0:y.insertionMode)==="insertBefore"||(y==null?void 0:y.insertionMode)==="insertAfter")||a.length===0&&this.model.selectionIsCollapsed?!1:(this.flushInlineShortcutBuffer(),y=y!=null?y:{mode:"math"},y.focus&&this.focus(),y.feedback&&(window.MathfieldElement.keypressVibration&&nt()&&navigator.vibrate(S0),window.MathfieldElement.playSound("keypress")),a==="\\\\"?L0(this.model):a==="&"?F0(this.model):this.model.selectionIsCollapsed?Ga.insert(this.model,a,ye({style:this.model.at(this.model.position).computedStyle},y)):Ga.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),ks(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var E;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const ee=this.model.mode;if(this.model.mode=a,!((E=this.host)!=null&&E.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=ee;return}const re=this.model.mode,{model:se}=this;se.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let ge=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const xe=tl(y,{context:this.context,parseMode:a});se.collapseSelection("forward");const Ae=se.at(se.position);se.position=se.offsetOf(Ae.parent.addChildrenAfter(xe,Ae)),ge=!0}if(this.model.mode=a,a==="latex"){let xe=se.selectionIsCollapsed;Cd(this,"accept");let Ae,Te=se.at(se.position);if(xe)Ae="\\";else{const bt=Ls(se.selection);Ae=this.model.getValue(bt,"latex");const Gt=this.model.extractAtoms(bt);Gt.length===1&&Gt[0].type==="placeholder"&&(Ae=y,xe=!0),Te=se.at(bt[0])}const Qe=new Qd(Ae);Te.parent.addChildAfter(Qe,Te),xe?se.position=se.offsetOf(Qe.lastChild):se.setSelection(se.offsetOf(Qe.firstChild),se.offsetOf(Qe.lastChild))}else rf(se).forEach(xe=>{xe.isError=!1});if(b){const xe=tl(b,{context:this.context,parseMode:re});se.collapseSelection("forward");const Ae=se.at(se.position);se.position=se.offsetOf(Ae.parent.addChildrenAfter(xe,Ae)),ge=!0}return ks(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),ge}),this.model.mode=a,window.mathVirtualKeyboard.update(Xu(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,E;const ee={operation:"set",silenceNotifications:!1};Dc(y)?ee.range=y:(y.operation==="toggle"&&(ee.operation="toggle"),ee.range=y.range,ee.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const re=Ih(this,a),se=(E=ee.operation)!=null?E:"set";if(ee.range===void 0&&this.model.selectionIsCollapsed){if(se==="set"){this.defaultStyle=ye(ye({},this.defaultStyle),re);return}const ge=ye({},this.defaultStyle);for(const xe of Object.keys(re))ge[xe]===re[xe]?(xe==="color"&&delete ge.verbatimColor,xe==="backgroundColor"&&delete ge.verbatimBackgroundColor,delete ge[xe]):ge[xe]=re[xe];this.defaultStyle=ge;return}this.model.deferNotifications({content:!ee.silenceNotifications,type:"insertText"},()=>{if(ee.range===void 0)for(const ge of this.model.selection.ranges)Ah(this.model,ge,re,{operation:se});else Ah(this.model,ee.range,re,{operation:se})}),ks(this)}toggleContextMenu(){var a;return this._menu.visible?this._menu.state==="open"?(this._menu.hide(),!0):(this._menu.show({target:this.element.querySelector("[part=container]"),location:(a=this.getCaretPoint())!=null?a:void 0,onDismiss:()=>{var y;return(y=this.element)==null?void 0:y.focus()}}),!0):!1}getCaretPoint(){const a=Uu(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=ff(this,a,y,{bias:0});if(b<0)return!1;const E=this.model.position;return this.model.position=b,this.model.announce("move",E),ks(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const E=this.model.offsetOf(b.firstChild),ee=this.model.offsetOf(b.lastChild);return this.model.getValue(E,ee,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const ee=this.model.getBranchRange(this.model.offsetOf(E),"body");this.model.setSelection(ee),this.insert(y,me(ye({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),ks(this)}setPromptState(a,y,b){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?E.correctness=void 0:typeof y=="string"&&(E.correctness=y),typeof b=="boolean"&&(E.locked=b,E.captureSelection=b),ks(this)}getPromptState(a){const y=this.getPrompt(a);return y?[y.correctness,y.locked]:(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[void 0,!0])}getPromptRange(a){const y=this.getPrompt(a);return y?this.model.getBranchRange(this.model.offsetOf(y),"body"):(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[0,0])}canUndo(){return this.undoManager.canUndo()}canRedo(){return this.undoManager.canRedo()}popUndoStack(){this.undoManager.pop()}snapshot(a){var y;this.undoManager.snapshot(a)&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this)),(y=this.host)==null||y.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"snapshot"}})))}stopCoalescingUndo(){this.undoManager.stopCoalescing(this.model.selection)}stopRecording(){this.undoManager.stopRecording()}startRecording(){this.undoManager.startRecording()}undo(){var a;this.undoManager.undo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}redo(){var a;this.undoManager.redo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const E=b.at(b.position),ee=(a=E.mode)!=null?a:B0(this.options);this.model.mode!==ee&&(this.model.mode==="latex"?(Cd(this,"accept",{mode:ee}),b.position=b.offsetOf(E)):this.switchMode(ee))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Xu(this)),$f(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",me(ye({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?E:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),qc(this,{interactive:!0}),this.valueOnFocus=this.model.getValue(),this.hasEditablePrompts&&!this.model.at(this.model.anchor).parentPrompt&&this.executeCommand("moveToNextPlaceholder"),this.focusBlurInProgress=!1)}onBlur(){var a,y,b;if(this.focusBlurInProgress||this.blurred)return;this.focusBlurInProgress=!0,this.stopCoalescingUndo(),this.blurred=!0,this.ariaLiveText.textContent="",Ed(this),this.model.getValue()!==this.valueOnFocus&&((a=this.host)==null||a.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),this.disconnectFromVirtualKeyboard(),(y=this.host)==null||y.dispatchEvent(new Event("blur",{bubbles:!1,composed:!0})),(b=this.host)==null||b.dispatchEvent(new UIEvent("focusout",{bubbles:!0,composed:!0})),ks(this),this.focusBlurInProgress=!1,zh();const E=new AbortController,ee=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{ou(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ee})},{once:!0,signal:ee}),setTimeout(()=>E.abort(),100)}onInput(a){Lh(this,a)}onKeystroke(a){return W0(this,a)}onCompositionStart(a){this.model.deleteAtoms(Ls(this.model.selection));const y=Uu(this.field);y&&requestAnimationFrame(()=>{qc(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Dg(this.model,a),ks(this)}onCompositionEnd(a){Bg(this.model),Lh(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),Ga.onCopy(this,a),qu(this.model,Ls(this.model.selection),"deleteByCut"),this.snapshot("cut"),ks(this))}onCopy(a){Ga.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=Ga.onPaste(this.model.at(this.model.position).mode,this,a.clipboardData)),y||this.model.announce("plonk"),a.preventDefault(),a.stopPropagation(),y}onGeometryChange(){this._menu.hide(),Pf(this),$f(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>$n(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function gp(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)gp(y)}function $h(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&$h(E)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&$h(E,y)})))}function h1(a,y){var b;if(!ot())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),ee={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};Rc().readAloudElement=a,E.synthesizeSpeech(ee,(re,se)=>{if(re){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${re}`);return}if(!(se!=null&&se.AudioStream)){console.log("polly.synthesizeSpeech():",se);return}const ge=new TextDecoder("utf-8").decode(new Uint8Array(se.AudioStream));Rc().readAloudMarks=ge.split(`
|
|
|
`).map(xe=>xe?JSON.parse(xe):{}),Rc().readAloudTokens=[];for(const xe of Rc().readAloudMarks)xe.value&&Rc().readAloudTokens.push(xe.value);Rc().readAloudCurrentMark="",ee.OutputFormat="mp3",ee.SpeechMarkTypes=[],E.synthesizeSpeech(ee,(xe,Ae)=>{if(xe){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${xe}`);return}if(!(Ae!=null&&Ae.AudioStream))return;const Te=new Uint8Array(Ae.AudioStream),Qe=new Blob([Te.buffer],{type:"audio/mpeg"}),bt=URL.createObjectURL(Qe),Gt=Rc();Gt.readAloudAudio?Gt.readAloudAudio.pause():(Gt.readAloudAudio=new Audio,Gt.readAloudAudio.addEventListener("ended",()=>{const an=Gt.readAloudMathfield;Gt.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),an?(qc(an),Gt.readAloudElement=null,Gt.readAloudMathfield=null,Gt.readAloudTokens=[],Gt.readAloudMarks=[],Gt.readAloudCurrentMark=""):gp(Gt.readAloudElement)}),Gt.readAloudAudio.addEventListener("timeupdate",()=>{let an="";const cr=Gt.readAloudAudio.currentTime*1e3+100;for(const di of Gt.readAloudMarks)di.time<cr&&(an=di.value);Gt.readAloudCurrentMark!==an&&(Gt.readAloudCurrentToken=an,an&&an===Gt.readAloudFinalToken?Gt.readAloudAudio.pause():(Gt.readAloudCurrentMark=an,$h(Gt.readAloudElement,Gt.readAloudCurrentMark)))})),Gt.readAloudAudio.src=bt,Gt.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),Gt.readAloudAudio.play()})})}ot()||console.error('MathLive 0.98.5: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the "mathlive-ssr" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.');var Po=new WeakMap,p1=.5,Nc={letterShapeStyle:"mf.letterShapeStyle = ...",horizontalSpacingScale:'Removed. Use `"thinmuskip"`, `"medmuskip"`, and `"thickmuskip"` registers ',macros:"mf.macros = ...",registers:"mf.registers = ...",backgroundColorMap:"mf.backgroundColorMap = ...",colorMap:"mf.colorMap = ...",enablePopover:"mf.popoverPolicy = ...",mathModeSpace:"mf.mathModeSpace = ...",placeholderSymbol:"mf.placeholderSymbol = ...",readOnly:"mf.readOnly = ...",removeExtraneousParentheses:"mf.removeExtraneousParentheses = ...",scriptDepth:"mf.scriptDepth = ...",smartFence:"mf.smartFence = ...",smartMode:"mf.smartMode = ...",smartSuperscript:"mf.smartSuperscript = ...",inlineShortcutTimeout:"mf.inlineShortcutTimeout = ...",inlineShortcuts:"mf.inlineShortcuts = ...",keybindings:"mf.keybindings = ...",virtualKeyboardMode:"mf.mathVirtualKeyboardPolicy = ...",customVirtualKeyboardLayers:"mathVirtualKeyboard.layers = ...",customVirtualKeyboards:"mathVirtualKeyboard.layouts = ...",keypressSound:"mathVirtualKeyboard.keypressSound = ...",keypressVibration:"mathVirtualKeyboard.keypressVibration = ...",plonkSound:"mathVirtualKeyboard.plonkSound = ...",virtualKeyboardContainer:"mathVirtualKeyboard.container = ...",virtualKeyboardLayout:"mathVirtualKeyboard.alphabeticLayout = ...",virtualKeyboardTheme:"No longer supported",virtualKeyboardToggleGlyph:"No longer supported",virtualKeyboardToolbar:"mathVirtualKeyboard.editToolbar = ...",virtualKeyboards:"Use `mathVirtualKeyboard.layouts`",speechEngine:"`MathfieldElement.speechEngine`",speechEngineRate:"`MathfieldElement.speechEngineRate`",speechEngineVoice:"`MathfieldElement.speechEngineVoice`",textToSpeechMarkup:"`MathfieldElement.textToSpeechMarkup`",textToSpeechRules:"`MathfieldElement.textToSpeechRules`",textToSpeechRulesOptions:"`MathfieldElement.textToSpeechRulesOptions`",readAloudHook:"`MathfieldElement.readAloudHook`",speakHook:"`MathfieldElement.speakHook`",computeEngine:"`MathfieldElement.computeEngine`",fontsDirectory:"`MathfieldElement.fontsDirectory`",soundsDirectory:"`MathfieldElement.soundsDirectory`",createHTML:"`MathfieldElement.createHTML`",onExport:"`MathfieldElement.onExport`",onInlineShortcut:"`MathfieldElement.onInlineShortcut`",onScrollIntoView:"`MathfieldElement.onScrollIntoView`",locale:"MathfieldElement.locale = ...",strings:"MathfieldElement.strings = ...",decimalSeparator:"MathfieldElement.decimalSeparator = ...",fractionNavigationOrder:"MathfieldElement.fractionNavigationOrder = ..."},cl=class ld extends HTMLElement{static get formAssociated(){return Nd()}static get optionsAttributes(){return{"default-mode":"string","letter-shape-style":"string","min-font-scale":"number","popover-policy":"string","math-mode-space":"string","read-only":"boolean","remove-extraneous-parentheses":"on/off","smart-fence":"on/off","smart-mode":"on/off","smart-superscript":"on/off","inline-shortcut-timeout":"string","script-depth":"string",placeholder:"string","virtual-keyboard-target-origin":"string","math-virtual-keyboard-policy":"string"}}static get observedAttributes(){return[...Object.keys(this.optionsAttributes),"contenteditable","disabled","readonly","read-only"]}static get fontsDirectory(){return this._fontsDirectory}static set fontsDirectory(y){y!==this._fontsDirectory&&(this._fontsDirectory=y,ng())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,E,ee;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(E=y.return)!=null?E:y.default,delete:(ee=y.delete)!=null?ee:y.default,default:y.default})}static get plonkSound(){return this._plonkSound}static set plonkSound(y){this.audioBuffers={},this._plonkSound=y}static get audioContext(){return this._audioContext||(this._audioContext=new AudioContext),this._audioContext}static get speechEngine(){return this._speechEngine}static set speechEngine(y){this._speechEngine=y}static get speechEngineRate(){return this._speechEngineRate}static set speechEngineRate(y){this._speechEngineRate=y}static get speechEngineVoice(){return this._speechEngineVoice}static set speechEngineVoice(y){this._speechEngineVoice=y}static get textToSpeechMarkup(){return this._textToSpeechMarkup}static set textToSpeechMarkup(y){this._textToSpeechMarkup=y}static get textToSpeechRules(){return this._textToSpeechRules}static set textToSpeechRules(y){this._textToSpeechRules=y}static get textToSpeechRulesOptions(){return this._textToSpeechRulesOptions}static set textToSpeechRulesOptions(y){this._textToSpeechRulesOptions=y}static get locale(){return at.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),at.locale=y}get locale(){throw new Error("Use MathfieldElement.locale instead")}set locale(y){throw new Error("Use MathfieldElement.locale instead")}static get strings(){return at.strings}static set strings(y){at.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const E=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!E)return null;this._computeEngine=new E,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return zc(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const E=this.soundsDirectory;if(!(E==null||E==="null"||b==="none"||b==="null"))try{const re=yield(yield fetch(yield x0(`${E}/${b}`))).arrayBuffer(),se=yield this.audioContext.decodeAudioData(re);this.audioBuffers[y]=se}catch(ee){}})}static playSound(y){return zc(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const E=this.audioContext.createGain();E.gain.value=p1,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(Nc[E])if(Nc[E].startsWith("mf."))if(Nc[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${Nc[E]}`);else{const ee=Nc[E].match(/([a-zA-Z]+) =/);b.push(`Option \`${E}\` has been renamed \`${ee[1]}\``)}else b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${Nc[E]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const E of b)console.warn(E);console.groupEnd()}}if(Nd()&&(this._internals=this.attachInternals(),this._internals.role="math",this._internals.ariaLabel="math input field",this._internals.ariaMultiLine="false"),this.attachShadow({mode:"open",delegatesFocus:!0}),this.shadowRoot&&"adoptedStyleSheets"in this.shadowRoot){this.shadowRoot.adoptedStyleSheets=[Pc("core"),Pc("mathfield"),Pc("mathfield-element"),Pc("ui"),Pc("menu")],this.shadowRoot.appendChild(document.createElement("span"));const b=document.createElement("slot");b.style.display="none",this.shadowRoot.appendChild(b)}else this.shadowRoot.innerHTML="<style>"+pc("core")+pc("mathfield")+pc("mathfield-element")+pc("ui")+pc("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const E=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=E==null?void 0:E.assignedNodes().map(ee=>ee.nodeType===3?ee.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?E:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.getPromptValue(y,b))!=null?ee:""}setPromptValue(y,b,E){var ee;(ee=this._mathfield)==null||ee.setPromptValue(y,b,E)}getPromptRange(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?E:null}getPrompts(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?E:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,E;if(!this._mathfield)return;const ee=(E=(b=ld.computeEngine)==null?void 0:b.box(y).latex)!=null?E:null;ee!==null&&this._mathfield.setValue(ee),window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}get errors(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.errors)!=null?b:[]}_getOptions(y){return this._mathfield?ed(this._mathfield.options,y):Po.has(this)?ye({},ed(ye(ye({},Wf()),Kf(Po.get(this).options)),y)):null}getOptions(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOptions()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._mathfield?ed(this._mathfield.options,y):Po.has(this)?ed(ye(ye({},Wf()),Kf(Po.get(this).options)),y):null}reflectAttributes(){const y=Wf(),b=this._getOptions();Object.keys(ld.optionsAttributes).forEach(E=>{const ee=yc(E);ld.optionsAttributes[E]==="on/off"?y[ee]!==b[ee]?this.setAttribute(E,b[ee]?"on":"off"):this.removeAttribute(E):y[ee]!==b[ee]&&(ld.optionsAttributes[E]==="boolean"?b[ee]?this.setAttribute(E,""):this.removeAttribute(E):(typeof b[ee]=="string"||typeof b[ee]=="number")&&this.setAttribute(E,b[ee].toString()))})}getOption(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOption()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._getOptions([y])[y]}_getOption(y){return this._getOptions([y])[y]}_setOptions(y){if(this._mathfield)this._mathfield.setOptions(y);else if(Po.has(this)){const b=ye(ye({},Po.get(this).options),y);Po.set(this,me(ye({},Po.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Po.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:y,menuItems:void 0});this.reflectAttributes()}setOptions(y){console.group("%cMathLive 0.98.5: %cDeprecated Usage","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn(" `mf.setOptions()` is deprecated. Set the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.");for(const b of Object.keys(y))Nc[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${Nc[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?E:!1}getValue(y,b,E){var ee,re;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(Po.has(this)){let se,ge,xe;if(Bc(y)?([se,ge]=y.ranges[0],xe=b):Dc(y)?([se,ge]=y,xe=b):jl(y)&&jl(b)?(se=y,ge=b,xe=E):(se=0,ge=-1,xe=y),(xe===void 0||xe==="latex")&&se===0&&ge===-1)return(re=(ee=Po.get(this).value)!=null?ee:this.textContent)!=null?re:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Po.has(this)){const ee=Po.get(this).options;Po.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ee,menuItems:void 0});return}const E=bf(this);Po.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:E,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.insert(y,b))!=null?ee:!1}applyStyle(y,b){var E;return(E=this._mathfield)==null?void 0:E.applyStyle(y,b)}queryStyle(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?E:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.setCaretPoint(y,b))!=null?ee:!1}offsetFromPoint(y,b,E){return this._mathfield?ff(this._mathfield,y,b,E):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const E=Lc(this._mathfield,b);return E?new DOMRect(E.left,E.top,E.right-E.left,E.bottom-E.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,E,ee,re;_u.state==="closed"&&((E=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:E.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((ee=this._mathfield)==null||ee.focus()),y.type==="blur"&&((re=this._mathfield)==null||re.blur()))}connectedCallback(){var y,b,E,ee;const re=window.getComputedStyle(this),se=this.shadowRoot,ge=re.userSelect!=="none";if(ge)se.host.addEventListener("pointerdown",this,!0);else{const Te=se.querySelector("span");Te.style.pointerEvents="none"}se.host.addEventListener("focus",this,!0),se.host.addEventListener("blur",this,!0),Nd()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),ge&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const xe=se.querySelector("slot:not([name])");if(xe)try{this._style=xe.assignedElements().filter(Te=>Te.tagName.toLowerCase()==="style").map(Te=>Te.textContent).join("")}catch(Te){console.error(Te)}if(this._style){const Te=document.createElement("style");Te.textContent=this._style,se.appendChild(Te)}let Ae="";if(this.hasAttribute("value")?Ae=this.getAttribute("value"):Ae=(y=xe==null?void 0:xe.assignedNodes().map(Te=>Te.nodeType===3?Te.textContent:"").join("").trim())!=null?y:"",this._mathfield=new f1(se.querySelector(":host > span"),me(ye({},(E=(b=Po.get(this))==null?void 0:b.options)!=null?E:bf(this)),{eventSink:this,value:Ae})),!Po.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const Te of Object.keys(ld.optionsAttributes))this.upgradeProperty(yc(Te))}if(!((ee=this._mathfield)!=null&&ee.model)){this._mathfield=null;return}if(Po.has(this)){const Te=this._mathfield,Qe=Po.get(this),bt=Qe.menuItems;Te.model.deferNotifications({content:!1,selection:!1},()=>{const Gt=Qe.value;Gt!==void 0&&Te.setValue(Gt),Te.model.selection=Qe.selection,Po.delete(this)}),bt&&(this.menuItems=bt)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Tf()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const E=ed(this._mathfield.options,Object.keys(ld.optionsAttributes).map(ee=>yc(ee)));Po.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:E}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,E){if(b===E)return;const ee=E!==null;switch(y){case"contenteditable":ks(this._mathfield);break;case"disabled":this.disabled=ee;break;case"read-only":case"readonly":this.readOnly=ee;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),Nd()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(Nd()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const E=!!y;E?this.setAttribute("disabled",""):this.removeAttribute("disabled"),Nd()?this._internals.ariaDisabled=E?"true":"false":this.setAttribute("aria-disabled",E?"true":"false"),E&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,E)=>{if(typeof E=="string")return y._getOption("registers")[E]},set(b,E,ee){return typeof E!="string"?!1:(y._setOptions({registers:me(ye({},y._getOption("registers")),{[E]:ee})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,E;return this._mathfield?(y=this._mathfield.menu._menuItems.map(ee=>ee.menuItem))!=null?y:[]:(E=(b=Po.get(this))==null?void 0:b.menuItems)!=null?E:[]}set menuItems(y){var b;if(this._mathfield){const E=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");E&&(E.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}Po.has(this)?Po.set(this,me(ye({},Po.get(this)),{menuItems:y})):Po.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:bf(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,E){var ee;(ee=this._mathfield)==null||ee.setPromptState(y,b,E)}getPromptState(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?E:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:Po.has(this)?Po.get(this).selection:{ranges:[[0,0]],direction:"forward"}}set selection(y){if(typeof y=="number"&&(y={ranges:[[y,y]]}),this._mathfield){this._mathfield.model.selection=y,ks(this._mathfield);return}if(Po.has(this)){Po.set(this,me(ye({},Po.get(this)),{selection:y}));return}Po.set(this,{value:void 0,selection:y,options:bf(this),menuItems:void 0})}get selectionIsCollapsed(){const y=this.selection;return y.ranges.length===1&&y.ranges[0][0]===y.ranges[0][1]}get position(){return this._mathfield?this._mathfield.model.position:Po.has(this)?Po.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,ks(this._mathfield)),Po.has(this)){Po.set(this,me(ye({},Po.get(this)),{selection:{ranges:[[y,y]]}}));return}Po.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:bf(this),menuItems:void 0})}getOffsetDepth(y){var b,E;return this._mathfield?((E=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?E:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};cl.version="0.98.5",cl._fontsDirectory="./fonts",cl._soundsDirectory="./sounds",cl.keypressVibration=!0,cl._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},cl._plonkSound="plonk.wav",cl.audioBuffers={},cl.createHTML=a=>a,cl._speechEngineRate="100%",cl._speechEngineVoice="Joanna",cl._textToSpeechMarkup="",cl._textToSpeechRules="mathlive",cl._textToSpeechRulesOptions={},cl.speakHook=r1,cl.readAloudHook=h1,cl._decimalSeparator=".",cl.fractionNavigationOrder="numerator-denominator",cl._isFunction=a=>{var y,b;const E=window.MathfieldElement.computeEngine;return(b=(y=E==null?void 0:E.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var yf=cl;function yc(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function bf(a){const y={readOnly:!1},b=yf.optionsAttributes;return Object.keys(b).forEach(E=>{if(a.hasAttribute(E)){const ee=a.getAttribute(E);E==="placeholder"?y.contentPlaceholder=ee!=null?ee:"":b[E]==="boolean"?y[yc(E)]=!0:b[E]==="on/off"?ee==="on"?y[yc(E)]=!0:ee==="off"?y[yc(E)]=!1:y[yc(E)]=void 0:b[E]==="number"?y[yc(E)]=Number.parseFloat(ee!=null?ee:"0"):y[yc(E)]=ee}}),y}function Nd(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var vp=yf,yp,bp,xp,wp;if(ot()&&!((yp=window.customElements)!=null&&yp.get("math-field"))){(xp=window[bp=Symbol.for("io.cortexjs.mathlive")])!=null||(window[bp]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=yf,(wp=window.customElements)==null||wp.define("math-field",yf)}function m1(a,y,b){let E=b,ee=0;const re=a.length;for(;E<y.length;){const se=y[E];if(ee<=0&&y.slice(E,E+re)===a)return E;se==="\\"?E++:se==="{"?ee++:se==="}"&&ee--,E++}return-1}function ih(a,y,b,E,ee="latex"){const re=[];for(const se of a)if(se.type==="text"){const ge=se.data;let xe=!0,Ae=0,Te;Te=ge.indexOf(y),Te!==-1&&(Ae=Te,Ae>0&&re.push({type:"text",data:ge.slice(0,Ae)}),xe=!1);let Qe=!1;for(;!Qe;){if(xe){if(Te=ge.indexOf(y,Ae),Te===-1){Qe=!0;break}Ae!==Te&&re.push({type:"text",data:ge.slice(Ae,Te)}),Ae=Te}else{if(Te=m1(b,ge,Ae+y.length),Te===-1){Qe=!0;break}let bt=ge.slice(Ae+y.length,Te);ee==="ascii-math"&&([,bt]=Uo(bt,{format:"ascii-math"})),re.push({type:"math",data:bt,rawData:ge.slice(Ae,Te+b.length),mathstyle:E}),Ae=Te+b.length}xe=!xe}Ae<ge.length&&re.push({type:"text",data:ge.slice(Ae)})}else re.push(se);return re}function Sp(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ee,re])=>{E=ih(E,ee,re,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ee,re])=>{E=ih(E,ee,re,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ee,re])=>{E=ih(E,ee,re,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ee,re])=>{E=ih(E,ee,re,"displaystyle","ascii-math")}),E}function g1(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const E="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(E)}catch(E){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${E}`),b.textContent=a}return b.className="ML__sr-only",b}function v1(a,y,b,E){try{const ee=y.renderToMarkup(a,{mathstyle:b,format:"html"}),re=document.createElement("span");return re.dataset.latex=a,re.style.display=b==="displaystyle"?"flex":"inline-flex",re.setAttribute("aria-hidden","true"),re.setAttribute("translate","no"),re.innerHTML=window.MathfieldElement.createHTML(ee),re}catch(ee){if(console.error("Could not parse'"+a+"' with ",ee),E)return document.createTextNode(a)}return null}function Rd(a,y,b,E){var ee;const re=v1(a,b,y||"textstyle",E),se=(ee=b.renderAccessibleContent)!=null?ee:"";if(re&&/\b(mathml|speakable-text)\b/i.test(se)){const ge=document.createElement("span");if(/\bmathml\b/i.test(se)&&b.renderToMathML&&ge.append(g1(a,b)),/\bspeakable-text\b/i.test(se)&&b.renderToSpeakableText){const xe=document.createElement("span");xe.setAttribute("translate","no");const Ae=b.renderToSpeakableText(a);xe.innerHTML=window.MathfieldElement.createHTML(Ae),xe.className="ML__sr-only",ge.append(xe)}return ge.append(re),ge}return re}function y1(a,y){var b,E,ee;let re=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){re=document.createDocumentFragment();const se=Rd(a,"",y,!0);se&&re.appendChild(se)}else{if(!a.trim())return null;const se=Sp(a,(E=y.TeX)==null?void 0:E.delimiters,(ee=y.asciiMath)==null?void 0:ee.delimiters);if(se.length===1&&se[0].type==="text")return null;re=document.createDocumentFragment();for(const ge of se)if(ge.type==="text")re.appendChild(document.createTextNode(ge.data));else{const xe=Rd(ge.data,ge.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);xe&&re.appendChild(xe)}}return re}function Cp(a,y){var b,E,ee,re,se,ge,xe,Ae,Te,Qe,bt,Gt,an,cr,di,ar;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Zr=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(Zr)){a.textContent="";const $r=Rd(Zr,"",y,!0);$r&&a.append($r);return}const hi=Sp(Zr,(ee=y.TeX)==null?void 0:ee.delimiters,(re=y.asciiMath)==null?void 0:re.delimiters);if(hi.length===1&&hi[0].type==="math"){a.textContent="";const $r=Rd(hi[0].data,hi[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);$r&&a.append($r);return}if(hi.length===1&&hi[0].type==="text")return}for(let Zr=a.childNodes.length-1;Zr>=0;Zr--){const hi=a.childNodes[Zr];if(hi.nodeType===3){const $r=y1((se=hi.textContent)!=null?se:"",y);$r&&(Zr+=$r.childNodes.length-1,hi.replaceWith($r))}else if(hi.nodeType===1){const $r=hi,Yi=hi.nodeName.toLowerCase();if(Yi==="script"){const xa=hi;let fa;if((ge=y.processScriptTypePattern)!=null&&ge.test(xa.type))fa=(xe=xa.textContent)!=null?xe:"";else if((Ae=y.processMathJSONScriptTypePattern)!=null&&Ae.test(xa.type))try{fa=(Qe=y.serializeToLatex)==null?void 0:Qe.call(y,JSON.parse((Te=xa.textContent)!=null?Te:""))}catch(Eo){console.error(Eo)}if(fa){let Eo="textstyle";for(const wi of xa.type.split(";")){const[cu,$u]=wi.toLowerCase().split("=");cu.trim()==="mode"&&(Eo=$u.trim()==="display"?"displaystyle":"textstyle")}const Xo=Rd(fa,Eo,y,!0);Xo&&xa.parentNode.replaceChild(Xo,xa)}}else if(((Gt=(bt=y.processClassPattern)==null?void 0:bt.test($r.className))!=null?Gt:!1)||!((cr=(an=y.skipTags)==null?void 0:an.includes(Yi))!=null&&cr||(ar=(di=y.ignoreClassPattern)==null?void 0:di.test($r.className))!=null&&ar))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const fa=a.textContent;a.textContent="";const Eo=Rd(fa!=null?fa:"","displaystyle",y,!0);Eo&&a.append(Eo)}else Cp($r,y)}}}var b1={skipTags:["math-field","noscript","style","textarea","pre","code","annotation","annotation-xml"],processScriptType:"math/tex",processMathJSONScriptType:"math/json",ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",renderAccessibleContent:"mathml",asciiMath:{delimiters:{inline:[["`","`"]]}},TeX:{processEnvironments:!0,delimiters:{inline:[["\\(","\\)"]],display:[["$$","$$"],["\\[","\\]"]]}}};function x1(a,y){var b,E,ee,re;try{const se=ye(ye({},b1),y);se.ignoreClassPattern=new RegExp((b=se.ignoreClass)!=null?b:""),se.processClassPattern=new RegExp((E=se.processClass)!=null?E:""),se.processScriptTypePattern=new RegExp((ee=se.processScriptType)!=null?ee:""),se.processMathJSONScriptTypePattern=new RegExp((re=se.processMathJSONScriptType)!=null?re:""),Tf(),Ul("core"),Cp(a,se)}catch(se){se instanceof Error?console.error("renderMathInElement(): "+se.message):console.error("renderMathInElement(): Could not render math for element",a)}}function w1(a,y){const b=Tc.singleton;return b?(b.show(),sf(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function S1(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Gl({switchKeyboardLayer:w1,toggleVirtualKeyboard:S1,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function Rc(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function L1(){return console.warn("%cMathLive 0.98.5: %cmakeSharedVirtualKeyboard() is deprecated. \n Use `window.mathVirtualKeyboard` to access the virtual keyboard instance.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),window.mathVirtualKeyboard}function F1(a){E1(document.body,a)}function C1(a){if(typeof a=="string"){const y=document.getElementById(a);if(y===null)throw new Error(`The element with ID "${a}" could not be found.`);return y}return typeof a=="string"?null:a}function E1(a,y){var b,E,ee,re;const se=C1(a);if(!se)return;const ge=y!=null?y:{};(b=ge.renderToMarkup)!=null||(ge.renderToMarkup=nl),(E=ge.renderToMathML)!=null||(ge.renderToMathML=Nv),(ee=ge.renderToSpeakableText)!=null||(ge.renderToSpeakableText=Rv),(re=ge.serializeToLatex)!=null||(ge.serializeToLatex=zv),x1(se,ge)}var P1={mathlive:"0.98.5"}},17423:function(mn,en,ie){"use strict";ie.d(en,{Z:function(){return ye}});const ae=me=>typeof me=="object"&&me!=null&&me.nodeType===1,Oe=(me,Le)=>(!Le||me!=="hidden")&&me!=="visible"&&me!=="clip",Re=(me,Le)=>{if(me.clientHeight<me.scrollHeight||me.clientWidth<me.scrollWidth){const mt=getComputedStyle(me,null);return Oe(mt.overflowY,Le)||Oe(mt.overflowX,Le)||(Ie=>{const Xe=(ot=>{if(!ot.ownerDocument||!ot.ownerDocument.defaultView)return null;try{return ot.ownerDocument.defaultView.frameElement}catch(dt){return null}})(Ie);return!!Xe&&(Xe.clientHeight<Ie.scrollHeight||Xe.clientWidth<Ie.scrollWidth)})(me)}return!1},Ze=(me,Le,mt,Ie,Xe,ot,dt,nt)=>ot<me&&dt>Le||ot>me&&dt<Le?0:ot<=me&&nt<=mt||dt>=Le&&nt>=mt?ot-me-Ie:dt>Le&&nt<mt||ot<me&&nt>mt?dt-Le+Xe:0,ve=me=>{const Le=me.parentElement;return Le==null?me.getRootNode().host||null:Le},Ee=(me,Le)=>{var mt,Ie,Xe,ot;if(typeof document=="undefined")return[];const{scrollMode:dt,block:nt,inline:Me,boundary:ut,skipOverflowHiddenElements:Ut}=Le,at=typeof ut=="function"?ut:Tt=>Tt!==ut;if(!ae(me))throw new TypeError("Invalid target");const ht=document.scrollingElement||document.documentElement,we=[];let he=me;for(;ae(he)&&at(he);){if(he=ve(he),he===ht){we.push(he);break}he!=null&&he===document.body&&Re(he)&&!Re(document.documentElement)||he!=null&&Re(he,Ut)&&we.push(he)}const je=(Ie=(mt=window.visualViewport)==null?void 0:mt.width)!=null?Ie:innerWidth,Ve=(ot=(Xe=window.visualViewport)==null?void 0:Xe.height)!=null?ot:innerHeight,{scrollX:Ge,scrollY:qe}=window,{height:Ye,width:We,top:St,right:lt,bottom:zt,left:Dt}=me.getBoundingClientRect(),{top:pn,right:Kn,bottom:tr,left:it}=(Tt=>{const rt=window.getComputedStyle(Tt);return{top:parseFloat(rt.scrollMarginTop)||0,right:parseFloat(rt.scrollMarginRight)||0,bottom:parseFloat(rt.scrollMarginBottom)||0,left:parseFloat(rt.scrollMarginLeft)||0}})(me);let Ce=nt==="start"||nt==="nearest"?St-pn:nt==="end"?zt+tr:St+Ye/2-pn+tr,wt=Me==="center"?Dt+We/2-it+Kn:Me==="end"?lt+Kn:Dt-it;const An=[];for(let Tt=0;Tt<we.length;Tt++){const rt=we[Tt],{height:ft,width:Wt,top:qt,right:Xt,bottom:Ht,left:un}=rt.getBoundingClientRect();if(dt==="if-needed"&&St>=0&&Dt>=0&&zt<=Ve&<<=je&&St>=qt&&zt<=Ht&&Dt>=un&<<=Xt)return An;const kn=getComputedStyle(rt),yn=parseInt(kn.borderLeftWidth,10),Fe=parseInt(kn.borderTopWidth,10),ce=parseInt(kn.borderRightWidth,10),ue=parseInt(kn.borderBottomWidth,10);let pe=0,de=0;const le="offsetWidth"in rt?rt.offsetWidth-rt.clientWidth-yn-ce:0,De="offsetHeight"in rt?rt.offsetHeight-rt.clientHeight-Fe-ue:0,Ke="offsetWidth"in rt?rt.offsetWidth===0?0:Wt/rt.offsetWidth:0,Et="offsetHeight"in rt?rt.offsetHeight===0?0:ft/rt.offsetHeight:0;if(ht===rt)pe=nt==="start"?Ce:nt==="end"?Ce-Ve:nt==="nearest"?Ze(qe,qe+Ve,Ve,Fe,ue,qe+Ce,qe+Ce+Ye,Ye):Ce-Ve/2,de=Me==="start"?wt:Me==="center"?wt-je/2:Me==="end"?wt-je:Ze(Ge,Ge+je,je,yn,ce,Ge+wt,Ge+wt+We,We),pe=Math.max(0,pe+qe),de=Math.max(0,de+Ge);else{pe=nt==="start"?Ce-qt-Fe:nt==="end"?Ce-Ht+ue+De:nt==="nearest"?Ze(qt,Ht,ft,Fe,ue+De,Ce,Ce+Ye,Ye):Ce-(qt+ft/2)+De/2,de=Me==="start"?wt-un-yn:Me==="center"?wt-(un+Wt/2)+le/2:Me==="end"?wt-Xt+ce+le:Ze(un,Xt,Wt,yn,ce+le,wt,wt+We,We);const{scrollLeft:Yt,scrollTop:Kt}=rt;pe=Et===0?0:Math.max(0,Math.min(Kt+pe/Et,rt.scrollHeight-ft/Et+De)),de=Ke===0?0:Math.max(0,Math.min(Yt+de/Ke,rt.scrollWidth-Wt/Ke+le)),Ce+=Kt-pe,wt+=Yt-de}An.push({el:rt,top:pe,left:de})}return An},ke=me=>me===!1?{block:"end",inline:"nearest"}:(Le=>Le===Object(Le)&&Object.keys(Le).length!==0)(me)?me:{block:"start",inline:"nearest"};function ye(me,Le){if(!me.isConnected||!(Xe=>{let ot=Xe;for(;ot&&ot.parentNode;){if(ot.parentNode===document)return!0;ot=ot.parentNode instanceof ShadowRoot?ot.parentNode.host:ot.parentNode}return!1})(me))return;const mt=(Xe=>{const ot=window.getComputedStyle(Xe);return{top:parseFloat(ot.scrollMarginTop)||0,right:parseFloat(ot.scrollMarginRight)||0,bottom:parseFloat(ot.scrollMarginBottom)||0,left:parseFloat(ot.scrollMarginLeft)||0}})(me);if((Xe=>typeof Xe=="object"&&typeof Xe.behavior=="function")(Le))return Le.behavior(Ee(me,Le));const Ie=typeof Le=="boolean"||Le==null?void 0:Le.behavior;for(const{el:Xe,top:ot,left:dt}of Ee(me,ke(Le))){const nt=ot-mt.top+mt.bottom,Me=dt-mt.left+mt.right;Xe.scroll({top:nt,left:Me,behavior:Ie})}}}}]);
|
|
|
}()); |