|
|
!(function(){var O1=Object.defineProperty,_1=Object.defineProperties;var T1=Object.getOwnPropertyDescriptors;var F0=Object.getOwnPropertySymbols;var Nm=Object.prototype.hasOwnProperty,Rm=Object.prototype.propertyIsEnumerable;var Cd=Math.pow,Tm=(tn,kt,te)=>kt in tn?O1(tn,kt,{enumerable:!0,configurable:!0,writable:!0,value:te}):tn[kt]=te,kd=(tn,kt)=>{for(var te in kt||(kt={}))Nm.call(kt,te)&&Tm(tn,te,kt[te]);if(F0)for(var te of F0(kt))Rm.call(kt,te)&&Tm(tn,te,kt[te]);return tn},yh=(tn,kt)=>_1(tn,T1(kt));var zm=(tn,kt)=>{var te={};for(var ee in tn)Nm.call(tn,ee)&&kt.indexOf(ee)<0&&(te[ee]=tn[ee]);if(tn!=null&&F0)for(var ee of F0(tn))kt.indexOf(ee)<0&&Rm.call(tn,ee)&&(te[ee]=tn[ee]);return te};var Zd=(tn,kt,te)=>new Promise((ee,de)=>{var Ce=Ee=>{try{xe(te.next(Ee))}catch(fe){de(fe)}},We=Ee=>{try{xe(te.throw(Ee))}catch(fe){de(fe)}},xe=Ee=>Ee.done?ee(Ee.value):Promise.resolve(Ee.value).then(Ce,We);xe((te=te.apply(tn,kt)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[6776],{89489:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},59477:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},40001:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},26227:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},49198:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},84105:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},41464:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},18785:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},87169:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},73331:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},15277:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},52671:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},8657:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},56082:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},33853:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},15075:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},62772:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},43531:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},61485:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},38819:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},47472:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},87395:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(He,rt){return de.createElement(xe.Z,(0,ee.Z)({},He,{ref:rt,icon:We}))},fe=de.forwardRef(Ee),be=fe},14618:function(){"use strict"},66552:function(){"use strict"},18760:function(tn,kt){"use strict";kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39541:function(tn,kt){"use strict";kt.Z={flex_box_center:"flex_box_center___iyIe6",flex_space_between:"flex_space_between___g2WjG",flex_box_vertical_center:"flex_box_vertical_center___Tde0v",flex_box_center_end:"flex_box_center_end___W1D5W",flex_box_column:"flex_box_column___ZiFvs",bg:"bg___T2R2s",containerTitle:"containerTitle___yARn_",containerDesc:"containerDesc___fKSYF",menus:"menus___e8wtg",listItem:"listItem___s7xhg",info:"info___Hx2bW",title:"title___W7a1R",titleLeft:"titleLeft___C5r0w",titleRight:"titleRight___g5GZv",acitons:"acitons___H0RU0",move:"move___qYkSy",hideHeadCheckbox:"hideHeadCheckbox___Hq5gw",moveCategory:"moveCategory___bZSGQ",tabSearch:"tabSearch___NaKI4",warpModal:"warpModal___HLUgh",modalColumn:"modalColumn___F7R5w",modalRow:"modalRow___L6ghw",sup:"sup___VGKXV",name:"name___QMvgh"}},7923:function(tn,kt){"use strict";kt.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"}},81194:function(tn,kt){"use strict";kt.Z={flex_box_center:"flex_box_center___SF0m3",flex_space_between:"flex_space_between___ChLjp",flex_box_vertical_center:"flex_box_vertical_center____l_EF",flex_box_center_end:"flex_box_center_end___YcZNu",flex_box_column:"flex_box_column___R9dNq",downloadbutton:"downloadbutton___oEXJW",configWorkContainer:"configWorkContainer___CHUrh"}},95848:function(tn,kt){"use strict";kt.Z={flex_box_center:"flex_box_center___oQbDY",flex_space_between:"flex_space_between____4k1m",flex_box_vertical_center:"flex_box_vertical_center___iAGL_",flex_box_center_end:"flex_box_center_end___zhjgR",flex_box_column:"flex_box_column___bv7Ek",downloadbutton:"downloadbutton___FK4KV",configWorkContainer:"configWorkContainer___kXeIx"}},28933:function(tn,kt){"use strict";kt.Z={flex_box_center:"flex_box_center___mwl85",flex_space_between:"flex_space_between___Ykig4",flex_box_vertical_center:"flex_box_vertical_center___q51y0",flex_box_center_end:"flex_box_center_end___w0r4J",flex_box_column:"flex_box_column___A_A7o",downloadbutton:"downloadbutton___x1b07",configWorkContainer:"configWorkContainer___AQoCT"}},17661:function(tn,kt){"use strict";kt.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeFormSty:"threeFormSty___OJPML"}},63087:function(tn,kt,te){"use strict";var ee=te(59301),de=Object.defineProperty,Ce=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Ee=(Fe,He,rt)=>He in Fe?de(Fe,He,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Fe[He]=rt,fe=(Fe,He)=>{for(var rt in He||(He={}))We.call(He,rt)&&Ee(Fe,rt,He[rt]);if(Ce)for(var rt of Ce(He))xe.call(He,rt)&&Ee(Fe,rt,He[rt]);return Fe};const be=Fe=>React.createElement("svg",fe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Fe),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));kt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},3352:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var tn={},kt="5.0",te={},ee=null,de=!1,Ce=!1,We=null,xe=!1,Ee=null,fe=null,be=0;be<arguments.length;be++){var Fe=arguments[be];if(Fe!==null)switch(typeof Fe){case"number":kt=Fe.toFixed(1);break;case"string":Fe.match(new RegExp("^[0-9]\\.[0-9]+$"))?kt=Fe:We=Fe;break;case"object":typeof Fe.is3D!="undefined"?ee=Fe:te=Fe;break;case"boolean":de=Fe,Ce=!0;break}}ee===null&&(ee={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!Ce&&(de=!0)),We!==null&&te.id===void 0&&(te.id=We);var He="",rt="",Ae=!1,ge=null,we=null,Se=null,Ne=!1,ke=null,Ye=null,et=null,Ke=null,Oe=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var _e=function(tt){return parseFloat(tt)>4?parseFloat(tt):5};tn.setHTML5Codebase=function(tt,at){fe=tt,st(tt,at)},tn.setJavaCodebase=tn.setJavaCodebaseVersion=tn.isCompiledInstalled=tn.setPreCompiledScriptPath=tn.setPreCompiledResourcePath=function(){},tn.setHTML5CodebaseVersion=function(tt,at){var Nt=parseFloat(tt);if(Nt!==NaN&&Nt<5){console.log("The GeoGebra HTML5 codebase version "+Nt+" is deprecated. Using version latest instead.");return}Ee=tt,Me(tt,at)},tn.getHTML5CodebaseVersion=function(){return we},tn.getParameters=function(){return te},tn.setFontsCSSURL=function(tt){Ke=tt},tn.setGiacJSURL=function(tt){},tn.setJNLPFile=function(tt){He=tt},tn.setJNLPBaseDir=function(tt){},tn.inject=function(){function tt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",Nt=te.id,on,Ht=!1,Fn=0;Fn<arguments.length;Fn++){var Qt=arguments[Fn];typeof Qt=="string"?(Qt=Qt.toLowerCase(),Qt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?at=Qt:Nt=arguments[Fn]):typeof Qt=="boolean"?Ht=Qt:Qt instanceof HTMLElement&&(on=Qt)}Ut();function Ut(){if(!xe){setTimeout(Ut,200);return}at=It(at);var Wt=on||document.getElementById(Nt);if(!Wt){console.log("possibly bug on ajax loading? ");return}if(tn.removeExistingApplet(Wt,!1),te.width===void 0&&Wt.clientWidth&&(te.width=Wt.clientWidth),te.height===void 0&&Wt.clientHeight&&(te.height=Wt.clientHeight),!(te.width&&te.height)&&at==="html5"&&(delete te.width,delete te.height),ge=at,at==="screenshot")Ze(Wt,te);else{var Ie=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Ie=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Ie=(!me()||tt())&&Re()),Ie?(ge="screenshot",ot(Wt,te,Ht,at)):xt(Wt,te,Ht)}}};function me(){try{return window.self!==window.top}catch(tt){return!0}}function Re(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}tn.getViews=function(){return ee},tn.isJavaInstalled=function(){return!1};var Le=function(tt){var at=function(Fn){var Qt=JSON.parse(Fn),Ut=function(he){return he.type=="G"||he.type=="E"},Wt=Qt.elements?Qt.elements.filter(Ut)[0]:Qt;if(!Wt||!Wt.url){Nt();return}te.fileName=Wt.url,Pe(Wt.settings||{}),ee.is3D=!0;var Ie="https://www.geogebra.org/images/";tn.setPreviewImage(ke||Wt.previewUrl,Ie+"GeoGebra_loading.png",Ie+"applet_play.png"),tt()},Nt=function(){te.onError&&te.onError(),zt("Error: Fetching material (id "+te.material_id+") failed.",te)},on=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ht="/materials/"+te.material_id+"?scope=basic";De("https://"+on+"/api/proxy.php?path="+encodeURIComponent(Ht),at,Nt)};function Pe(tt){var at=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Nt){tt[Nt]=!!tt[Nt]}),at.forEach(function(Nt){te[Nt]===void 0&&tt[Nt]!==void 0&&(te[Nt]=tt[Nt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function De(tt,at,Nt){var on=new XMLHttpRequest;on.open("GET",tt),on.onload=function(){at(on.responseText)},on.onerror=Nt,on.send()}tn.isHTML5Installed=function(){return!0},tn.getLoadedAppletType=function(){return ge},tn.setPreviewImage=function(tt,at,Nt){ke=tt,Ye=at,et=Nt},tn.removeExistingApplet=function(tt,at){var Nt;typeof tt=="string"&&(tt=document.getElementById(tt)),ge=null;var on=null;for(Nt=0;Nt<tt.childNodes.length;Nt++){var Ht=tt.childNodes[Nt],Fn=Ht.className;Fn==="applet_screenshot"?at?(Ht.style.display="block",ge="screenshot"):Ht.style.display="none":Fn!=="applet_scaler prerender"&&(tt.removeChild(Ht),on=Fn&&Fn.indexOf("appletParameters")!=-1?Ht.id:null,Nt--)}var Qt=te.id!==void 0?te.id:on,Ut=window[Qt];Ut&&typeof Ut.getBase64=="function"&&(Ut.remove(),window[Qt]=null)},tn.refreshHitPoints=function(){if(_e(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var tt=tn.getAppletObject();return tt&&typeof tt.recalculateEnvironments=="function"?(tt.recalculateEnvironments(),!0):!1},tn.startAnimation=function(){var tt=tn.getAppletObject();return tt&&typeof tt.startAnimation=="function"?(tt.startAnimation(),!0):!1},tn.stopAnimation=function(){var tt=tn.getAppletObject();return tt&&typeof tt.stopAnimation=="function"?(tt.stopAnimation(),!0):!1},tn.getAppletObject=function(){var tt=te.id!==void 0?te.id:"ggbApplet";return window[tt]},tn.resize=function(){};var ze=function(tt,at,Nt){var on=document.createElement("param");on.setAttribute("name",at),on.setAttribute("value",Nt),tt.appendChild(on)},Te=function(tt){return tt&&tt!=="false"},xt=function(tt,at,Nt){_e(we)<=4.2&&(Nt=!0);var on=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==we||ggbHTML5LoadedCodebaseIsWebSimple&&!Ne)&&(on=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ht=document.createElement("div");Ht.classList.add("appletParameters","notranslate");var Fn=at.width,Qt=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(_e(we)<=4.4)Te(at.showToolBar)&&(at.height-=7),Te(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Te(at.showToolBar)&&(at.width=605,Fn=605);else{var Ut=100;(Te(at.showToolBar)||Te(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),Ut=Te(at.showMenuBar)?245:155),Fn<Ut&&(at.width=Ut,Fn=Ut)}Ht.style.border="none",Ht.style.display="inline-block";for(var Wt in at)at.hasOwnProperty(Wt)&&Wt!=="appletOnLoad"&&Ht.setAttribute("data-param-"+Wt,at[Wt]);Ke&&Ht.setAttribute("data-param-fontscssurl",Ke),tn.resize=function(){GGBAppletUtils.responsiveResize(tt,at)},window.addEventListener("resize",function(yt){tn.resize()});var Ie=typeof at.appletOnLoad=="function"?at.appletOnLoad:function(){};if(!Nt&&at.width!==void 0){at.hasOwnProperty("showSplash")||Ht.setAttribute("data-param-showSplash","false");var he=tt.querySelector(".applet_scaler.prerender"),ue=he!==null;if(ue)var ve=he.querySelector(".ggb_preview");else{var ve=Lt(Fn,Qt,at.borderColor,!1);he=document.createElement("div"),he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.style.width=Fn+"px",he.style.height=Qt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(he,"66%"),_e(we)>=5?(at.appletOnLoad=function(yt){var jt=tt.querySelector(".ggb_preview");jt&&jt.parentNode.removeChild(jt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(he),window.GGBT_wsf_view&&$(window).trigger("resize"),Ie(yt)},ue||he.appendChild(ve)):Ht.appendChild(ve),he.appendChild(Ht),ue||tt.appendChild(he),setTimeout(function(){tn.resize()},1)}else{var ye=document.createElement("div");ye.className="applet_scaler",ye.style.position="relative",ye.style.display="block",ye.appendChild(Ht),tt.appendChild(ye),at.appletOnLoad=function(yt){tn.resize(),Ie(yt)}}function se(yt,jt){jt&&typeof jt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(yt,jt.appletOnLoad):renderGGBElement(yt),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",jt)}function $e(yt,jt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:yt,params:jt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(En){se(En.article,En.params)}),html5AppletsToProcess=null)},_e(we)<5&&(yt.className+=" geogebraweb")):se(yt,jt)}if(on){scriptLoadStarted=!0;for(var wt=0;wt<Ht.childNodes.length;wt++){var lt=Ht.childNodes[wt].tagName;lt==="TABLE"&&(Ht.removeChild(Ht.childNodes[wt]),wt--)}if(ggbHTML5LoadedScript!==null){var Je=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Je!=null&&Je.parentNode.removeChild(Je)}var Pt=document.createElement("script"),Dt=function(){$e(Ht,at)};Pt.src=rt+Se,ggbHTML5LoadedCodebaseIsWebSimple=Ne,ggbHTML5LoadedCodebaseVersion=we,ggbHTML5LoadedScript=Pt.src,zt("GeoGebra HTML5 codebase loaded: '"+rt+"'.",at),!fe&&(!Ee||Ee=="5.0")?(Ne?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Dt()):rt.requirejs?__webpack_require__.e(7206).then(function(){var yt=[__webpack_require__(97206)];Dt.apply(null,yt)}.bind(this)).catch(__webpack_require__.oe):(Pt.onload=Dt,tt.appendChild(Pt))}else $e(Ht,at);at.height=Qt,at.width=Fn},Ze=function(tt,at,Nt){var on=Lt(at.width,at.height,at.borderColor,Nt),Ht=document.createElement("div");Ht.style.position="relative",Ht.style.display="block",Ht.style.width=at.width+"px",Ht.style.height=at.height+"px",Ht.className="applet_screenshot applet_scaler"+(Nt?" applet_screenshot_play":""),Ht.appendChild(on);var Fn=GGBAppletUtils.getScale(at,tt,Nt);Nt?(tt.appendChild(mt()),window.GGBT_wsf_view||(tt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ht,"66%"),tt.appendChild(Ht),Fn!==1&&!isNaN(Fn)&&(GGBAppletUtils.scaleElement(Ht,Fn),Ht.style.width=at.width+"px",Ht.style.height=at.height+"px",Ht.parentNode.style.width=at.width*Fn+"px",Ht.parentNode.style.height=at.height*Fn+"px"),tn.resize=function(){vt(tt,on,Ht,Nt)},window.addEventListener("resize",function(Qt){tn.resize()}),tn.resize()};function vt(tt,at,Nt,on){if(tt.contains(at)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(tt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(tt)}var Ht=GGBAppletUtils.getScale(te,tt,on);Nt.parentNode!==null&&(!isNaN(Ht)&&Ht!==1?(GGBAppletUtils.scaleElement(Nt,Ht),Nt.parentNode.style.width=te.width*Ht+"px",Nt.parentNode.style.height=te.height*Ht+"px"):(GGBAppletUtils.scaleElement(Nt,1),Nt.parentNode.style.width=te.width+"px",Nt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(tt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}tn.onExitFullscreen=function(tt,at){at.appendChild(tt)};var ot=function(tt,at,Nt,on){Ze(tt,at,!0);for(var Ht=function(){var Ut=[];for(Qt=0;Qt<tt.childNodes.length;Qt++)Ut.push(tt.childNodes[Qt]);if(window.GGBT_wsf_view){var Wt=window.GGBT_wsf_view.renderFullScreen(tt,at.id),Ie=document.getElementById("fullscreencontainer"),he=jQuery(tt).find(".fullscreencontent");he.length>0?(Wt.remove(),he.attr("id","fullscreencontent").show(),jQuery(Ie).append(he),window.dispatchEvent(new Event("resize"))):xt(Wt,at,!1),window.GGBT_wsf_view.launchFullScreen(Ie)}else ge=on,xt(tt,at,!1);if(!window.GGBT_wsf_view)for(Qt=0;Qt<Ut.length;Qt++)tt.removeChild(Ut[Qt])},Fn=tt.getElementsByClassName("ggb_preview_play"),Qt=0;Qt<Fn.length;Qt++)Fn[Qt].addEventListener("click",Ht,!1),Fn[Qt].addEventListener("ontouchstart",Ht,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(tt),Re()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},mt=function(){var tt=document.createElement("div");if(tt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var at='.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");}',Nt=document.createElement("style");Nt.styleSheet?Nt.styleSheet.cssText=at:Nt.appendChild(document.createTextNode(at)),document.getElementsByTagName("head")[0].appendChild(Nt)}return tt},Lt=function(tt,at,Nt,on){var Ht=document.createElement("div");Ht.className="ggb_preview",Ht.style.position="absolute",Ht.style.zIndex="90",Ht.style.width=tt-2+"px",Ht.style.height=at-2+"px",Ht.style.top="0px",Ht.style.left="0px",Ht.style.overflow="hidden",Ht.style.backgroundColor="white";var Fn="lightgrey";Nt!==void 0&&(Nt==="none"?Fn="transparent":Fn=Nt),Ht.style.border="1px solid "+Fn;var Qt=document.createElement("img");if(Qt.style.position="relative",Qt.style.zIndex="1000",Qt.style.top="-1px",Qt.style.left="-1px",ke!==null&&Qt.setAttribute("src",ke),Qt.style.opacity=.7,Ye!==null){var Ut,Wt,Ie;if(!on){Ut=document.createElement("img"),Ut.style.position="absolute",Ut.style.zIndex="1001",Ut.style.opacity=1,Qt.style.opacity=.3,Wt=360,Wt>tt/4*3&&(Wt=tt/4*3),Ie=Wt/5.8,Ut.setAttribute("src",Ye),Ut.setAttribute("width",Wt),Ut.setAttribute("height",Ie);var he=(tt-Wt)/2,ue=(at-Ie)/2;Ut.style.left=he+"px",Ut.style.top=ue+"px",Ht.appendChild(Ut)}}return Ht.appendChild(Qt),Ht},It=function(tt){return tt=tt.toLowerCase(),tt==="html5"||tt==="screenshot"?tt:"html5"},Qe=["web","webSimple","web3d","tablet","tablet3d","phone"],Me=function(tt,at){if(we=tt,at){st(we,!0);return}var Nt=!de;if(Nt){var on=_e(we);!isNaN(on)&&on<4.4&&(Nt=!1)}var Ht,Fn;window.location.protocol.substr(0,4)==="http"?Ht=window.location.protocol:Ht="http:";var Qt=we.indexOf("//");Qt>0?Fn=we:Qt===0?Fn=Ht+we:Fn="https://www.geogebra.org/apps/5.2.814.0/";for(var Ut in Qe)if(we.slice(Qe[Ut].length*-1)===Qe[Ut]||we.slice((Qe[Ut].length+1)*-1)===Qe[Ut]+"/"){st(Fn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Nt&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!Te(te.showToolBar)&&!Te(te.showMenuBar)&&!Te(te.showAlgebraInput)&&!Te(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Fn+="webSimple/":Fn+="web3d/",st(Fn,!1)},st=function(tt,at){if(tt.requirejs){rt=tt;return}tt.slice(-1)!=="/"&&(tt+="/"),rt=tt,at===null&&(at=tt.indexOf("http")===-1),Ae=at,Se="web.nocache.js",Ne=!1;var Nt=rt.split("/");Nt.length>1&&(!at&&Nt[Nt.length-2]==="webSimple"?(Se="webSimple.nocache.js",Ne=!0):Qe.indexOf(Nt[Nt.length-2])>=0&&(Se=Nt[Nt.length-2]+".nocache.js")),Nt=tt.split("/"),we=Nt[Nt.length-3],we.substr(0,4)==="test"?we=we.substr(4,1)+"."+we.substr(5,1):(we.substr(0,3)==="war"||we.substr(0,4)==="beta")&&(we="5.0");var on=parseFloat(we);on!==NaN&&on<5&&tt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+on+" is deprecated. Using version latest instead."),Me("5.0",at))},zt=function(tt,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(tt)};te.material_id!==void 0?Le(ut):ut();function ut(){var tt=kt;Ee!==null?tt=Ee:parseFloat(tt)<5&&(tt="5.0"),Me(tt,!1),fe!==null&&st(fe,Ae),xe=!0}return tn},GGBAppletUtils=function(){"use strict";function tn(){return window.GGBT_wsf_edit!==void 0}function kt(xe,Ee){Ee!=1?(xe.style.transformOrigin="0% 0% 0px",xe.style.webkitTransformOrigin="0% 0% 0px",xe.style.transform="scale("+Ee+","+Ee+")",xe.style.webkitTransform="scale("+Ee+","+Ee+")",xe.style.maxWidth="initial",xe.querySelector(".ggb_preview")!==null&&(xe.querySelector(".ggb_preview").style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),xe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(xe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(xe.style.transform="none",xe.style.webkitTransform="none")}function te(xe,Ee,fe,be,Fe,He){var rt=null;if(He!=null&&He!="")for(var Ae=xe.parentNode;Ae!=null;)if((" "+Ae.className+" ").indexOf(" "+He+" ")>-1){rt=Ae;break}else Ae=Ae.parentNode;var ge=0,we=0,Se=0,Ne=0,ke=0,Ye=0,et=0;if(rt)ge=rt.offsetWidth,we=Math.max(be?rt.offsetWidth:0,rt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ge=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),Se=ge):(ge=window.innerWidth,we=window.innerHeight,Se=window.innerWidth),xe){var Ke=xe.getBoundingClientRect();Ke.left>0&&Ke.left<=ge&&(Fe===void 0||!Fe)&&(document.dir==="rtl"?(ke=ge-Ke.width-Ke.left,Ye=Se<=480?10:30):(Ye=Ke.left,ke=Se<=480?10:30),Ne=Ye+ke)}if(xe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Oe=xe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne=40,et=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ne=0,et=40)}}return xe&&((fe===void 0||!fe)&&Ee>0&&Ee+Ne<ge?ge=Ee:ge-=Ne,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe===void 0||!fe)&&(we-=et)),{width:ge,height:we}}function ee(xe,Ee,fe,be,Fe){if(xe.isScreenshoGenerator)return 1;var He=be!==void 0&&be,rt=xe.noScaleMargin!=null&&xe.noScaleMargin,Ae=function(Oe){return Oe&&Oe!=="false"},ge=Ae(xe.autoHeight),we=te(Ee,xe.width,fe,ge,He&&window.GGBT_wsf_view||rt,Fe),Se=parseInt(we.width),Ne=xe.width,ke=xe.height;if(Ne===void 0){var Ye=Ee.querySelector(".appletParameters");Ye&&(Ne=Ye.offsetWidth,ke=Ye.offsetHeight)}var et=Se/Ne,Ke=He?1:we.height/ke;return fe!==void 0&&!fe&&(et=Math.min(1,et),Ke=Math.min(1,Ke)),Math.min(et,Ke)}function de(xe,Ee,fe){var be=1,Fe,He=!1;if(xe.hasOwnProperty("allowUpscale")&&(He=xe.allowUpscale),xe.hasOwnProperty("scale")&&(be=parseFloat(xe.scale),(isNaN(be)||be===null||be===0)&&(be=1),be>1&&(He=!0)),Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(He=!0),!(xe.hasOwnProperty("disableAutoScale")&&xe.disableAutoScale))Fe=ee(xe,Ee,He,fe,xe.scaleContainerClass);else return be;return He&&(!xe.hasOwnProperty("scale")||be===1)?Fe:Math.min(be,Fe)}function Ce(xe){var Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),fe=Math.min(window.innerHeight,document.documentElement.clientHeight),be=xe.getBoundingClientRect(),Fe=(Ee-be.width)/2,He=(fe-be.height)/2;He<0&&(He=0),xe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Fe<40?xe.style.left="40px":xe.style.left=Fe+"px",xe.style.top=He+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He<40?xe.style.top="40px":xe.style.top=He+"px",xe.style.left=Fe+"px")}function We(xe,Ee){var fe=xe.querySelector(".appletParameters");if(fe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ee.id!==fe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(xe)}if(fe.parentElement&&/fullscreen/.test(fe.parentElement.className))return;var be=de(Ee,xe);tn()&&fe.setAttribute("data-param-scale",be);for(var Fe=null,He=0;He<xe.childNodes.length;He++)if(xe.childNodes[He].className!==void 0&&xe.childNodes[He].className.match(/^applet_scaler/)){Fe=xe.childNodes[He];break}if(Fe!==null&&Fe.querySelector(".noscale")!==null)return;var rt=Ee.id!==void 0?Ee.id:"ggbApplet",Ae=window[rt];(Ae==null||!Ae.recalculateEnvironments)&&Fe!==null&&!Fe.className.match(/fullscreen/)&&(Fe.parentNode.style.transform="",!isNaN(be)&&be!==1?(Fe.parentNode.style.width=Ee.width*be+"px",Fe.parentNode.style.height=Ee.height*be+"px",kt(Fe,be)):(kt(Fe,1),Fe.parentNode.style.width=Ee.width+"px",Fe.parentNode.style.height=Ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ce(xe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(fe).parents(".content-added-content"))}}return{responsiveResize:We,isFlexibleWorksheetEditor:tn,positionCenter:Ce,getScale:de,scaleElement:kt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var tn=n.location.search;return tn.indexOf(J)!=-1||tn.indexOf(K)!=-1}function q(tn,kt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(tn){var kt=s[L].bindings;s[L].bindings=function(){for(var te=kt?kt():{},ee=tn[webModule.__softPermutationId],de=O;de<ee.length;de++){var Ce=ee[de];te[Ce[O]]=Ce[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var tn=o.createElement(Q);if(tn.id=L,tn.style.cssText=R+S,tn.tabIndex=-1,o.body.appendChild(tn),t=tn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var kt=document.compatMode==U?V:W;t.write(kt+X),t.close()}}}function w(tn){function kt(ee){function de(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ce=de();if(Ce){ee();return}function We(){if(!Ce){if(!de())return;Ce=!0,ee(),o.removeEventListener&&o.removeEventListener(Z,We,!1),xe&&clearInterval(xe)}}o.addEventListener&&o.addEventListener(Z,We,!1);var xe=setInterval(function(){We()},$)}function te(ee){var de=u(),Ce=de.body,We=de.createElement(_);We.language=ab,We.crossOrigin=W,We.src=ee,webModule.__errFn&&(We.onerror=function(){webModule.__errFn(L,new Error(bb+ee))}),Ce.appendChild(We)}kt(function(){te(tn)})}webModule.__startLoadingFragment=function(tn){return C(tn)},webModule.__installRunAsyncCode=function(tn){var kt=u(),te=kt.body,ee=kt.createElement(_);ee.language=ab,ee.text=tn,te.appendChild(ee),te.removeChild(ee)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(tn){var kt=c[tn];return kt==null?null:kt},r=d,webModule.__errFn=e}function B(){function tn(xe){var Ee=xe.lastIndexOf(rb);Ee==-1&&(Ee=xe.length);var fe=xe.indexOf(sb);fe==-1&&(fe=xe.length);var be=xe.lastIndexOf(tb,Math.min(fe,Ee));return be>=O?xe.substring(O,be+P):W}function kt(xe){if(!xe.match(/^\w+:\/\//)){var Ee=o.createElement(ub);Ee.src=xe+vb,xe=tn(Ee.src)}return xe}function te(){var xe=__gwt_getMetaProperty(wb);return xe!=null?xe:W}function ee(){for(var xe=o.getElementsByTagName(_),Ee=O;Ee<xe.length;++Ee)if(xe[Ee].src.indexOf(xb)!=-1)return tn(xe[Ee].src);return W}function de(){var xe=o.getElementsByTagName(yb);return xe.length>O?xe[xe.length-P].href:W}function Ce(){var xe=o.location;return xe.href==xe.protocol+zb+xe.host+xe.pathname+xe.search+xe.hash}var We=te();return We==W&&(We=ee()),We==W&&(We=de()),We==W&&Ce()&&(We=tn(o.location.href)),We=kt(We),We}function C(tn){return tn.match(/^\//)||tn.match(/^[a-zA-Z]+:\/\//)?tn:webModule.__moduleBase+tn}function D(){var tn=[],kt=O,te=[],ee=[];function de(xe){var Ee=ee[xe](),fe=te[xe];if(Ee in fe)return Ee;var be=[];for(var Fe in fe)be[fe[Fe]]=Fe;throw r&&r(xe,be,Ee),null}if(__gwt_isKnownPropertyValue=function(xe,Ee){return Ee in te[xe]},webModule.__getPropMap=function(){var xe={};for(var Ee in te)te.hasOwnProperty(Ee)&&(xe[Ee]=de(Ee));return xe},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var We=Ce.indexOf(Db);We!=-1&&(kt=parseInt(Ce.substring(We+P),$),Ce=Ce.substring(O,We))}catch(xe){}return webModule.__softPermutationId=kt,C(Ce+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})()},79090:function(tn,kt,te){"use strict";te.d(kt,{Ax:function(){return We},Ds:function(){return xe},KI:function(){return fe},SI:function(){return Ce},f1:function(){return de}});var ee=te(6521);function de(be){let Fe=!0;if(be.length>0){for(let He=0;He<be.length;He++)if(be[He].compile_success==0||!be[He].compile_success){Fe=!1;break}}else Fe=!1;return Fe}function Ce(be,Fe=""){let He=[];for(let rt=0;rt<be.length;rt++){let Ae=be[rt],ge=Fe?`${Fe}/${Ae.name}`:`${Ae.name}`;He.push({title:Ae.name,type:Ae.type,isLeaf:Ae.type!=="tree",key:ge})}return He}function We(be,Fe,He){for(let rt=0;rt<be.length;rt++){let Ae=be[rt];if(Ae.key===Fe){Ae.children=He;break}Ae.children&&We(Ae.children,Fe,He)}return be}function xe(be,Fe,He){let rt;return function(){let Ae=this,ge=arguments,we=function(){rt=null,He||be.apply(Ae,ge)},Se=He&&!rt;clearTimeout(rt),rt=setTimeout(we,Fe),Se&&be.apply(Ae,ge)}}const Ee=!0,fe=ee.Z.API_SERVER},40929:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ge}});var ee=te(59301),de=te(8591),Ce=te(92832),We={codeBox:"codeBox___WpkVl"},xe=te(92310),Ee=te.n(xe),fe=Object.defineProperty,be=(we,Se,Ne)=>Se in we?fe(we,Se,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):we[Se]=Ne,Fe=(we,Se,Ne)=>be(we,typeof Se!="symbol"?Se+"":Se,Ne),He=(we,Se,Ne)=>new Promise((ke,Ye)=>{var et=_e=>{try{Oe(Ne.next(_e))}catch(me){Ye(me)}},Ke=_e=>{try{Oe(Ne.throw(_e))}catch(me){Ye(me)}},Oe=_e=>_e.done?ke(_e.value):Promise.resolve(_e.value).then(et,Ke);Oe((Ne=Ne.apply(we,Se)).next())});class rt extends ee.Component{constructor(Se){super(Se),Fe(this,"canvas"),Fe(this,"randomNum",(Ne,ke)=>Math.floor(Math.random()*(ke-Ne)+Ne)),Fe(this,"drawPic",()=>{this.randomCode()}),Fe(this,"reloadPic",()=>{this.drawPic()}),Fe(this,"changeCode",Ne=>{console.log(Ne.target.value,222),this.setState({value:Ne.target.value,showError:!1})}),Fe(this,"onVerify",()=>{let Ne;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(Ne=!0,de.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(Ne=!0,de.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(Ne=!1),this.setState({showError:Ne}),Ne}),this.canvas=ee.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(Se,Ne){const ke=this.randomNum(Se,Ne),Ye=this.randomNum(Se,Ne),et=this.randomNum(Se,Ne);return`rgb(${ke}, ${Ye}, ${et})`}drawText(Se,Ne,ke){Se.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const Ye=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);Se.font=Ye+"px SimHei";const et=10,Ke=(this.state.contentWidth-40)/(this.state.code.length-1);let Oe=et;ke>0&&(Oe=et+ke*Ke);let _e=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);Ye>40&&(_e=40);const me=this.randomNum(-10,10);Se.translate(Oe,_e),Se.rotate(me*Math.PI/180),Se.fillText(Ne,0,0),Se.rotate(-me*Math.PI/180),Se.translate(-Oe,-_e)}drawLine(Se){for(let Ne=0;Ne<1;Ne++)Se.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),Se.beginPath(),Se.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),Se.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),Se.stroke()}drawDot(Se){for(let Ne=0;Ne<100;Ne++)Se.fillStyle=this.randomColor(0,255),Se.beginPath(),Se.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),Se.fill()}randomCode(){let Se="";const Ne="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let ke=0;ke<this.state.codeLength;ke++){const Ye=Math.floor(Math.random()*57);Se+=Ne[Ye]}this.setState({code:Se},()=>{const Ye=this.canvas.current.getContext("2d");Ye.textBaseline="bottom",Ye.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),Ye.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let et=0;et<this.state.code.length;et++)this.drawText(Ye,this.state.code[et],et);this.drawLine(Ye),this.drawDot(Ye)})}render(){const{className:Se,width:Ne=300}=this.props;return ee.createElement("div",{className:Ee()(We.codeBox,Se),style:{width:Ne}},ee.createElement("aside",null,ee.createElement(Ce.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),ee.createElement("div",null,ee.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),ee.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const Ae=(we,Se)=>{let Ne;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,Se),React.createElement(rt,{ref:ke=>Ne=ke})),onOk:()=>He(void 0,null,function*(){if(Ne.onVerify())return Promise.reject();we()})})};var ge=rt},50151:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ee}});var ee=te(60324),de={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Ce=te(32637),We=te(59301),Ee=({type:fe,style:be})=>{const Fe=We.createElement("div",{className:de.wrap,onClick:He=>{He.preventDefault(),He.stopPropagation()}},We.createElement("p",null,fe==="shixun"||fe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",We.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",fe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),We.createElement("div",{className:de.contact},We.createElement("div",{className:de.img},We.createElement("img",{src:Ce,width:"124px",height:"124px"})),We.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return We.createElement(ee.Z,{content:Fe},We.createElement("span",{className:de.text,style:be},"\u9AD8\u6D88\u8017"))}},15868:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return rt}});var ee=te(59301),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ce=te(92310),We=te.n(Ce),xe=te(71418),Ee=te(2859),fe=te(79769),be=te(25544),Fe=(Ae,ge,we)=>new Promise((Se,Ne)=>{var ke=Ke=>{try{et(we.next(Ke))}catch(Oe){Ne(Oe)}},Ye=Ke=>{try{et(we.throw(Ke))}catch(Oe){Ne(Oe)}},et=Ke=>Ke.done?Se(Ke.value):Promise.resolve(Ke.value).then(ke,Ye);et((we=we.apply(Ae,ge)).next())}),rt=({data:Ae,className:ge,fullWidth:we,style:Se={},onClose:Ne,onOk:ke,showFullTools:Ye,noAssociationId:et})=>{const Ke=(0,ee.useRef)(null),Oe=(0,ee.useRef)(null),_e=(0,ee.useRef)(null),me=(0,ee.useRef)(null),[Re,Le]=(0,ee.useState)(!1),[Pe,De]=(0,ee.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ee.useEffect)(()=>{_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),Ae!=null&&Ae.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",Ae!=null&&Ae.src&&ze()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null))},[Ae==null?void 0:Ae.visible]);const ze=()=>Fe(void 0,null,function*(){Le(!0),De("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ot=yield(0,be.ZJ)(Ae==null?void 0:Ae.src);Ke.current.src="",Ke.current.src=ot,Ke.current.onload=function(){vt()},Le(!1),De("")}),Te=()=>{document.body.removeAttribute("data-custom"),_e.current.innerHTML=" ",Ne()},xt=ot=>Fe(void 0,null,function*(){Le(!0),De("\u6B63\u5728\u4FDD\u5B58\u4E2D");const mt=yield(0,fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ae.title,file:ot.dataUrl}});mt!=null&&mt.id&&!et?(yield(0,fe.ZP)(`/api/attachments/${Ae.id}/add_subitem.json`,{method:"post",body:{subitem_id:mt==null?void 0:mt.id,settings:JSON.stringify(ot.state)}})).status===0&&ke():mt!=null&&mt.id&&ke(mt),document.body.removeAttribute("data-custom"),_e.current.innerHTML=" ",Le(!1),De("")}),Ze=()=>{const ot=document.querySelector('a[href="https://markerjs.com/"]');ot&&ot.parentNode&&(ot.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(Lt=>{const It=document.querySelector(Lt.name);It&&It.setAttribute("title",Lt.title)})},vt=()=>{Oe.current=new Ee.hP(Ke.current),Oe.current.targetRoot=me.current,Oe.current.addEventListener("render",xt),Oe.current.addEventListener("beforeclose",Te),Ye&&(Oe.current.availableMarkerTypes=Oe.current.ALL_MARKER_TYPES,Oe.current.uiStyleSettings.redoButtonVisible=!0,Oe.current.uiStyleSettings.notesButtonVisible=!0,Oe.current.uiStyleSettings.zoomButtonVisible=!0,Oe.current.uiStyleSettings.zoomOutButtonVisible=!0,Oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Oe.current.uiStyleSettings,Oe.current.show(),Ae!=null&&Ae.snapshotData&&Oe.current.restoreState(Ae.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ze()},300)};return ee.createElement(ee.Fragment,null,(Ae==null?void 0:Ae.visible)&&ee.createElement(xe.Z,{spinning:Re,tip:Pe,style:{position:"absolute"}},ee.createElement("div",{ref:me,className:We()(de.imageDimensions,ge,we?de.fullWidth:""),style:Se},ee.createElement("img",{className:de.img,ref:Ke}))))}},3315:function(tn,kt,te){"use strict";var ee=te(59301),de=te(95237),Ce=te(43604),We=te(99313),xe=te(3113),Ee=te(39655),fe=te(18760),be=te(48136),Fe=te(59301);const He=(0,ee.forwardRef)(({callback:rt,showSaveButton:Ae,value:ge=""},we)=>{const Se=(0,ee.useRef)(),Ne=[{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 "}]}]}],ke=[{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}`}]}]}],Ye=Oe=>{Se.current.setValue(Se.current.getValue()+" "+Oe.value+" ")},et=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Fe.createElement(de.Z,{className:fe.Z.lists,gutter:[10,10]},Ne.map((Oe,_e)=>Fe.createElement(Ce.Z,{flex:"110px",className:fe.Z.item},Fe.createElement("div",null,Fe.createElement(Ee.Z,{value:`$$${Oe.value}$$`}),Oe.name),Fe.createElement("div",{className:fe.Z.children},Oe.children.map((me,Re)=>Fe.createElement("div",{key:Re},Fe.createElement("h1",null,me.name),Fe.createElement(de.Z,{gutter:[10,10]},me.data.map((Le,Pe)=>Fe.createElement(Ce.Z,{key:Pe,onClick:()=>Ye(Le),className:fe.Z.diamond},Fe.createElement(Ee.Z,{value:"`$$"+Le.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Fe.createElement(de.Z,{className:fe.Z.lists,gutter:[10,10]},ke.map((Oe,_e)=>Fe.createElement(Ce.Z,{flex:"110px",className:fe.Z.item},Fe.createElement("div",null,Fe.createElement(Ee.Z,{value:"`$$"+Oe.value+"$$`"}),Oe.name),Fe.createElement("div",{className:fe.Z.children},Oe.children.map((me,Re)=>Fe.createElement("div",{key:Re},me.name&&Fe.createElement("h1",null,me.name),Fe.createElement(de.Z,{gutter:[10,10]},me.data.map((Le,Pe)=>Fe.createElement(Ce.Z,{key:Pe,onClick:()=>Ye(Le),className:fe.Z.diamond},Fe.createElement(Ee.Z,{value:"`$$"+Le.value+"$$`"}))))))))))}],Ke=()=>{var Oe=document.createElement("div");Oe.innerHTML=Se.current.getValue();var _e=Oe.innerText;return rt&&rt(_e),_e};return(0,ee.useImperativeHandle)(we,()=>({getData:Ke})),Fe.createElement("div",{className:fe.Z.mathWrap},Fe.createElement(We.default,{defaultActiveKey:"1",items:et}),Fe.createElement("math-field",{locale:"zh_cn",className:fe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Se,style:{width:800,marginTop:30,fontSize:18}},ge||""),Ae&&Fe.createElement("div",{className:fe.Z.button},Fe.createElement(xe.ZP,{size:"large",onClick:Ke,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});kt.Z=He},78707:function(tn,kt,te){"use strict";te.d(kt,{Q:function(){return Ee}});var ee=te(59301),de=te(57809),Ce=te(5112),We=te(5871),xe=te(59301),Ee=(be=>(be[be.Number=1]="Number",be[be.Percent=2]="Percent",be))(Ee||{});const fe=({value:be,onChange:Fe,disabled:He,hidePercentOption:rt=!1,percentType:Ae="select"})=>{const ge=(0,ee.useMemo)(()=>rt?1:2,[rt]),[we,Se]=(0,ee.useState)(ge);console.log(we);const Ne=Ye=>be.type===1?`${Ye}\u5206`:`${Ye}%`,ke=(0,ee.useCallback)(Ye=>{if(we===1){const et=Ye.replace("\u5206","");return isNaN(parseInt(et,10))?0:et}else return Ye.replace("%","")},[we]);return(0,ee.useEffect)(()=>{Se(be.type)},[be]),xe.createElement("div",{style:{display:"flex",alignItems:"center"}},Ae=="select"&&xe.createElement(de.default,{size:"large",onChange:Ye=>{Se(Ye),Fe({type:Ye,inputValue:Ye===1?5:20})},value:we||ge,style:{width:100},options:rt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:He}),Ae=="radio"&&xe.createElement(Ce.ZP.Group,{size:"large",onChange:Ye=>{const et=Ye.target.value;Se(et),Fe({type:et,inputValue:et===1?5:20})},value:we||ge,disabled:He},!rt&&xe.createElement(Ce.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),xe.createElement(Ce.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Ae=="radio"&&xe.createElement("div",{style:{marginRight:"10px",color:"#000000"}},be.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),xe.createElement(We.Z,{size:"large",disabled:He,value:be.inputValue,style:{width:"120px"},parser:ke,addonAfter:be.type===1?"\u5206":"%",max:we===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:Ye=>{Fe({type:we,inputValue:Ye})}}),Ae=="radio"&&be.type==2&&xe.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};kt.Z=fe},83664:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Re}});var ee=te(59301),de=te(9221),Ce=Object.defineProperty,We=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,fe=(Le,Pe,De)=>Pe in Le?Ce(Le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Le[Pe]=De,be=(Le,Pe)=>{for(var De in Pe||(Pe={}))xe.call(Pe,De)&&fe(Le,De,Pe[De]);if(We)for(var De of We(Pe))Ee.call(Pe,De)&&fe(Le,De,Pe[De]);return Le},Fe=(Le,Pe)=>{var De={};for(var ze in Le)xe.call(Le,ze)&&Pe.indexOf(ze)<0&&(De[ze]=Le[ze]);if(Le!=null&&We)for(var ze of We(Le))Pe.indexOf(ze)<0&&Ee.call(Le,ze)&&(De[ze]=Le[ze]);return De};const rt={header:{cell:Le=>{var Pe=Le,{onResize:De,width:ze}=Pe,Te=Fe(Pe,["onResize","width"]);return ze?ee.createElement(de.Resizable,{width:ze,height:0,handle:ee.createElement("span",{className:"react-resizable-handle",onClick:xt=>{xt.stopPropagation()}}),onResize:De,draggableOpts:{enableUserSelectHack:!1}},ee.createElement("th",be({},Te))):ee.createElement("th",be({},Te))}}};var Ae=te(1710),ge=Object.defineProperty,we=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,et=(Le,Pe,De)=>Pe in Le?ge(Le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Le[Pe]=De,Ke=(Le,Pe)=>{for(var De in Pe||(Pe={}))ke.call(Pe,De)&&et(Le,De,Pe[De]);if(Ne)for(var De of Ne(Pe))Ye.call(Pe,De)&&et(Le,De,Pe[De]);return Le},Oe=(Le,Pe)=>we(Le,Se(Pe)),_e=(Le,Pe)=>{var De={};for(var ze in Le)ke.call(Le,ze)&&Pe.indexOf(ze)<0&&(De[ze]=Le[ze]);if(Le!=null&&Ne)for(var ze of Ne(Le))Pe.indexOf(ze)<0&&Ye.call(Le,ze)&&(De[ze]=Le[ze]);return De},Re=Le=>{var Pe=Le,{pagination:De,resColumns:ze,dataSource:Te,onRow:xt}=Pe,Ze=_e(Pe,["pagination","resColumns","dataSource","onRow"]);const[vt,ot]=(0,ee.useState)(!1),[mt,Lt]=(0,ee.useState)([{}]),It=(0,ee.useRef)(null);(0,ee.useEffect)(()=>{let Me=ze;Me=Me.map((st,zt)=>Oe(Ke({},st),{onHeaderCell:ut=>({width:ut.width,onResize:Qe(zt)})})),Lt(Me)},[]),(0,ee.useEffect)(()=>{It.current=mt},[mt]);const Qe=Me=>(st,{size:zt})=>{const ut=[...It.current];ut[Me]=Oe(Ke({},ut[Me]),{width:zt.width}),Lt(ut)};return ee.createElement("div",null,ee.createElement(Ae.default,Oe(Ke({bordered:!0,components:rt,columns:mt,dataSource:Te,pagination:De,loading:vt,onRow:xt},Ze),{rowKey:Me=>Me.key||Me.id})))}},25579:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Pe},P:function(){return me}});var ee=te(59301),de=te(78241),Ce=te(43418),We=te(5112),xe=te(92832),Ee=te(1710),fe={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},be=te(44093),Fe=Object.defineProperty,He=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Se=(De,ze,Te)=>ze in De?Fe(De,ze,{enumerable:!0,configurable:!0,writable:!0,value:Te}):De[ze]=Te,Ne=(De,ze)=>{for(var Te in ze||(ze={}))ge.call(ze,Te)&&Se(De,Te,ze[Te]);if(Ae)for(var Te of Ae(ze))we.call(ze,Te)&&Se(De,Te,ze[Te]);return De},ke=(De,ze)=>He(De,rt(ze)),Ye=(De,ze)=>{var Te={};for(var xt in De)ge.call(De,xt)&&ze.indexOf(xt)<0&&(Te[xt]=De[xt]);if(De!=null&&Ae)for(var xt of Ae(De))ze.indexOf(xt)<0&&we.call(De,xt)&&(Te[xt]=De[xt]);return Te},et=(De,ze,Te)=>new Promise((xt,Ze)=>{var vt=Lt=>{try{mt(Te.next(Lt))}catch(It){Ze(It)}},ot=Lt=>{try{mt(Te.throw(Lt))}catch(It){Ze(It)}},mt=Lt=>Lt.done?xt(Lt.value):Promise.resolve(Lt.value).then(vt,ot);mt((Te=Te.apply(De,ze)).next())});const Ke=({studentNames:De,total:ze})=>{const Te=["","\u4E00","\u4E24","\u4E09"];return ze>3?ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:fe.orangeColor},De==null?void 0:De.join("\u3001")),"\u7B49",ee.createElement("span",{className:fe.orangeColor},ze),"\u540D\u5B66\u751F"):ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:fe.orangeColor},De==null?void 0:De.join("\u3001")),Te[ze],"\u540D\u5B66\u751F")},Oe=({used:De,copy:ze,canNotCopy:Te,studentNames:xt,studentCount:Ze,inPaper:vt,is_random:ot=!1,position:mt=""})=>{const Lt=()=>{if(ze>0&&Te>0)return ee.createElement(ee.Fragment,null,"\u5176\u4E2D",ee.createElement("span",{className:fe.orangeColor},ze),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",ee.createElement("span",{className:fe.orangeColor},Te),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(ze>0&&Te===0)return ee.createElement(ee.Fragment,null,"\u5176\u4E2D",ee.createElement("span",{className:fe.orangeColor},ze),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(ze===0&&Te>0)return ee.createElement(ee.Fragment,null,"\u5176\u4E2D",ee.createElement("span",{className:fe.orangeColor},Te),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},It=mt||(vt?"\u8BD5\u5377":"\u8BFE\u7A0B");return ee.createElement("span",null,ee.createElement(Ke,{studentNames:xt,total:Ze}),"\u5B66\u4E60\u8FC7",It,"\u4E2D\u7684",ee.createElement("span",{className:fe.orangeColor},De),"\u4E2A\u9879\u76EE\uFF0C",Lt(),"\u3002\u8BF7\u9009\u62E9",ot?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},_e=({onCancel:De,onOk:ze,visible:Te,inPaper:xt,renderData:Ze,type:vt,isMultipleCourse:ot=!1})=>{const[mt]=de.default.useForm(),[Lt,It]=(0,ee.useState)(1),[Qe,Me]=(0,ee.useState)(!1),st=(0,ee.useMemo)(()=>(Ze==null?void 0:Ze.total_num)===1&&(Ze==null?void 0:Ze.can_copy_num)===1,[Ze]),zt=(0,ee.useMemo)(()=>{var ut;return(ut=Ze==null?void 0:Ze.course_data_list)==null?void 0:ut.filter(tt=>tt.is_show)},[Ze]);return ee.createElement(ee.Fragment,null,st?ee.createElement(Ce.default,{centered:!0,closable:!0,open:Te,destroyOnClose:!0,title:"\u63D0\u793A",className:fe.antdModal,width:682,confirmLoading:Qe,onCancel:De,onOk:()=>et(void 0,null,function*(){var ut;Me(!0);let tt=Lt;if(ot){const at=Ne({},mt.getFieldsValue());tt=(ut=Ze==null?void 0:Ze.course_data_list)==null?void 0:ut.map(Nt=>at[Nt.id]!==void 0?ke(Ne({},Nt),{is_copy:at[Nt.id]}):Nt)}yield ze(tt),Me(!1)})},ee.createElement("div",{className:fe.content,style:{marginBottom:20}},ot?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":ee.createElement(ee.Fragment,null,ee.createElement(Ke,{studentNames:Ze==null?void 0:Ze.student_names,total:Ze==null?void 0:Ze.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),ot?ee.createElement(de.default,{form:mt,preserve:!1},zt==null?void 0:zt.map(ut=>ee.createElement(ee.Fragment,{key:ut.id},ee.createElement("h3",{className:"ml15 mb5"},ut.name),ee.createElement(de.default.Item,{name:ut.id,initialValue:1},ee.createElement(We.ZP.Group,{className:fe.content},ee.createElement(We.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),ee.createElement(We.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):ee.createElement(We.ZP.Group,{value:Lt,onChange:ut=>It(ut.target.value),className:fe.content,style:{marginBottom:30}},ee.createElement(We.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),ee.createElement(We.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),ee.createElement("div",null,ee.createElement("div",{className:fe.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),ee.createElement("div",{className:fe.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),ee.createElement("div",{className:`${fe.content} ${fe.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):ee.createElement(Ce.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Te,confirmLoading:Qe,title:"\u63D0\u793A",width:682,onCancel:De,onOk:()=>et(void 0,null,function*(){var ut;Me(!0);let tt=0;if(ot){const at=Ne({},mt.getFieldsValue());tt=(ut=Ze==null?void 0:Ze.course_data_list)==null?void 0:ut.map(Nt=>at[Nt.id]!==void 0?ke(Ne({},Nt),{is_use:at[Nt.id]}):Nt)}yield ze(tt),Me(!1)})},ee.createElement("div",{className:fe.content},ee.createElement(Ke,{studentNames:Ze==null?void 0:Ze.student_names,total:Ze==null?void 0:Ze.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",ot?ee.createElement(de.default,{form:mt,preserve:!1},ee.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),zt==null?void 0:zt.map(ut=>ee.createElement(ee.Fragment,{key:ut.id},ee.createElement("h3",{className:"ml15 mb5"},ut.name),ee.createElement(de.default.Item,{name:ut.id,initialValue:1},ee.createElement(We.ZP.Group,{className:fe.content},ee.createElement(We.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),ee.createElement(We.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):ee.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",ee.createElement("span",{className:fe.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},me=function(){const[De,ze]=(0,ee.useState)(!1),[Te,xt]=(0,ee.useState)();return[De,()=>ze(!1),Te,ot=>et(this,null,function*(){var mt;const Lt=ot,{isImportMultipleCourse:It=!1}=Lt,Qe=Ye(Lt,["isImportMultipleCourse"]);console.log(ot);const Me=(ot==null?void 0:ot.result)||(yield(0,be.Tr)(Qe));return"status"in Me?!1:It?((mt=Me==null?void 0:Me.course_data_list)==null?void 0:mt.some(zt=>zt.is_show))?(xt(Me),ze(!0),!0):Me.course_data_list||[]:Me.student_count===0?!1:(xt(Me),ze(!0),!0)})]},Re=De=>{const[ze]=de.default.useForm(),[Te,xt]=(0,ee.useState)(!1),{onCancel:Ze,onOk:vt,visible:ot,inPaper:mt=!1,renderData:Lt,type:It,isMultipleCourse:Qe=!1,position:Me}=De;let st=(0,ee.useMemo)(()=>mt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:fe.tableCell,render(tt,at){return ee.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},tt)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(tt,at)=>ee.createElement(ee.Fragment,null,ee.createElement(de.default.Item,{name:[`${It==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],initialValue:1},ee.createElement(We.ZP.Group,null,ee.createElement(We.ZP,{value:1},"\u662F"),ee.createElement(We.ZP,{value:0},"\u5426"))),ee.createElement(de.default.Item,{name:[`${It==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],hidden:!0,initialValue:1},ee.createElement(xe.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:fe.tableCell,render(tt,at){return ee.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},tt)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(tt,at)=>ee.createElement(de.default.Item,{name:[`${It==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],initialValue:1},ee.createElement(We.ZP.Group,null,ee.createElement(We.ZP,{value:1},"\u662F"),ee.createElement(We.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(tt,at)=>ee.createElement(de.default.Item,{name:[`${It==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],initialValue:1},ee.createElement(We.ZP.Group,null,ee.createElement(We.ZP,{value:1},"\u662F"),ee.createElement(We.ZP,{value:0},"\u5426")))}],[mt]),zt=(0,ee.useMemo)(()=>mt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:fe.tableCell,align:"center",ellipsis:!0,render:(tt,at)=>ee.createElement(ee.Fragment,null,ee.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},tt),ee.createElement(de.default.Item,{name:[`${It==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],hidden:!0,initialValue:0},ee.createElement(xe.default,{type:"hidden"})),ee.createElement(de.default.Item,{name:[`${It==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],hidden:!0,initialValue:1},ee.createElement(xe.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:fe.tableCell,ellipsis:!0,align:"center",render:(tt,at)=>ee.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},tt)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(tt,at)=>ee.createElement(ee.Fragment,null,ee.createElement(de.default.Item,{name:[`${It==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],initialValue:0},ee.createElement(We.ZP.Group,null,ee.createElement(We.ZP,{value:1},"\u662F"),ee.createElement(We.ZP,{value:0},"\u5426"))),ee.createElement(de.default.Item,{name:[`${It==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],hidden:!0,initialValue:0},ee.createElement(xe.default,{type:"hidden"})))}],[mt]);if(Qe){const tt={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:fe.tableCell,render:(at,Nt)=>ee.createElement("a",{href:`/classrooms/${Nt.course_id}`},at)};st=[tt,...st],zt=[tt,...zt]}const ut=(0,ee.useMemo)(()=>Oe({used:Lt==null?void 0:Lt.repeat_shixun_num,copy:Lt==null?void 0:Lt.can_copy_num,canNotCopy:Lt==null?void 0:Lt.no_copy_num,studentNames:Lt==null?void 0:Lt.student_names,studentCount:Lt==null?void 0:Lt.student_count,is_random:Lt==null?void 0:Lt.is_random,inPaper:mt,position:Me}),[Lt,mt,Me]);return ee.createElement(Ce.default,{title:"\u63D0\u793A",centered:!0,open:ot,confirmLoading:Te,onOk:()=>et(void 0,null,function*(){xt(!0);const tt=ze.getFieldsValue(),at=Object.keys(tt).map(Nt=>({id:parseInt(Nt.split("_")[0]),course_id:parseInt(Nt.split("_")[1]),is_use:tt[Nt].is_use,is_copy:tt[Nt].is_copy}));yield vt(at),xt(!1)}),onCancel:Ze,width:880,okText:"\u786E\u8BA4",className:fe.antdModal,destroyOnClose:!0},ee.createElement(de.default,{form:ze,preserve:!1},ee.createElement("div",{className:fe.brief},ut),ee.createElement("div",{style:{marginBottom:30}},ee.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),ee.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),ee.createElement("div",{className:fe.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(Lt==null?void 0:Lt.can_copy_num)>0&&ee.createElement("div",null,ee.createElement("div",{className:fe.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),ee.createElement(Ee.default,{columns:st,className:fe.antdTable,dataSource:Lt==null?void 0:Lt.can_copy_list,rowKey:It==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(Lt==null?void 0:Lt.no_copy_num)>0&&ee.createElement("div",null,ee.createElement("div",{className:fe.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),ee.createElement(Ee.default,{columns:zt,className:fe.antdTable,dataSource:Lt==null?void 0:Lt.no_copy_list,rowKey:It==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(Lt==null?void 0:Lt.no_use_list.length)>0&&(Lt==null?void 0:Lt.no_use_list.map(tt=>ee.createElement("div",{key:It==="subject"?tt.stage_shixun_id:tt.shixun_course_id||tt.id},ee.createElement(de.default.Item,{name:[`${It==="subject"?tt==null?void 0:tt.stage_shixun_id:tt.shixun_course_id||tt.id}`,"is_copy"],hidden:!0,initialValue:0},ee.createElement(xe.default,{type:"hidden"})),ee.createElement(de.default.Item,{name:[`${It==="subject"?tt==null?void 0:tt.stage_shixun_id:tt.shixun_course_id||tt.id}`,"is_use"],hidden:!0,initialValue:1},ee.createElement(xe.default,{type:"hidden"})))))))};var Pe=De=>{const{modalType:ze}=De;return ze==="multiple"?ee.createElement(Re,Ne({},De)):ee.createElement(_e,Ne({},De))}},77754:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(59301),de={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"},Ce=te(43418),We="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",xe="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=(Fe,He,rt)=>new Promise((Ae,ge)=>{var we=ke=>{try{Ne(rt.next(ke))}catch(Ye){ge(Ye)}},Se=ke=>{try{Ne(rt.throw(ke))}catch(Ye){ge(Ye)}},Ne=ke=>ke.done?Ae(ke.value):Promise.resolve(ke.value).then(we,Se);Ne((rt=rt.apply(Fe,He)).next())}),be=({type:Fe,resdata:He,onok:rt,oktext:Ae,okloading:ge})=>{const[we,Se]=(0,ee.useState)(!1),{can_copy_list:Ne,can_copy_num:ke,challenge_type:Ye,course_data_list:et,no_copy_list:Ke,no_copy_num:Oe,no_use_list:_e,no_use_num:me,repeat_shixun_num:Re,student_count:Le,total_num:Pe,use_num:De}=He;let ze=ke>0||Fe==="exercise";(0,ee.useEffect)(()=>{(He==null?void 0:He.student_count)>0&&Se(!0)},[He]),console.log("---11",ge),(0,ee.useEffect)(()=>{ge||Se(!1)},[ge]);const Te=()=>{if(Fe==="exercise"&&Ye===1)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ee.createElement("span",{className:de.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ee.createElement("span",{className:de.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(Fe==="exercise"&&Ye===2)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ee.createElement("span",{className:de.orangeColor},De),"\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",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="shixun"&&Ye===1)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="shixun"&&Ye===2)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\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",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="subject"&&Ye===1)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ee.createElement("span",{className:de.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="subject"&&Ye===2)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ee.createElement("span",{className:de.orangeColor},Le)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ee.createElement("span",{className:de.orangeColor},De)," \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",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="exercisepush")return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ee.createElement("span",{className:de.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ee.createElement("span",{className:de.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(Fe==="shixunpush"&&Ye===1)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ee.createElement("span",{className:de.orangeColor},De),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Fe==="shixunpush"&&Ye===2)return ee.createElement(ee.Fragment,null,"\u8BFE\u5802\u5185\u6709",ee.createElement("span",{className:de.orangeColor},Le),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ee.createElement("span",{className:de.orangeColor},De),"\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",ee.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},xt=()=>{if(Fe==="exercise"||Fe==="subject"||Fe==="exercisepush"||Fe==="shixunpush")return ee.createElement("div",{style:{marginTop:20}},Oe>0&&ee.createElement("div",null,ee.createElement("span",{className:de.flex},ee.createElement("img",{src:xe,style:{width:14}}),ee.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ee.createElement("div",{className:de.statusbody},Fe==="exercise"&&ee.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ee.createElement("span",{className:de.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"),(Fe==="subject"||Fe==="exercisepush")&&ee.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&ee.createElement("span",{className:de.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"),Fe==="shixunpush"&&ee.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&ee.createElement("span",{className:de.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"),ee.createElement("div",null,Ke==null?void 0:Ke.map((Ze,vt)=>ee.createElement("a",{href:`/shixuns/${Ze.identifier}/challenges`,target:"_blank"},"\u300A",Ze==null?void 0:Ze.name,"\u300B",vt+1!==Oe&&"\u3001"))))),ke>0&&ee.createElement("div",{style:{marginTop:20}},ee.createElement("span",{className:de.flex},ee.createElement("img",{src:We,style:{width:14}}),ee.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ee.createElement("div",{className:de.statusbody},Fe==="exercise"&&ee.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"),(Fe==="subject"||Fe==="exercisepush")&&ee.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"),Fe==="shixunpush"&&ee.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"),ee.createElement("div",null,Ne==null?void 0:Ne.map((Ze,vt)=>ee.createElement("a",{href:`/shixuns/${Ze.identifier}/challenges`,target:"_blank"},"\u300A",Ze==null?void 0:Ze.name,"\u300B",vt+1!==ke&&"\u3001"))))));if(Fe==="shixun")return ee.createElement("div",{style:{marginTop:20}},ke>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 ee.createElement(Ce.default,{open:we,onCancel:()=>{Se(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ze&&"none"}},zIndex:1003,confirmLoading:ge,okText:ze?Ae:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ee(void 0,null,function*(){ze?yield rt([...Ne,..._e]):Se(!1)})},ee.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Te(),xt()))}},85809:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return xe}});var ee=te(59301),de={flex_box_center:"flex_box_center___sOi51",flex_space_between:"flex_space_between___pl96A",flex_box_vertical_center:"flex_box_vertical_center___LVWaS",flex_box_center_end:"flex_box_center_end___bFW2z",flex_box_column:"flex_box_column___Iuosg",disabled:"disabled___kyQ47"},Ce=te(6848),xe=({children:Ee,tips:fe,title:be,style:Fe})=>{const He=be||ee.createElement("div",null,ee.createElement("div",null,"\u63D0\u793A\uFF1A"),ee.createElement("div",null,"\u672C\u573A\u8003\u8BD5\u5DF2\u5F00\u542F\u96C6\u4E2D\u9605\u5377\uFF0C\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\u8BC4\u5B9A\uFF0C\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C\u3002"),ee.createElement("div",null,"\uFF08\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03\uFF09"));return Ee&&fe?ee.createElement(Ce.Z,{overlayStyle:{maxWidth:"initial"},title:He},ee.createElement("span",{className:de.disabled,style:Fe},Ee)):Ee&&!fe?ee.createElement(ee.Fragment,null,Ee):ee.createElement(ee.Fragment,null)}},36671:function(tn,kt,te){"use strict";var ee=te(59301),de=te(43418),Ce=te(1710);const We=({dataSource:xe,visible:Ee,onClose:fe=()=>{},onSuccess:be=()=>{},text:Fe,okText:He})=>{var rt;return ee.createElement(de.default,{centered:!0,destroyOnClose:!0,open:!!Ee,title:"\u63D0\u793A",width:"600px",okText:He,cancelText:"\u53D6\u6D88",onCancel:fe,onOk:be},Ee==="single"&&ee.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",ee.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(rt=xe==null?void 0:xe[0])==null?void 0:rt.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",Fe),Ee==="multiple"&&ee.createElement(ee.Fragment,null,ee.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",Fe),ee.createElement(Ce.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:xe,scroll:(xe==null?void 0:xe.length)>7?{y:300}:{},pagination:!1})))};kt.Z=We},67831:function(tn,kt,te){"use strict";te.d(kt,{h:function(){return Oe}});var ee=te(59301),de=te(57809),Ce=te(78241),We=te(3113),xe=te(89780),Ee=te.n(xe),fe=te(14618),be=te(66552),Fe=Object.defineProperty,He=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Se=(_e,me,Re)=>me in _e?Fe(_e,me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):_e[me]=Re,Ne=(_e,me)=>{for(var Re in me||(me={}))ge.call(me,Re)&&Se(_e,Re,me[Re]);if(Ae)for(var Re of Ae(me))we.call(me,Re)&&Se(_e,Re,me[Re]);return _e},ke=(_e,me)=>He(_e,rt(me));const Ye=de.default.Option,et={labelCol:{span:4},wrapperCol:{span:20}},Ke={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"]};kt.Z=({callback:_e,onCancel:me})=>{const[Re,Le]=(0,ee.useState)("python");function Pe(ze){Le(Ke[ze][1])}function De(ze){_e(ze)}return ee.createElement(Ce.default,ke(Ne({},et),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,style:{width:500}}),ee.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(de.default,{getPopupContainer:ze=>ze.parentNode,onChange:Pe},Object.keys(Ke).map(ze=>ee.createElement(Ye,{key:ze,value:ze},Ke[ze][0])))),ee.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(Oe,{mode:Re})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(We.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(We.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function Oe({value:_e,onChange:me,mode:Re,options:Le={}}){const Pe=(0,ee.useRef)(),[De,ze]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(De){let Te=function(xt){const Ze=xt.getValue();me&&me(Ze)};return De.on("change",Te),()=>{De.off("change",Te)}}},[De,me]),(0,ee.useEffect)(()=>{De&&De.setOption("mode",Re)},[De,Re]),(0,ee.useEffect)(()=>{De&&(_e!==De.getValue()||_e==="")&&setTimeout(()=>{De.setValue(_e||"")},300)},[De,_e]),(0,ee.useEffect)(()=>{if(Pe.current&&!De){const Te=Ee().fromTextArea(Pe.current,Ne({mode:Re,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Le));ze(Te)}},[Pe.current,De]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:Pe}))}},40973:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ei}});var ee=te(59301),de=te(89780),Ce=te.n(de),We=te(76374),xe=te(14618),Ee=te(6313),fe=te(25717),be=te(99498),Fe=te(25419),He=te(67549),rt=te(39655),Ae=({value:Hr="",className:fi,showTextOnly:Pr,showLines:dr,style:oi={}})=>{const $t=(0,ee.useMemo)(()=>"",[Hr]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:$t}}))},ge=te(59301),we=Object.defineProperty,Se=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Ke=(Hr,fi,Pr)=>fi in Hr?we(Hr,fi,{enumerable:!0,configurable:!0,writable:!0,value:Pr}):Hr[fi]=Pr,Oe=(Hr,fi)=>{for(var Pr in fi||(fi={}))Ye.call(fi,Pr)&&Ke(Hr,Pr,fi[Pr]);if(ke)for(var Pr of ke(fi))et.call(fi,Pr)&&Ke(Hr,Pr,fi[Pr]);return Hr},_e=(Hr,fi)=>Se(Hr,Ne(fi));let me=[{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 Re({onActionCallback:Hr,title:fi,icon:Pr,actionName:dr,className:oi="",children:$t}){function pt(){Hr(dr)}return ge.createElement("a",{title:fi,className:oi,onClick:pt},ge.createElement("i",{className:`${Pr}`}),$t)}var Le=({watch:Hr,showNullButton:fi,showNullProgramButton:Pr,onActionCallback:dr,fullScreen:oi,insertTemp:$t,hidetoolBar:pt,extraUse:Bt})=>{const At=[...me,{title:`${Hr?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Hr?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ge.createElement("ul",{className:"markdown-toolbar-container"},!pt&&At.map((Ct,Gt)=>ge.createElement("li",{key:Gt},Ct.actionName?ge.createElement(Re,_e(Oe({},Ct),{onActionCallback:dr})):ge.createElement("span",{className:"v-line"}))),fi?ge.createElement("li",null,ge.createElement(Re,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:dr},ge.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Pr?ge.createElement(ge.Fragment,null,ge.createElement("li",null,ge.createElement(Re,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:dr},ge.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ge.createElement("li",null,ge.createElement(Re,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:dr},ge.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$t&&ge.createElement("li",null,ge.createElement(Re,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$t}`,onActionCallback:dr},ge.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Bt&&ge.createElement("li",null,Bt),ge.createElement("li",{className:"btn-full-screen"},ge.createElement(Re,{icon:`${oi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:oi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:dr})))},Pe=te(53531),De=te(78241),ze=te(92832),Te=te(3113),xt=Object.defineProperty,Ze=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,It=(Hr,fi,Pr)=>fi in Hr?xt(Hr,fi,{enumerable:!0,configurable:!0,writable:!0,value:Pr}):Hr[fi]=Pr,Qe=(Hr,fi)=>{for(var Pr in fi||(fi={}))mt.call(fi,Pr)&&It(Hr,Pr,fi[Pr]);if(ot)for(var Pr of ot(fi))Lt.call(fi,Pr)&&It(Hr,Pr,fi[Pr]);return Hr},Me=(Hr,fi)=>Ze(Hr,vt(fi));const st={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:Hr,onCancel:fi})=>{function Pr(dr){Hr(dr)}return ee.createElement(De.default,Me(Qe({},st),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Pr,style:{width:500}}),ee.createElement(De.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(ze.default,null)),ee.createElement(De.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(ze.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Te.ZP,{type:"ghost",onClick:fi},"\u53D6\u6D88")))},ut=te(67831),tt=te(58448),at=te(43418),Nt=te(95237),on=te(15868),Ht=te(59301),Fn=({callback:Hr,onCancel:fi})=>{const Pr=document.createElement("canvas"),dr=Pr.getContext("2d");Pr.width=1e3,Pr.height=800,dr.fillStyle="#ffffff",dr.fillRect(0,0,Pr.width,Pr.height);const oi=Pr.toDataURL("image/png");return Ht.createElement(at.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ht.createElement(Nt.Z,{style:{height:"100vh"}},Ht.createElement(on.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:oi,visible:!0,title:String(Date.now())},onOk:$t=>{Hr({src:$t.url})},onClose:fi})))},Qt=te(8591),Ut=te(43428),Wt=te(43604),Ie={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},he=te(59301),ve=(0,ee.forwardRef)(({onCancel:Hr,editImgId:fi,callback:Pr},dr)=>{let oi=(0,ee.useRef)(),$t=(0,ee.useRef)(),pt=(0,ee.useRef)(),Bt=(0,ee.useRef)(!1);const At=(0,ee.useRef)(!1);console.log("ref:",dr);const[Ct,Gt]=(0,ee.useState)(0),[nn,_n]=(0,ee.useState)("100vh");(0,ee.useEffect)(()=>{Gt(1);try{indexedDB.databases().then(rr=>{rr.forEach(gr=>indexedDB.deleteDatabase(gr.name))})}catch(rr){}},[]),(0,ee.useEffect)(()=>(window.addEventListener("message",Sn),()=>{window.removeEventListener("message",Sn)}),[]),(0,ee.useImperativeHandle)(dr,()=>({setHeight:_n}));const Pn=rr=>{window.saveDrawData(gr=>{if(gr===null&&!rr){Qt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Qt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Pr({src:`/api/attachments/${gr}`,id:gr,disabledClose:!0})})},Sn=rr=>{var gr;((gr=rr==null?void 0:rr.data)==null?void 0:gr.type)==="closePop"&&Pn(!0)};return he.createElement("div",{ref:At,className:"body-overflow-initial"},he.createElement(Ut.Z,{width:"100vw",height:nn,footer:null,closable:!0,placement:"bottom",open:!!Ct,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ie.drawerWrap}`,onClose:()=>{window.saveDrawData(rr=>{Pr({src:`/api/attachments/${rr}`,id:rr})})},title:he.createElement(Nt.Z,{align:"middle"},he.createElement(Wt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(Wt.Z,{onClick:()=>{_n(nn==="60px"?"100vh":"60px")}},he.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),he.createElement(Wt.Z,{onClick:Pn},he.createElement(Te.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},he.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${fi||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:$t})))}),ye=te(6521),se=te(5112),$e=te(5871);const wt=se.ZP.Group,lt={margin:"0 8px"};var Je=({callback:Hr,onCancel:fi})=>{function Pr(dr){Hr(dr)}return ee.createElement(De.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Pr},ee.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ee.createElement("span",{style:lt},"\u5355\u5143\u683C\u6570\uFF1A"),ee.createElement("span",{style:lt},"\u884C\u6570"),ee.createElement(De.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ee.createElement($e.Z,null)),ee.createElement("span",{style:lt},"\u5217\u6570"),ee.createElement(De.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ee.createElement($e.Z,null))),ee.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ee.createElement("span",{style:lt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ee.createElement(De.default.Item,{name:"align"},ee.createElement(wt,null,ee.createElement(se.ZP,{value:"default"},ee.createElement("i",{className:"fa fa-align-justify"})),ee.createElement(se.ZP,{value:"left"},ee.createElement("i",{className:"fa fa-align-left"})),ee.createElement(se.ZP,{value:"center"},ee.createElement("i",{className:"fa fa-align-center"})),ee.createElement(se.ZP,{value:"right"},ee.createElement("i",{className:"fa fa-align-right"}))))),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Te.ZP,{type:"ghost",onClick:fi},"\u53D6\u6D88")))},Pt=te(78673),Dt=te(3352),yt=te.n(Dt),En=(0,ee.forwardRef)(({use3d:Hr,width:fi,height:Pr,callback:dr,showSaveButton:oi},$t)=>{const pt=(0,ee.useRef)(),Bt=(0,ee.useRef)(),[At,Ct]=(0,ee.useState)(!1),Gt=(0,ee.useRef)({id:pt,appName:"graphing",width:fi||1e3,height:Pr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ee.useEffect)(()=>{Bt.current=new(yt())(Gt.current,!0),window.onload=function(){Bt.current.inject("applet_container")}},[]);const nn=()=>{var _n=window.ggbApplet.getPNGBase64(1,!0,72);return dr&&dr(_n),_n};return(0,ee.useEffect)(()=>{Gt.current.appName=At?"3D":"graphing",Bt.current.inject("applet_container")},[At]),(0,ee.useEffect)(()=>{Ct(Hr)},[Hr]),(0,ee.useImperativeHandle)($t,()=>({getImgData:nn})),ee.createElement(ee.Fragment,null,ee.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:pt}),ee.createElement(Nt.Z,{align:"middle"},ee.createElement(Wt.Z,{flex:1},ee.createElement(Pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:At,onChange:_n=>Ct(_n)})),ee.createElement(Wt.Z,null,ee.createElement(Te.ZP,{size:"large",onClick:nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),_t=te(3315),Yt=te(1012);const wn="link",Ft="upload-image",it="add-flowchart",Et="draw-image",an="add-flowchart",un="code-block",vn="add-table",gn="------------",Xn={default:gn,left:`:${gn}`,center:`:${gn}:`,right:`${gn}:`};var ir=te(57649),Dr=(Hr,fi,Pr)=>new Promise((dr,oi)=>{var $t=At=>{try{Bt(Pr.next(At))}catch(Ct){oi(Ct)}},pt=At=>{try{Bt(Pr.throw(At))}catch(Ct){oi(Ct)}},Bt=At=>At.done?dr(At.value):Promise.resolve(At.value).then($t,pt);Bt((Pr=Pr.apply(Hr,fi)).next())});function kr(){}let Bn=0;const jr=1e4,ci="\u2581",_r="@\u2581\u2581@",Nr="@\u2581@",ai=`
|
|
|
**\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`,pi=["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 Mn(Hr){return/^\d+$/.test(Hr)?`${Hr}px`:Hr}const Rr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Gr={[Rr+"-B"]:"bold",[Rr+"-I"]:"italic"},zr={[wn]:"\u6DFB\u52A0\u94FE\u63A5",[un]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ft]:"\u6DFB\u52A0\u56FE\u7247",[Et]:"\u6DFB\u52A0\u753B\u56FE",[it]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[vn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ei=({defaultValue:Hr="",onChange:fi,width:Pr="100%",height:dr=400,miniToolbar:oi=!1,isFocus:$t=!1,watch:pt,insertTemp:Bt,mode:At="markdown",id:Ct="markdown-editor-id",showResizeBar:Gt=!1,noStorage:nn=!1,showNullButton:_n=!1,showNullProgramButton:Pn=!1,hidetoolBar:Sn=!1,fullScreen:rr=!1,onBlur:gr,onCMBeforeChange:Cr,onFullScreen:bn,className:$n="",disablePaste:Jt=!1,disabled:pn=!1,disabledFill:An=!1,placeholder:dn="",values:Hn="",extraUse:ln,onAddBlank:jn})=>{const[Mt,cn]=(0,ee.useState)(null),[hn,In]=(0,ee.useState)(Hr),[Ln,Un]=(0,ee.useState)(pt),[Gn,cr]=(0,ee.useState)(rr),[Sr,Wr]=(0,ee.useState)(""),[gi,ki]=(0,ee.useState)(0),[si,wi]=(0,ee.useState)(dr),[Qr,Gi]=(0,ee.useState)(!1),Hi=(0,ee.useRef)((0,Yt.Z)()),$i=(0,ee.useRef)(!1),Ai=(0,ee.useRef)(),[li,Qi]=(0,ee.useState)(0),[Pi,xa]=(0,ee.useState)(0),lo=(0,ee.useRef)(),Vi=(0,ee.useRef)(),Or=(0,ee.useRef)(),Lr=(0,ee.useRef)(),ia=(0,ee.useRef)(),Zi=(0,ee.useRef)(),ma=()=>Dr(void 0,null,function*(){var _i;const Li=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Hi.current}});(_i=Li==null?void 0:Li.attachments)!=null&&_i.length&&(console.log("cm:",Mt,lo),Li.attachments.map(Mi=>{Mi.content_type.indexOf("image")>-1?Mt.replaceSelection(``):Mi.content_type.indexOf("video")>-1?Mt.replaceSelection(`<video width="100%" controls src="${ye.Z.API_SERVER}/api/attachments/${data.id}"></video>`):Mi.content_type.indexOf("pdf")>-1?Mt.replaceSelection(`<a href="${ye.Z.API_SERVER}/api/attachments/${Mi.id}?type=${Mi.content_type}&disposition=inline" target="_blank">${Mi.name}</a>`):Mt.replaceSelection(`[${Mi.name}](${ye.Z.API_SERVER}/api/attachments/${Mi.id}?type=${Mi.content_type})`)}))});(0,ee.useEffect)(()=>{const _i=window.scrollY||window.pageYOffset;In(Hn),Mt==null||Mt.setValue(Hn),window.scrollTo(0,_i)},[Hn]),(0,ee.useEffect)(()=>{bn==null||bn(Gn)},[Gn]),(0,ee.useEffect)(()=>{if(lo.current){let _i=function(Mi,ea){var mo;if(Jt){ea.preventDefault();return}const Vo=ea.clipboardData;if(Vo){const qo=Vo.types.toString(),Uo=Vo.items;if(qo==="Files"||Vo.types.indexOf("Files")>-1){if(ea.preventDefault(),At=="stex")return;try{let Co=Uo[1];((mo=Uo[0])==null?void 0:mo.kind)==="file"&&(Co=Uo[0]);const ul=Co.getAsFile(),Wl=ul.name.split(".").pop();(0,tt.I)(ul,Il=>{var ms,Qa,la;Il.id?((ms=ul==null?void 0:ul.type)==null?void 0:ms.indexOf("image"))>-1?Li.replaceSelection(`<img width="100%" src="/api/attachments/${Il.id}?type=${Il.content_type})" alt="" />`):((Qa=ul==null?void 0:ul.type)==null?void 0:Qa.indexOf("video"))>-1?Li.replaceSelection(`<video width="100%" controls src="/api/attachments/${Il.id}"></video>`):((la=ul==null?void 0:ul.type)==null?void 0:la.indexOf("pdf"))>-1?Li.replaceSelection(`<a href="/api/attachments/${Il.id}?type=${ul.type}&disposition=inline" target="_blank">${ul.name}</a>`):pi.includes(Wl)?Li.replaceSelection(`<a href="/api/attachments/${Il.id}?type=office&disposition=inline" target="_blank">${ul.name}</a>`):Li.replaceSelection(`[${ul.name}](/api/attachments/${Il.id}?type=${Il.content_type})`):(Il==null?void 0:Il.status)===401&&(Qt.ZP.warning((Il==null?void 0:Il.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Co){Qt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Li=Ce().fromTextArea(lo.current,{mode:At,lineNumbers:!oi,lineWrapping:!0,value:Hr,autoCloseTags:!Pn,autoCloseBrackets:!0});return Li.on("keyup",function(Mi,ea){ea.keyCode===8&&(Mi.getValue()==""?Li.setOption("placeholder",dn):Li.setOption("placeholder",null))}),Li.on("keydown",function(Mi,ea){if(ea.keyCode===8){var mo=ha(Mi);mo&&ea.preventDefault()}}),$t&&Li.focus(),Li.on("paste",_i),Li.on("dragleave",function(Mi,ea){Vi.current.classList.remove("mouse-hover-md")}),pn&&Li.on("beforeChange",function(Mi,ea){(ea.origin==="paste"||ea.origin==="+input")&&ea.cancel()}),cn(Li),()=>{Li.off("paste",_i)}}},[]);const pa=(0,ee.useCallback)(()=>{if(Vi.current)try{}catch(_i){console.log(_i,"---- to set md editor body height")}},[si,Vi,Gn]);(0,ee.useEffect)(()=>{function _i(){let Li=new We.Z(Mi=>{for(let ea of Mi)(ea.target.offsetHeight>0||ea.target.offsetWidth>0)&&(pa(),Mt.setSize("100%","100%"),Mt.refresh())});return Li.observe(lo.current.parentElement),Li}if(Mt){const Li=_i();return()=>{var Mi,ea;(Mi=lo.current)!=null&&Mi.parentElement&&Li.unobserve((ea=lo.current)==null?void 0:ea.parentElement)}}},[Mt,pa]),(0,ee.useEffect)(()=>{if(Mt){let _i=[];for(const[Li,Mi]of Object.entries(Gr)){let ea={[Li]:()=>{qi(Mi)}};_i.push(ea),Mt.addKeyMap(ea)}return Ai.current=setInterval(()=>{$i.current&&ma()},4e3),()=>{clearInterval(Ai.current);for(let Li of _i)Mt.removeKeyMap(Li)}}},[Mt]),(0,ee.useEffect)(()=>{rr!==Gn&&cr(rr)},[rr]),(0,ir.Z)(()=>{if(!nn&&gi>0){let _i=new Date().getTime(),Li=window.sessionStorage.getItem(Ct);_i>=gi+jr&&(!Li||Li!==hn)&&(window.sessionStorage.setItem(Ct,hn),Gi(!0))}},jr),(0,ee.useEffect)(()=>{Un(pt)},[Mt,pt]),(0,ee.useEffect)(()=>{Mt&&$t&&Mt.focus()},[Mt,$t]),(0,ee.useEffect)(()=>{if(Ln&&Mt){let _i=function(Mi){let ea=Mi.target;if(Lr.current){let mo=ea.scrollTop/ea.scrollHeight;Lr.current.scrollTop=Lr.current.scrollHeight*mo}};const Li=Mt.getScrollerElement();return Li.addEventListener("scroll",_i),()=>{Li.removeEventListener("scroll",_i)}}},[Mt,Ln]),(0,ee.useEffect)(()=>{if(Mt&&Cr){let _i=function(Li,Mi){Cr(Li,Mi)};return Mt.on("beforeChange",_i),()=>{Mt.off("beforeChange",_i)}}},[Mt,Cr]),(0,ee.useEffect)(()=>{if(Mt&&gr){let _i=function(){gr(Mt.getValue())};return Mt.on("blur",_i),()=>{Mt.off("blur",_i)}}},[Mt,gr]);function ha(_i,Li){var Mi=_i.getDoc(),ea=Mi.getCursor(),mo=Mi.getLine(ea.line),Vo=mo.charAt(ea.ch-1),qo=mo.lastIndexOf("@\u2581@",ea.ch),Uo=mo.lastIndexOf("@\u2581\u2581@",ea.ch),Co=qo>Uo?qo:Uo,ul=qo>Uo?3:4;if(_r.indexOf(Vo)===-1)return null;if(console.log("change1:",Li,_i,mo,ea,Co,qo,Uo,Vo),Co>=0&&ea.ch-Co<5){var Wl=Co+ul;return Mi.replaceRange("",{line:ea.line,ch:Co},{line:ea.line,ch:Wl}),{line:ea.line,ch:Wl}}return null}(0,ee.useEffect)(()=>{if(Mt){let _i=function(Li,Mi){const ea=Li.getValue();In(ea),ki(new Date().getTime()),Li.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),fi&&(Pn?fi(ea,Zo(ea)):fi(ea))};return Mt.on("change",_i),()=>{Mt.off("change",_i)}}},[Mt,fi]),(0,ee.useEffect)(()=>{if(Mt)if(Hr==null)Mt.setValue(""),In("");else{const _i=window.scrollY||window.pageYOffset;Hr!==Mt.getValue()&&(Mt.setValue(Hr),In(Hr),Mt.setCursor(pn?1:Mt.lineCount(),0),window.scrollTo(0,_i))}},[Mt,Hr]);const qi=(0,ee.useCallback)(_i=>{const Li=Mt.getCursor(),Mi=Mt.getSelection();let ea=Mi.split(`
|
|
|
`);switch(_i){case"bold":return Mt.replaceSelection("**"+Mi+"**"),Mi===""&&Mt.setCursor(Li.line,Li.ch+2),Mt.focus();case"italic":return Mt.replaceSelection("*"+Mi+"*"),Mi===""&&Mt.setCursor(Li.line,Li.ch+1),Mt.focus();case"code":return Mt.replaceSelection("`"+Mi+"`"),Mi===""&&Mt.setCursor(Li.line,Li.ch+1),Mt.focus();case"inline-latex":return Wr("inline-latex"),Mt.focus();case"latex":return Mt.replaceSelection("```latex\n"+Mi+"\n```"),Mt.setCursor(Li.line+1,Mi.length+1),Mt.focus();case"line-break":return Mt.replaceSelection(`<br/>
|
|
|
`),Mt.focus();case"list-ul":return Mi===""?Mt.replaceSelection("- "+Mi):Mt.replaceSelection(ea.map(mo=>mo===""?"":`- ${mo}`).join(`
|
|
|
`)),Mt.focus();case"list-ol":return Mi===""?Mt.replaceSelection("1. "+Mi):Mt.replaceSelection(ea.map((mo,Vo)=>mo===""?"":`${Vo+1}. ${mo}`).join(`
|
|
|
`)),Mt.focus();case"add-null-ch":jn==null||jn();return;case"add-signal":return Mi===""&&Mt.setCursor(Li.line,Li.ch),Mt.replaceSelection(Nr),Mt.focus();case"add-multiple":return Mi===""&&Mt.setCursor(Li.line,Li.ch),Mt.replaceSelection(_r),Mt.focus();case"inster-template-1":return Mi===""&&Mt.setCursor(Li.line,Li.ch),Mt.replaceSelection(ai),Mt.focus();case"eraser":return Mt.setValue(""),Mt.focus();case"trigger-watch":return Un(!Ln),Mt.focus();case"trigger-full-screen":return cr(!Gn),Mt.focus();case wn:Wr(wn);return;case un:Wr(un);return;case Ft:Wr(Ft);return;case Et:Wr(Et);return;case"maths-latex":Wr("maths-latex");return;case it:ia.current="",sessionStorage.removeItem("file_id"),Wr(it);return;case vn:Wr(vn);return;default:throw new Error}},[Mt,Ln,Gn]),aa=(0,ee.useCallback)((_i,Li)=>{var Mi,ea,mo,Vo,qo,Uo;Wr("");const{src:Co,alt:ul,id:Wl}=_i||{};switch(Sr){case wn:const{title:cl,link:To}=_i;return Mt.replaceSelection(`[${cl}](${To})`),Mt.focus();case un:const{language:Go,content:nr}=_i;return Mt.replaceSelection(["```"+Go,nr,"```"].join(`
|
|
|
`)),Mt.focus();case"maths-latex":for(var Il=atob(_i),ms=new Uint8Array(Il.length),Qa=0;Qa<Il.length;Qa++)ms[Qa]=Il.charCodeAt(Qa);var la=new Blob([ms],{type:"image/png"});(0,tt.I)(la,Bi=>{Bi.id?Mt.replaceSelection(``):(Bi==null?void 0:Bi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Mt.replaceSelection("`$$"+_i+"$$`");break;case an:if(!Wl)return;Mt.focus(),Mt.getValue().indexOf(Co)===-1?Mt.replaceSelection(`<center><img id="${Wl}" width="80%" src="${Co}" class="draw-flowchart" alt="${ul||""}" /></center>`):document.getElementById(Wl).src=ye.Z.API_SERVER+Co+"?t="+Date.now();try{setTimeout(()=>{gr(Mt.getValue())},100)}catch(Bi){}break;case Ft:case Et:const Qn=Li,Zn=(mo=(ea=(Mi=Qn==null?void 0:Qn.name)==null?void 0:Mi.split("."))==null?void 0:ea.pop)==null?void 0:mo.call(ea);return((Vo=Qn==null?void 0:Qn.type)==null?void 0:Vo.indexOf("image"))>-1||!(Qn!=null&&Qn.type)?Qn!=null&&Qn.align||Qn!=null&&Qn.width?Mt.replaceSelection(`<p style="text-align:${Qn.align||"initial"}"><img width="${Qn.width?Qn.width+"%":"initial"}" src="${Co}" alt="${ul||""}" /></p>`):Mt.replaceSelection(`<img width="100%" src="${Co}" alt="${ul||""}" />`):((qo=Qn==null?void 0:Qn.type)==null?void 0:qo.indexOf("video"))>-1?Mt.replaceSelection(`<video width="100%" controls src="${Co}"></video>`):((Uo=Qn==null?void 0:Qn.type)==null?void 0:Uo.indexOf("pdf"))>-1?Mt.replaceSelection(`<a href="${Co}?type=${Qn.type}&disposition=inline" target="_blank">${Qn.name}</a>`):pi.includes(Zn)?Mt.replaceSelection(`<a href="${Co}?type=office&disposition=inline" target="_blank">${Qn.name}</a>`):Mt.replaceSelection(`[${Qn.name}](${Co})`),Mt.focus();case vn:const{row:xr,col:ni,align:ti}=_i;let yr=`
|
|
|
`;for(let Bi=0;Bi<xr;Bi++){let ga=[],Ka=[];for(let va=0;va<ni;va++)Bi===1&&Ka.push(Xn[ti]),ga.push(" ");Bi===1&&(yr+=`| ${Ka.join(" | ")} |
|
|
|
`),yr+=`| ${ga.join(ni===1?"":" | ")} |
|
|
|
`}return Mt.replaceSelection(yr+`
|
|
|
`),Mt.focus();default:throw new Error}},[Mt,Sr]),Ao=(0,ee.useMemo)(()=>{switch(Sr){case wn:return ee.createElement(zt,{callback:aa,onCancel:Di});case un:return ee.createElement(ut.Z,{callback:aa,onCancel:Di});case Ft:return ee.createElement(tt.Z,{callback:aa,onCancel:Di});case it:return ee.createElement(ve,{editImgId:ia.current,callback:aa,onCancel:Di});case vn:return ee.createElement(Je,{callback:aa,onCancel:Di});case"maths-latex":return ee.createElement(En,{showSaveButton:!0,callback:aa});case"inline-latex":return ee.createElement(_t.Z,{showSaveButton:!0,callback:aa});default:return null}},[Sr]);function Di(){Wr("")}(0,ee.useEffect)(()=>{if(Or.current){let _i=function(qo){mo=!0,Vo=qo.pageY},Li=function(){mo=!1},Mi=function(qo){if(mo){let Uo=qo.pageY-Vo;Uo<0&&(Uo=0),Uo>300&&(Uo=300);let Co=dr+Uo+"px";wi(Co)}},ea=Or.current,mo=!1,Vo=0;return ea.addEventListener("mousedown",_i),document.addEventListener("mousemove",Mi),document.addEventListener("mouseup",Li),()=>{ea.removeEventListener("mousedown",_i),document.removeEventListener("mousemove",Mi),document.removeEventListener("mouseup",Li)}}},[Mt,Or]),(0,ee.useEffect)(()=>{wi(dr)},[dr]);const Ti=Mn(Pr),Ea=Mn(si),_a={width:Ti,height:Ea},jo=(0,ee.useMemo)(()=>{if(gi){let _i=new Date(gi),Li=_i.getHours(),Mi=_i.getMinutes(),ea=_i.getSeconds();return Li=Li<10?"0"+Li:Li,Mi=Mi<10?"0"+Mi:Mi,ea=ea<10?"0"+ea:ea,`${Li}:${Mi}:${ea}`}return 0},[gi]),Zo=_i=>{const Li=[];if(Pn){let Mi=-1;_i=_i.replace(/(@▁▁@|@▁@)/g,function(ea,mo,Vo){Li.push({multiLine:ea!==Nr})})}return Li};function ko(){window.sessionStorage.removeItem(Ct),Gi(!1),ki(0)}function vo(){Gi(!1),ki(0),Mt.setValue(window.sessionStorage.getItem(Ct))}(0,ee.useEffect)(()=>{zr[Sr]&&Sr!==Et&&Sr!==it&&setTimeout(()=>{const _i=document.getElementsByClassName("markdown-popup-form")[0],Li=window.innerWidth/2-_i.offsetWidth/2,Mi=window.innerHeight/2-_i.offsetHeight/2;Qi(Li),xa(Mi)},0)},[Sr]);const Ar=_i=>{_i.preventDefault();const Li=_i.clientX-li,Mi=_i.clientY-Pi;document.body.onmousemove=ea=>{let mo=ea.clientX-Li,Vo=ea.clientY-Mi;const qo=document.getElementsByClassName("markdown-popup-form")[0],Uo=window.innerWidth-qo.offsetWidth,Co=window.innerHeight-qo.offsetHeight;mo=Math.max(0,Math.min(mo,Uo)),Vo=Math.max(0,Math.min(Vo,Co)),il(ea.clientX,ea.clientY,Li,Mi)&&(Qi(mo),xa(Vo))},document.body.onmouseup=function(){document.body.onmousemove=null}},il=(_i,Li,Mi,ea)=>{const mo=document.body.clientHeight,Vo=document.body.clientWidth;return _i<20&&Mi>_i||_i>Vo-20&&Mi<_i||Li<20&&ea>Li||Li>mo-20&&ea<Li?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:"markdown-editor-wrapper",ref:Vi},ee.createElement("div",{className:`markdown-editor-container ${$n} ${Ln?"on-preview":""} ${oi?"mini":""} ${Gn?"full-screen":""}`,style:_a},ee.createElement(Le,{insertTemp:Bt,watch:Ln,fullScreen:Gn,showNullButton:_n,showNullProgramButton:Pn,onActionCallback:qi,hidetoolBar:Sn,extraUse:ln}),ee.createElement("div",{className:"markdown-editor-body"},ee.createElement("div",{className:"codemirror-container"},ee.createElement("textarea",{ref:lo,placeholder:dn})),Ln?ee.createElement("div",{ref:Lr,className:"preview-container"},At==="stex"&&ee.createElement(Ae,{value:hn}),At!=="stex"&&ee.createElement(rt.Z,{edit:!0,disabledFill:An,showProgramFill:Pn,value:hn,openEditor:_i=>{var Li;ia.current=_i,(Li=Zi.current)==null||Li.setHeight("100vh"),setTimeout(()=>{Wr("add-flowchart")},150)}})):null))),Gt?ee.createElement("a",{ref:Or,className:"editor-resize"}):null,Sr===Et&&ee.createElement(Fn,{callback:aa,onCancel:Di}),Sr===it&&ee.createElement(ve,{ref:Zi,editImgId:ia.current,callback:aa,onCancel:Di}),ee.createElement(Pe.Z,null,zr[Sr]&&Sr!==Et&&Sr!==it?ee.createElement(at.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:li,top:Pi},title:ee.createElement("div",{style:{cursor:"move"},onMouseDown:Ar},zr[Sr]),open:!0,onCancel:Di,footer:null,destroyOnClose:!0,width:Sr===it?"1200px":null,height:Sr===it?"80vh":null,className:"markdown-popup-form"},Ao):null))}},58448:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Re},I:function(){return Pe}});var ee=te(78241),de=te(8591),Ce=te(92832),We=te(81327),xe=te(5871),Ee=te(5112),fe=te(3113),be=te(79090),Fe=te(59301),He=te(7544),rt=te(59301),Ae=Object.defineProperty,ge=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ye=(De,ze,Te)=>ze in De?Ae(De,ze,{enumerable:!0,configurable:!0,writable:!0,value:Te}):De[ze]=Te,et=(De,ze)=>{for(var Te in ze||(ze={}))Ne.call(ze,Te)&&Ye(De,Te,ze[Te]);if(Se)for(var Te of Se(ze))ke.call(ze,Te)&&Ye(De,Te,ze[Te]);return De},Ke=(De,ze)=>ge(De,we(ze));const{useForm:Oe}=ee.default,_e={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var Re=({callback:De,onCancel:ze})=>{const[Te]=Oe();let xt=(0,Fe.useRef)();function Ze(mt){xt.current.width=Te.getFieldValue("width"),xt.current.align=Te.getFieldValue("align"),De(mt,xt.current)}function vt(mt,Lt){if(mt.status===-1){de.ZP.error(mt.message);return}Te.setFieldsValue({src:`/api/attachments/${mt.id}`,type:Lt.type})}function ot(mt){let Lt=mt.target.files[0];xt.current=Lt,Pe(Lt,vt)}return rt.createElement(ee.default,Ke(et({form:Te},me),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),rt.createElement(ee.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},rt.createElement("div",{className:"flex-container"},rt.createElement(ee.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},rt.createElement(Ce.default,{style:_e})),rt.createElement(Le,{onFileChange:ot}))),rt.createElement(ee.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},rt.createElement(Ce.default,{style:{width:264}})),rt.createElement(ee.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},rt.createElement(We.Z,null,rt.createElement(ee.default.Item,{name:"width",style:{margin:0}},rt.createElement(xe.Z,{style:{width:264}})),rt.createElement("span",{className:"ml8"},"%"))),rt.createElement(ee.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},rt.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"}]})),rt.createElement("aside",null,rt.createElement(ee.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},rt.createElement(fe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),rt.createElement(fe.ZP,{type:"default",onClick:ze},"\u53D6\u6D88"))))};function Le({onFileChange:De}){return rt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",rt.createElement("input",{type:"file",onChange:De}))}function Pe(De,ze){if(!De)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,He.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Te=new FormData;Te.append("editormd-image-file",De),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var xt=new window.XMLHttpRequest;xt.withCredentials=!0,xt.addEventListener("load",function(Ze){ze(JSON.parse(Ze.target.responseText),De)},!1),xt.addEventListener("error",function(Ze){console.error(Ze)},!1),xt.open("POST",`${be.KI}/api/attachments.json`),xt.send(Te)}},53531:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ce}});var ee=te(59301),de=te(4676);class Ce extends ee.Component{constructor(xe){super(xe);const Ee=window.document;this.node=Ee.createElement("div"),Ee.body.appendChild(this.node)}render(){const{children:xe}=this.props;return(0,de.createPortal)(xe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},26073:function(tn,kt,te){"use strict";te.d(kt,{i:function(){return me},Z:function(){return Le}});var ee={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"},de=te(71418),Ce=te(6848),We=te(93948),xe=te(92310),Ee=te.n(xe),fe=te(25544),be=te(18540),Fe=te(7544),He=te(79005),rt=te(20345),Ae=te(77882),ge=te(31081),we=te(75309),Se=te(71979),Ne=te(47558),ke=te(42922),Ye=te(66832),et=te(96593),Ke=te(19664),Oe=te(91833),_e=te(59301);const me=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:He,swimg:rt},{name:"101\u8BA1\u5212",ptimg:Ae,swimg:ge},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:we,swimg:Se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ne,swimg:ke},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ye,swimg:et},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Ke,swimg:Oe}];var Le=({className:Pe,dataSource:De=[],col:ze=4,right:Te,bottom:xt=23,precision:Ze=0,wrapWidth:vt=1200,trackEventItems:ot,loading:mt,onRemove:Lt=()=>{},isCurrent:It=!0,showAlias:Qe=!1,showProgress:Me=!1})=>{const st=Math.floor((vt-(ze-1)*Te)/ze),zt=[{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(ut=>(window.ENV==="build"&&(ut.ptimg=`/react/build${ut.ptimg}`,ut.swimg=`/react/build${ut.swimg}`),ut));return _e.createElement(de.Z,{spinning:mt},_e.createElement("div",{className:Ee()(ee.list,Pe)},!!(De!=null&&De.length)&&(De==null?void 0:De.map((ut,tt)=>{var at,Nt,on,Ht,Fn,Qt;const{name:Ut,id:Wt,identifier:Ie,featured:he,school_name:ue,image_url:ve,excellent:ye,is_plan:se}=ut;return _e.createElement("div",{key:Wt,className:It&&Me?ee.wrapisCurrent:ee.wrap,style:{width:st,marginRight:(1+tt)%ze===0?0:Te+Ze,marginBottom:xt}},_e.createElement("a",{className:ee.li,onClick:$e=>{$e.preventDefault(),$e.stopPropagation(),ot&&(0,fe.L9)([ot]),(0,fe.xg)(`/paths/${Ie}`)}},_e.createElement("div",{className:ee.img},_e.createElement("img",{className:ee.cover,src:`${ve}`}),It&&(0,Fe.bg)()&&(ut==null?void 0:ut.studying)&&_e.createElement("div",{className:`${ee.movebq} user-path-items`,onClick:$e=>{$e.stopPropagation(),Lt(ut)}},_e.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),_e.createElement("span",{className:"c-red"},"\u79FB\u9664")),(at=ut==null?void 0:ut.subject_tags)==null?void 0:at.map(($e,wt)=>{var lt,Je;if(wt===0){const Dt=(lt=zt.find(yt=>yt.name==$e))==null?void 0:lt.swimg;return _e.createElement("img",{className:ee.sign,src:Dt,style:{left:"-4px"}})}const Pt=(Je=zt.find(Dt=>Dt.name==$e))==null?void 0:Je.ptimg;return _e.createElement("img",{className:ee.sign,src:Pt,style:{left:`${48+52*(wt-1)+2*wt}px`}})}),_e.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ut==null?void 0:ut.excellent)&&_e.createElement("div",{className:ee.bq},"\u5F00\u653E\u8BFE\u7A0B"))),_e.createElement("div",{className:ee.name},_e.createElement(Ce.Z,{title:Qe&&(ut!=null&&ut.excellent_alias_name)?_e.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ut}`,_e.createElement("br",null),_e.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ut==null?void 0:ut.excellent_alias_name}`)):Ut},_e.createElement("span",{className:ee.e},Qe&&(ut==null?void 0:ut.excellent_alias_name)||Ut))),It&&Me&&((Nt=ut==null?void 0:ut.progress)==null?void 0:Nt.all_score)!=0&&_e.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},_e.createElement(We.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((on=ut==null?void 0:ut.progress)==null?void 0:on.my_score)/((Ht=ut==null?void 0:ut.progress)==null?void 0:Ht.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Fn=ut==null?void 0:ut.progress)==null?void 0:Fn.my_score,"/",(Qt=ut==null?void 0:ut.progress)==null?void 0:Qt.all_score),(!It||!Me)&&_e.createElement("div",{className:ee.tags},_e.createElement("div",null,_e.createElement(Ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},_e.createElement("span",null,_e.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),_e.createElement("span",null,ut.stages_count))),_e.createElement(Ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},_e.createElement("span",null,_e.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),_e.createElement("span",null,ut.members_count)))))))})),!De.length&&_e.createElement(be.Z,null)))}},23579:function(tn,kt,te){"use strict";te.d(kt,{jL:function(){return xe},w9:function(){return zr},vv:function(){return pt},dN:function(){return Pr},QD:function(){return Qi},cQ:function(){return wt.Z},vg:function(){return pi},Oz:function(){return Bn},op:function(){return Qr},O5:function(){return Zo},_b:function(){return Lr},t7:function(){return xt},tT:function(){return ot},Gi:function(){return bn},YG:function(){return Gt},Ed:function(){return gr},kT:function(){return Pn},qp:function(){return ke},Um:function(){return me},K3:function(){return Ke},vr:function(){return lo},qE:function(){return $i},Je:function(){return It},wb:function(){return Qt},rC:function(){return $e},lB:function(){return Ie},cq:function(){return Hn},kO:function(){return cn},tp:function(){return Pe},Si:function(){return Ar},k8:function(){return Go},Du:function(){return qo}});var ee=te(59301),de={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"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx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iGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",xe=({dataSource:nr=[],img:Qn,imgWidth:Zn=346,title:xr,sunTitle:ni,bannerExtraContent:ti})=>ee.createElement("div",{className:de.banner},ee.createElement("div",{className:de.content},ee.createElement("aside",null,ee.createElement("p",null,ee.createElement("b",null,xr),ee.createElement("span",null,ni)),nr.length>0&&ee.createElement("div",{className:de.btns},nr.map((yr,Bi)=>ee.createElement("div",{key:Bi,onClick:yr.click},yr.name,yr.sign?ee.createElement("img",{src:Ce,width:39}):null))),ti),Qn&&ee.createElement("img",{style:{marginTop:33,marginRight:38},src:Qn,width:Zn}))),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"},fe=te(92310),be=te.n(fe),Fe=te(78267),He=Object.defineProperty,rt=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,we=(nr,Qn,Zn)=>Qn in nr?He(nr,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Zn}):nr[Qn]=Zn,Se=(nr,Qn)=>{for(var Zn in Qn||(Qn={}))Ae.call(Qn,Zn)&&we(nr,Zn,Qn[Zn]);if(rt)for(var Zn of rt(Qn))ge.call(Qn,Zn)&&we(nr,Zn,Qn[Zn]);return nr},ke=({dataSource:nr=[],value:Qn,onChange:Zn,onTitleChange:xr,className:ni,title:ti,titleWidth:yr=41,style:Bi={},fontColor:ga="#6A7283",showCount:Ka,classNameActive:va,styleItem:bi={}})=>{const[ta,Xr]=(0,ee.useState)(0),[Lo,Aa]=(0,ee.useState)(!1),Fa=(0,ee.useRef)(null),yo=(0,ee.useRef)(null);return(0,ee.useEffect)(()=>{var tl;nr.length!==0&&(((tl=Fa==null?void 0:Fa.current)==null?void 0:tl.clientHeight)>97?Xr(1):Xr(0)),nr.length===0&&Xr(0),Aa(!1)},[nr]),ee.createElement("div",{className:be()(Ee.row,ni),style:Bi},ee.createElement("div",{onClick:(0,Fe.throttle)(()=>xr==null?void 0:xr(),2e3),style:{width:yr,marginTop:Lo?12:4},className:`${Ee.title} ${xr?"current":""}`},ti),ee.createElement("div",{className:Lo?`${Ee.tagsWrap} ${Ee.tagsBorderWrap}`:Ee.tagsWrap},ee.createElement("div",{className:Ee.bar,ref:yo,style:ta>0?{height:ta===1?97:"auto",overflow:ta===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ee.createElement("div",{className:Ee.tag,ref:Fa},nr==null?void 0:nr.map(tl=>ee.createElement("span",{onClick:()=>Zn(tl.id),key:tl.id,style:Se(Se({color:ga},bi),(tl==null?void 0:tl.style)||{}),className:Qn===tl.id?be()(va||Ee.active,tl.classNameActive):""},ee.createElement("span",{title:tl.name,className:Ee.name},tl.name),!!Ka&&ee.createElement("span",{className:Ee.num},tl.count))))),!!ta&&ee.createElement(ee.Fragment,null,ta===1?ee.createElement("div",{onClick:()=>{var tl;Xr(2),((tl=Fa==null?void 0:Fa.current)==null?void 0:tl.clientHeight)>245?Aa(!0):Aa(!1)},className:Ee.action},"\u5C55\u5F00",ee.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ee.createElement("div",{onClick:()=>{yo.current.scrollTop=0,Xr(1),Aa(!1)},className:Ee.action},"\u6536\u8D77",ee.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ye={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"},Ke=({dataSource:nr=[],value:Qn,onChange:Zn,onTitleChange:xr,className:ni,title:ti,titleWidth:yr=41,style:Bi={},fontColor:ga="#6A7283",showCount:Ka,expand:va=!0})=>{const[bi,ta]=(0,ee.useState)(0),[Xr,Lo]=(0,ee.useState)(!1),Aa=(0,ee.useRef)(null),Fa=(0,ee.useRef)(null),[yo,tl]=(0,ee.useState)(va);return ee.createElement("div",{className:be()(Ye.row,ni),style:Bi},ee.createElement("div",{className:"flex item-center justify-between"},ee.createElement("div",{onClick:(0,Fe.throttle)(()=>xr==null?void 0:xr(),2e3),style:{width:yr,marginTop:Xr?12:4},className:`${Ye.title} ${xr?"current":""}`},ti),ee.createElement("i",{className:`iconfont ${yo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:yo?8:10},onClick:()=>tl(!yo)})),yo&&ee.createElement("div",{className:Xr?`${Ye.tagsWrap} ${Ye.tagsBorderWrap}`:Ye.tagsWrap},ee.createElement("div",{className:Ye.fenge}),ee.createElement("div",{className:Ye.bar,ref:Fa},ee.createElement("div",{className:Ye.tag,ref:Aa},nr==null?void 0:nr.map(xl=>ee.createElement("span",{onClick:()=>Zn(xl.id),key:xl.id,style:{color:ga},className:Qn===xl.id?Ye.active:""},ee.createElement("span",{title:xl.name,className:Ye.name},xl.name),!!Ka&&ee.createElement("span",{className:Ye.num},xl.count)))))))},Oe={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"},me=({dataSource:nr=[],value:Qn,onChange:Zn,onTitleChange:xr,className:ni,title:ti,titleWidth:yr=41,style:Bi={},fontColor:ga="#fff",showCount:Ka,expand:va=!0})=>{const[bi,ta]=(0,ee.useState)(0),[Xr,Lo]=(0,ee.useState)(!1),Aa=(0,ee.useRef)(null),Fa=(0,ee.useRef)(null),[yo,tl]=(0,ee.useState)(va);return ee.createElement("div",{className:be()(Oe.row,ni),style:Bi},ee.createElement("div",{className:"flex item-center justify-between"},ee.createElement("div",{onClick:(0,Fe.throttle)(()=>xr==null?void 0:xr(),2e3),style:{width:yr},className:`${Oe.title} ${xr?"current":""}`},ti),ee.createElement("i",{className:`iconfont ${yo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:yo?"#00DDC7":"#037F74",fontSize:yo?10:12},onClick:()=>tl(!yo)})),yo&&ee.createElement("div",{className:Xr?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},ee.createElement("div",{className:Oe.bar,ref:Fa},ee.createElement("div",{className:Oe.tag,ref:Aa},nr==null?void 0:nr.map(xl=>ee.createElement("span",{onClick:()=>Zn(xl.id),key:xl.id,style:{color:ga},className:Qn===xl.id?Oe.active:""},ee.createElement("span",{title:xl.name,className:Oe.name},xl.name),!!Ka&&ee.createElement("span",{className:Oe.num},xl.count)))))))},Re={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"},Pe=({dataSource:nr=[],value:Qn,onChange:Zn,className:xr,style:ni={}})=>ee.createElement("div",{style:ni,className:be()(Re.tabs,xr)},nr.map(ti=>ee.createElement("span",{onClick:()=>Zn(ti.id),className:Qn===ti.id?Re.active:"",key:ti.id},ti.name))),De={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"},ze=te(92832),xt=({dataSource:nr=[],value:Qn="",onChange:Zn,onInputChange:xr=()=>{},className:ni,style:ti={},placeholder:yr,allowClear:Bi=!1})=>{var ga;const[Ka,va]=(0,ee.useState)(""),[bi,ta]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var Aa;let Fa=Qn;(Aa=JSON.stringify(Qn))!=null&&Aa.includes("{")&&(va(Qn.id),Fa=Qn.value||"");try{ta(decodeURIComponent(Fa||""))}catch(yo){ta(decodeURIComponent(Fa||""))}},[Qn]);const Xr=()=>{Zn(encodeURIComponent(bi),Ka||null)},Lo=Aa=>{Aa!==Ka&&(va(Aa),Zn(encodeURIComponent(bi),Aa))};return ee.createElement("div",{className:be()(De.input,ni),style:ti},!!nr.length&&ee.createElement("div",{className:De.dropdown},ee.createElement("div",{className:De.text},(ga=nr.find(Aa=>Aa.id===Ka))==null?void 0:ga.name,ee.createElement("i",{className:"iconfont icon-zhankai4"}),ee.createElement("b",{className:De.b1}),ee.createElement("b",{className:De.b2})),ee.createElement("div",{className:De.menu},nr.map((Aa,Fa)=>ee.createElement("div",{key:Fa,onClick:()=>Lo(Aa.id)},Aa.name)))),ee.createElement(ze.default,{onPressEnter:Xr,value:bi,onChange:Aa=>{ta(Aa.target.value),xr(encodeURIComponent(Aa.target.value),Ka||null)},bordered:!1,placeholder:yr}),ee.createElement("i",{onClick:Xr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Ze={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"},ot=({dataSource:nr=[],value:Qn="",onChange:Zn,onInputChange:xr=()=>{},className:ni,style:ti={},placeholder:yr,allowClear:Bi=!1})=>{var ga;const[Ka,va]=(0,ee.useState)(""),[bi,ta]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var Aa;let Fa=Qn;(Aa=JSON.stringify(Qn))!=null&&Aa.includes("{")&&(va(Qn.id),Fa=Qn.value||"");try{ta(decodeURIComponent(Fa||""))}catch(yo){ta(decodeURIComponent(Fa||""))}},[Qn]);const Xr=()=>{Zn(encodeURIComponent(bi),Ka||null)},Lo=Aa=>{Aa!==Ka&&(va(Aa),Zn(encodeURIComponent(bi),Aa))};return ee.createElement("div",{className:be()(Ze.input,ni),style:ti},!!nr.length&&ee.createElement("div",{className:Ze.dropdown},ee.createElement("div",{className:Ze.text},(ga=nr.find(Aa=>Aa.id===Ka))==null?void 0:ga.name,ee.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ee.createElement("div",{className:Ze.menu},nr.map((Aa,Fa)=>ee.createElement("div",{key:Fa,onClick:()=>Lo(Aa.id)},Aa.name)))),ee.createElement(ze.default,{onPressEnter:Xr,value:bi,onChange:Aa=>{ta(Aa.target.value),xr(encodeURIComponent(Aa.target.value),Ka||null)},bordered:!1,placeholder:yr}),ee.createElement("i",{onClick:Xr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},mt={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"},It=({value:nr,onChange:Qn,className:Zn,total:xr,pageSize:ni,style:ti={}})=>{const yr=nr<2,Bi=nr>=Math.ceil(xr/ni);return xr<=ni?ee.createElement(ee.Fragment,null):ee.createElement("div",{className:be()(mt.quickPager,Zn),style:ti},ee.createElement("div",{onClick:()=>{yr||Qn(nr-1,"prev")},className:yr?mt.disabled:""},"\u4E0A\u4E00\u9875"),ee.createElement("div",{onClick:()=>{Bi||Qn(nr+1,"next")},className:Bi?mt.disabled:""},"\u4E0B\u4E00\u9875"))},Qe={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"},Me=te(71418),st=te(6848),zt=te(13570),ut=te(6521),tt=te(25544),at=te(96908),Nt=te(57177),on=te(81378),Ht=te(18540),Qt=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,trackEventItems:Bi,loading:ga})=>{const Ka=Math.floor((yr-(Zn-1)*xr)/Zn);return ee.createElement(Me.Z,{spinning:ga},ee.createElement("div",{className:be()(Qe.list,nr)},!!Qn.length&&Qn.map((va,bi)=>{const{name:ta,id:Xr,identifier:Lo,power:Aa,cover_image_id:Fa,pic:yo}=va;return ee.createElement("div",{className:Qe.wrap,key:Xr,style:{width:Ka,marginRight:(1+bi)%Zn===0?0:xr+ti,marginBottom:ni}},ee.createElement("a",{target:"_blank",href:`/shixuns/${Lo}/challenges`,className:Qe.li,onClick:tl=>{tl.preventDefault(),Bi&&(0,tt.L9)([Bi]),Aa&&(0,tt.xg)(`/shixuns/${Lo}/challenges`)}},ee.createElement("div",{className:Qe.img},ee.createElement("img",{className:Qe.cover,src:`${yo}`}),va.is_jupyter&&ee.createElement("img",{className:Qe.sign,src:at}),va.is_jupyter_lab&&ee.createElement("img",{className:Qe.sign,src:Nt}),va.is_unity_3d&&ee.createElement("img",{className:Qe.sign,src:on})),ee.createElement("div",{className:Qe.name},ee.createElement(st.Z,{title:ta||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:Qe.e},ta||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{className:Qe.tags},ee.createElement(st.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ee.createElement("span",null,va.challenges_count))),!!va.myshixuns_count&&ee.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ee.createElement("span",null,va.myshixuns_count))),ee.createElement(st.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ee.createElement("span",null,ee.createElement("span",null,va.level))),ee.createElement("div",{className:Qe.rate},ee.createElement(zt.Z,{allowHalf:!0,disabled:!0,defaultValue:va.score_info}),ee.createElement("span",null,"\xA0",va.score_info?`${va.score_info}\u5206`:"5\u5206")))),!Aa&&ee.createElement("div",{className:Qe.lockWrap},ee.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qn.length&&ee.createElement(Ht.Z,null)))},Ut={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"},Ie=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,wrapClassName:Bi,trackEventItems:ga,loading:Ka})=>{const va=Math.floor((yr-(Zn-1)*xr)/Zn);return ee.createElement(Me.Z,{spinning:Ka},ee.createElement("div",{className:be()(Ut.list,nr)},!!Qn.length&&Qn.map((bi,ta)=>{const{name:Xr,id:Lo,identifier:Aa,power:Fa,cover_image_id:yo,pic:tl}=bi;return ee.createElement("div",{className:be()(Ut.wrap,Bi),key:Lo,style:{width:va,marginRight:(1+ta)%Zn===0?0:xr+ti,marginBottom:ni}},ee.createElement("a",{target:"_blank",href:`/shixuns/${Aa}/challenges`,className:Ut.li,onClick:xl=>{xl.preventDefault(),ga&&(0,tt.L9)([ga]),Fa&&(0,tt.xg)(`/shixuns/${Aa}/challenges`)}},ee.createElement("img",{src:te(47621),className:Ut.titleBg}),ee.createElement("div",{className:Ut.name},ee.createElement(st.Z,{title:Xr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:Ut.e},Xr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{style:{padding:"14px",paddingBottom:0}},ee.createElement("div",{className:Ut.img},ee.createElement("img",{className:Ut.cover,src:yo?`${ut.Z.API_SERVER}/api/attachments/${yo}`:`${ut.Z.IMG_SERVER+tl}`}),bi.is_jupyter&&ee.createElement("div",{className:Ut.bq},"Jupyter"),bi.is_jupyter_lab&&ee.createElement("div",{className:Ut.bq},"JupyterLab"),bi.is_unity_3d&&ee.createElement("div",{className:Ut.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ee.createElement("div",{className:"mt20 flex item-center justify-between"},ee.createElement("div",null,ee.createElement("span",{className:Ut.text},"\u5B66\u4E60\u4EBA\u6570"),ee.createElement("span",{className:Ut.value},bi.myshixuns_count)),ee.createElement("div",null,ee.createElement("span",{className:Ut.text},"\u56F0\u96BE\u7B49\u7EA7"),ee.createElement("span",{className:Ut.value},bi.level))),ee.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ee.createElement("div",null,ee.createElement("span",{className:Ut.text},"\u5173\u5361\u6570"),ee.createElement("span",{className:Ut.value},bi.challenges_count)),ee.createElement("div",{className:Ut.rate},ee.createElement(zt.Z,{allowHalf:!0,disabled:!0,defaultValue:bi.score_info}),ee.createElement("span",{className:Ut.value,style:{color:"#FF9C00"}},"\xA0",bi.score_info?`${bi.score_info}\u5206`:"5\u5206"))))),!Fa&&ee.createElement("div",{className:Ut.lockWrap},ee.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qn.length&&ee.createElement(Ht.Z,null)))},he={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+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GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",$e=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,trackEventItems:Bi,loading:ga,wrapClassName:Ka,imgClassName:va})=>{const bi=Math.floor((yr-(Zn-1)*xr)/Zn);return ee.createElement(Me.Z,{spinning:ga},ee.createElement("div",{className:be()(he.list,nr)},!!Qn.length&&Qn.map((ta,Xr)=>{const{name:Lo,id:Aa,identifier:Fa,power:yo,cover_image_id:tl,pic:xl}=ta;return ee.createElement("div",{className:be()(he.wrap,Ka),key:Aa,style:{width:bi,marginRight:(1+Xr)%Zn===0?0:xr+ti,marginBottom:ni}},ee.createElement("a",{target:"_blank",href:`/shixuns/${Fa}/challenges`,className:he.li,onClick:as=>{as.preventDefault(),Bi&&(0,tt.L9)([Bi]),yo&&(0,tt.xg)(`/shixuns/${Fa}/challenges`)}},ee.createElement("div",{className:be()(he.img,va)},ee.createElement("img",{className:he.cover,src:tl?`${ut.Z.API_SERVER}/api/attachments/${tl}`:`${ut.Z.IMG_SERVER+xl}`}),ta.is_jupyter&&ee.createElement("img",{className:he.sign,src:ue}),ta.is_jupyter_lab&&ee.createElement("img",{className:he.sign,src:ve}),ta.is_unity_3d&&ee.createElement("img",{className:he.sign,src:ye})),ee.createElement("div",{className:he.name},ee.createElement(st.Z,{title:Lo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:he.e},Lo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{className:he.tags},ee.createElement(st.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ee.createElement("span",null,ta.challenges_count))),!!ta.myshixuns_count&&ee.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ee.createElement("span",null,ta.myshixuns_count))),ee.createElement(st.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ee.createElement("span",null,ee.createElement("span",null,ta.level))),ee.createElement("div",{className:he.rate},ee.createElement(zt.Z,{allowHalf:!0,disabled:!0,defaultValue:ta.score_info}),ee.createElement("span",null,"\xA0",ta.score_info?`${ta.score_info}\u5206`:"5\u5206")))),!yo&&ee.createElement("div",{className:he.lockWrap},ee.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qn.length&&ee.createElement(Ht.Z,null)))},wt=te(26073),lt={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"},Je=te(79005),Pt=te(20345),Dt=te(77882),yt=te(31081),jt=te(75309),En=te(71979),_t=te(47558),Yt=te(42922),wn=te(66832),Ft=te(96593),it=te(19664),Et=te(91833),an=Object.defineProperty,un=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,Xn=(nr,Qn,Zn)=>Qn in nr?an(nr,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Zn}):nr[Qn]=Zn,ir=(nr,Qn)=>{for(var Zn in Qn||(Qn={}))vn.call(Qn,Zn)&&Xn(nr,Zn,Qn[Zn]);if(un)for(var Zn of un(Qn))gn.call(Qn,Zn)&&Xn(nr,Zn,Qn[Zn]);return nr};const Dr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Je,swimg:Pt},{name:"101\u8BA1\u5212",ptimg:Dt,swimg:yt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:jt,swimg:En},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:_t,swimg:Yt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:wn,swimg:Ft},{name:"\u519B\u961F\u4E00\u6D41",ptimg:it,swimg:Et}];var Bn=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,trackEventItems:Bi,loading:ga,wrapClassName:Ka,imgClassName:va,isArrow:bi=!1,imgStyle:ta={}})=>{const Xr=Math.floor((yr-(Zn-1)*xr)/Zn),[Lo,Aa]=(0,ee.useState)(),[Fa,yo]=(0,ee.useState)(),tl=as=>Aa(as),xl=()=>Aa(-1);return ee.createElement(Me.Z,{spinning:ga},ee.createElement("div",{className:be()(lt.list,nr)},!!(Qn!=null&&Qn.length)&&(Qn==null?void 0:Qn.map((as,Yo)=>{var Ys;const{name:Ts,id:os,identifier:cs,featured:du,school_name:ps,image_url:Bo,excellent:wu,is_plan:fu}=as;return ee.createElement("div",{key:os,className:be()(lt.wrap,Ka),style:{width:Xr,marginRight:(1+Yo)%Zn===0?0:xr+ti,marginBottom:ni}},ee.createElement("a",{target:"_blank",href:`/paths/${cs}`,className:lt.li,onClick:gs=>{gs.preventDefault(),Bi&&(0,tt.L9)([Bi]),(0,tt.xg)(`/paths/${cs}`)}},ee.createElement("img",{src:te(39057),className:lt.titleBg}),ee.createElement("div",{className:lt.name},ee.createElement(st.Z,{title:Ts},ee.createElement("span",{className:lt.e,style:{color:bi&&Lo===Yo?"#145DFF":"#000000"},onMouseEnter:()=>{tl(Yo)},onMouseLeave:xl},Ts))),ee.createElement("div",{style:{padding:"14px",paddingBottom:0}},ee.createElement("div",{className:be()(lt.img,va)},ee.createElement("img",{className:lt.cover,style:ir({},ta),src:`${ut.Z.IMG_SERVER+Bo}`}),(Ys=as==null?void 0:as.subject_tags)==null?void 0:Ys.map((gs,Vl)=>{var El,yu;if(Vl===0){const bs=(El=Dr.find(al=>al.name==gs))==null?void 0:El.swimg;return ee.createElement("img",{className:lt.sign,src:bs,style:{left:"-4px"}})}const Pu=(yu=Dr.find(bs=>bs.name==gs))==null?void 0:yu.ptimg;return ee.createElement("img",{className:lt.sign,src:Pu,style:{left:`${48+52*(Vl-1)+2*Vl}px`}})}),ee.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(as==null?void 0:as.excellent)&&ee.createElement("div",{className:lt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ee.createElement("div",null,ee.createElement("span",{className:lt.text},"\u7AE0\u8282\u6570"),ee.createElement("span",{className:lt.value},as.stages_count)),ee.createElement("div",null,ee.createElement("span",{className:lt.text},"\u5B66\u4E60\u4EBA\u6570"),ee.createElement("span",{className:lt.value},as.members_count))))))})),!Qn.length&&ee.createElement(Ht.Z,null)))},jr={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"},ci=te(7544),_r=te(59301);const Nr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Je,swimg:Pt},{name:"101\u8BA1\u5212",ptimg:Dt,swimg:yt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:jt,swimg:En},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:_t,swimg:Yt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:wn,swimg:Ft},{name:"\u519B\u961F\u4E00\u6D41",ptimg:it,swimg:Et}];var pi=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,trackEventItems:Bi,loading:ga,onRemove:Ka=()=>{},isCurrent:va=!0,showAlias:bi=!1,wrapClassName:ta,imgClassName:Xr})=>{const Lo=Math.floor((yr-(Zn-1)*xr)/Zn),Aa=[{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(Fa=>(window.ENV==="build"&&(Fa.ptimg=`/react/build${Fa.ptimg}`,Fa.swimg=`/react/build${Fa.swimg}`),Fa));return _r.createElement(Me.Z,{spinning:ga},_r.createElement("div",{className:be()(jr.list,nr)},!!(Qn!=null&&Qn.length)&&(Qn==null?void 0:Qn.map((Fa,yo)=>{var tl;const{name:xl,id:as,identifier:Yo,featured:Ys,school_name:Ts,image_url:os,excellent:cs,is_plan:du}=Fa;return _r.createElement("div",{key:as,className:be()(jr.wrap,ta),style:{width:Lo,marginRight:(1+yo)%Zn===0?0:xr+ti,marginBottom:ni}},_r.createElement("a",{className:jr.li,onClick:ps=>{ps.preventDefault(),ps.stopPropagation(),Bi&&(0,tt.L9)([Bi]),(0,tt.xg)(`/paths/${Yo}`)}},_r.createElement("div",{className:be()(jr.img,Xr)},_r.createElement("img",{className:jr.cover,src:`${ut.Z.IMG_SERVER+os}`}),va&&(0,ci.bg)()&&(Fa==null?void 0:Fa.studying)&&_r.createElement("div",{className:`${jr.movebq} user-path-items`,onClick:ps=>{ps.stopPropagation(),Ka(Fa)}},_r.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),_r.createElement("span",{className:"c-red"},"\u79FB\u9664")),(tl=Fa==null?void 0:Fa.subject_tags)==null?void 0:tl.map((ps,Bo)=>{var wu,fu;if(Bo===0){const Vl=(wu=Aa.find(El=>El.name==ps))==null?void 0:wu.swimg;return _r.createElement("img",{className:jr.sign,src:Vl,style:{left:"-4px"}})}const gs=(fu=Aa.find(Vl=>Vl.name==ps))==null?void 0:fu.ptimg;return _r.createElement("img",{className:jr.sign,src:gs,style:{left:`${48+52*(Bo-1)+2*Bo}px`}})}),_r.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Fa==null?void 0:Fa.excellent)&&_r.createElement("div",{className:jr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),_r.createElement("div",{className:jr.name},_r.createElement(st.Z,{title:bi&&(Fa!=null&&Fa.excellent_alias_name)?_r.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${xl}`,_r.createElement("br",null),_r.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Fa==null?void 0:Fa.excellent_alias_name}`)):xl},_r.createElement("span",{className:jr.e},bi&&(Fa==null?void 0:Fa.excellent_alias_name)||xl))),_r.createElement("div",{className:jr.tags},_r.createElement("div",null,_r.createElement(st.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},_r.createElement("span",null,_r.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),_r.createElement("span",null,Fa.stages_count))),_r.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},_r.createElement("span",null,_r.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),_r.createElement("span",null,Fa.members_count)))))))})),!Qn.length&&_r.createElement(Ht.Z,null)))},Mn={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"},pr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59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w1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Rr=te(59301),zr=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,trackEventItems:Bi,loading:ga})=>{const Ka=Math.floor((yr-(Zn-1)*xr)/Zn);return Rr.createElement(Me.Z,{spinning:ga},Rr.createElement("div",{className:be()(Mn.list,nr)},!!Qn.length&&Qn.map((va,bi)=>{const{subject_identifier:ta,id:Xr,identifier:Lo,power:Aa}=va,Fa=va.is_public!=0&&va.is_public;return Rr.createElement("div",{className:Mn.wrap,key:Xr,style:{width:Ka,marginRight:(1+bi)%Zn===0?0:xr+ti,marginBottom:ni}},Rr.createElement("a",{className:Mn.li,onClick:yo=>{yo.preventDefault(),Bi&&(0,tt.L9)([Bi]),(0,tt.xg)(va.first_category_url)}},Rr.createElement("div",{className:Mn.top},Rr.createElement(st.Z,{title:va.name},Rr.createElement("div",{className:Mn.name},va.name)),Rr.createElement("img",{className:Mn.img,src:ut.Z.IMG_SERVER+"/images/"+va.avatar_url}),Rr.createElement("div",{className:Mn.text,title:va.creator},va.creator),ta&&Rr.createElement("div",{className:Mn.btns},Rr.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Rr.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Fa&&Rr.createElement("div",{className:Mn.sign},"\u516C\u5F00")),Rr.createElement("div",{className:Mn.bottom},va.visits>0&&Rr.createElement(st.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Rr.createElement("span",null,Rr.createElement("i",{className:"iconfont icon-liulanyan"}),Rr.createElement("span",null,va.visits))),va.course_members_count>0&&Rr.createElement(st.Z,{title:"\u6210\u5458",placement:"bottom"},Rr.createElement("span",null,Rr.createElement("i",{className:"iconfont icon-chengyuan"}),va.course_members_count)),va.tasks_count>0&&Rr.createElement(st.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Rr.createElement("span",null,Rr.createElement("i",{className:"iconfont icon-zuoye"}),va.tasks_count)),va.is_end?Rr.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Rr.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!va.is_accessible&&Rr.createElement("div",{className:Mn.lockWrap},Rr.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Rr.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qn.length&&Rr.createElement(Ht.Z,null)))},ei={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"},Hr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVH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assName:Bi,trackEventItems:ga,loading:Ka})=>{const va=Math.floor((yr-(Zn-1)*xr)/Zn);return ee.createElement(Me.Z,{spinning:Ka},ee.createElement("div",{className:be()(ei.list,nr)},!!Qn.length&&Qn.map((bi,ta)=>{const{subject_identifier:Xr,id:Lo,identifier:Aa,power:Fa}=bi,yo=bi.is_public!=0&&bi.is_public;return ee.createElement("div",{className:be()(`${ei.wrap} ${bi.is_accessible?"":ei.warpStyle}`,Bi),key:Lo,style:{width:va,marginRight:(1+ta)%Zn===0?0:xr+ti,marginBottom:ni}},ee.createElement("a",{className:ei.li,onClick:tl=>{tl.preventDefault(),ga&&(0,tt.L9)([ga]),(0,tt.xg)(bi.first_category_url)}},ee.createElement("div",{className:ei.creator},ee.createElement("img",{className:ei.img,src:ut.Z.IMG_SERVER+"/images/"+bi.avatar_url}),ee.createElement("div",{className:ei.text,title:bi.creator},bi.creator)),ee.createElement("div",{className:ei.top},ee.createElement(st.Z,{title:bi.name},ee.createElement("div",{className:ei.name},bi.name)),yo&&ee.createElement("div",{className:ei.sign},"\u516C\u5F00")),ee.createElement("div",{className:ei.middle},ee.createElement("div",{className:ei.row,style:{marginBottom:6}},ee.createElement("div",null,ee.createElement("span",{className:ei.text},"\u8BBF\u95EE\u91CF"),ee.createElement("span",{className:ei.value},(bi==null?void 0:bi.visits)||0)),ee.createElement("div",null,ee.createElement("span",{className:ei.text},"\u6210\u5458"),ee.createElement("span",{className:ei.value},(bi==null?void 0:bi.course_members_count)||0))),ee.createElement("div",{className:ei.row},ee.createElement("div",null,ee.createElement("span",{className:ei.text,style:{width:42}},"\u4F5C",ee.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ee.createElement("span",{className:ei.value},(bi==null?void 0:bi.tasks_count)||0)),ee.createElement("div",null,ee.createElement("span",{className:ei.text},"\u72B6\u6001"),bi.is_end?ee.createElement("span",{className:ei.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ee.createElement("span",{className:ei.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Xr&&ee.createElement("div",{className:ei.btns},ee.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ee.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!bi.is_accessible&&ee.createElement("div",{className:ei.lockWrap},ee.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qn.length&&ee.createElement(Ht.Z,null)))},dr={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"},oi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSs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4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",pt=({className:nr,dataSource:Qn=[],col:Zn=4,right:xr,bottom:ni=23,precision:ti=0,wrapWidth:yr=1200,wrapClassName:Bi,trackEventItems:ga,loading:Ka})=>{const va=Math.floor((yr-(Zn-1)*xr)/Zn);return ee.createElement(Me.Z,{spinning:Ka},ee.createElement("div",{className:be()(dr.list,nr)},!!Qn.length&&Qn.map((bi,ta)=>{const{subject_identifier:Xr,id:Lo,identifier:Aa,power:Fa}=bi,yo=bi.is_public!=0&&bi.is_public;return ee.createElement("div",{className:be()(`${dr.wrap} ${bi.is_accessible?"":dr.warpStyle}`,Bi),key:Lo,style:{width:va,marginRight:(1+ta)%Zn===0?0:xr+ti,marginBottom:ni}},ee.createElement("a",{className:dr.li,onClick:tl=>{tl.preventDefault(),ga&&(0,tt.L9)([ga]),(0,tt.xg)(bi.first_category_url)}},ee.createElement("div",{className:dr.creator},ee.createElement("img",{className:dr.img,src:ut.Z.IMG_SERVER+"/images/"+bi.avatar_url}),ee.createElement("div",{className:dr.text,title:bi.creator},bi.creator)),ee.createElement("div",{className:dr.top},ee.createElement(st.Z,{title:bi.name},ee.createElement("div",{className:dr.name},bi.name)),yo&&ee.createElement("div",{className:dr.sign})),ee.createElement("div",{className:dr.middle},ee.createElement("div",{className:dr.row,style:{marginBottom:6}},ee.createElement("div",null,ee.createElement("span",{className:dr.text},"\u8BBF\u95EE\u91CF"),ee.createElement("span",{className:dr.value},(bi==null?void 0:bi.visits)||0)),ee.createElement("div",null,ee.createElement("span",{className:dr.text},"\u6210\u5458"),ee.createElement("span",{className:dr.value},(bi==null?void 0:bi.course_members_count)||0))),ee.createElement("div",{className:dr.row},ee.createElement("div",null,ee.createElement("span",{className:dr.text,style:{width:42}},"\u4F5C",ee.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ee.createElement("span",{className:dr.value},(bi==null?void 0:bi.tasks_count)||0)),ee.createElement("div",null,ee.createElement("span",{className:dr.text},"\u72B6\u6001"),bi.is_end?ee.createElement("span",{className:dr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ee.createElement("span",{className:dr.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Xr&&ee.createElement("div",{className:dr.btns},ee.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ee.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!bi.is_accessible&&ee.createElement("div",{className:dr.lockWrap},ee.createElement("img",{src:`${ut.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qn.length&&ee.createElement(Ht.Z,null)))},Bt={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"},At=te(91482),Gt=({dataSource:nr=[],value:Qn,onChange:Zn,className:xr,style:ni={},tabBarExtraContent:ti})=>ee.createElement("div",{className:be()(Bt.tabs,xr),style:ni},ee.createElement("div",{className:Bt.tabsWrap},nr.map((yr,Bi)=>ee.createElement("aside",{className:Bt.tab,onClick:()=>{Zn(yr.id),yr.link&&At.history.push(yr.link)},key:Bi},ee.createElement("div",{className:Qn===yr.id?Bt.active:""},yr.name),(yr==null?void 0:yr.resetCount)==null&&(yr==null?void 0:yr.total)!==void 0&&ee.createElement("span",null,"\uFF08",yr==null?void 0:yr.total,"\uFF09"),(yr==null?void 0:yr.resetCount)!==void 0&&(yr==null?void 0:yr.total)!==void 0&&ee.createElement(st.Z,{title:(yr==null?void 0:yr.tip)!=null?yr==null?void 0:yr.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},yr==null?void 0:yr.resetCount),"/",ee.createElement("span",null,yr==null?void 0:yr.total),"\uFF09"))))),ee.createElement("div",{className:Bt.tabBar},ti)),nn={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"},Pn=({dataSource:nr=[],value:Qn,onChange:Zn,className:xr,style:ni={},tabBarExtraContent:ti})=>ee.createElement("div",{className:be()(nn.tabs,xr),style:ni},ee.createElement("div",{className:nn.tabsWrap},nr.map((yr,Bi)=>ee.createElement("aside",{className:nn.tab,onClick:()=>{Zn(yr.id),yr.link&&At.history.push(yr.link)},key:Bi},ee.createElement("div",{className:Qn===yr.id?nn.active:""},yr.name),(yr==null?void 0:yr.resetCount)==null&&(yr==null?void 0:yr.total)!==void 0&&ee.createElement("span",null,"\uFF08",yr==null?void 0:yr.total,"\uFF09"),(yr==null?void 0:yr.resetCount)!==void 0&&(yr==null?void 0:yr.total)!==void 0&&ee.createElement(st.Z,{title:(yr==null?void 0:yr.tip)!=null?yr==null?void 0:yr.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},yr==null?void 0:yr.resetCount),"/",ee.createElement("span",null,yr==null?void 0:yr.total),"\uFF09"))))),ee.createElement("div",{className:nn.tabBar},ti)),Sn={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"},gr=({dataSource:nr=[],value:Qn,onChange:Zn,className:xr,style:ni={},tabBarExtraContent:ti})=>ee.createElement("div",{className:be()(Sn.tabs,xr),style:ni},ee.createElement("div",{className:Sn.tabsWrap},nr.map((yr,Bi)=>ee.createElement("aside",{className:`${Sn.tab} ${Qn===yr.id?Sn.active:""}`,onClick:()=>{Zn(yr.id),yr.link&&At.history.push(yr.link)},key:Bi},ee.createElement("div",null,yr.name),(yr==null?void 0:yr.resetCount)==null&&(yr==null?void 0:yr.total)!==void 0&&ee.createElement("span",null,"\uFF08",yr==null?void 0:yr.total,"\uFF09"),(yr==null?void 0:yr.resetCount)!==void 0&&(yr==null?void 0:yr.total)!==void 0&&ee.createElement(st.Z,{title:(yr==null?void 0:yr.tip)!=null?yr==null?void 0:yr.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},yr==null?void 0:yr.resetCount),"/",ee.createElement("span",null,yr==null?void 0:yr.total),"\uFF09"))))),ee.createElement("div",{className:Sn.tabBar},ti)),bn=({className:nr,style:Qn={},children:Zn})=>ee.createElement("div",{className:be()(nr),style:Qn},Zn),$n={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"},Jt=te(38854),pn=te(20834);const An=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Hn=({sortValue:nr,dropValue:Qn,className:Zn,onSort:xr,onDrop:ni,dataSource:ti=An})=>{var yr;return ee.createElement("div",{className:be()($n.orderWrap,Zn)},ee.createElement(Jt.Z,{dropdownRender:()=>ee.createElement(pn.default,null,ti.map((Bi,ga)=>ee.createElement(pn.default.Item,{key:ga,onClick:()=>ni(Bi.id)},Bi.name)))},ee.createElement("span",{className:$n.orderTextWrap},(yr=ti.find(Bi=>Qn===Bi.id))==null?void 0:yr.name)),ee.createElement("span",{className:$n.orderIconWrap},ee.createElement("span",{className:$n.orderAsc},ee.createElement("i",{className:nr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${$n.cursorPointer} ${$n.active}`:`iconfont icon-sanjiaoxing-up font12 ${$n.cursorPointer}`,onClick:()=>xr(nr==="asc"?"desc":"asc")})),ee.createElement("span",{className:$n.orderDesc},ee.createElement("i",{className:nr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${$n.cursorPointer} ${$n.active}`:`iconfont icon-sanjiaoxing-down font12 ${$n.cursorPointer}`,onClick:()=>xr(nr==="asc"?"desc":"asc")}))))},ln={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 jn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var cn=({sortValue:nr,dropValue:Qn,className:Zn,onSort:xr,onDrop:ni,dataSource:ti=jn})=>{var yr;return ee.createElement("div",{className:be()(ln.orderWrap,Zn)},ee.createElement(Jt.Z,{dropdownRender:()=>ee.createElement(pn.default,null,ti.map((Bi,ga)=>ee.createElement(pn.default.Item,{key:ga,onClick:()=>ni(Bi.id)},Bi.name)))},ee.createElement("span",{className:ln.orderTextWrap},(yr=ti.find(Bi=>Qn===Bi.id))==null?void 0:yr.name)),ee.createElement("span",{className:ln.orderIconWrap},ee.createElement("span",{className:ln.orderAsc},ee.createElement("i",{className:nr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ln.cursorPointer} ${ln.active}`:`iconfont icon-sanjiaoxing-up font12 ${ln.cursorPointer}`,onClick:()=>xr(nr==="asc"?"desc":"asc")})),ee.createElement("span",{className:ln.orderDesc},ee.createElement("i",{className:nr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ln.cursorPointer} ${ln.active}`:`iconfont icon-sanjiaoxing-down font12 ${ln.cursorPointer}`,onClick:()=>xr(nr==="asc"?"desc":"asc")}))))},hn={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"},In=te(3113),Ln=te(29715),Un=Object.defineProperty,Gn=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Wr=(nr,Qn,Zn)=>Qn in nr?Un(nr,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Zn}):nr[Qn]=Zn,gi=(nr,Qn)=>{for(var Zn in Qn||(Qn={}))cr.call(Qn,Zn)&&Wr(nr,Zn,Qn[Zn]);if(Gn)for(var Zn of Gn(Qn))Sr.call(Qn,Zn)&&Wr(nr,Zn,Qn[Zn]);return nr},ki=(nr,Qn)=>{var Zn={};for(var xr in nr)cr.call(nr,xr)&&Qn.indexOf(xr)<0&&(Zn[xr]=nr[xr]);if(nr!=null&&Gn)for(var xr of Gn(nr))Qn.indexOf(xr)<0&&Sr.call(nr,xr)&&(Zn[xr]=nr[xr]);return Zn},si=(nr,Qn,Zn)=>new Promise((xr,ni)=>{var ti=ga=>{try{Bi(Zn.next(ga))}catch(Ka){ni(Ka)}},yr=ga=>{try{Bi(Zn.throw(ga))}catch(Ka){ni(Ka)}},Bi=ga=>ga.done?xr(ga.value):Promise.resolve(ga.value).then(ti,yr);Bi((Zn=Zn.apply(nr,Qn)).next())}),Qr=nr=>{var Qn=nr,{className:Zn,style:xr,children:ni,loading:ti=!1,openLoading:yr,onClick:Bi=()=>{},size:ga="middle",shape:Ka="round",theme:va}=Qn,bi=ki(Qn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[ta,Xr]=(0,ee.useState)(!1),Lo=(0,ee.useMemo)(()=>{switch(va){case Ln.Fy.THEMEONE:return hn.ThemeOne;case Ln.Fy.DEFAULT:default:return hn.btn}},[va]);return ee.createElement(In.ZP,gi({onClick:(0,Fe.throttle)(Aa=>si(void 0,null,function*(){yr&&Xr(!0);try{yield Bi(Aa)}catch(Fa){console.log("error",Fa)}yr&&Xr(!1)}),2e3,{leading:!0,trailing:!1}),className:be()(Lo,hn[`${ga}-${Ka}`],Zn),style:xr,size:ga,shape:Ka,loading:ta||ti},bi),ni)},Gi={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"},$i=({className:nr,style:Qn,children:Zn=null,onClick:xr,title:ni})=>ee.createElement("div",{className:be()(Gi.head,nr),style:Qn},ee.createElement("span",{className:"primary-hover",onClick:xr},ee.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ee.createElement("b",{title:ni},ni),ee.createElement("div",{className:Gi.node},Zn)),Ai={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"},Qi=({confirmShow:nr=!0,confirmTitle:Qn,confirmClick:Zn,cancelShow:xr=!0,cancelTitle:ni,cancelClick:ti,className:yr,style:Bi,confirmLoading:ga=!1})=>ee.createElement("div",{className:be()(Ai.btns,yr),style:Bi},nr&&ee.createElement(In.ZP,{loading:ga,onClick:Zn,type:"primary",className:Ai.confirm},Qn),xr&&ee.createElement(In.ZP,{onClick:ti,className:Ai.cancel},ni)),Pi={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"},lo=({className:nr,style:Qn={},LeftContent:Zn,children:xr,RightContent:ni})=>ee.createElement("div",{className:be()(Pi.fixedBottom,nr),style:Qn},ee.createElement("div",{className:Pi.wrap},ee.createElement("div",{className:Pi.left},Zn),ee.createElement("div",{className:Pi.center},xr),ee.createElement("div",{className:Pi.right},ni))),Vi={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"},Lr=({className:nr,style:Qn={},dataSource:Zn=[]})=>ee.createElement("div",{className:be()(Vi.crumbs,nr),style:Qn},Zn.map((xr,ni)=>ni<Zn.length-1?ee.createElement(ee.Fragment,{key:ni},xr.path||xr.onClick?ee.createElement("span",{className:Vi.hover,onClick:xr!=null&&xr.onClick?xr.onClick:()=>At.history.push(xr.path)},xr.name):ee.createElement("span",null,xr.name),ee.createElement("span",null,"\xA0",">","\xA0")):ee.createElement("span",{key:ni,style:{color:"#5F6368"}},xr.name))),ia=te(31797),Zi=Object.defineProperty,ma=Object.defineProperties,pa=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,qi=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable,Ao=(nr,Qn,Zn)=>Qn in nr?Zi(nr,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Zn}):nr[Qn]=Zn,Di=(nr,Qn)=>{for(var Zn in Qn||(Qn={}))qi.call(Qn,Zn)&&Ao(nr,Zn,Qn[Zn]);if(ha)for(var Zn of ha(Qn))aa.call(Qn,Zn)&&Ao(nr,Zn,Qn[Zn]);return nr},Ti=(nr,Qn)=>ma(nr,pa(Qn)),Ea=(nr,Qn)=>{var Zn={};for(var xr in nr)qi.call(nr,xr)&&Qn.indexOf(xr)<0&&(Zn[xr]=nr[xr]);if(nr!=null&&ha)for(var xr of ha(nr))Qn.indexOf(xr)<0&&aa.call(nr,xr)&&(Zn[xr]=nr[xr]);return Zn};const{Countdown:_a}=ia.default;var Zo=nr=>{var Qn=nr,{onChange:Zn}=Qn,xr=Ea(Qn,["onChange"]);const[ni,ti]=(0,ee.useState)(null);(0,ee.useEffect)(()=>{typeof ni=="number"&&ni>=0&&Zn(ni)},[ni]);const yr=Bi=>{const ga=Math.floor(Bi/1e3);ti(ga)};return ee.createElement(_a,Ti(Di({},xr),{onChange:yr}))},ko={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Ar=({DataProps:nr,className:Qn,style:Zn={}})=>{var xr;return ee.createElement("div",{className:be()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ko.ClassRoomItem,Qn),style:Zn,onClick:()=>{(0,tt.xg)(nr==null?void 0:nr.first_category_url)}},ee.createElement("div",{className:"flex flex-col item-center"},ee.createElement("img",{src:`${(xr=ut.Z)==null?void 0:xr.IMG_SERVER}/images/${nr==null?void 0:nr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(nr==null?void 0:nr.subject_identifier)&&ee.createElement("div",{className:"mt-40px"},ee.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ee.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ee.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ee.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(nr!=null&&nr.is_public)&&ee.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"),ee.createElement("span",{className:be()("text-16px font-medium",ko.TitleDom)},nr==null?void 0:nr.name)),ee.createElement("div",{className:"c-grey-333 font-medium"},nr==null?void 0:nr.creator),ee.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",nr==null?void 0:nr.course_members_count),ee.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ee.createElement("div",null,"\u4F5C\u4E1A\uFF1A",nr==null?void 0:nr.tasks_count),nr!=null&&nr.is_end?ee.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ee.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},il=Object.defineProperty,_i=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,ea=(nr,Qn,Zn)=>Qn in nr?il(nr,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Zn}):nr[Qn]=Zn,mo=(nr,Qn)=>{for(var Zn in Qn||(Qn={}))Li.call(Qn,Zn)&&ea(nr,Zn,Qn[Zn]);if(_i)for(var Zn of _i(Qn))Mi.call(Qn,Zn)&&ea(nr,Zn,Qn[Zn]);return nr},qo=({DataProps:nr=[],selectValue:Qn,onChange:Zn,className:xr,style:ni={},extra:ti,classNameItem:yr,styleItem:Bi={},barHidden:ga})=>{const[Ka,va]=(0,ee.useState)();return(0,ee.useEffect)(()=>{va(Array.isArray(Qn)?Qn:[Qn])},[Qn]),ee.createElement("div",{className:be()("flex px-20px py-10px gap-40px",xr),style:mo({borderBottom:"1px solid #D3F0FF"},ni)},nr==null?void 0:nr.map(bi=>ee.createElement("div",{key:bi==null?void 0:bi.id,className:be()("flex item-center justify-center current c-grey-333 text-16 relative",yr,bi==null?void 0:bi.className),style:mo(mo({color:Ka!=null&&Ka.includes(bi==null?void 0:bi.id)?"#1890FF":"",minWidth:88},Bi),(bi==null?void 0:bi.style)||{}),onClick:ta=>{Zn==null||Zn({domEvent:ta,item:bi}),bi!=null&&bi.link&&At.history.push(bi==null?void 0:bi.link)}},bi==null?void 0:bi.name,!ga&&(Ka==null?void 0:Ka.includes(bi==null?void 0:bi.id))&&ee.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ee.createElement("div",{className:"ml-auto"},ti))},Uo=Object.defineProperty,Co=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,Wl=Object.getOwnPropertySymbols,Il=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable,Qa=(nr,Qn,Zn)=>Qn in nr?Uo(nr,Qn,{enumerable:!0,configurable:!0,writable:!0,value:Zn}):nr[Qn]=Zn,la=(nr,Qn)=>{for(var Zn in Qn||(Qn={}))Il.call(Qn,Zn)&&Qa(nr,Zn,Qn[Zn]);if(Wl)for(var Zn of Wl(Qn))ms.call(Qn,Zn)&&Qa(nr,Zn,Qn[Zn]);return nr},cl=(nr,Qn)=>Co(nr,ul(Qn)),Go=({value:nr,onChange:Qn,onInputChange:Zn,className:xr,style:ni={},InputProps:ti})=>{const[yr,Bi]=(0,ee.useState)(nr);return ee.createElement("div",{className:be()("flex item-center rounded-full px-10px py-2px",xr),style:la({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ni)},ee.createElement(ze.default,cl(la({bordered:!1},ti),{onChange:ga=>{Bi(ga.target.value),Zn==null||Zn(encodeURIComponent(ga.target.value))},onPressEnter:ga=>{Qn==null||Qn({domEvent:ga,item:{value:yr}})}})),ee.createElement("img",{className:"h-22px current",src:te(25365),height:22,onClick:ga=>{Qn==null||Qn({domEvent:ga,item:{value:yr}})}}))}},57649:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return de}});var ee=te(59301);function de(Ce,We){const xe=(0,ee.useRef)();(0,ee.useEffect)(()=>{xe.current=Ce}),(0,ee.useEffect)(()=>{function Ee(){xe.current()}if(We!==null){let fe=setInterval(Ee,We);return()=>clearInterval(fe)}},[We])}},55139:function(tn,kt,te){"use strict";var ee=te(59301),de=te(43418),Ce=te(79769),We=te(91482),xe=te(59301),Ee=(be,Fe,He)=>new Promise((rt,Ae)=>{var ge=Ne=>{try{Se(He.next(Ne))}catch(ke){Ae(ke)}},we=Ne=>{try{Se(He.throw(Ne))}catch(ke){Ae(ke)}},Se=Ne=>Ne.done?rt(Ne.value):Promise.resolve(Ne.value).then(ge,we);Se((He=He.apply(be,Fe)).next())});const fe=({exercise:be,dispatch:Fe,init:He,haveInit:rt=!1})=>{const Ae=(0,We.useParams)(),[ge,we]=(0,ee.useState)(!1);let[Se,Ne]=(0,ee.useState)();const[ke,Ye]=(0,ee.useState)(!1),[et,Ke]=(0,ee.useState)(!1);(0,ee.useEffect)(()=>{be.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&Oe()},[be.actionTabs]);function Oe(){return Ee(this,null,function*(){var _e,me;let Re=yield(0,Ce.ZP)(`/api/courses/${Ae==null?void 0:Ae.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:be.actionTabs.selectArrs}});if(((_e=Re==null?void 0:Re.cover_exercises)==null?void 0:_e.length)>0)we(!0),Ne((me=Re==null?void 0:Re.cover_exercises)==null?void 0:me[0]);else{let Le=yield(0,Ce.ZP)(`/api/courses/${Ae==null?void 0:Ae.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:be.actionTabs.selectArrs}});Fe({type:"exercise/setActionTabs",payload:{key:""}}),(Le==null?void 0:Le.status)===0&&(rt&&He(),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{We.history.push("/paperlibrary")}}))}})}return xe.createElement("div",null,xe.createElement(de.default,{open:ge,centered:!0,onCancel:_e=>Ee(void 0,null,function*(){if(_e.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){Ye(!0);let me=yield(0,Ce.ZP)(`/api/courses/${Ae==null?void 0:Ae.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:be.actionTabs.selectArrs,update:1}});Fe({type:"exercise/setActionTabs",payload:{key:""}}),Ye(!1),(me==null?void 0:me.status)===0&&(rt&&He(),we(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{We.history.push("/paperlibrary")}}))}else we(!1)}),cancelButtonProps:{loading:ke},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:et},onOk:()=>Ee(void 0,null,function*(){Ke(!0);let _e=yield(0,Ce.ZP)(`/api/courses/${Ae==null?void 0:Ae.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:be.actionTabs.selectArrs}});Ke(!1),(_e==null?void 0:_e.status)===0&&(rt&&He(),Fe({type:"exercise/setActionTabs",payload:{key:""}}),we(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{We.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},xe.createElement("div",null,xe.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),xe.createElement("div",null,xe.createElement("div",null,"\u8BD5\u5377\uFF1A",Se==null?void 0:Se.origin_exercise_nam),xe.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",xe.createElement("a",{href:`/paperlibrary/see/${Se==null?void 0:Se.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},Se==null?void 0:Se.examination_bank_name))))))};kt.Z=(0,We.connect)(({exercise:be})=>({exercise:be}))(fe)},39954:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Le}});var ee=te(59301),de=te(43418),Ce=te(95237),We=te(43604),xe=te(57809),Ee=te(1710),fe=te(3113),be=te(23579),Fe=te(79769),He={cstuModal:"cstuModal___aIPVR",removeStyle:"removeStyle___wY4gp",bottom:"bottom___a8tK0",yes:"yes___Zhc4z",no:"no___Ngwsa",Onerow:"Onerow___Q59ve",searchMember:"searchMember___Jj460",searchMemberHeader:"searchMemberHeader___SxfUY"},rt=te(91482),Ae=te(96622),ge=te(59301),we=Object.defineProperty,Se=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Ke=(Pe,De,ze)=>De in Pe?we(Pe,De,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Pe[De]=ze,Oe=(Pe,De)=>{for(var ze in De||(De={}))Ye.call(De,ze)&&Ke(Pe,ze,De[ze]);if(ke)for(var ze of ke(De))et.call(De,ze)&&Ke(Pe,ze,De[ze]);return Pe},_e=(Pe,De)=>Se(Pe,Ne(De)),me=(Pe,De,ze)=>new Promise((Te,xt)=>{var Ze=mt=>{try{ot(ze.next(mt))}catch(Lt){xt(Lt)}},vt=mt=>{try{ot(ze.throw(mt))}catch(Lt){xt(Lt)}},ot=mt=>mt.done?Te(mt.value):Promise.resolve(mt.value).then(Ze,vt);ot((ze=ze.apply(Pe,De)).next())});const Re=({visible:Pe,setVisible:De,onK:ze,selectKeys:Te,selectRows:xt,appointStudent:Ze,modalParams:vt,courseId:ot})=>{const mt=(0,rt.useParams)(),[Lt,It]=(0,ee.useState)(!1),[Qe,Me]=(0,ee.useState)(!1),[st,zt]=(0,ee.useState)([]),[ut,tt]=(0,ee.useState)([]),[at,Nt]=(0,ee.useState)([]),[on,Ht]=(0,ee.useState)("all"),[Fn,Qt]=(0,ee.useState)("all");let[Ut,Wt]=(0,ee.useState)(!0);const[Ie,he]=(0,ee.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[ue,ve]=(0,ee.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),ye={selectedRowKeys:ut,columnWidth:40,hideSelectAll:!0,onSelect:(Je,Pt,Dt)=>{let yt=!0;for(let jt=0;jt<ut.length;jt++)(Je==null?void 0:Je.user_id)===ut[jt]&&(ut==null||ut.splice(jt,1),at==null||at.splice(jt,1),yt=!1);yt&&(ut.push(Je==null?void 0:Je.user_id),at.push(Je)),tt([...ut]),Nt([...at])},onSelectAll:(Je,Pt,Dt)=>{if(Je&&Dt.length>0){Dt.forEach(yt=>{ut.push(yt.user_id),at.push(yt)}),tt([...ut]),Nt([...at]);return}if(!Je&&Dt.length>0){let yt=[],jt=[];const En=new Set(Dt),_t=new Set(ut),Yt=new Set(at);yt=[..._t].filter(wn=>[...En].every(Ft=>Ft.user_id!==wn)),jt=[...Yt].filter(wn=>[...En].every(Ft=>Ft.user_id!==wn.user_id)),tt([...yt]),Nt([...jt])}}};(0,ee.useEffect)(()=>{Pe&&Te&&(tt([...Te]),Nt(xt))},[Pe,Te]),(0,ee.useEffect)(()=>{Pe&&(!Ze&&vt?ue.status=vt:ue.status=null,ve(Oe({},ue)),$e())},[Pe,Ze,vt]);const se=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(Je,Pt,Dt)=>ge.createElement("span",{style:{color:"#333"}},Dt+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(Je,Pt,Dt)=>ge.createElement("span",null,Je)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(Je,Pt,Dt)=>ge.createElement("span",{style:{color:"#666"}},Je)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(Je,Pt)=>ge.createElement("span",null,Je)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(Je,Pt)=>ge.createElement("span",null,Je||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(Je,Pt)=>ge.createElement("span",null,Je)}].filter(Je=>vt===1||vt===2?Je.title!=="\u72B6\u6001":!0),$e=()=>me(void 0,null,function*(){var Je,Pt,Dt;Me(!0);const yt=yield(0,Fe.ZP)(`/api/exercises/${mt.categoryId||ot}/wait_make_up_students.json`,{method:"get",params:_e(Oe({},ue),{keywords:(Je=ue==null?void 0:ue.keywords)==null?void 0:Je.trim()})});if(yt.status===0){const jt=((Dt=(Pt=yt==null?void 0:yt.data)==null?void 0:Pt.all_course_groups)==null?void 0:Dt.map(En=>({value:En==null?void 0:En.id,label:En==null?void 0:En.name})))||[];he([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...jt]),zt(yt.data)}Me(!1)}),wt=()=>{ue.page=1,ue.status=null,ue.course_group_id=null,ue.keywords="",Ht("all"),Qt("all"),tt([]),Nt([]),ve(Oe({},ue)),Ze&&ze(ut==null?void 0:ut.length,ut,at)},lt=()=>{ue.page=1,ue.status=null,ue.course_group_id=null,ue.keywords="",ve(Oe({},ue)),Ht("all"),Qt("all"),tt([]),Nt([]),De(!1)};return ge.createElement(de.default,{centered:!0,className:He.cstuModal,title:vt===1?"\u7F3A\u8003\u5B66\u751F":vt===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:Pe,width:1200,footer:null,onCancel:()=>{lt()}},ge.createElement(Ce.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},ge.createElement(Ce.Z,null,ge.createElement(We.Z,null,ge.createElement(xe.default,{size:"large",value:on,style:{width:200,marginRight:20},onChange:Je=>{Ht(Je),Je==="all"?ue.course_group_id=null:ue.course_group_id=Je,ue.page=1,ve(Oe({},ue)),$e()},options:Ie})),Ze&&ge.createElement(We.Z,null,ge.createElement(xe.default,{size:"large",value:Fn,style:{width:200},onChange:Je=>{Qt(Je),Je==="all"?ue.status=null:ue.status=Je,ue.page=1,ve(Oe({},ue)),$e()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),ge.createElement(We.Z,null,ge.createElement(be.t7,{style:{width:300,marginLeft:15},value:ue.keywords,allowClear:!0,onChange:Je=>{ue.keywords=Je,ue.page=1,ve(Oe({},ue)),$e()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),ge.createElement(Ce.Z,{align:"middle",className:"mb30"},ge.createElement(We.Z,{span:14},ge.createElement("div",{className:"flexd-table-header"},ge.createElement(Ee.default,{pagination:!1,dataSource:[],columns:se,rowSelection:Ze?ye:null,rowKey:Je=>Je.user_id})),ge.createElement("div",null,ge.createElement(Ee.default,{rowSelection:Ze?ye:null,columns:se,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:Je=>Je.user_id,loading:Qe,dataSource:st==null?void 0:st.exercise_users,onChange:(Je,Pt,Dt)=>{ue.page=Je==null?void 0:Je.current,ue.limit=Je==null?void 0:Je.pageSize,Dt!=null&&Dt.order?(ue.sort_by=Dt==null?void 0:Dt.field,ue.direction=(Dt==null?void 0:Dt.order)==="ascend"?"asc":"desc"):(ue.sort_by=null,ue.direction=null),ve(Oe({},ue)),$e()},pagination:!1}))),ge.createElement(We.Z,{span:1},ge.createElement("img",{src:Ae,style:{marginLeft:10}})),ge.createElement(We.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},ge.createElement("div",{className:He.searchMember,style:{width:550}},ge.createElement(Ce.Z,{className:He.searchMemberHeader},ge.createElement(We.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),ge.createElement(We.Z,{flex:"110px"},"\u5B66\u53F7"),ge.createElement(We.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),ge.createElement("div",{style:{overflow:"auto",height:390}},at==null?void 0:at.map((Je,Pt)=>ge.createElement(Ce.Z,{key:Pt,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},ge.createElement(We.Z,{flex:"100px"},Je.user_name),ge.createElement(We.Z,{flex:"110px"},Je.student_id),ge.createElement(We.Z,{flex:"120px",style:{marginLeft:5}},Je.user_group_name),ge.createElement(We.Z,{style:{marginLeft:10}},ge.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{Nt(at.filter(Dt=>Dt.user_id!=Je.user_id)),tt(ut.filter(Dt=>Dt!=Je.user_id))}})))))))),!(vt===1||vt===2)&&ge.createElement("div",{className:He.bottom},ge.createElement(fe.ZP,{className:He.no,onClick:()=>{lt()}},"\u53D6\u6D88"),ge.createElement(fe.ZP,{loading:Lt,type:"primary",onClick:()=>{wt()}},"\u786E\u5B9A")))};var Le=(0,rt.connect)(({})=>({}))(Re)},75436:function(tn,kt,te){"use strict";var ee=te(59301),de=te(78241),Ce=te(8591),We=te(43418),xe=te(71418),Ee=te(95237),fe=te(5112),be=te(5083),Fe=te(24905),He=te(66649),rt=te.n(He),Ae=te(79769),ge=te(25544),we=te(91482),Se=te(63087),Ne=te(56848),ke=Object.defineProperty,Ye=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,me=(xt,Ze,vt)=>Ze in xt?ke(xt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:vt}):xt[Ze]=vt,Re=(xt,Ze)=>{for(var vt in Ze||(Ze={}))Oe.call(Ze,vt)&&me(xt,vt,Ze[vt]);if(Ke)for(var vt of Ke(Ze))_e.call(Ze,vt)&&me(xt,vt,Ze[vt]);return xt},Le=(xt,Ze)=>Ye(xt,et(Ze)),Pe=(xt,Ze,vt)=>new Promise((ot,mt)=>{var Lt=Me=>{try{Qe(vt.next(Me))}catch(st){mt(st)}},It=Me=>{try{Qe(vt.throw(Me))}catch(st){mt(st)}},Qe=Me=>Me.done?ot(Me.value):Promise.resolve(Me.value).then(Lt,It);Qe((vt=vt.apply(xt,Ze)).next())});function De(xt,Ze){const vt=[];for(let ot=xt;ot<Ze;ot++)vt.push(ot);return vt}const ze=xt=>{let Ze=new Date;const vt=rt()(xt).format("HH");if(rt()(xt).isSame(rt()(Ze),"day")){const ot=rt()(Ze).format("HH"),mt=rt()(Ze).format("mm");return{disabledHours:()=>De(0,24).splice(1,ot*1-1),disabledMinutes:()=>rt()(xt).isSame(rt()(Ze),"hour")&&vt<=ot?De(0,60).splice(0,mt):De(60,60)}}else if(rt()(xt).isSame(rt()(),"day")){const ot=rt()().format("HH"),mt=rt()().format("mm");return{disabledHours:()=>De(0,24).splice(0,ot),disabledMinutes:()=>vt<=ot?De(0,mt):De(60,60)}}else return!1},Te=({exercise:xt,dispatch:Ze})=>{var vt;const ot=(0,we.useParams)(),[mt]=de.default.useForm(),[Lt,It]=(0,ee.useState)(1),[Qe,Me]=(0,ee.useState)([]),[st,zt]=(0,ee.useState)(!0),[ut,tt]=(0,ee.useState)([]),[at,Nt]=(0,ee.useState)(!0),[on,Ht]=(0,ee.useState)(!1);(0,ee.useEffect)(()=>{xt.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&Fn()},[xt.actionTabs]);const Fn=Wt=>Pe(void 0,null,function*(){var Ie,he;zt(!0);const ue=yield Ze({type:"exercise/getEndGroups",payload:Le(Re({},ot),{check_ids:[...((Ie=xt.actionTabs.selectArrs)==null?void 0:Ie.map(ye=>Number(ye)))||[]]})}),ve=(he=ue==null?void 0:ue.course_info)==null?void 0:he.map((ye,se)=>Le(Re({},ye),{key:ye.course_group_id,title:ye.course_group_name,name:ye.course_group_name,disabled:!!ye.is_published}));ue&&(ue!=null&&ue.course_info)&&(Me([...ve]),mt.setFieldsValue({end_time:rt()(rt()(new Date((0,ge.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),zt(!1)}),Qt=()=>Pe(void 0,null,function*(){var Wt,Ie,he,ue;const ve=Re({},mt.getFieldsValue());if((ut==null?void 0:ut.length)<=0&&Qe.length>0&&!((Wt=xt.actionTabs)!=null&&Wt.unified_setting)){Ce.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}Ht(!0);const ye={check_ids:[...((Ie=xt.actionTabs.selectArrs)==null?void 0:Ie.map($e=>Number($e)))||[]],group_ids:ut};at||(ye.end_time=rt()(ve.end_time).format("YYYY-MM-DD HH:mm")),ye.group_ids=ut.map($e=>$e.course_group_id),(yield(0,Ae.ZP)(`/api/courses/${ot.coursesId}/exercises/end_exercise.json`,{method:"post",body:ye})).status===0&&(Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,ge.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),Ze({type:"exercise/setActionTabs",payload:{}}),(he=xt==null?void 0:xt.actionTabs)!=null&&he.cb?(ue=xt==null?void 0:xt.actionTabs)==null||ue.cb():Ze({type:"classroomList/getClassroomExercisesList",payload:Re({},xt.actionTabs.params)})),Ht(!1)}),Ut=()=>{It(1),Me([]),tt([]),Nt(!0)};return ee.createElement(We.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:xt.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Qt,width:680,confirmLoading:on||st,onCancel:()=>{Ut(),Ze({type:"exercise/setActionTabs",payload:{}})}},ee.createElement(xe.Z,{spinning:st},Qe&&ee.createElement(de.default,{form:mt},ee.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},ee.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:Se.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),ee.createElement(Ee.Z,{className:"mt20 mb10"},ee.createElement("span",{className:"mr10"},ee.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),ee.createElement(fe.ZP.Group,{value:at,onChange:Wt=>{Nt(Wt.target.value),tt([])}},ee.createElement(fe.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),ee.createElement(fe.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),ee.createElement(de.default.Item,{name:"end_time",style:{marginTop:-3,visibility:at?"hidden":"visible"}},ee.createElement(be.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:rt()((0,ge.U6)(),"HH:mm")},disabledDate:Wt=>Wt&&Wt<rt()().subtract(0,"days"),disabledTime:ze,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),Qe.length>0&&!((vt=xt.actionTabs)!=null&&vt.unified_setting)&&ee.createElement(Ee.Z,{style:{marginBottom:"10px"}},ee.createElement("span",{className:"mr10"},ee.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),ee.createElement("div",null,Qe.length>0&&ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ee.createElement("span",{style:{flex:1}},ee.createElement(Fe.default,{checked:ut.length===Qe.length,onChange:Wt=>{ut.length===Qe.length?tt([]):tt(Qe)}},"\u5168\u9009")," "),ee.createElement("span",{style:{width:16}}),ee.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ut.length||0,"\u4E2A\u5206\u73ED")),ee.createElement(Ne.Z,{data:Qe,selectedRowKeys:ut,setSelectedRowKeys:tt}))))))};kt.Z=(0,we.connect)(({exercise:xt})=>({exercise:xt}))(Te)},72514:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return zt}});var ee=te(59301),de=te(78241),Ce=te(8591),We=te(43418),xe=te(71418),Ee=te(95237),fe=te(5112),be=te(5871),Fe=te(5083),He=te(78673),rt=te(24905),Ae=te(3113),ge=te(66649),we=te.n(ge),Se=te(79769),Ne=te(25544),ke=te(91482),Ye=te(31591),et=te(63087),Ke=te(56848),Oe=te(39954),_e={contentInterval:"contentInterval___wAfD8",numberInput:"numberInput___R9kLf",minorRuleText:"minorRuleText___LjpSg",failedList:"failedList___KYTHd",name:"name___MqNtz",publish:"publish___TPl6Z"},me=te(77754),Re=te(44093),Le=te(36671),Pe=te(59301),De=Object.defineProperty,ze=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,ot=(ut,tt,at)=>tt in ut?De(ut,tt,{enumerable:!0,configurable:!0,writable:!0,value:at}):ut[tt]=at,mt=(ut,tt)=>{for(var at in tt||(tt={}))Ze.call(tt,at)&&ot(ut,at,tt[at]);if(xt)for(var at of xt(tt))vt.call(tt,at)&&ot(ut,at,tt[at]);return ut},Lt=(ut,tt)=>ze(ut,Te(tt)),It=(ut,tt,at)=>new Promise((Nt,on)=>{var Ht=Ut=>{try{Qt(at.next(Ut))}catch(Wt){on(Wt)}},Fn=Ut=>{try{Qt(at.throw(Ut))}catch(Wt){on(Wt)}},Qt=Ut=>Ut.done?Nt(Ut.value):Promise.resolve(Ut.value).then(Ht,Fn);Qt((at=at.apply(ut,tt)).next())});function Qe(ut,tt){const at=[];for(let Nt=ut;Nt<tt;Nt++)at.push(Nt);return at}const Me=ut=>{let tt=new Date;const at=we()(ut).format("HH");if(we()(ut).isSame(we()(tt),"day")){const Nt=we()(tt).format("HH"),on=we()(tt).format("mm");return{disabledHours:()=>Qe(0,24).splice(1,Nt*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",at,Nt),we()(ut).isSame(we()(tt),"hour")&&at<=Nt?Qe(0,60).splice(0,on):Qe(60,60))}}else if(we()(ut).isSame(we()(),"day")){const Nt=we()().format("HH"),on=we()().format("mm");return{disabledHours:()=>Qe(0,24).splice(0,Nt),disabledMinutes:()=>at<=Nt?Qe(0,on):Qe(60,60)}}else return!1},st=({exercise:ut,dispatch:tt})=>{var at,Nt,on,Ht,Fn,Qt,Ut,Wt,Ie,he,ue,ve,ye,se,$e,wt,lt,Je,Pt,Dt,yt,jt,En;const _t=(0,ke.useParams)(),[Yt]=de.default.useForm(),[wn,Ft]=(0,ee.useState)(1),[it,Et]=(0,ee.useState)([]),[an,un]=(0,ee.useState)(!0),[vn,gn]=(0,ee.useState)([]),[Xn,ir]=(0,ee.useState)(!0),[Dr,kr]=(0,ee.useState)(!1),{workSetting:Bn}=ut,[jr,ci]=(0,ee.useState)(!1),[_r,Nr]=(0,ee.useState)([]),[ai,pi]=(0,ee.useState)([]),[Mn,pr]=(0,ee.useState)(!1),[Rr,Gr]=(0,ee.useState)(!1),[zr,ei]=(0,ee.useState)(!1),[Hr,fi]=(0,ee.useState)(null),[Pr,dr]=(0,ee.useState)(1),[oi,$t]=(0,ee.useState)({}),[pt,Bt]=(0,ee.useState)({}),[At,Ct]=(0,ee.useState)(!1),[Gt,nn]=(0,ee.useState)(!1),[_n,Pn]=(0,ee.useState)(!1),[Sn,rr]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{if(ut.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"){const{selectArrsAll:dn=[],type:Hn}=ut.actionTabs||{},ln=dn.filter(jn=>![100,120,150].includes(Number(jn.total_score)));ln.length?(Pn(Hn===1?"multiple":"single"),rr(ln.map(jn=>Lt(mt({},jn),{name:jn.exercise_name})))):nn(!0)}},[(at=ut==null?void 0:ut.actionTabs)==null?void 0:at.key]),console.log(_n,"visible"),(0,ee.useEffect)(()=>{var dn;if(ut.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Cr(),pn(),ut.actionTabs.type===2)){const Hn=(dn=ut.actionTabs)==null?void 0:dn.unified_setting;ir(Hn)}},[ut.actionTabs]),(0,ee.useEffect)(()=>{var dn,Hn,ln,jn,Mt,cn,hn;(dn=Bn==null?void 0:Bn.exercise)!=null&&dn.publish_time&&Yt.setFieldsValue({publish_time:we()((Hn=Bn==null?void 0:Bn.exercise)==null?void 0:Hn.publish_time)}),(ln=Bn==null?void 0:Bn.exercise)!=null&&ln.end_time&&Yt.setFieldsValue({end_time:we()((jn=Bn==null?void 0:Bn.exercise)==null?void 0:jn.end_time)}),Yt.setFieldsValue({exercise_type:(Mt=Bn==null?void 0:Bn.exercise)==null?void 0:Mt.exercise_type,simulate_exercise_num:(cn=Bn==null?void 0:Bn.exercise)==null?void 0:cn.simulate_exercise_num}),dr((hn=Bn==null?void 0:Bn.exercise)==null?void 0:hn.exercise_type)},[ut]);const gr=dn=>{var Hn;const ln=Yt.getFieldValue("publish_time");if(!ln||(Hn=Bn==null?void 0:Bn.exercise)!=null&&Hn.publish_time)return;let jn;dn===1?jn=we()(ln).add(120,"minutes"):jn=we()(ln).add(7,"days"),Yt.setFieldsValue({end_time:jn})},Cr=dn=>It(void 0,null,function*(){var Hn,ln;un(!0);const jn=yield(0,Ye.N3)({coursesId:_t.coursesId,check_ids:[...((Hn=ut.actionTabs.selectArrs)==null?void 0:Hn.map(cn=>Number(cn)))||[]]});console.log(jn,"res");const Mt=((ln=jn==null?void 0:jn.course_info)==null?void 0:ln.map((cn,hn)=>Lt(mt({},cn),{key:cn.course_group_id,title:cn.course_group_name,name:cn.course_group_name,disabled:!!cn.is_published})))||[];if((jn==null?void 0:jn.status)!==-1){Et([...Mt]);const cn=we()();Yt.setFieldsValue({publish_time:cn}),(Yt.getFieldValue("exercise_type")||1)===1?Yt.setFieldsValue({end_time:we()(cn).add(120,"minutes")}):Yt.setFieldsValue({end_time:we()(cn).add(7,"days")})}un(!1)});(0,ee.useEffect)(()=>{var dn,Hn,ln,jn,Mt,cn;if((dn=Bn==null?void 0:Bn.exercise)!=null&&dn.is_appoint_user){const hn=((ln=(Hn=Bn==null?void 0:Bn.exercise)==null?void 0:Hn.all_exercise_users)==null?void 0:ln.map(In=>In.user_id))||[];Nr([...hn])}pr((jn=Bn==null?void 0:Bn.exercise)==null?void 0:jn.is_appoint_user),Gr((Mt=Bn==null?void 0:Bn.exercise)==null?void 0:Mt.is_miss_exam_user),ei((cn=Bn==null?void 0:Bn.exercise)==null?void 0:cn.is_no_passing_user)},[Bn]),(0,ee.useEffect)(()=>{var dn,Hn,ln,jn,Mt,cn,hn,In;(Hn=(dn=ut==null?void 0:ut.actionTabs)==null?void 0:dn.selectArrs)!=null&&Hn[0]&&ut.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&tt({type:"exercise/getWorkSetting",payload:{categoryId:(jn=(ln=ut==null?void 0:ut.actionTabs)==null?void 0:ln.selectArrs)==null?void 0:jn[0],category:(cn=(Mt=ut==null?void 0:ut.actionTabs)==null?void 0:Mt.selectArrs)==null?void 0:cn[0],coursesId:(In=(hn=ut==null?void 0:ut.actionTabs)==null?void 0:hn.params)==null?void 0:In.id}})},[(Nt=ut==null?void 0:ut.actionTabs)==null?void 0:Nt.selectArrs]);const bn=()=>It(void 0,null,function*(){var dn,Hn,ln,jn,Mt,cn,hn;const In=mt({},Yt.getFieldsValue()),Ln=we()(we()(In.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),Un=we()(we()(In.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(Ln,Ln,33),Un<=Ln){Ce.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((vn==null?void 0:vn.length)<=0&&!Xn&&it.length>0&&!((dn=Bn==null?void 0:Bn.exercise)!=null&&dn.is_make_up_exercise)){Ce.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const Gn=it.map(li=>li.key),cr={check_ids:[...((Hn=ut.actionTabs.selectArrs)==null?void 0:Hn.map(li=>Number(li)))||[]],end_time:we()(In.end_time).format("YYYY-MM-DD HH:mm"),publish_time:we()(In.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:vn.map(li=>li.course_group_id),unified_setting:!vn.length,exercise_type:In.exercise_type,simulate_exercise_num:In.simulate_exercise_num};if(((ln=ut.actionTabs.selectArrsAll)==null?void 0:ln.length)>0&&ut.actionTabs.type===1&&(cr.check_ids=[...((Mt=(jn=ut.actionTabs.selectArrsAll)==null?void 0:jn.filter(li=>!li.high_resources_consume||li.high_resources_consume_permission))==null?void 0:Mt.map(li=>Number(li==null?void 0:li.id)))||[]]),(cn=Bn==null?void 0:Bn.exercise)!=null&&cn.is_make_up_exercise){if(Mn&&_r.length<=0||!Mn&&!(Rr||zr)){Ce.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}cr.is_appoint_user=Mn,cr.is_miss_exam_user=Rr,cr.is_no_passing_user=zr,Mn?cr.make_up_exercise_users=_r.map(li=>({user_id:li})):cr.make_up_exercise_user=[]}let{is_locked:Sr,open_camera:Wr,screen_open:gi,login_restrict:ki,ip_bind:si,ip_limit:wi,is_random:Qr,id:Gi,identity_verify:Hi,open_phone_video_recording:$i}=Bn==null?void 0:Bn.exercise;if(ut.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(Sr||Wr||gi||ki||si||wi=="pub"||wi=="inner"||Hi||$i)&&In.exercise_type==2){if(nn(!1),tt({type:"exercise/setActionTabs",payload:{}}),ut.actionTabs.type==2){let li=We.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:Pe.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",Pe.createElement("span",{style:{color:"#FA6400"}}," ",(0,Ne.hi)(Bn==null?void 0:Bn.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>It(void 0,null,function*(){var Qi;Ct(!0);let Pi=yield(0,Re.Tr)({exercise_ids:[...((Qi=ut.actionTabs.selectArrs)==null?void 0:Qi.map(xa=>Number(xa)))||[]],course_id:_t.coursesId,type:"exercise"});if((Pi==null?void 0:Pi.student_count)===0){if((yield Jt(cr))&&ut.actionTabs.isRouter){li.destroy(),ke.history.push(`/classrooms/${_t.coursesId}/exercise/${Gi}/detail?random=${Qr}&tabs=3&childrenTabs=2`);return}tt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else Bt(cr),$t(Pi)}),onCancel:()=>{li.destroy(),Ct(!1),Jt(cr)}})}else{let li=We.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:Pe.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>It(void 0,null,function*(){var Qi;Ct(!0);let Pi=yield(0,Re.Tr)({exercise_ids:[...((Qi=ut.actionTabs.selectArrs)==null?void 0:Qi.map(xa=>Number(xa)))||[]],course_id:_t.coursesId,type:"exercise"});if((Pi==null?void 0:Pi.student_count)===0){if((yield Jt(cr))&&ut.actionTabs.isRouter){ke.history.push(`/classrooms/${_t.coursesId}/exercise/${Gi}/detail?random=${Qr}&tabs=3&childrenTabs=2`);return}tt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else Bt(cr),$t(Pi)})})}return}let Ai=yield(0,Re.Tr)({exercise_ids:[...((hn=ut.actionTabs.selectArrs)==null?void 0:hn.map(li=>Number(li)))||[]],course_id:_t.coursesId,type:"exercise"});(Ai==null?void 0:Ai.student_count)===0?Jt(cr):(Bt(cr),$t(Ai))}),$n=()=>{var dn;let Hn=[...(dn=ut.actionTabs.selectArrsAll)==null?void 0:dn.filter(ln=>ln.high_resources_consume&&!ln.high_resources_consume_permission)];(Hn==null?void 0:Hn.length)>0&&ut.actionTabs.type===1&&We.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:Pe.createElement("div",null,Pe.createElement("div",{className:_e.tipcontent},Pe.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",Hn==null?void 0:Hn.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),Pe.createElement("div",{className:"mt20 mb20"},Hn==null?void 0:Hn.map(ln=>Pe.createElement("div",{className:_e.failedList,key:ln.id},Pe.createElement("div",{className:_e.name},ln==null?void 0:ln.exercise_name),Pe.createElement("div",{className:_e.publish,onClick:()=>{(0,Ne.xg)(`/classrooms/${_t.coursesId}/exercise/${ln.id}/detail?random=${ln.is_random}`)}},"\u53D1\u5E03"))))))})},Jt=dn=>It(void 0,null,function*(){var Hn,ln,jn;if(ut.actionTabs.type===1){let hn=[...(Hn=ut.actionTabs.selectArrsAll)==null?void 0:Hn.filter(In=>In.high_resources_consume&&!In.high_resources_consume_permission)];if((hn==null?void 0:hn.length)==ut.actionTabs.selectArrsAll.length){nn(!1),tt({type:"exercise/setActionTabs",payload:{}}),$n();return}}let Mt=!1;return kr(!0),(yield(0,Se.ZP)(`/api/courses/${_t.coursesId}/exercises/publish.json`,{method:"post",body:dn})).status===0&&((0,Ne.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),pn(),Ce.ZP.success("\u53D1\u5E03\u6210\u529F"),nn(!1),tt({type:"exercise/setActionTabs",payload:{}}),(ln=ut==null?void 0:ut.actionTabs)!=null&&ln.cb?(jn=ut==null?void 0:ut.actionTabs)==null||jn.cb():tt({type:"classroomList/getClassroomExercisesList",payload:mt({},ut.actionTabs.params)}),Mt=!0,ut.actionTabs.type===1&&$n()),kr(!1),Mt}),pn=()=>{Ft(1),Et([]),gn([])},An=(dn,Hn,ln)=>{dn<=0?Ce.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(Nr(Hn),pi(ln),ci(!1))};return Pe.createElement(ee.Fragment,null,Pe.createElement(We.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:Gt,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:bn,confirmLoading:Dr||an,onCancel:()=>{pn(),nn(!1),tt({type:"exercise/setActionTabs",payload:{}})}},Pe.createElement(xe.Z,{spinning:an},it&&Pe.createElement(de.default,{form:Yt},!!((on=ut==null?void 0:ut.actionTabs)!=null&&on.disabled)&&Pe.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},Pe.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:et.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((Ht=Bn==null?void 0:Bn.exercise)!=null&&Ht.is_make_up_exercise)&&Pe.createElement(Pe.Fragment,null,Pe.createElement(Ee.Z,null,Pe.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},Pe.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),Pe.createElement(de.default.Item,{name:"exercise_type"},Pe.createElement(fe.ZP.Group,{disabled:((Fn=Bn==null?void 0:Bn.exercise)==null?void 0:Fn.exercise_status)>1,onChange:dn=>{dr(dn.target.value),gr(dn.target.value)}},Pe.createElement(fe.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),Pe.createElement(fe.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Pr==2&&Pe.createElement(Ee.Z,{className:`${_e.contentInterval}`},Pe.createElement("span",{className:`${_e.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),Pe.createElement(de.default.Item,{name:"simulate_exercise_num"},Pe.createElement(be.Z,{className:_e.numberInput,style:{width:145},precision:0,size:"middle",disabled:((Qt=Bn==null?void 0:Bn.exercise)==null?void 0:Qt.exercise_status)>1,min:1,max:999})),Pe.createElement("span",null,"\u6B21",Pe.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),Pe.createElement(Ee.Z,null,Pe.createElement("span",{className:"mr10 mt5"},Pe.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),Pe.createElement(de.default.Item,{name:"publish_time"},Pe.createElement(Fe.default,{style:{width:170},disabledDate:dn=>dn&&dn<=we()().subtract(0,"days"),disabledTime:Me,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:we()((0,Ne.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),Pe.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),Pe.createElement(de.default.Item,{name:"end_time"},Pe.createElement(Fe.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:we()((0,Ne.U6)(),"HH:mm")},disabledDate:dn=>dn&&dn<we()().subtract(0,"days"),disabledTime:Me,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),((Ut=Bn==null?void 0:Bn.exercise)==null?void 0:Ut.is_make_up_exercise)&&Pe.createElement(Pe.Fragment,null,Pe.createElement(Ee.Z,null,Pe.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),Pe.createElement(He.Z,{checked:Mn,onChange:(dn,Hn)=>{var ln,jn,Mt,cn,hn;if(pr(dn),dn)if((ln=Bn==null?void 0:Bn.exercise)!=null&&ln.is_appoint_user){const In=(Mt=(jn=Bn==null?void 0:Bn.exercise)==null?void 0:jn.all_exercise_users)==null?void 0:Mt.map(Ln=>Ln.user_id);Nr([...In])}else Nr([]),Gr(!1),ei(!1);else Gr((cn=Bn==null?void 0:Bn.exercise)==null?void 0:cn.is_miss_exam_user),ei((hn=Bn==null?void 0:Bn.exercise)==null?void 0:hn.is_no_passing_user)},disabled:((Wt=Bn==null?void 0:Bn.exercise)==null?void 0:Wt.exercise_status)!==1}),Pe.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Mn&&Pe.createElement(Ee.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},Pe.createElement(rt.default,{checked:Rr,disabled:((Ie=Bn==null?void 0:Bn.exercise)==null?void 0:Ie.exercise_status)!==1||((he=Bn==null?void 0:Bn.exercise)==null?void 0:he.miss_exam_count)<=0,onChange:dn=>{Gr(dn.target.checked)}},Pe.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),Pe.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{fi(1),pr(!1),ci(!0)}},"\uFF08",`${(ue=Bn==null?void 0:Bn.exercise)==null?void 0:ue.miss_exam_count}\u4EBA`,"\uFF09"),Pe.createElement(rt.default,{checked:zr,disabled:((ve=Bn==null?void 0:Bn.exercise)==null?void 0:ve.exercise_status)!==1||((ye=Bn==null?void 0:Bn.exercise)==null?void 0:ye.no_passing_count)<=0,onChange:dn=>{ei(dn.target.checked)}},Pe.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),Pe.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{fi(2),pr(!1),ci(!0)}},"\uFF08",`${(se=Bn==null?void 0:Bn.exercise)==null?void 0:se.no_passing_count}\u4EBA`,"\uFF09")),Mn&&Pe.createElement(Ee.Z,{className:"mt20",style:{paddingLeft:"90px"}},Pe.createElement(Ae.ZP,{type:"primary",ghost:!0,disabled:(($e=Bn==null?void 0:Bn.exercise)==null?void 0:$e.exercise_status)!==1,onClick:()=>{ci(!0),fi(void 0)}},Pe.createElement("span",null,Pe.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),Pe.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),Pe.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${_r.length||0} \u4EBA`,"\uFF09"))),ut.actionTabs.type===2&&!((wt=Bn==null?void 0:Bn.exercise)!=null&&wt.is_make_up_exercise)&&Pe.createElement(Ee.Z,{style:{marginBottom:"10px"}},Pe.createElement("span",{className:"mr10"},Pe.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),Pe.createElement(fe.ZP.Group,{value:Xn,onChange:dn=>{ir(dn.target.value),gn([])}},Pe.createElement(fe.ZP,{disabled:!!((lt=ut==null?void 0:ut.actionTabs)!=null&<.disabled)||it.some(dn=>dn==null?void 0:dn.is_published)||!((Je=ut==null?void 0:ut.actionTabs)!=null&&Je.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),Pe.createElement(fe.ZP,{disabled:it.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),it.length<=0&&ut.actionTabs.type===2&&!((Pt=Bn==null?void 0:Bn.exercise)!=null&&Pt.is_make_up_exercise)&&Pe.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ut.actionTabs.type===1||!Xn)&&!((Dt=Bn==null?void 0:Bn.exercise)!=null&&Dt.is_make_up_exercise)&&it.length>0&&Pe.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},Pe.createElement("span",{style:{flex:1}},Pe.createElement(rt.default,{checked:vn.length===it.length,onChange:dn=>{vn.length===it.length?gn([]):gn(it)}},"\u5168\u9009")),Pe.createElement("span",{style:{width:16}}),Pe.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",vn.length||0,"\u4E2A\u5206\u73ED")),(ut.actionTabs.type===1||!Xn)&&!((yt=Bn==null?void 0:Bn.exercise)!=null&&yt.is_make_up_exercise)&&it.length>0&&Pe.createElement(Ke.Z,{data:it,selectedRowKeys:vn,setSelectedRowKeys:gn})),Pe.createElement(Oe.Z,{visible:jr,setVisible:ci,onK:An,selectKeys:_r,selectRows:ai,appointStudent:Mn,modalParams:Hr,courseId:_t.categoryId||((En=(jt=ut==null?void 0:ut.actionTabs)==null?void 0:jt.selectArrs)==null?void 0:En[0])})),Pe.createElement(me.Z,{resdata:oi,type:"exercisepush",okloading:Dr,oktext:(oi==null?void 0:oi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:dn=>It(void 0,null,function*(){var Hn,ln,jn;kr(!0);let Mt=yield(0,Se.ZP)(`/api/courses/${_t.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((Hn=ut.actionTabs.selectArrs)==null?void 0:Hn.map(cn=>Number(cn)))||[]]}});if(kr(!1),(Mt==null?void 0:Mt.status)===0)if(At){let cn=yield Jt(pt);if(We.default.destroyAll(),cn&&ut.actionTabs.isRouter){ke.history.push(`/classrooms/${_t.coursesId}/exercise/${(ln=Bn==null?void 0:Bn.exercise)==null?void 0:ln.id}/detail?random=${(jn=Bn==null?void 0:Bn.exercise)==null?void 0:jn.is_random}&tabs=3&childrenTabs=2`);return}tt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else Jt(pt)})})),Pe.createElement(Le.Z,{text:"\u662F\u5426\u7EE7\u7EED\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u53D1\u5E03\uFF1F",okText:"\u786E\u8BA4\u53D1\u5E03",visible:_n,dataSource:Sn,onSuccess:()=>{Pn(!1),nn(!0)},onClose:()=>{Pn(!1),pn(),tt({type:"exercise/setActionTabs",payload:{}})}}))};var zt=(0,ke.connect)(({exercise:ut})=>({exercise:ut}))(st)},56848:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return He}});var ee=te(59301),de=te(92832),Ce=te(24905),We=te(95237),xe={leftdiv:"leftdiv___iuhY9",listClass:"listClass___o5N53",spantitle:"spantitle___KVMSL",rightdiv:"rightdiv___f2zZr"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",fe=te(18540),be=(rt,Ae,ge)=>new Promise((we,Se)=>{var Ne=et=>{try{Ye(ge.next(et))}catch(Ke){Se(Ke)}},ke=et=>{try{Ye(ge.throw(et))}catch(Ke){Se(Ke)}},Ye=et=>et.done?we(et.value):Promise.resolve(et.value).then(Ne,ke);Ye((ge=ge.apply(rt,Ae)).next())}),He=({data:rt,value:Ae=[],handleChangePage:ge,setSelectedRowKeys:we,selectedRowKeys:Se,onChange:Ne=()=>{}})=>{const[ke,Ye]=(0,ee.useState)([]),[et,Ke]=(0,ee.useState)([]),[Oe,_e]=(0,ee.useState)([]);let[me,Re]=(0,ee.useState)(1),[Le,Pe]=(0,ee.useState)();return(0,ee.useEffect)(()=>{Ye(rt),Ke([]),_e([])},[rt]),(0,ee.useEffect)(()=>{we&&(Ke(Se),_e(Se))},[Se]),ee.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ee.createElement("div",{className:xe.leftdiv},ee.createElement(de.default.Search,{size:"middle",onChange:De=>be(void 0,null,function*(){Ye(rt.filter(ze=>{var Te;return(Te=ze==null?void 0:ze.name)==null?void 0:Te.includes(De.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ke.length===0&&ee.createElement(fe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),ee.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},ee.createElement(Ce.default.Group,{value:et.map(De=>`${De.course_group_id}`),onChange:De=>{we(ke.filter(ze=>De.includes(`${ze.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ke.map((De,ze)=>ee.createElement(We.Z,{key:De.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},ee.createElement(Ce.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:De.is_published,value:`${De.course_group_id}`},ee.createElement("div",{className:xe.listClass},ee.createElement("span",{className:xe.spantitle,style:{width:De.is_published?"108px":"170px"}},De.name),De.is_published&&ee.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),ee.createElement("div",{className:xe.rightdiv},ee.createElement(de.default.Search,{onChange:De=>{_e(et.filter(ze=>ze.name.includes(De.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Oe.length===0&&ee.createElement(fe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Oe.length>0&&ee.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},ee.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Oe.map((De,ze)=>ee.createElement(We.Z,{justify:"space-between",style:{marginTop:"10px"},key:De.course_group_id},ee.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},De.name),ee.createElement("img",{src:Ee,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{we(et.filter(Te=>`${Te.course_group_name}`!=`${De.course_group_name}`))}})))))))}},62782:function(tn,kt,te){"use strict";var ee=te(59301),de=te(31797),Ce=te(5871),We=te(78241),xe=te(43418),Ee=te(71418),fe=te(1710),be=te(92832),Fe=te(95237),He=te(43604),rt=te(3113),Ae=te(31591),ge=te(66649),we=te.n(ge),Se=te(91482),Ne=te(25544),ke=te(96751),Ye=te(7544),et=te(87001),Ke=te(59301),Oe=(Le,Pe,De)=>new Promise((ze,Te)=>{var xt=ot=>{try{vt(De.next(ot))}catch(mt){Te(mt)}},Ze=ot=>{try{vt(De.throw(ot))}catch(mt){Te(mt)}},vt=ot=>ot.done?ze(ot.value):Promise.resolve(ot.value).then(xt,Ze);vt((De=De.apply(Le,Pe)).next())});const{Countdown:_e}=de.default,me=({value:Le,onChange:Pe,MaxMinutes:De})=>Ke.createElement(Ke.Fragment,null,Ke.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",Ke.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",Ke.createElement("br",null)),Ke.createElement(Ce.Z,{value:Le,onChange:Pe,min:0,precision:0,max:De,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${De}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),Re=({exercise:Le,successCb:Pe,dispatch:De})=>{var ze,Te,xt,Ze;const vt=(0,Se.useParams)(),[ot]=We.default.useForm(),mt=We.default.useWatch("time",ot),[Lt,It]=(0,ee.useState)(!1),Qe=(0,ee.useRef)(),{actionTabs:Me}=Le,[st,zt]=(0,ee.useState)(),[,ut,tt,at]=(0,et.U)(Ae.n7,{id:vt.categoryId}),[,Nt,on]=(0,et.U)(Ae.Cd,{});(0,ee.useEffect)(()=>{Le.actionTabs.key==="student-unlock"&&(It(!1),ot.resetFields())},[Le.actionTabs.key]);const Ht=()=>new Promise(ye=>Oe(void 0,null,function*(){var se,$e;return Qe.current=yield(0,ke.y)({ip_limit:(se=Me==null?void 0:Me.exerciseParams)==null?void 0:se.ip_limit,ip_bind:($e=Me==null?void 0:Me.exerciseParams)==null?void 0:$e.ip_bind_type}),ye()})),Fn=()=>Oe(void 0,null,function*(){var ye,se,$e,wt,lt;yield ot.validateFields();const Je=ot.getFieldsValue();if(It(!0),(((ye=Me==null?void 0:Me.exerciseParams)==null?void 0:ye.ip_limit)!=="no"||(se=Me==null?void 0:Me.exerciseParams)!=null&&se.ip_bind_type)&&(yield Ht()),(yield(0,Ae.ZD)(($e=Me==null?void 0:Me.exerciseParams)==null?void 0:$e.id,{exercise_user_id:(wt=Me==null?void 0:Me.exerciseParams)==null?void 0:wt.exercise_user_id,unlock_key:Je.unlock_key,time:Je.time,ip:Qe.current})).status===0){if(Pe){De({type:"exercise/setActionTabs",payload:{}}),Pe();return}const Dt=Me==null?void 0:Me.exerciseParams;(0,Ne.nr)({inner_ip:Dt.inner_ip,public_ip:Dt.public_ip,open_camera:Dt.open_camera,ip_limit:Dt.ip_limit,ip_bind:Dt.ip_bind,ip_bind_type:Dt.ip_bind_type,exercise_tips:Dt.exercise_tips,exerciseId:Dt.id,screen_open:Dt.screen_open,screen_num:Dt.screen_num,screen_sec:Dt.screen_sec,coursesId:vt.coursesId,login:(lt=(0,Ye.eY)())==null?void 0:lt.login,history,identity_verify:Dt.identity_verify,open_phone_video_recording:Dt.open_phone_video_recording,current_status:Dt.current_status}),De({type:"exercise/setActionTabs",payload:{}})}It(!1)}),Qt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:ye=>Ke.createElement("span",{className:ye.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ye)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ye=>Ke.createElement("span",{className:ye.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ye)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ut=((ze=Me==null?void 0:Me.exerciseParams)==null?void 0:ze.errorMessage)&&typeof((Te=Me==null?void 0:Me.exerciseParams)==null?void 0:Te.errorMessage)=="object";(0,ee.useEffect)(()=>{Le.actionTabs.key==="student-unlock"&&Oe(void 0,null,function*(){const ye=yield on(vt);yield tt({}),ye.status||zt(ye)})},[Le.actionTabs.key]);const{time:Wt,end_time:Ie}=(st==null?void 0:st.exercise)||{},he=at!=null&&at.user_end_time?we()(at==null?void 0:at.user_end_time).add(1,"minutes"):we()(),ue=we()(at==null?void 0:at.user_total_end_time)>he?Math.round(we().duration(we()(at==null?void 0:at.user_total_end_time).diff(he.startOf("minute"))).asMinutes()):0,ve=((at==null?void 0:at.student_left_minutes)||0)+(mt||0);return Ke.createElement(Ke.Fragment,null,Ke.createElement(xe.default,{width:514,centered:!0,closable:!!((xt=Me==null?void 0:Me.exerciseParams)!=null&&xt.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:Le.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{De({type:"exercise/setActionTabs",payload:{}})}},Ke.createElement(Ee.Z,{spinning:ut||Nt},Ut&&Ke.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ut&&Ke.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ut&&Ke.createElement(fe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ze=Me==null?void 0:Me.exerciseParams)==null?void 0:Ze.errorMessage)||{}],columns:Qt}),Ke.createElement("div",{className:""},Ke.createElement(We.default,{form:ot,layout:"vertical",autoComplete:"off"},Ke.createElement(We.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},Ke.createElement(be.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Wt!==-1?Ke.createElement(Ke.Fragment,null,Ke.createElement(We.default.Item,{name:"time",label:Ke.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",Ke.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",we()(at==null?void 0:at.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},Ke.createElement(me,{MaxMinutes:ue})),Ke.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",Ke.createElement("span",{className:"ml5"},ut||Nt?"--":ve),"\u5206\u949F",ve!==0&&(at==null?void 0:at.user_end_time)&&Ke.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",Ke.createElement("span",{className:"ml5"},we()(at==null?void 0:at.user_end_time).add(mt||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):Ke.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",we()(Ie).format("YYYY-MM-DD HH:mm")))),Ke.createElement(Fe.Z,{justify:"space-between",align:"middle"},Ke.createElement(He.Z,null),Ke.createElement(He.Z,null,Ke.createElement(rt.ZP,{loading:Lt,onClick:Fn},"\u8FDB\u5165\u8003\u8BD5"))))))};kt.Z=(0,Se.connect)(({exercise:Le})=>({exercise:Le}))(Re)},4242:function(tn,kt,te){"use strict";te.d(kt,{w:function(){return Ee}});var ee=te(79769),de=te(43418),Ce=te(91482),We=te(59301),xe=(fe,be,Fe)=>new Promise((He,rt)=>{var Ae=Se=>{try{we(Fe.next(Se))}catch(Ne){rt(Ne)}},ge=Se=>{try{we(Fe.throw(Se))}catch(Ne){rt(Ne)}},we=Se=>Se.done?He(Se.value):Promise.resolve(Se.value).then(Ae,ge);we((Fe=Fe.apply(fe,be)).next())});const Ee=(fe,be,Fe="\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E...",He=1,rt=2)=>xe(void 0,null,function*(){He===1&&(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:He===1?Fe:"\u6B63\u5728\u68C0\u6D4B\u4E2D\uFF0C\u8BF7\u7A0D\u540E..."}});const Ae=yield(0,ee.ZP)(`/api/exercises/${be}/user_appraise_status.json`,{method:"get",params:{appraise_type:He}});if((Ae==null?void 0:Ae.status)===-1)return(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}}),Promise.reject();let ge={status:0};if((Ae==null?void 0:Ae.type)===2&&(ge=yield(0,ee.ZP)(`/api/exercises/${be}/create_appraise_students.json`,{method:"get"})),(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(ge==null?void 0:ge.status)===-1)return Promise.reject();if((Ae==null?void 0:Ae.type)===2){const we=()=>{Ce.history.replace(`/classrooms/${fe}/exercise/${be}/centralizeReview/${ge==null?void 0:ge.login}`)};if(de.default.confirm({centered:!0,width:470,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",keyboard:!1,onOk:we,onCancel:()=>{rt===1&&Ce.history.replace(`/classrooms/${fe}/exercise/${be}/detail`)},content:We.createElement("div",null,We.createElement("div",null,"\u60A8\u5DF2\u6210\u4E3A\u6307\u5B9A\u9605\u5377\u6559\u5E08\uFF0C\u662F\u5426\u73B0\u5728\u524D\u5F80",We.createElement("span",{onClick:we,className:"ml5 mr5 c-light-primary current"},"\u96C6\u4E2D\u9605\u5377"),"\u7EE7\u7EED\u8BC4\u9605\uFF1F"),We.createElement("div",{className:"c-grey-999"},"\uFF08\u9605\u5377\u7ED3\u675F\u540E\u6062\u590D\u5B66\u751F\u4E2A\u4EBA\u8BC4\u9605\u529F\u80FD\uFF0C\u5E76\u5C55\u793A\u5B66\u751F\u6210\u7EE9\uFF09"))}),rt!==3)return Promise.reject()}if((Ae==null?void 0:Ae.type)===3&&(de.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",keyboard:!1,title:"\u63D0\u793A",onOk:()=>{rt===1&&Ce.history.replace(`/classrooms/${fe}/exercise/${be}/detail`)},content:We.createElement("div",null,(Ae==null?void 0:Ae.message)||"")}),rt!==3)||(Ae==null?void 0:Ae.type)===4&&(de.default.info({centered:!0,width:470,okText:"\u786E\u5B9A",title:"\u63D0\u793A",keyboard:!1,onOk:()=>{rt===1&&Ce.history.replace(`/classrooms/${fe}/exercise/${be}/detail`)},content:We.createElement("div",null,(Ae==null?void 0:Ae.message)||"")}),rt!==3))return Promise.reject()})},43255:function(tn,kt,te){"use strict";te.d(kt,{Q8:function(){return Me},d0:function(){return st},w6:function(){return Qe}});var ee=te(59301),de=te(5083),Ce=te(57809),We=te(8591),xe=te(43418),Ee=te(5112),fe=te(95237),be=te(43604),Fe=te(6848),He=te(24905),rt=te(3113),Ae=te(66649),ge=te.n(Ae),we=te(7544),Se=te(79769),Ne=te(78267),ke=te.n(Ne),Ye=te(25544),et=te(7923),Ke=te(91482),Oe=te(78707),_e=te(20808),me=te(73438),Re=te(77754),Le=te(44093),Pe=te(59301),De=Object.defineProperty,ze=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,ot=(at,Nt,on)=>Nt in at?De(at,Nt,{enumerable:!0,configurable:!0,writable:!0,value:on}):at[Nt]=on,mt=(at,Nt)=>{for(var on in Nt||(Nt={}))Ze.call(Nt,on)&&ot(at,on,Nt[on]);if(xt)for(var on of xt(Nt))vt.call(Nt,on)&&ot(at,on,Nt[on]);return at},Lt=(at,Nt)=>ze(at,Te(Nt)),It=(at,Nt,on)=>new Promise((Ht,Fn)=>{var Qt=Ie=>{try{Wt(on.next(Ie))}catch(he){Fn(he)}},Ut=Ie=>{try{Wt(on.throw(Ie))}catch(he){Fn(he)}},Wt=Ie=>Ie.done?Ht(Ie.value):Promise.resolve(Ie.value).then(Qt,Ut);Wt((on=on.apply(at,Nt)).next())});function Qe(at,Nt){const on=[];for(let Ht=at;Ht<Nt;Ht++)on.push(Ht);return on}const Me=(at,Nt,on)=>{const Ht=at<ge()().startOf("day"),Fn=at>ge()(Nt).endOf("day"),Qt=at<ge()(on).startOf("day");return Nt?on?ge()()<=ge()(on)?Qt||Fn:Ht||Fn:at&&Ht||Fn:on&&ge()()<=ge()(on)?Qt:Ht},st=(at,Nt)=>{const on=parseInt(ge()(at).format("HH")),Ht=parseInt(ge()().format("HH")),Fn=parseInt(ge()().format("mm"));if(!at)return{disabledHours:()=>Qe(0,Ht),disabledMinutes:()=>Qe(0,Fn)};if(Nt){const Qt=parseInt(ge()(Nt).format("HH")),Ut=parseInt(ge()(Nt).format("mm"));return ge()(at).isSame(ge()(Nt),"day")?{disabledHours:()=>Qe(0,Qt),disabledMinutes:()=>on<=Qt?Qe(0,Ut):[]}:void 0}if(ge()(at).isSame(ge()(),"day"))return{disabledHours:()=>Qe(0,Ht),disabledMinutes:()=>ge()(at).isSame(ge()(),"hour")&&on<=Ht?Qe(0,Fn):[]}},{RangePicker:zt}=de.default,{Option:ut}=Ce.default,tt=({shixunHomeworks:at,loading:Nt,dispatch:on,classroomList:Ht,user:Fn})=>{var Qt,Ut,Wt,Ie,he,ue,ve,ye,se;const $e=(0,Ke.useParams)(),{workSetting:wt,workList:lt,shixunWorkList:Je,headerInfo:Pt,changeData:Dt}=at,[yt,jt]=(0,ee.useState)(!1),[En,_t]=(0,ee.useState)(!1);let[Yt,wn]=(0,ee.useState)([]),[Ft,it]=(0,ee.useState)([]),[Et,an]=(0,ee.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Oe.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[un,vn]=(0,ee.useState)({}),[gn,Xn]=(0,ee.useState)({});(0,ee.useEffect)(()=>()=>{wn([])},[]),(0,ee.useEffect)(()=>{jt(!(0,we.GJ)())},[(0,we.GJ)()]);const ir=()=>{on({type:"shixunHomeworks/getWorkSetting",payload:mt({},$e)})};(0,ee.useEffect)(()=>{if(!(wt!=null&&wt.course_id))return;Object.keys(Et).map(function(pr){Et[pr]=wt[pr]}),(!Et.allow_late||!Et.unified_late)&&(Et.late_penalty=20,Et.penalty_type=Oe.Q.Percent),Et.unified_setting||(Et.unified_late=!1,Et.unified_anonymous_comment=!1,Et.unified_anonymous_appeal=!1),Yt=JSON.parse(JSON.stringify(wt.group_settings.map(pr=>Lt(mt({},pr),{group_name:[pr.group_name]})).filter(pr=>pr.publish_time!==null))),Ft=JSON.parse(JSON.stringify(wt.allow_late_settings.map(pr=>Lt(mt({},pr),{group_name:[pr.group_name]})).filter(pr=>pr.late_time!==null))),an(mt({},Et));const Mn=(0,Ye.QE)((Yt==null?void 0:Yt.length)>0?Yt:[]);wn([...Mn]),(Ft==null?void 0:Ft.length)<=0?it([{penalty_type:Oe.Q.Percent,late_penalty:20}]):it([...Ft])},[wt]);const Dr=()=>It(void 0,null,function*(){var Mn,pr;if(((Mn=Fn==null?void 0:Fn.userInfo)==null?void 0:Mn.user_status)===2){(0,_e.Rd)();return}const Rr=JSON.parse(JSON.stringify(Et));if(Rr.challenge_settings.filter(zr=>!zr.hide),Rr.categoryId=$e.categoryId,(pr=Rr.challenge_settings)!=null&&pr.every(zr=>!zr.checked)){We.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(Yt),!Et.unified_setting)Yt=Yt==null?void 0:Yt.map(zr=>{var ei;if(!zr.publish_time||!zr.end_time)throw We.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(!zr.group_name)throw We.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return zr.group_name=typeof(zr==null?void 0:zr.group_name)=="string"?[zr==null?void 0:zr.group_name]:zr==null?void 0:zr.group_name,zr.group_id=(ei=wt.group_settings)==null?void 0:ei.filter(Hr=>{var fi;return(fi=zr==null?void 0:zr.group_name)==null?void 0:fi.includes(Hr.group_name)}).map(Hr=>Hr.group_id||Hr.id).toString().split(","),zr});else if(!Et.publish_time||!Et.end_time)throw We.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(Rr.group_settings=Yt,Et.allow_late)if(Et.unified_late){if(Et.late_penalty===null||Et.late_penalty===void 0||Et.late_penalty<0||Et.late_penalty>100)throw We.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(!Et.late_time)throw We.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 Ft=Ft==null?void 0:Ft.map(zr=>{var ei,Hr;if(zr.late_penalty===null||zr.late_penalty===void 0||zr.late_penalty<0||zr.late_penalty>100)throw We.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(!zr.late_time)throw We.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(!zr.group_name)throw We.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return zr.group_name=typeof(zr==null?void 0:zr.group_name)=="string"?[zr==null?void 0:zr.group_name]:zr==null?void 0:zr.group_name,zr.group_id=(Hr=(ei=zr==null?void 0:zr.group_name)==null?void 0:ei.map(fi=>{var Pr,dr;let oi=(dr=(Pr=wt.group_settings)==null?void 0:Pr.filter($t=>($t==null?void 0:$t.group_name)===fi))==null?void 0:dr[0];return oi==null?void 0:oi.group_id}))==null?void 0:Hr.toString().split(","),zr}),Rr.allow_late_settings=Ft;let Gr=yield(0,Le.Tr)({homework_common_ids:[parseInt($e.categoryId)],course_id:$e.coursesId,type:"homework_common"});(Gr==null?void 0:Gr.student_count)===0?kr(Rr):(Xn(Rr),vn(Gr))}),kr=Mn=>{var pr;if(Mn.total_score===null){We.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(Mn!=null&&Mn.work_efficiency&&Mn.eff_score===null){We.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const Rr=Mn.challenge_settings.reduce((ei,Hr)=>ei+Number(Hr.challenge_score),0);if((Rr==null?void 0:Rr.toFixed(10))!==((pr=Mn.total_score-Mn.eff_score)==null?void 0:pr.toFixed(10))){We.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${Mn.total_score}\u5206`);return}const Gr={shixun_evaluation:Mn.shixun_evaluation,challenge_settings:Mn.challenge_settings};let zr=()=>{var ei;const Hr=()=>It(void 0,null,function*(){_t(!0),(yield(0,Se.ZP)(`/api/homework_commons/${$e.categoryId}/publish_setting.json`,{method:"post",body:mt({},Mn)})).status===0&&(We.ZP.success("\u66F4\u65B0\u6210\u529F"),ir(),on({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:mt({},$e)})),_t(!1)});!(0,Ne.isEqual)(Dt,Gr)&&!((ei=Pt==null?void 0:Pt.homework_status)!=null&&ei.includes("\u672A\u53D1\u5E03"))?xe.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:Hr}):Hr()};wt!=null&&wt.high_resources_consume&&!(wt!=null&&wt.high_resources_consume_permission)?on({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:$e.coursesId,type:"shixun",type_id:$e.categoryId,name:wt.homework_name,fn:()=>{zr()}}}):zr()},Bn=(Mn,pr,Rr="group_id")=>{var Gr;return pr?pr.find(zr=>zr[Rr]===Mn):(Gr=wt==null?void 0:wt.group_settings)==null?void 0:Gr.find(zr=>zr.group_id[0]===Mn)},jr=(wt==null?void 0:wt.allow_late)||(wt==null?void 0:wt.anonymous_comment),ci=Mn=>{var pr,Rr;const Gr=Bn(Mn,wt==null?void 0:wt.allow_late_settings,"id"),zr=Bn(Mn,wt==null?void 0:wt.anonymous_comment_settings),ei=Bn(Mn);return(wt==null?void 0:wt.allow_late)&&Gr&&ge()(Gr==null?void 0:Gr.late_time)<=ge()()||(wt==null?void 0:wt.anonymous_comment)&&zr&&(zr==null?void 0:zr.evaluation_start)!==null||((Rr=(ge()(ei==null?void 0:ei.end_time)<=ge()()&&((pr=wt==null?void 0:wt.allow_late_settings)==null?void 0:pr.filter(Hr=>Hr.group_id.includes(Mn))))[0])==null?void 0:Rr.late_time)!=null},_r=(0,ee.useMemo)(()=>(wt==null?void 0:wt.allow_late)||(wt==null?void 0:wt.all_group_late),[wt,Pt]),Nr=wt==null?void 0:wt.anonymous_comment,ai=Mn=>{if(!Mn)return!1;const pr=Bn(Mn,wt==null?void 0:wt.anonymous_comment_settings);return(wt==null?void 0:wt.anonymous_comment)&&pr&&(pr==null?void 0:pr.evaluation_start)!==null},pi=(Mn,pr)=>{var Rr,Gr,zr;on({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:Mn,index:pr,rangePickerDisabled:yt||(ge()()<=ge()((Gr=Bn((Rr=Mn==null?void 0:Mn.group_id)==null?void 0:Rr[0]))==null?void 0:Gr.publish_time)?!1:[!0,ci((zr=Mn==null?void 0:Mn.group_id)==null?void 0:zr[0])]),disabledDate:wt==null?void 0:wt.course_end_date}})};return Pe.createElement("section",{className:et.Z.form},Pe.createElement("div",{className:et.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Pe.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")),Pe.createElement("div",null,Pe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Pe.createElement(Ee.ZP.Group,{disabled:yt||!((Qt=Pt==null?void 0:Pt.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03"))||(0,we.Rm)()&&!((Ut=Ht.AssistantObject.practice)!=null&&Ut.can_publish),value:Et.unified_setting,onChange:Mn=>{var pr;if(!((pr=Pt==null?void 0:Pt.homework_status)!=null&&pr.includes("\u672A\u53D1\u5E03"))){We.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Et.unified_setting=!Et.unified_setting,Et.unified_setting||(Et.unified_late=!1,it([{late_penalty:5}])),an(Object.assign({},Et)),Et.unified_setting===!1&&Yt==""){wn(Yt.concat({}));return}Et.unified_setting&&(wn([]),it([{late_penalty:5}]))}},Pe.createElement(Ee.ZP,{value:!0,disabled:yt||!(wt!=null&&wt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Pe.createElement(Ee.ZP,{disabled:yt||!((Wt=wt==null?void 0:wt.group_settings)!=null&&Wt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((Ie=wt==null?void 0:wt.group_settings)==null?void 0:Ie.length)===0&&Pe.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")),Et.unified_setting&&Pe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Pe.createElement(fe.Z,{align:"middle"},Pe.createElement(be.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Pe.createElement(be.Z,{className:"ml10"},Pe.createElement(de.default,{size:"large",disabled:yt||!((he=Pt==null?void 0:Pt.homework_status)!=null&&he.includes("\u672A\u53D1\u5E03")||(ue=Pt==null?void 0:Pt.homework_status)!=null&&ue.includes("\u672A\u5F00\u59CB"))||(0,we.Rm)()&&!((ve=Ht.AssistantObject.practice)!=null&&ve.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:Mn=>Me(Mn,wt==null?void 0:wt.course_end_date),disabledTime:Mn=>st(Mn),value:Et.publish_time?ge()(Et.publish_time):"",onChange:(Mn,pr)=>{Et.publish_time=pr,(Et.end_time==""||!Et.end_time)&&Et.unified_setting&&(Et.end_time=ge()(Mn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),an(Object.assign({},Et))}}))),Pe.createElement(fe.Z,{align:"middle",className:"pl30"},Pe.createElement(be.Z,null,"\u622A\u6B62\u65F6\u95F4"),Pe.createElement(be.Z,{className:"ml10"},Pe.createElement(de.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Ye.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(wt==null?void 0:wt.allow_late)&&(wt==null?void 0:wt.homework_status.includes("\u5DF2\u622A\u6B62"))||yt||(wt==null?void 0:wt.allow_late)&&ge()()>=ge()(wt==null?void 0:wt.end_time)||(0,we.Rm)()&&!((ye=Ht.AssistantObject.practice)!=null&&ye.can_publish),disabledDate:Mn=>Me(Mn,wt==null?void 0:wt.course_end_date,Et.publish_time),disabledTime:Mn=>st(Mn,Et.publish_time),value:Et.end_time?ge()(Et.end_time):"",onChange:(Mn,pr)=>{Et.end_time=pr,an(Object.assign({},Et))}})))),!Et.unified_setting&&(Yt==null?void 0:Yt.length)>0&&Pe.createElement(fe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Yt&&Yt.map(function(Mn,pr){var Rr,Gr,zr,ei,Hr,fi,Pr;return Pe.createElement(be.Z,{span:24,key:pr},Pe.createElement(fe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:pr==(Yt==null?void 0:Yt.length)-1?"0px":"10px"}},Pe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",pr+1),Pe.createElement(Ce.default,{disabled:yt||((Rr=Pt==null?void 0:Pt.homework_status)!=null&&Rr.includes("\u672A\u53D1\u5E03")&&Mn.id||ge()()<ge()(Mn==null?void 0:Mn.publish_time)?!1:!!(Mn!=null&&Mn.publish_time))||(0,we.Rm)()&&!((Gr=Ht.AssistantObject.practice)!=null&&Gr.can_publish),mode:"multiple",className:et.Z.multiple_select,style:{width:"250px"},value:Mn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:dr=>{var oi;if((0,we.Rm)()&&!((oi=Ht.AssistantObject.practice)!=null&&oi.can_publish)){We.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[pr].group_name=dr,Yt[pr].group_id=Mn.group_id;const $t=(0,Ne.flattenDeep)(Yt.map(Bt=>Bt.group_name)),pt=Ft.map(Bt=>{let At=(Bt==null?void 0:Bt.group_name)||[];return Lt(mt({},Bt),{group_name:(0,Ne.remove)(At,Ct=>$t.includes(Ct))})});it(pt),wn(Yt.slice())},maxTagCount:4,maxTagPlaceholder:dr=>Pe.createElement("div",{style:{cursor:"pointer"},onClick:()=>pi(Mn,pr)},"+",dr==null?void 0:dr.length)},wt.group_settings&&wt.group_settings.map(function(dr){if(!Yt.map($t=>$t.group_name).flat().includes(dr.group_name))return Pe.createElement(ut,{value:dr.group_name,key:dr.id},dr.group_name)})),Pe.createElement("div",{className:"ml20"},Pe.createElement(zt,{size:"large",ranges:{\u6B64\u523B:[Mn.publish_time?ge()(Mn.publish_time):ge()(),ge()()]},allowClear:!1,disabled:yt||(ge()()<=ge()((ei=Bn((zr=Mn==null?void 0:Mn.group_id)==null?void 0:zr[0]))==null?void 0:ei.publish_time)?!1:[!0,ci((Hr=Mn==null?void 0:Mn.group_id)==null?void 0:Hr[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:dr=>Me(dr,wt==null?void 0:wt.course_end_date),disabledTime:dr=>st(dr),showTime:{showNow:!0,format:"HH:mm",defaultValue:[ge()((0,Ye.U6)(),"HH:mm"),ge()((0,Ye.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:Mn.publish_time&&[ge()(Mn.publish_time),Mn.end_time?ge()(Mn.end_time):void 0],onChange:(dr,oi)=>{var $t;if((0,we.Rm)()&&!(($t=Ht.AssistantObject.practice)!=null&&$t.can_publish)){We.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[pr].publish_time=oi[0],!Mn.end_time&&oi[0]?Yt[pr].end_time=ge()(oi[0]).add(7,"days"):Yt[pr].end_time=oi[1],wn([...Yt])},onCalendarChange:(dr,oi,$t)=>{if(oi!=null&&oi[0]&&!oi[1]){const pt=ge()(oi[0]).add(7,"days");Yt[pr].publish_time=oi[0],Yt[pr].end_time=pt,wn([...Yt])}}})),!yt&&Pe.createElement("div",{style:{display:"flex",width:"50px"}},((fi=Mn==null?void 0:Mn.group_id)==null?void 0:fi.length)>1&&Pe.createElement(Fe.Z,{title:"\u89C4\u5219\u62C6\u5206"},Pe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>pi(Mn,pr)})),Yt.length<((Pr=wt==null?void 0:wt.group_settings)==null?void 0:Pr.length)&&Pe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var dr;if((0,we.Rm)()&&!((dr=Ht.AssistantObject.practice)!=null&&dr.can_publish)){We.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}wn(Yt.concat({}))}}),((Mn==null?void 0:Mn.publish_time)&&ge()()<ge()(Mn==null?void 0:Mn.publish_time)||!(Mn!=null&&Mn.publish_time))&&pr!=0&&Pe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const dr=(0,Ne.cloneDeep)(Ft);dr.forEach((oi,$t)=>{oi.group_name&&(oi.group_name=oi.group_name.filter(pt=>{var Bt;return!((Bt=Yt[pr].group_name)!=null&&Bt.includes(pt))}))}),Yt=Yt.filter((oi,$t)=>pr!==$t),it(dr),wn(Yt.slice()),setTimeout(()=>wn(Yt.slice()),10)}}))))}))),Pe.createElement(fe.Z,null,Pe.createElement(be.Z,null,Pe.createElement("div",{className:et.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Pe.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"))),Pe.createElement(be.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Pe.createElement(He.default,{checked:Et.allow_late,disabled:yt||_r,onChange:Mn=>{var pr;if((0,we.Rm)()&&!((pr=Ht.AssistantObject.practice)!=null&&pr.can_late)){We.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}Mn.target.checked&&xe.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Pe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Pe.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"),Pe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Pe.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"))}),Et.allow_late=!Et.allow_late,Ft==""&&it([{late_penalty:5}]),an(Object.assign({},Et))}},Pe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Et==null?void 0:Et.allow_late)&&Pe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Pe.createElement("div",{style:{display:"flex"}},Pe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Pe.createElement(Ee.ZP.Group,{style:{marginLeft:"20px"},disabled:yt||(wt==null?void 0:wt.anonymous_comment)||(wt==null?void 0:wt.allow_late),value:Et.unified_late,onChange:Mn=>{var pr;if((0,we.Rm)()&&!((pr=Ht.AssistantObject.practice)!=null&&pr.can_late)){We.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}Et.unified_late=Mn.target.value,Ft==""&&!Mn.target.value&&it([{penalty_type:Oe.Q.Percent,late_penalty:20}]),an(mt({},Et))}},(Et==null?void 0:Et.unified_setting)&&Pe.createElement(Ee.ZP,{value:!0,disabled:!(wt!=null&&wt.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((se=wt==null?void 0:wt.group_settings)==null?void 0:se.length)>0&&Pe.createElement(Ee.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Et!=null&&Et.unified_late?Pe.createElement(Pe.Fragment,null,Pe.createElement(fe.Z,{align:"middle",style:{marginTop:"10px"}},Pe.createElement(be.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Pe.createElement(be.Z,{className:"ml20"},Pe.createElement(Oe.Z,{disabled:yt||Nr,value:{type:Et.penalty_type,inputValue:Et.late_penalty},onChange:Mn=>{var pr;if((0,we.Rm)()&&!((pr=Ht.AssistantObject.practice)!=null&&pr.can_late)){We.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}an(Lt(mt({},Et),{late_penalty:Mn.inputValue,penalty_type:Mn.type}))}})),Pe.createElement(be.Z,{flex:"1",className:"ml5"},Pe.createElement("span",{className:"c-grey-c ml10"},Et.penalty_type===Oe.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)"))),Pe.createElement(fe.Z,{align:"middle",style:{marginTop:"15px"}},Pe.createElement(be.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Pe.createElement(be.Z,{className:"ml20"},Pe.createElement(de.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Ye.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:yt||Nr,value:Et.late_time?ge()(Et.late_time):"",disabledDate:Mn=>Me(Mn,wt==null?void 0:wt.course_end_date),onChange:(Mn,pr)=>{var Rr;if((0,we.Rm)()&&!((Rr=Ht.AssistantObject.practice)!=null&&Rr.can_late)){We.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}Et.late_time=pr,an(Object.assign({},Et))}})))):Ft.map(function(Mn,pr){var Rr;return Pe.createElement(be.Z,{span:24,key:pr},Pe.createElement(fe.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Pe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",pr+1),Pe.createElement(Ce.default,{disabled:yt||!((Rr=Pt==null?void 0:Pt.homework_status)!=null&&Rr.includes("\u672A\u53D1\u5E03"))&&Mn.id||(wt==null?void 0:wt.anonymous_comment),mode:"multiple",className:et.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof Mn.group_name=="string"?[Mn.group_name]:Mn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Gr=>{var zr;if((0,we.Rm)()&&!((zr=Ht.AssistantObject.practice)!=null&&zr.can_late)){We.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}Ft[pr].group_name=Gr,Ft[pr].group_id=Mn.group_id,it(Ft.slice())}},wt.group_settings&&wt.group_settings.map(function(Gr){const zr=Ft.map(Hr=>Hr.group_name).flat(),ei=Yt.map(Hr=>Hr.group_name).flat();if(Et!=null&&Et.unified_setting){if(!zr.includes(Gr.group_name))return Pe.createElement(ut,{value:Gr.group_name,key:Gr.id},Gr.group_name)}else if(ei.includes(Gr.group_name)&&!zr.includes(Gr.group_name))return Pe.createElement(ut,{value:Gr.group_name,key:Gr.id},Gr.group_name)})),Pe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Pe.createElement(Oe.Z,{disabled:yt||ai(Mn.id),value:{type:Mn.penalty_type,inputValue:Mn.late_penalty},onChange:Gr=>{var zr;if((0,we.Rm)()&&!((zr=Ht.AssistantObject.practice)!=null&&zr.can_late)){We.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}Ft[pr].late_penalty=Gr.inputValue,Ft[pr].penalty_type=Gr.type,it([...Ft])}}),Pe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Pe.createElement(de.default,{size:"large",disabled:yt||ai(Mn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:ge()((0,Ye.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:Gr=>Me(Gr,wt==null?void 0:wt.course_end_date),format:"YYYY-MM-DD HH:mm",value:Mn!=null&&Mn.late_time?ge()(Mn.late_time):void 0,onChange:(Gr,zr)=>{var ei;if((0,we.Rm)()&&!((ei=Ht.AssistantObject.practice)!=null&&ei.can_late)){We.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}Ft[pr].late_time=zr,it([...Ft])}}),!yt&&Pe.createElement("div",{style:{display:"flex",width:"50px"}},Pe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Gr;if((0,we.Rm)()&&!((Gr=Ht.AssistantObject.practice)!=null&&Gr.can_late)){We.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(Ft.concat({penalty_type:Oe.Q.Percent,late_penalty:20}))}}),pr>0&&!Mn.id&&Pe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var Gr;if((0,we.Rm)()&&!((Gr=Ht.AssistantObject.practice)!=null&&Gr.can_late)){We.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}Ft=Ft.filter((zr,ei)=>pr!==ei),it(Ft.slice()),setTimeout(()=>it(Ft.slice()),10)}}))))})),!yt&&Pe.createElement(Pe.Fragment,null,Pe.createElement(rt.ZP,{type:"primary",size:"large",loading:En,style:{width:"138px",marginTop:"30px"},onClick:()=>Dr()},"\u4FDD\u5B58")),Pe.createElement(me.Z,{onConfirm:(Mn,pr)=>{Yt.splice(Mn,0,...pr),Yt.splice(Mn+pr.length,1);const Rr=(0,Ye.QE)([...Yt]);wn([...Rr])}}),Pe.createElement(Re.Z,{resdata:un,type:"shixun",okloading:En,oktext:(un==null?void 0:un.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:Mn=>It(void 0,null,function*(){_t(!0);let pr=yield(0,Se.ZP)(`/api/courses/${$e.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt($e.categoryId)]}});_t(!1),(pr==null?void 0:pr.status)===0&&kr(gn)})}))};kt.ZP=(0,Ke.connect)(({shixunHomeworks:at,classroomList:Nt,loading:on,user:Ht})=>({shixunHomeworks:at,classroomList:Nt,loading:on.effects,user:Ht}))(tt)},66372:function(tn,kt,te){"use strict";var ee=te(59301),de=te(54580),Ce=te(78241),We=te(43418),xe=te(8591),Ee=te(1710),fe=te(91482),be=te(6521),Fe=te(81194),He=te(79769),rt=te(66649),Ae=te.n(rt),ge=te(25544),we=te(59301),Se=Object.defineProperty,Ne=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,et=(Re,Le,Pe)=>Le in Re?Se(Re,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Re[Le]=Pe,Ke=(Re,Le)=>{for(var Pe in Le||(Le={}))ke.call(Le,Pe)&&et(Re,Pe,Le[Pe]);if(Ne)for(var Pe of Ne(Le))Ye.call(Le,Pe)&&et(Re,Pe,Le[Pe]);return Re},Oe=(Re,Le,Pe)=>new Promise((De,ze)=>{var Te=vt=>{try{Ze(Pe.next(vt))}catch(ot){ze(ot)}},xt=vt=>{try{Ze(Pe.throw(vt))}catch(ot){ze(ot)}},Ze=vt=>vt.done?De(vt.value):Promise.resolve(vt.value).then(Te,xt);Ze((Pe=Pe.apply(Re,Le)).next())});const{Dragger:_e}=de.default,me=({classroomList:Re,dispatch:Le,onOk:Pe})=>{const De=(0,fe.useParams)(),[ze]=Ce.default.useForm(),[Te,xt]=(0,ee.useState)(),[Ze,vt]=(0,ee.useState)(!1),ot={height:100,onRemove:()=>{xt("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:mt=>Oe(void 0,null,function*(){return xt(mt),!1})};return(0,ee.useEffect)(()=>{ze.setFieldsValue({publish_time:Ae()(Ae()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ae()(Ae()(new Date((0,ge.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),we.createElement(We.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:Re.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ze},onOk:()=>Oe(void 0,null,function*(){ze.submit()}),onCancel:()=>{ze.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}})}},we.createElement(Ce.default,{form:ze,onFinish:mt=>Oe(void 0,null,function*(){var Lt,It,Qe;if(!(Te!=null&&Te.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}vt(!0);let Me=new FormData;Me.append("type",Re.actionTabs.type),Me.append("file",Te);let st;window.location.href.indexOf("exercise")>-1?st=`/api/exercises/${Re.actionTabs.id}/supplement_score.json`:st=`/api/homework_commons/${Re.actionTabs.id}/supplement_score.json`;let zt=yield(0,He.ZP)(st,{method:"post",body:Me},!0);vt(!1),(zt==null?void 0:zt.status)===0&&(Pe(),ze.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}}),((It=(Lt=zt==null?void 0:zt.data)==null?void 0:Lt.fail)==null?void 0:It.length)>0&&We.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:we.createElement(Ee.default,{pagination:!1,dataSource:(Qe=zt==null?void 0:zt.data)==null?void 0:Qe.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ge.FH)("",be.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Re.actionTabs.type}`)}}))})},we.createElement(Ce.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},Re.actionTabs.name),we.createElement(Ce.default.Item,{style:{marginBottom:0},label:we.createElement("div",null,we.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),we.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},we.createElement("div",null,we.createElement("a",{download:"\u6A21\u7248.xlsx",className:Fe.Z.downloadbutton,href:be.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Re.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),we.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),we.createElement(Ce.default.Item,{style:{marginBottom:0}},we.createElement(_e,Ke({},ot),we.createElement("a",{className:Fe.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),we.createElement("br",null),we.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};kt.Z=(0,fe.connect)(({classroomList:Re})=>({classroomList:Re}))(me)},77112:function(tn,kt,te){"use strict";var ee=te(59301),de=te(54580),Ce=te(78241),We=te(43418),xe=te(8591),Ee=te(1710),fe=te(92832),be=te(95237),Fe=te(43604),He=te(5871),rt=te(5083),Ae=te(91482),ge=te(40973),we=te(6521),Se=te(81194),Ne=te(79769),ke=te(43255),Ye=te(66649),et=te.n(Ye),Ke=te(25544),Oe=te(59301),_e=Object.defineProperty,me=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Pe=(Ze,vt,ot)=>vt in Ze?_e(Ze,vt,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Ze[vt]=ot,De=(Ze,vt)=>{for(var ot in vt||(vt={}))Re.call(vt,ot)&&Pe(Ze,ot,vt[ot]);if(me)for(var ot of me(vt))Le.call(vt,ot)&&Pe(Ze,ot,vt[ot]);return Ze},ze=(Ze,vt,ot)=>new Promise((mt,Lt)=>{var It=st=>{try{Me(ot.next(st))}catch(zt){Lt(zt)}},Qe=st=>{try{Me(ot.throw(st))}catch(zt){Lt(zt)}},Me=st=>st.done?mt(st.value):Promise.resolve(st.value).then(It,Qe);Me((ot=ot.apply(Ze,vt)).next())});const{Dragger:Te}=de.default,xt=({classroomList:Ze,dispatch:vt,onOk:ot})=>{const mt=(0,Ae.useParams)(),[Lt]=Ce.default.useForm(),[It,Qe]=(0,ee.useState)(),[Me,st]=(0,ee.useState)(!1),zt={height:100,onRemove:()=>{Qe("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:ut=>ze(void 0,null,function*(){return Qe(ut),!1})};return(0,ee.useEffect)(()=>{Lt.setFieldsValue({publish_time:et()(et()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:et()(et()(new Date((0,Ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Ze.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),Oe.createElement(We.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Ze.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ze(void 0,null,function*(){Lt.submit()}),onCancel:()=>{Lt.resetFields(),vt({type:"classroomList/setActionTabs",payload:{}})}},Oe.createElement(Ce.default,{form:Lt,colon:!1,onFinish:ut=>ze(void 0,null,function*(){var tt,at,Nt;if(!(It!=null&&It.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}st(!0);let on=new FormData;on.append("name",ut.name),on.append("type",Ze.actionTabs.type),on.append("category_id",(mt==null?void 0:mt.categoryId)||null),Ze.actionTabs.type==="exercise"?(on.append("time",ut.time||""),on.append("total_score",ut.total_score)):on.append("description",ut.description||""),on.append("publish_time",et()(ut.publish_time).format("YYYY-MM-DD HH:mm")),on.append("end_time",et()(ut.end_time).format("YYYY-MM-DD HH:mm")),on.append("file",It);let Ht=yield(0,Ne.ZP)(`/api/courses/${mt.coursesId}/export_external_score_homework.json`,{method:"post",body:on},!0);st(!1),(Ht==null?void 0:Ht.status)===0&&(Lt.resetFields(),vt({type:"classroomList/setActionTabs",payload:{}}),ot(),((at=(tt=Ht==null?void 0:Ht.data)==null?void 0:tt.fail)==null?void 0:at.length)>0&&We.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:Oe.createElement(Ee.default,{pagination:!1,dataSource:(Nt=Ht==null?void 0:Ht.data)==null?void 0:Nt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ke.FH)("",we.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Ze.actionTabs.type}`)}}))})},Oe.createElement(Ce.default.Item,{label:Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},Oe.createElement(fe.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Ze.actionTabs.type!=="exercise"&&Oe.createElement(Ce.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},Oe.createElement(ge.Z,{watch:!0})),Ze.actionTabs.type==="exercise"&&Oe.createElement(be.Z,{style:{marginLeft:6}},Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},Oe.createElement(fe.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},Oe.createElement(He.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),Oe.createElement(be.Z,{style:{marginLeft:6,marginBottom:12}},Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},Oe.createElement(rt.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:ut=>(0,ke.Q8)(ut),disabledTime:ut=>(0,ke.d0)(ut),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},Oe.createElement(rt.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:ut=>(0,ke.Q8)(ut,"",Lt.getFieldValue("publish_time")),disabledTime:ut=>(0,ke.d0)(ut,Lt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),Oe.createElement(Ce.default.Item,{style:{marginBottom:0},label:Oe.createElement("div",null,Oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),Oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},Oe.createElement("div",null,Oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:Se.Z.downloadbutton,href:we.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Ze.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),Oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),Oe.createElement(Ce.default.Item,{style:{marginBottom:0}},Oe.createElement(Te,De({},zt),Oe.createElement("a",{className:Se.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),Oe.createElement("br",null),Oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};kt.Z=(0,Ae.connect)(({classroomList:Ze})=>({classroomList:Ze}))(xt)},10621:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return rt}});var ee=te(59301),de=te(20834),Ce=te(92832),We=te(24905),xe=te(3113),Ee=te(38854),fe={bottomControlContainer:"bottomControlContainer___woAeo",buttonWrap:"buttonWrap___iRw4K",moveCategory:"moveCategory___oiQqw"},be=te(7544),Fe=te(84105),rt=({buttonDataSource:Ae,onButtonClick:ge,useBatchStatus:we,allSelect:Se,setAllSelect:Ne,selectArrs:ke,onMenuClick:Ye,setSeleArr:et,catalogue:Ke,addCatalogue:Oe})=>{const[_e,me]=(0,ee.useState)(!1),[Re,Le]=(0,ee.useState)("");console.log("---",Ke);const Pe=ee.createElement("div",{className:fe.moveCategory,onMouseLeave:De=>me(!1)},ee.createElement(de.default,{onClick:Ye,style:{maxHeight:300,width:240,overflow:"auto"}},ee.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},ee.createElement(Ce.default,{onChange:De=>{Le(De.target.value)}})),Ke==null?void 0:Ke.map(function(De,ze){var Te;if(!(Re!==""&&De.category_name.indexOf(Re)<0))return ee.createElement(ee.Fragment,null,ee.createElement(de.default.Item,{className:"multi-llipsis1e",key:De.category_id,title:De.category_name},De.category_name),(Te=De==null?void 0:De.third_category)==null?void 0:Te.map(xt=>ee.createElement(de.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:xt.category_id,title:xt.category_name},xt.category_name)))}),Oe&&ee.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:Oe},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return ee.createElement("div",{className:fe.bottomControlContainer},ee.createElement("div",null,ee.createElement("div",null,ee.createElement(We.default,{checked:Se,onChange:Ne},"\u5168\u9009\u672C\u9875\uFF08",ke.length,"\uFF09")),(0,be.GJ)()&&Ae.map(De=>ee.createElement("div",{key:De.name},ee.createElement(xe.ZP,{type:"primary",icon:De.icon,className:fe.buttonWrap,onClick:()=>ge(De)},De.name))),(0,be.GJ)()&&(Oe||Ke)&&ee.createElement("div",null,ee.createElement(Ee.Z,{open:_e,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>Pe,getPopupContainer:De=>De.parentNode},ee.createElement("span",{className:"ant-dropdown-link",onMouseEnter:De=>me(!0)},ee.createElement(xe.ZP,{type:"primary",className:fe.buttonWrap,icon:ee.createElement("i",{className:"iconfont icon-yidongmulu"})},ee.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",ee.createElement(Fe.Z,null))))))),ee.createElement("div",null,ee.createElement(xe.ZP,{type:"primary",ghost:!0,onClick:()=>{we(!1),et([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},73438:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ne}});var ee=te(59301),de=te(91482),Ce=te(5083),We=te(43418),xe=te(92832),Ee=te(95237),fe=te(43604),be={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Fe=te(66649),He=te.n(Fe),rt=te(25544),Ae=te(18540),ge=te(59301);const{RangePicker:we}=Ce.default,Se=({dispatch:ke,classroomList:Ye,onConfirm:et})=>{const[Ke,Oe]=(0,ee.useState)([]),[_e,me]=(0,ee.useState)([]),[Re,Le]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var ze;if(Ye.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let Te=Ye.actionTabs.data;console.log("data",Te);let xt=(ze=Te==null?void 0:Te.group_name)==null?void 0:ze.map((Ze,vt)=>{var ot;return{group_id:Te==null?void 0:Te.group_id[vt],group_name:Te==null?void 0:Te.group_name[vt],is_admin:Te==null?void 0:Te.is_admin,end_time:Te==null?void 0:Te.end_time,publish_time:Array.isArray(Te==null?void 0:Te.publish_time)?(ot=Te==null?void 0:Te.publish_time)==null?void 0:ot[0]:Te==null?void 0:Te.publish_time}});xt&&(Oe([...xt]),me([...xt]))}},[Ye.actionTabs]);const Pe=()=>{ke({type:"classroomList/setActionTabs",payload:{}}),Le("")},De=ze=>{if(ze){const Te=_e==null?void 0:_e.filter(xt=>{var Ze,vt;return(vt=(Ze=xt==null?void 0:xt.group_name)==null?void 0:Ze.toLowerCase())==null?void 0:vt.includes(ze==null?void 0:ze.toLowerCase())});Oe(Te)}else Oe(_e)};return ge.createElement(We.default,{width:980,title:ge.createElement("div",{style:{fontWeight:"bold",display:"flex"}},ge.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",ge.createElement("span",{className:be.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),ge.createElement(xe.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Re,onChange:ze=>{Le(ze.target.value.trim()),De(ze.target.value.trim())}})),centered:!0,maskClosable:!1,open:Ye.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Pe(),onOk:()=>{var ze;et((ze=Ye.actionTabs)==null?void 0:ze.index,_e),Pe()}},ge.createElement("div",{className:be.modal_con},ge.createElement(Ee.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(Ke==null?void 0:Ke.length)>0?Ke.map(function(ze,Te){var xt,Ze;return ge.createElement(fe.Z,{span:24,key:Te},ge.createElement(Ee.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Te==(Ke==null?void 0:Ke.length)-1?"0px":"10px"}},ge.createElement("div",{className:be.multiple_select,title:ze.group_name},ze.group_name),ge.createElement("div",{className:"ml20"},ge.createElement(we,{size:"large",ranges:{\u6B64\u523B:[ze.publish_time?He()(ze.publish_time):He()(),He()()]},allowClear:!1,disabled:(xt=Ye.actionTabs)==null?void 0:xt.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:vt=>{var ot;return(0,rt.Q8)(vt,(ot=Ye.actionTabs)==null?void 0:ot.disabledDate)},disabledTime:vt=>(0,rt.d0)(vt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[He()((0,rt.U6)(),"HH:mm"),He()((0,rt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:ze.publish_time&&[He()(ze.publish_time),ze.end_time?He()(ze.end_time):void 0],onChange:(vt,ot)=>{Ke[Te].publish_time=ot[0],Ke[Te].end_time=ot[1],Oe([...Ke]),_e.forEach(mt=>{mt.group_id===ze.group_id&&(mt.publish_time=ot[0],mt.end_time=ot[1])}),me([..._e])}})),(Ze=Ye.actionTabs)!=null&&Ze.rangePickerDisabled?ge.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):ge.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{Ke.splice(Te,1),Oe([...Ke]),_e.forEach((vt,ot)=>{vt.group_id===ze.group_id&&_e.splice(ot,1)}),me([..._e])}})))}):ge.createElement(Ae.Z,null))))};var Ne=(0,de.connect)(({classroomList:ke})=>({classroomList:ke}))(Se)},97611:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ye}});var ee=te(59301),de=te(20834),Ce=te(24905),We=te(3113),xe=te(38854),Ee=te(6848),fe=te(57809),be=te(92832),Fe={searchSortControllerContainer:"searchSortControllerContainer___Xca1m",btn:"btn___sNJPX",btnSort:"btnSort___Fx9OM",tips:"tips___LrmpR"},He=te(7544),rt=te(87395),Ae=te(84105),ge=te(26724),we=te.n(ge),Se=te(91482),Ne=(et,Ke,Oe)=>new Promise((_e,me)=>{var Re=De=>{try{Pe(Oe.next(De))}catch(ze){me(ze)}},Le=De=>{try{Pe(Oe.throw(De))}catch(ze){me(ze)}},Pe=De=>De.done?_e(De.value):Promise.resolve(De.value).then(Re,Le);Pe((Oe=Oe.apply(et,Ke)).next())}),Ye=({isAdmin:et,dataSource:Ke,batchStatus:Oe,SortMenuName:_e,setSortMenuName:me,detailCourseGroupsList:Re,onSearch:Le,onBoard:Pe,onSort:De,isboard:ze,dispatch:Te,onBatch:xt,SortMenus:Ze,isShowMode:vt=!1,onModeChange:ot})=>{const[mt,Lt]=(0,ee.useState)(!1),[It,Qe]=(0,ee.useState)([]),[Me,st]=(0,ee.useState)(!0);let[zt,ut]=(0,ee.useState)([]);const[tt,at]=(0,ee.useState)(1),[Nt,on]=(0,ee.useState)(!1),Ht=(0,Se.useParams)(),Fn=Ie=>{me(Ie.name),De(Ie)};(0,ee.useEffect)(()=>{ze&&Qt()},[ze]);const Qt=()=>Ne(void 0,null,function*(){var Ie;if(Me&&!Nt){on(!0),at(tt+1);const he=yield Te({type:"classroomList/getCourseGroupsList",payload:{page:tt,id:Ht.coursesId,limit:20,nonenavigate:!0}});let ue=[...(he==null?void 0:he.course_groups)||[]];((Ie=he==null?void 0:he.course_groups)==null?void 0:Ie.length)<20&&(st(!1),ue.push({id:0,name:"\u672A\u5206\u73ED"})),on(!1),ut([...zt,...ue])}}),Ut=ee.createElement("section",{className:Fe.dropmenu},ee.createElement("div",{style:{maxHeight:200,overflow:"auto"}},ee.createElement(we(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Ie=>{Qt()},hasMore:Me,useWindow:!1},ee.createElement(de.default,{style:{width:240,zIndex:10}},(Re==null?void 0:Re.group_count)>0&&(zt==null?void 0:zt.filter(Ie=>Ie.edit_auth||Ie.name==="\u672A\u5206\u73ED").map(function(Ie,he){return ee.createElement(de.default.Item,{key:Ie.id},ee.createElement(Ce.default,{checked:It.includes(Ie.id),value:Ie.id,onChange:ue=>{let ve=It.indexOf(Ie.id);It.indexOf(Ie.id)>-1?Qe(It.filter(ye=>ye!==Ie.id)):Qe(It.concat(Ie.id))}},Ie.name))}))))),ee.createElement("aside",{style:{background:"#fff"}},ee.createElement("div",null,ee.createElement(We.ZP,{type:"link",onClick:()=>{Pe(It)}},"\u786E\u5B9A"),ee.createElement(We.ZP,{type:"link",onClick:()=>{Qe([])}},"\u91CD\u7F6E")))),Wt=_e==="\u9ED8\u8BA4\u6392\u5E8F";return ee.createElement("div",{className:Fe.searchSortControllerContainer},!!(Ze!=null&&Ze.length)&&ee.createElement("div",null,ee.createElement(xe.Z,{dropdownRender:()=>ee.createElement(de.default,{selectedKeys:[_e]},Ze.map(Ie=>ee.createElement(de.default.Item,{key:Ie.name,onClick:()=>Fn(Ie)},Ie.name)))},ee.createElement("div",null,ee.createElement("span",{className:`${Fe.btn} ${Wt?Fe.btnSort:""}`},ee.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),_e)))),Wt&&ee.createElement(Ee.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},ee.createElement("span",{className:Fe.tips},ee.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),vt&&ee.createElement(fe.default,{defaultValue:"",onChange:ot,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),ee.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:Le,style:{width:220,marginLeft:vt?"":"auto"}}),(0,He.eB)()&&ze&&ee.createElement(xe.Z,{dropdownRender:()=>Ut,open:mt,onOpenChange:Ie=>{Lt(Ie)}},ee.createElement("a",null,"\u5206\u73ED",mt?ee.createElement(rt.Z,{style:{marginLeft:6}}):ee.createElement(Ae.Z,{style:{marginLeft:6}}))))}},52766:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ae}});var ee=te(59301),de=te(95237),Ce=te(43604),We=te(20834),xe=te(38854),Ee=te(8591),fe=te(6848),be={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},Fe=te(91482),He=te(7544),Ae=({isLoading:ge,addText:we,tabDataSource:Se,isAdmin:Ne,dispatch:ke,classroomList:Ye,type:et,isExercise:Ke,defaultSelectedKeys:Oe,onTabMenuClick:_e,getDropdownMenu:me,showControlButton:Re,buttonText:Le,buttonIcon:Pe="icon-tianjiadaohang",extraNode:De,user:ze,onButtonClick:Te,isModelUser:xt})=>{var Ze,vt,ot,mt,Lt;const It=(0,Fe.useParams)();return ee.createElement("div",{className:be.tabMenuContainer},ee.createElement(de.Z,null,ee.createElement(Ce.Z,{flex:"1"},ee.createElement(We.default,{onSelect:Qe=>ge?{}:_e(Qe),mode:"horizontal",selectedKeys:Oe},Se.map(Qe=>ee.createElement(We.default.Item,{key:typeof Qe.index=="number"?Qe.index:Qe.id},ee.createElement("span",{className:"c-grey-666"},Qe.name),Qe.total!==void 0&&Ne&&ee.createElement("span",{className:"c-grey-999 ml20"},Qe.total||0))))),Ne&&Ke&&ee.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{ke({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),Ne&&ee.createElement(Ce.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},Ke&&ee.createElement(xe.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>ee.createElement(We.default,null,ee.createElement(We.default.Item,{key:1,onClick:()=>{var Qe;if((0,He.Rm)()&&!((Qe=Ye.AssistantObject.exercise)!=null&&Qe.can_download)){Ee.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}ke({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:et,exportType:"exercise",category_id:It.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),ee.createElement(We.default.Item,{key:3,onClick:()=>{var Qe;if((0,He.Rm)()&&!((Qe=Ye.AssistantObject.exercise)!=null&&Qe.can_download)){Ee.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}Fe.history.push(`/classrooms/${It==null?void 0:It.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},ee.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},ee.createElement("span",{style:{color:"#666666",cursor:"pointer"}},ee.createElement("i",{className:"iconfont icon-xiazai6"})))),ee.createElement("div",{className:be.control},ee.createElement("div",{className:be.extra},De),Re&&(Le=="\u6DFB\u52A0\u76F4\u64AD"?ee.createElement(xe.Z,{menu:{items:(vt=(Ze=[{label:ee.createElement("div",{onClick:()=>{Te("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},xt&&{label:ee.createElement("div",{onClick:()=>{Te("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Ze.filter(Qe=>Qe==null?void 0:Qe.show))==null?void 0:vt.map(Qe=>({label:Qe==null?void 0:Qe.label,key:Qe==null?void 0:Qe.key}))}},ee.createElement("span",{className:be.selectBtn},ee.createElement("span",null,ee.createElement("i",{className:`iconfont ${Pe}`})),ee.createElement("span",null,Le))):ee.createElement("span",{onClick:Te,style:{cursor:"pointer"},className:be.selectBtn},ee.createElement("span",null,ee.createElement("i",{className:`iconfont ${Pe}`})),ee.createElement("span",null,Le))),!!me&&ee.createElement(xe.Z,{disabled:((ot=ze==null?void 0:ze.userInfo)==null?void 0:ot.user_status)===2,className:"ml10",dropdownRender:me},ee.createElement("span",{className:((mt=ze==null?void 0:ze.userInfo)==null?void 0:mt.user_status)===2?be.selectBtn1:be.selectBtn},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-tianjiadaohang"})),ee.createElement(fe.Z,{title:((Lt=ze==null?void 0:ze.userInfo)==null?void 0:Lt.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},ee.createElement("span",null,we||"\u521B\u5EFA\u8BD5\u5377"))))))))}},587:function(tn,kt,te){"use strict";te.r(kt),te.d(kt,{default:function(){return Ud}});var ee=te(29715),de=te(59301),Ce=te(91482),We=te(43418),xe=te(20834),Ee=te(8591),fe=te(61621),be=te(58421),Fe=te(81228),He=te(3113),rt=te(24905),Ae=te(66649),ge=te.n(Ae),we=te(7544),Se=te(25544),Ne=te(18540),ke=te(79769),Ye=te(99313),et=te(78241),Ke=te(6848),Oe=te(5871),_e=te(57809),me=te(92832),Re=te(26724),Le=te.n(Re),Pe=te(83664),De={flex_box_center:"flex_box_center___aIYEA",flex_space_between:"flex_space_between___hCKPx",flex_box_vertical_center:"flex_box_vertical_center___K6UJb",flex_box_center_end:"flex_box_center_end___BVN_k",flex_box_column:"flex_box_column___S4apM",bg:"bg___Pox5v",containerTitle:"containerTitle___laevg",containerDesc:"containerDesc___IIMRX",menus:"menus___atKNl",listItem:"listItem___zDBVK",info:"info___k52wj",title:"title___zq7AS",titleLeft:"titleLeft___efDI2",titleRight:"titleRight___uQt6L",acitons:"acitons___Vg6al",move:"move___Ga0E4",hideHeadCheckbox:"hideHeadCheckbox___pLoYs",moveCategory:"moveCategory___eZPjj",tabSearch:"tabSearch___IlcNp",warpModal:"warpModal___hzRTF",modalColumn:"modalColumn___Rcl4F",modalRow:"modalRow___rzx2r",sup:"sup___cAGuY",name:"name___flQya"},ze=te(20808),Te=te(25579),xt=te(66357),Ze=te(50151),vt=te(77754),ot=te(44093),mt=te(59301),Lt=Object.defineProperty,It=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,ut=(ae,qe,Ve)=>qe in ae?Lt(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,tt=(ae,qe)=>{for(var Ve in qe||(qe={}))st.call(qe,Ve)&&ut(ae,Ve,qe[Ve]);if(Me)for(var Ve of Me(qe))zt.call(qe,Ve)&&ut(ae,Ve,qe[Ve]);return ae},at=(ae,qe)=>It(ae,Qe(qe)),Nt=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const{TabPane:on}=Ye.default,Ht=({classroomList:ae,exercise:qe,loading:Ve,dispatch:Tt})=>{var or;const zn=(0,Ce.useParams)(),Yn=(0,Ce.useLocation)(),[Er]=et.default.useForm(),{brankList:Cn}=qe;let[tr,wa]=(0,de.useState)(!0),[ao,Ha]=(0,de.useState)(!1);const[Oi,Va]=(0,de.useState)("myself");let[x,E]=(0,de.useState)([]),[ie,re]=(0,de.useState)([]),[oe,pe]=(0,de.useState)(),[je,nt]=(0,de.useState)([]);const dt=(0,de.useRef)(null),[St,Kt]=(0,de.useState)(!1),[rn,fn]=(0,de.useState)(""),[Rt,Br]=(0,de.useState)(""),[vr,Jn]=(0,de.useState)(!1),[Vr,Ei]=(0,de.useState)({}),Dn=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(kn,Fi,ja)=>mt.createElement("div",{style:{display:"flex",alignItems:"center"}},mt.createElement(Ke.Z,{title:kn},mt.createElement("div",{title:kn,className:De.name},kn)),(Fi==null?void 0:Fi.high_resources_consume)&&mt.createElement(Ze.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:kn=>mt.createElement(Ke.Z,{title:kn},mt.createElement("span",null,kn))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:kn=>kn?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(kn,Fi)=>mt.createElement("a",{href:kn?`/randompaper/detail/${Fi.id}`:`/paperlibrary/see/${Fi.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[hr,ii]=(0,de.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,de.useEffect)(()=>{qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(ba(),nt([]),qr())},[qe.actionTabs.key]);const qr=()=>Nt(void 0,null,function*(){const kn=yield Tt({type:"paperlibrary/getTeachGroupData"});re(kn)}),Nn=kn=>{const Fi=parseInt(kn);return isNaN(Fi)?"":Fi},ba=()=>Nt(void 0,null,function*(){var kn,Fi;if(tr){++hr.page,wa(!1);const ja=yield Tt({type:"exercise/getBrankList",payload:at(tt({},hr),{search:(kn=hr.search)==null?void 0:kn.trim()})});x=ja!=null&&ja.object_list?[...x.concat(ja==null?void 0:ja.object_list)]:x,hr.filter==="public"?pe(ja.is_teacher):pe(!0),((Fi=ja.object_list)==null?void 0:Fi.length)<hr.limit?wa(!1):wa(!0),E([...x])}}),Wo=kn=>{dt.current.scrollTop=0,x=[],hr.page=0,hr.group_id=kn,tr=!0,nt([]),ii(tt({},hr)),ba()},Oo={selectedRowKeys:je,onChange:kn=>{nt(kn)},type:"radio"},So=()=>{ii(tt({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),E([]),wa(!0),Va("myself"),Tt({type:"exercise/setActionTabs",payload:{}}),Ha(!1)},[pl,ho,Vn,yn]=(0,Te.P)(),ar=kn=>Nt(void 0,null,function*(){let Fi=!1;x.forEach(Ra=>{je.includes(Ra.id)&&(Fi=Ra.is_random)});const ja=kn.map(Ra=>({shixun_id:Ra.id,is_use:Ra.is_use,is_copy:Ra.is_copy}));if(!Fi){Jn(!0);const Ra=yield Tt({type:"exercise/saveBanks",payload:{course_id:zn.coursesId,category_id:(zn==null?void 0:zn.categoryId)||null,object_type:"examination_bank",bank_id:je,shixuns_info:ja}});Jn(!1),(Ra==null?void 0:Ra.status)===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Tt({type:"classroomList/getClassroomExercisesList",payload:tt({},qe.actionTabs.params)}),Tt({type:"classroomList/getClassroomLeftMenus",payload:{id:zn.coursesId}}),fn(`/classrooms/${zn.coursesId}/exercise/${Ra.exercise_id}/detail?random=${Ra.is_random}&tabs=3`),Br(`/classrooms/${zn.coursesId}/exercise/add/${Ra.exercise_id}?random=${Ra.is_random}&type=2`),Kt(!0),Ee.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),ho(),So());return}Jn(!0),setTimeout(()=>{Jn(!1)},500),Tt({type:"exercise/setActionTabs",payload:{}});let rl=1,el=We.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:mt.createElement("div",{className:De.modalColumn},mt.createElement("div",{className:De.modalRow},mt.createElement("sup",{className:De.sup},"*"),mt.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),mt.createElement(Oe.Z,{parser:Nn,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:rl,onChange:Ra=>{rl=Ra;const zo=document.getElementById("model_error");rl<1||rl>50?zo.style.display="block":zo.style.display="none"}})),mt.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:So,onOk:()=>Nt(void 0,null,function*(){if(rl<1||rl>50){const zo=document.getElementById("model_error");return zo.style.display="block",Promise.reject()}el.update({cancelButtonProps:{disabled:!0}});const Ra=yield Tt({type:"exercise/saveBanks",payload:{course_id:zn.coursesId,object_type:"examination_bank",bank_id:je,shixuns_info:ja,num:rl}});el.update({cancelButtonProps:{disabled:!1}}),Ra&&Ra.status===0?((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),We.default.destroyAll(),Tt({type:"classroomList/getClassroomExercisesList",payload:tt({},qe.actionTabs.params)}),So(),ho(),Ee.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(So(),ho())})})});return mt.createElement(mt.Fragment,null,mt.createElement(We.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:ao,bodyStyle:{minHeight:200},wrapClassName:De.warpModal,onOk:()=>Nt(void 0,null,function*(){var kn;if(!je.length){Ee.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Ha(!0);let Fi=!1,ja=!1;if(x.forEach(el=>{je.includes(el.id)&&el.need_authorize&&(Fi=el.need_authorize),je.includes(el.id)&&(ja=el.is_random)}),Fi){(0,ze.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\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");return}let rl=yield(0,ot.Tr)({id:`${je[0]}`,course_id:(kn=ae.detailTopBanner)==null?void 0:kn.course_id,type:"examination_bank"});Ha(!1),(rl==null?void 0:rl.student_count)===0?ar([]):Ei(rl)}),onCancel:So},mt.createElement(Ye.default,{activeKey:Oi,onTabClick:kn=>Nt(void 0,null,function*(){dt.current.scrollTop=0,x=[],Oi!==kn&&nt([]),Va(kn),hr.page=0,hr.filter=kn,hr.group_id=null,tr=!0,ba()})},mt.createElement(on,{tab:mt.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),mt.createElement(on,{tab:mt.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),mt.createElement(on,{tab:mt.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),mt.createElement("div",{className:De.tabSearch},Oi==="teacher"&&mt.createElement(_e.default,{value:hr.group_id,onChange:Wo,size:"middle",style:{width:200,marginRight:30}},mt.createElement(_e.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(or=ie==null?void 0:ie.groups)==null?void 0:or.map(kn=>mt.createElement(_e.default.Option,{key:kn==null?void 0:kn.group_id,value:kn==null?void 0:kn.group_id},kn==null?void 0:kn.name))),mt.createElement(me.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:hr.search,onChange:kn=>{hr.search=kn.target.value,ii(tt({},hr))},onSearch:kn=>{dt.current.scrollTop=0,x=[],hr.page=0,tr=!0,nt([]),kn&&(0,xt.tk)({name:kn,copywriting:kn,position:"Exercise"}),ba()}})),mt.createElement("div",{ref:dt,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!oe&&Oi==="public"&&mt.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},mt.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),mt.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),mt.createElement(Le(),{initialLoad:!1,pageStart:0,loadMore:()=>{ba()},hasMore:tr,useWindow:!1},qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&oe&&mt.createElement(Pe.Z,{className:De.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:x,onRow:kn=>({onClick:()=>{nt([kn==null?void 0:kn.id])}}),resColumns:Dn,rowSelection:Oo})))),mt.createElement(We.default,{title:"\u63D0\u793A",open:St,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:mt.createElement("div",null,mt.createElement(He.ZP,{onClick:()=>{Kt(!1),Ce.history.push(Rt)}},"\u4FEE\u6539\u8BD5\u5377"),mt.createElement(He.ZP,{type:"primary",onClick:()=>{Ce.history.push(rn),Kt(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Kt(!1)}},mt.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),mt.createElement(vt.Z,{resdata:Vr,type:"exercise",okloading:vr,oktext:(Vr==null?void 0:Vr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:kn=>{ar(kn)}}),mt.createElement(Te.Z,{inPaper:!0,visible:pl,onCancel:ho,onOk:ar,renderData:Vn,modalType:"multiple",type:"examination_bank"}))};var Fn=(0,Ce.connect)(({exercise:ae,loading:qe,classroomList:Ve})=>({exercise:ae,loading:qe,classroomList:Ve}))(Ht),Qt=te(71418),Ut=te(95237),Wt=te(5112),Ie=te(5083),he=te(78673),ue=te(31591),ve=te(63087),ye=te(59731),se=te(43604),$e=te(1710),wt=te(23579),lt={cstuModal:"cstuModal___aXQ_6",removeStyle:"removeStyle___fT_EI",bottom:"bottom___yocae",yes:"yes___Iw504",no:"no___yeWHC",Onerow:"Onerow___hvTnk",searchMember:"searchMember____guvA",searchMemberHeader:"searchMemberHeader___NdQj2"},Je=te(96622),Pt=te(59301),Dt=Object.defineProperty,yt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,wn=(ae,qe,Ve)=>qe in ae?Dt(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Ft=(ae,qe)=>{for(var Ve in qe||(qe={}))_t.call(qe,Ve)&&wn(ae,Ve,qe[Ve]);if(En)for(var Ve of En(qe))Yt.call(qe,Ve)&&wn(ae,Ve,qe[Ve]);return ae},it=(ae,qe)=>yt(ae,jt(qe)),Et=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const an=({visible:ae,setVisible:qe,onK:Ve,selectKeys:Tt,selectRows:or,appointStudent:zn,modalParams:Yn,courseId:Er})=>{const Cn=(0,Ce.useParams)(),[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1),[Oi,Va]=(0,de.useState)([]),[x,E]=(0,de.useState)([]),[ie,re]=(0,de.useState)([]),[oe,pe]=(0,de.useState)("all"),[je,nt]=(0,de.useState)("all");let[dt,St]=(0,de.useState)(!0);const[Kt,rn]=(0,de.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[fn,Rt]=(0,de.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),Br={selectedRowKeys:x,columnWidth:40,hideSelectAll:!0,onSelect:(Dn,hr,ii)=>{let qr=!0;for(let Nn=0;Nn<x.length;Nn++)(Dn==null?void 0:Dn.user_id)===x[Nn]&&(x==null||x.splice(Nn,1),ie==null||ie.splice(Nn,1),qr=!1);qr&&(x.push(Dn==null?void 0:Dn.user_id),ie.push(Dn)),E([...x]),re([...ie])},onSelectAll:(Dn,hr,ii)=>{if(Dn&&ii.length>0){ii.forEach(qr=>{x.push(qr.user_id),ie.push(qr)}),E([...x]),re([...ie]);return}if(!Dn&&ii.length>0){let qr=[],Nn=[];const ba=new Set(ii),Wo=new Set(x),Oo=new Set(ie);qr=[...Wo].filter(So=>[...ba].every(pl=>pl.user_id!==So)),Nn=[...Oo].filter(So=>[...ba].every(pl=>pl.user_id!==So.user_id)),E([...qr]),re([...Nn])}}};(0,de.useEffect)(()=>{ae&&Tt&&(E([...Tt]),re(or))},[ae,Tt]),(0,de.useEffect)(()=>{ae&&(!zn&&Yn?fn.status=Yn:fn.status=null,Rt(Ft({},fn)),Jn())},[ae,zn,Yn]);const vr=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(Dn,hr,ii)=>Pt.createElement("span",{style:{color:"#333"}},ii+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(Dn,hr,ii)=>Pt.createElement("span",null,Dn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(Dn,hr,ii)=>Pt.createElement("span",{style:{color:"#666"}},Dn)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(Dn,hr)=>Pt.createElement("span",null,Dn)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(Dn,hr)=>Pt.createElement("span",null,Dn||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(Dn,hr)=>Pt.createElement("span",null,Dn)}].filter(Dn=>Yn===1||Yn===2?Dn.title!=="\u72B6\u6001":!0),Jn=()=>Et(void 0,null,function*(){var Dn,hr,ii;Ha(!0);const qr=yield(0,ke.ZP)(`/api/exercises/${Cn.categoryId||Er}/wait_make_up_students.json`,{method:"get",params:it(Ft({},fn),{keywords:(Dn=fn==null?void 0:fn.keywords)==null?void 0:Dn.trim()})});if(qr.status===0){const Nn=((ii=(hr=qr==null?void 0:qr.data)==null?void 0:hr.all_course_groups)==null?void 0:ii.map(ba=>({value:ba==null?void 0:ba.id,label:ba==null?void 0:ba.name})))||[];rn([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...Nn]),Va(qr.data)}Ha(!1)}),Vr=()=>{fn.page=1,fn.status=null,fn.course_group_id=null,fn.keywords="",pe("all"),nt("all"),E([]),re([]),Rt(Ft({},fn)),zn&&Ve(x==null?void 0:x.length,x,ie)},Ei=()=>{fn.page=1,fn.status=null,fn.course_group_id=null,fn.keywords="",Rt(Ft({},fn)),pe("all"),nt("all"),E([]),re([]),qe(!1)};return Pt.createElement(We.default,{centered:!0,className:lt.cstuModal,title:Yn===1?"\u7F3A\u8003\u5B66\u751F":Yn===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ae,width:1200,footer:null,onCancel:()=>{Ei()}},Pt.createElement(Ut.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},Pt.createElement(Ut.Z,null,Pt.createElement(se.Z,null,Pt.createElement(_e.default,{size:"large",value:oe,style:{width:200,marginRight:20},onChange:Dn=>{pe(Dn),Dn==="all"?fn.course_group_id=null:fn.course_group_id=Dn,fn.page=1,Rt(Ft({},fn)),Jn()},options:Kt})),zn&&Pt.createElement(se.Z,null,Pt.createElement(_e.default,{size:"large",value:je,style:{width:200},onChange:Dn=>{nt(Dn),Dn==="all"?fn.status=null:fn.status=Dn,fn.page=1,Rt(Ft({},fn)),Jn()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),Pt.createElement(se.Z,null,Pt.createElement(wt.t7,{style:{width:300,marginLeft:15},value:fn.keywords,allowClear:!0,onChange:Dn=>{fn.keywords=Dn,fn.page=1,Rt(Ft({},fn)),Jn()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),Pt.createElement(Ut.Z,{align:"middle",className:"mb30"},Pt.createElement(se.Z,{span:14},Pt.createElement("div",{className:"flexd-table-header"},Pt.createElement($e.default,{pagination:!1,dataSource:[],columns:vr,rowSelection:zn?Br:null,rowKey:Dn=>Dn.user_id})),Pt.createElement("div",null,Pt.createElement($e.default,{rowSelection:zn?Br:null,columns:vr,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:Dn=>Dn.user_id,loading:ao,dataSource:Oi==null?void 0:Oi.exercise_users,onChange:(Dn,hr,ii)=>{fn.page=Dn==null?void 0:Dn.current,fn.limit=Dn==null?void 0:Dn.pageSize,ii!=null&&ii.order?(fn.sort_by=ii==null?void 0:ii.field,fn.direction=(ii==null?void 0:ii.order)==="ascend"?"asc":"desc"):(fn.sort_by=null,fn.direction=null),Rt(Ft({},fn)),Jn()},pagination:!1}))),Pt.createElement(se.Z,{span:1},Pt.createElement("img",{src:Je,style:{marginLeft:10}})),Pt.createElement(se.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},Pt.createElement("div",{className:lt.searchMember,style:{width:550}},Pt.createElement(Ut.Z,{className:lt.searchMemberHeader},Pt.createElement(se.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),Pt.createElement(se.Z,{flex:"110px"},"\u5B66\u53F7"),Pt.createElement(se.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),Pt.createElement("div",{style:{overflow:"auto",height:390}},ie==null?void 0:ie.map((Dn,hr)=>Pt.createElement(Ut.Z,{key:hr,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},Pt.createElement(se.Z,{flex:"100px"},Dn.user_name),Pt.createElement(se.Z,{flex:"110px"},Dn.student_id),Pt.createElement(se.Z,{flex:"120px",style:{marginLeft:5}},Dn.user_group_name),Pt.createElement(se.Z,{style:{marginLeft:10}},Pt.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{re(ie.filter(ii=>ii.user_id!=Dn.user_id)),E(x.filter(ii=>ii!=Dn.user_id))}})))))))),!(Yn===1||Yn===2)&&Pt.createElement("div",{className:lt.bottom},Pt.createElement(He.ZP,{className:lt.no,onClick:()=>{Ei()}},"\u53D6\u6D88"),Pt.createElement(He.ZP,{loading:tr,type:"primary",onClick:()=>{Vr()}},"\u786E\u5B9A")))};var un=(0,Ce.connect)(({})=>({}))(an),vn={contentInterval:"contentInterval___X53PP",numberInput:"numberInput___WtIey",minorRuleText:"minorRuleText___CPyNm",failedList:"failedList___OOvHs",name:"name___PGVi5",publish:"publish___BGtTv"},gn=te(59301),Xn=Object.defineProperty,ir=Object.defineProperties,Dr=Object.getOwnPropertyDescriptors,kr=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,ci=(ae,qe,Ve)=>qe in ae?Xn(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,_r=(ae,qe)=>{for(var Ve in qe||(qe={}))Bn.call(qe,Ve)&&ci(ae,Ve,qe[Ve]);if(kr)for(var Ve of kr(qe))jr.call(qe,Ve)&&ci(ae,Ve,qe[Ve]);return ae},Nr=(ae,qe)=>ir(ae,Dr(qe)),ai=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});function pi(ae,qe){const Ve=[];for(let Tt=ae;Tt<qe;Tt++)Ve.push(Tt);return Ve}const Mn=ae=>{let qe=new Date;const Ve=ge()(ae).format("HH");if(ge()(ae).isSame(ge()(qe),"day")){const Tt=ge()(qe).format("HH"),or=ge()(qe).format("mm");return{disabledHours:()=>pi(0,24).splice(1,Tt*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",Ve,Tt),ge()(ae).isSame(ge()(qe),"hour")&&Ve<=Tt?pi(0,60).splice(0,or):pi(60,60))}}else if(ge()(ae).isSame(ge()(),"day")){const Tt=ge()().format("HH"),or=ge()().format("mm");return{disabledHours:()=>pi(0,24).splice(0,Tt),disabledMinutes:()=>Ve<=Tt?pi(0,or):pi(60,60)}}else return!1},pr=({exercise:ae,dispatch:qe})=>{var Ve,Tt,or,zn,Yn,Er,Cn,tr,wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt;const St=(0,Ce.useParams)(),[Kt]=et.default.useForm(),[rn,fn]=(0,de.useState)(1),[Rt,Br]=(0,de.useState)([]),[vr,Jn]=(0,de.useState)(!0),[Vr,Ei]=(0,de.useState)([]),[Dn,hr]=(0,de.useState)(!0),[ii,qr]=(0,de.useState)(!1),{workSetting:Nn}=ae,[ba,Wo]=(0,de.useState)(!1),[Oo,So]=(0,de.useState)([]),[pl,ho]=(0,de.useState)([]),[Vn,yn]=(0,de.useState)(!1),[ar,kn]=(0,de.useState)(!1),[Fi,ja]=(0,de.useState)(!1),[rl,el]=(0,de.useState)(null),[Ra,zo]=(0,de.useState)(1),[vs,xu]=(0,de.useState)({}),[Eu,pu]=(0,de.useState)({}),[Bu,hs]=(0,de.useState)(!1);(0,de.useEffect)(()=>{var ua;if(ae.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Wi(),Tl(),ae.actionTabs.type===2)){const Ya=(ua=ae.actionTabs)==null?void 0:ua.unified_setting;hr(Ya)}},[ae.actionTabs]),(0,de.useEffect)(()=>{var ua,Ya,Ba,go,na,Za,gl;(ua=Nn==null?void 0:Nn.exercise)!=null&&ua.publish_time&&Kt.setFieldsValue({publish_time:ge()((Ya=Nn==null?void 0:Nn.exercise)==null?void 0:Ya.publish_time)}),(Ba=Nn==null?void 0:Nn.exercise)!=null&&Ba.end_time&&Kt.setFieldsValue({end_time:ge()((go=Nn==null?void 0:Nn.exercise)==null?void 0:go.end_time)}),Kt.setFieldsValue({exercise_type:(na=Nn==null?void 0:Nn.exercise)==null?void 0:na.exercise_type,simulate_exercise_num:(Za=Nn==null?void 0:Nn.exercise)==null?void 0:Za.simulate_exercise_num}),zo((gl=Nn==null?void 0:Nn.exercise)==null?void 0:gl.exercise_type)},[ae]);const er=ua=>{var Ya;const Ba=Kt.getFieldValue("publish_time");if(!Ba||(Ya=Nn==null?void 0:Nn.exercise)!=null&&Ya.publish_time)return;let go;ua===1?go=ge()(Ba).add(120,"minutes"):go=ge()(Ba).add(7,"days"),Kt.setFieldsValue({end_time:go})},Wi=ua=>ai(void 0,null,function*(){var Ya,Ba;Jn(!0);const go=yield(0,ue.N3)({coursesId:St.coursesId,check_ids:[...((Ya=ae.actionTabs.selectArrs)==null?void 0:Ya.map(Za=>Number(Za)))||[]]});console.log(go,"res");const na=((Ba=go==null?void 0:go.course_info)==null?void 0:Ba.map((Za,gl)=>Nr(_r({},Za),{key:Za.course_group_id,title:Za.course_group_name,name:Za.course_group_name,disabled:!!Za.is_published})))||[];if((go==null?void 0:go.status)!==-1){Br([...na]);const Za=ge()();Kt.setFieldsValue({publish_time:Za}),(Kt.getFieldValue("exercise_type")||1)===1?Kt.setFieldsValue({end_time:ge()(Za).add(120,"minutes")}):Kt.setFieldsValue({end_time:ge()(Za).add(7,"days")})}Jn(!1)});(0,de.useEffect)(()=>{var ua,Ya,Ba,go,na,Za;if((ua=Nn==null?void 0:Nn.exercise)!=null&&ua.is_appoint_user){const gl=((Ba=(Ya=Nn==null?void 0:Nn.exercise)==null?void 0:Ya.all_exercise_users)==null?void 0:Ba.map(oo=>oo.user_id))||[];So([...gl])}yn((go=Nn==null?void 0:Nn.exercise)==null?void 0:go.is_appoint_user),kn((na=Nn==null?void 0:Nn.exercise)==null?void 0:na.is_miss_exam_user),ja((Za=Nn==null?void 0:Nn.exercise)==null?void 0:Za.is_no_passing_user)},[Nn]),(0,de.useEffect)(()=>{var ua,Ya,Ba,go,na,Za,gl,oo;(Ya=(ua=ae==null?void 0:ae.actionTabs)==null?void 0:ua.selectArrs)!=null&&Ya[0]&&ae.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&qe({type:"exercise/getWorkSetting",payload:{categoryId:(go=(Ba=ae==null?void 0:ae.actionTabs)==null?void 0:Ba.selectArrs)==null?void 0:go[0],category:(Za=(na=ae==null?void 0:ae.actionTabs)==null?void 0:na.selectArrs)==null?void 0:Za[0],coursesId:(oo=(gl=ae==null?void 0:ae.actionTabs)==null?void 0:gl.params)==null?void 0:oo.id}})},[(Ve=ae==null?void 0:ae.actionTabs)==null?void 0:Ve.selectArrs]);const is=()=>ai(void 0,null,function*(){var ua,Ya,Ba,go,na,Za,gl;const oo=_r({},Kt.getFieldsValue()),rc=ge()(ge()(oo.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),Cu=ge()(ge()(oo.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(rc,rc,33),Cu<=rc){Ee.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((Vr==null?void 0:Vr.length)<=0&&!Dn&&Rt.length>0&&!((ua=Nn==null?void 0:Nn.exercise)!=null&&ua.is_make_up_exercise)){Ee.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const Gd=Rt.map(Ll=>Ll.key),Is={check_ids:[...((Ya=ae.actionTabs.selectArrs)==null?void 0:Ya.map(Ll=>Number(Ll)))||[]],end_time:ge()(oo.end_time).format("YYYY-MM-DD HH:mm"),publish_time:ge()(oo.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:Vr.map(Ll=>Ll.course_group_id),unified_setting:!Vr.length,exercise_type:oo.exercise_type,simulate_exercise_num:oo.simulate_exercise_num};if(((Ba=ae.actionTabs.selectArrsAll)==null?void 0:Ba.length)>0&&ae.actionTabs.type===1&&(Is.check_ids=[...((na=(go=ae.actionTabs.selectArrsAll)==null?void 0:go.filter(Ll=>!Ll.high_resources_consume||Ll.high_resources_consume_permission))==null?void 0:na.map(Ll=>Number(Ll==null?void 0:Ll.id)))||[]]),(Za=Nn==null?void 0:Nn.exercise)!=null&&Za.is_make_up_exercise){if(Vn&&Oo.length<=0||!Vn&&!(ar||Fi)){Ee.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Is.is_appoint_user=Vn,Is.is_miss_exam_user=ar,Is.is_no_passing_user=Fi,Vn?Is.make_up_exercise_users=Oo.map(Ll=>({user_id:Ll})):Is.make_up_exercise_user=[]}let{is_locked:id,open_camera:mc,screen_open:Mf,login_restrict:Ad,ip_bind:Dd,ip_limit:Td,is_random:Yd,id:cd,identity_verify:Ff,open_phone_video_recording:kf}=Nn==null?void 0:Nn.exercise;if(ae.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(id||mc||Mf||Ad||Dd||Td=="pub"||Td=="inner"||Ff||kf)&&oo.exercise_type==2){if(qe({type:"exercise/setActionTabs",payload:{}}),ae.actionTabs.type==2){let Ll=We.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:gn.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",gn.createElement("span",{style:{color:"#FA6400"}}," ",(0,Se.hi)(Nn==null?void 0:Nn.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>ai(void 0,null,function*(){var uc;hs(!0);let Uu=yield(0,ot.Tr)({exercise_ids:[...((uc=ae.actionTabs.selectArrs)==null?void 0:uc.map(Gu=>Number(Gu)))||[]],course_id:St.coursesId,type:"exercise"});if((Uu==null?void 0:Uu.student_count)===0){if((yield mi(Is))&&ae.actionTabs.isRouter){Ll.destroy(),Ce.history.push(`/classrooms/${St.coursesId}/exercise/${cd}/detail?random=${Yd}&tabs=3&childrenTabs=2`);return}qe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else pu(Is),xu(Uu)}),onCancel:()=>{Ll.destroy(),hs(!1),mi(Is)}})}else{let Ll=We.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:gn.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>ai(void 0,null,function*(){var uc;hs(!0);let Uu=yield(0,ot.Tr)({exercise_ids:[...((uc=ae.actionTabs.selectArrs)==null?void 0:uc.map(Gu=>Number(Gu)))||[]],course_id:St.coursesId,type:"exercise"});if((Uu==null?void 0:Uu.student_count)===0){if((yield mi(Is))&&ae.actionTabs.isRouter){Ce.history.push(`/classrooms/${St.coursesId}/exercise/${cd}/detail?random=${Yd}&tabs=3&childrenTabs=2`);return}qe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else pu(Is),xu(Uu)})})}return}let Bd=yield(0,ot.Tr)({exercise_ids:[...((gl=ae.actionTabs.selectArrs)==null?void 0:gl.map(Ll=>Number(Ll)))||[]],course_id:St.coursesId,type:"exercise"});(Bd==null?void 0:Bd.student_count)===0?mi(Is):(pu(Is),xu(Bd))}),Xl=()=>{var ua;let Ya=[...(ua=ae.actionTabs.selectArrsAll)==null?void 0:ua.filter(Ba=>Ba.high_resources_consume&&!Ba.high_resources_consume_permission)];(Ya==null?void 0:Ya.length)>0&&ae.actionTabs.type===1&&We.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:gn.createElement("div",null,gn.createElement("div",{className:vn.tipcontent},gn.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",Ya==null?void 0:Ya.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),gn.createElement("div",{className:"mt20 mb20"},Ya==null?void 0:Ya.map(Ba=>gn.createElement("div",{className:vn.failedList,key:Ba.id},gn.createElement("div",{className:vn.name},Ba==null?void 0:Ba.exercise_name),gn.createElement("div",{className:vn.publish,onClick:()=>{(0,Se.xg)(`/classrooms/${St.coursesId}/exercise/${Ba.id}/detail?random=${Ba.is_random}`)}},"\u53D1\u5E03"))))))})},mi=ua=>ai(void 0,null,function*(){var Ya,Ba,go;if(ae.actionTabs.type===1){let gl=[...(Ya=ae.actionTabs.selectArrsAll)==null?void 0:Ya.filter(oo=>oo.high_resources_consume&&!oo.high_resources_consume_permission)];if((gl==null?void 0:gl.length)==ae.actionTabs.selectArrsAll.length){qe({type:"exercise/setActionTabs",payload:{}}),Xl();return}}let na=!1;return qr(!0),(yield(0,ke.ZP)(`/api/courses/${St.coursesId}/exercises/publish.json`,{method:"post",body:ua})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Tl(),Ee.ZP.success("\u53D1\u5E03\u6210\u529F"),qe({type:"exercise/setActionTabs",payload:{}}),(Ba=ae==null?void 0:ae.actionTabs)!=null&&Ba.cb?(go=ae==null?void 0:ae.actionTabs)==null||go.cb():qe({type:"classroomList/getClassroomExercisesList",payload:_r({},ae.actionTabs.params)}),na=!0,ae.actionTabs.type===1&&Xl()),qr(!1),na}),Tl=()=>{fn(1),Br([]),Ei([])},Oc=(ua,Ya,Ba)=>{ua<=0?Ee.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(So(Ya),ho(Ba),Wo(!1))};return gn.createElement(We.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:ae.actionTabs.key==="\u6279\u91CF\u53D1\u5E03",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:is,confirmLoading:ii||vr,onCancel:()=>{Tl(),qe({type:"exercise/setActionTabs",payload:{}})}},gn.createElement(Qt.Z,{spinning:vr},Rt&&gn.createElement(et.default,{form:Kt},!!((Tt=ae==null?void 0:ae.actionTabs)!=null&&Tt.disabled)&&gn.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},gn.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ve.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((or=Nn==null?void 0:Nn.exercise)!=null&&or.is_make_up_exercise)&&gn.createElement(gn.Fragment,null,gn.createElement(Ut.Z,null,gn.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},gn.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),gn.createElement(et.default.Item,{name:"exercise_type"},gn.createElement(Wt.ZP.Group,{disabled:((zn=Nn==null?void 0:Nn.exercise)==null?void 0:zn.exercise_status)>1,onChange:ua=>{zo(ua.target.value),er(ua.target.value)}},gn.createElement(Wt.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),gn.createElement(Wt.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Ra==2&&gn.createElement(Ut.Z,{className:`${vn.contentInterval}`},gn.createElement("span",{className:`${vn.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),gn.createElement(et.default.Item,{name:"simulate_exercise_num"},gn.createElement(Oe.Z,{className:vn.numberInput,style:{width:145},precision:0,size:"middle",disabled:((Yn=Nn==null?void 0:Nn.exercise)==null?void 0:Yn.exercise_status)>1,min:1,max:999})),gn.createElement("span",null,"\u6B21",gn.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),gn.createElement(Ut.Z,null,gn.createElement("span",{className:"mr10 mt5"},gn.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),gn.createElement(et.default.Item,{name:"publish_time"},gn.createElement(Ie.default,{style:{width:170},disabledDate:ua=>ua&&ua<=ge()().subtract(0,"days"),disabledTime:Mn,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Se.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),gn.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),gn.createElement(et.default.Item,{name:"end_time"},gn.createElement(Ie.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Se.U6)(),"HH:mm")},disabledDate:ua=>ua&&ua<ge()().subtract(0,"days"),disabledTime:Mn,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),((Er=Nn==null?void 0:Nn.exercise)==null?void 0:Er.is_make_up_exercise)&&gn.createElement(gn.Fragment,null,gn.createElement(Ut.Z,null,gn.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),gn.createElement(he.Z,{checked:Vn,onChange:(ua,Ya)=>{var Ba,go,na,Za,gl;if(yn(ua),ua)if((Ba=Nn==null?void 0:Nn.exercise)!=null&&Ba.is_appoint_user){const oo=(na=(go=Nn==null?void 0:Nn.exercise)==null?void 0:go.all_exercise_users)==null?void 0:na.map(rc=>rc.user_id);So([...oo])}else So([]),kn(!1),ja(!1);else kn((Za=Nn==null?void 0:Nn.exercise)==null?void 0:Za.is_miss_exam_user),ja((gl=Nn==null?void 0:Nn.exercise)==null?void 0:gl.is_no_passing_user)},disabled:((Cn=Nn==null?void 0:Nn.exercise)==null?void 0:Cn.exercise_status)!==1}),gn.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Vn&&gn.createElement(Ut.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},gn.createElement(rt.default,{checked:ar,disabled:((tr=Nn==null?void 0:Nn.exercise)==null?void 0:tr.exercise_status)!==1||((wa=Nn==null?void 0:Nn.exercise)==null?void 0:wa.miss_exam_count)<=0,onChange:ua=>{kn(ua.target.checked)}},gn.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),gn.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{el(1),yn(!1),Wo(!0)}},"\uFF08",`${(ao=Nn==null?void 0:Nn.exercise)==null?void 0:ao.miss_exam_count}\u4EBA`,"\uFF09"),gn.createElement(rt.default,{checked:Fi,disabled:((Ha=Nn==null?void 0:Nn.exercise)==null?void 0:Ha.exercise_status)!==1||((Oi=Nn==null?void 0:Nn.exercise)==null?void 0:Oi.no_passing_count)<=0,onChange:ua=>{ja(ua.target.checked)}},gn.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),gn.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{el(2),yn(!1),Wo(!0)}},"\uFF08",`${(Va=Nn==null?void 0:Nn.exercise)==null?void 0:Va.no_passing_count}\u4EBA`,"\uFF09")),Vn&&gn.createElement(Ut.Z,{className:"mt20",style:{paddingLeft:"90px"}},gn.createElement(He.ZP,{type:"primary",ghost:!0,disabled:((x=Nn==null?void 0:Nn.exercise)==null?void 0:x.exercise_status)!==1,onClick:()=>{Wo(!0),el(void 0)}},gn.createElement("span",null,gn.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),gn.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),gn.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${Oo.length||0} \u4EBA`,"\uFF09"))),ae.actionTabs.type===2&&!((E=Nn==null?void 0:Nn.exercise)!=null&&E.is_make_up_exercise)&&gn.createElement(Ut.Z,{style:{marginBottom:"10px"}},gn.createElement("span",{className:"mr10"},gn.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),gn.createElement(Wt.ZP.Group,{value:Dn,onChange:ua=>{hr(ua.target.value),Ei([])}},gn.createElement(Wt.ZP,{disabled:!!((ie=ae==null?void 0:ae.actionTabs)!=null&&ie.disabled)||Rt.some(ua=>ua==null?void 0:ua.is_published)||!((re=ae==null?void 0:ae.actionTabs)!=null&&re.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),gn.createElement(Wt.ZP,{disabled:Rt.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Rt.length<=0&&ae.actionTabs.type===2&&!((oe=Nn==null?void 0:Nn.exercise)!=null&&oe.is_make_up_exercise)&&gn.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ae.actionTabs.type===1||!Dn)&&!((pe=Nn==null?void 0:Nn.exercise)!=null&&pe.is_make_up_exercise)&&Rt.length>0&&gn.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},gn.createElement("span",{style:{flex:1}},gn.createElement(rt.default,{checked:Vr.length===Rt.length,onChange:ua=>{Vr.length===Rt.length?Ei([]):Ei(Rt)}},"\u5168\u9009")),gn.createElement("span",{style:{width:16}}),gn.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Vr.length||0,"\u4E2A\u5206\u73ED")),(ae.actionTabs.type===1||!Dn)&&!((je=Nn==null?void 0:Nn.exercise)!=null&&je.is_make_up_exercise)&&Rt.length>0&&gn.createElement(ye.Z,{data:Rt,selectedRowKeys:Vr,setSelectedRowKeys:Ei})),gn.createElement(un,{visible:ba,setVisible:Wo,onK:Oc,selectKeys:Oo,selectRows:pl,appointStudent:Vn,modalParams:rl,courseId:St.categoryId||((dt=(nt=ae==null?void 0:ae.actionTabs)==null?void 0:nt.selectArrs)==null?void 0:dt[0])})),gn.createElement(vt.Z,{resdata:vs,type:"exercisepush",okloading:ii,oktext:(vs==null?void 0:vs.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ua=>ai(void 0,null,function*(){var Ya,Ba,go;qr(!0);let na=yield(0,ke.ZP)(`/api/courses/${St.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((Ya=ae.actionTabs.selectArrs)==null?void 0:Ya.map(Za=>Number(Za)))||[]]}});if(qr(!1),(na==null?void 0:na.status)===0)if(Bu){let Za=yield mi(Eu);if(We.default.destroyAll(),Za&&ae.actionTabs.isRouter){Ce.history.push(`/classrooms/${St.coursesId}/exercise/${(Ba=Nn==null?void 0:Nn.exercise)==null?void 0:Ba.id}/detail?random=${(go=Nn==null?void 0:Nn.exercise)==null?void 0:go.is_random}&tabs=3&childrenTabs=2`);return}qe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else mi(Eu)})}))};var Rr=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(pr),Gr=Object.defineProperty,zr=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,Hr=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,dr=(ae,qe,Ve)=>qe in ae?Gr(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,oi=(ae,qe)=>{for(var Ve in qe||(qe={}))fi.call(qe,Ve)&&dr(ae,Ve,qe[Ve]);if(Hr)for(var Ve of Hr(qe))Pr.call(qe,Ve)&&dr(ae,Ve,qe[Ve]);return ae},$t=(ae,qe)=>zr(ae,ei(qe)),pt=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});function Bt(ae,qe){const Ve=[];for(let Tt=ae;Tt<qe;Tt++)Ve.push(Tt);return Ve}const At=ae=>{let qe=new Date;const Ve=ge()(ae).format("HH");if(ge()(ae).isSame(ge()(qe),"day")){const Tt=ge()(qe).format("HH"),or=ge()(qe).format("mm");return{disabledHours:()=>Bt(0,24).splice(1,Tt*1-1),disabledMinutes:()=>ge()(ae).isSame(ge()(qe),"hour")&&Ve<=Tt?Bt(0,60).splice(0,or):Bt(60,60)}}else if(ge()(ae).isSame(ge()(),"day")){const Tt=ge()().format("HH"),or=ge()().format("mm");return{disabledHours:()=>Bt(0,24).splice(0,Tt),disabledMinutes:()=>Ve<=Tt?Bt(0,or):Bt(60,60)}}else return!1},Ct=({exercise:ae,dispatch:qe})=>{var Ve;const Tt=(0,Ce.useParams)(),[or]=et.default.useForm(),[zn,Yn]=(0,de.useState)(1),[Er,Cn]=(0,de.useState)([]),[tr,wa]=(0,de.useState)(!0),[ao,Ha]=(0,de.useState)([]),[Oi,Va]=(0,de.useState)(!0),[x,E]=(0,de.useState)(!1);(0,de.useEffect)(()=>{ae.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&ie()},[ae.actionTabs]);const ie=pe=>pt(void 0,null,function*(){var je,nt;wa(!0);const dt=yield qe({type:"exercise/getEndGroups",payload:$t(oi({},Tt),{check_ids:[...((je=ae.actionTabs.selectArrs)==null?void 0:je.map(Kt=>Number(Kt)))||[]]})}),St=(nt=dt==null?void 0:dt.course_info)==null?void 0:nt.map((Kt,rn)=>$t(oi({},Kt),{key:Kt.course_group_id,title:Kt.course_group_name,name:Kt.course_group_name,disabled:!!Kt.is_published}));dt&&(dt!=null&&dt.course_info)&&(Cn([...St]),or.setFieldsValue({end_time:ge()(ge()(new Date((0,Se.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),wa(!1)}),re=()=>pt(void 0,null,function*(){var pe,je,nt,dt;const St=oi({},or.getFieldsValue());if((ao==null?void 0:ao.length)<=0&&Er.length>0&&!((pe=ae.actionTabs)!=null&&pe.unified_setting)){Ee.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}E(!0);const Kt={check_ids:[...((je=ae.actionTabs.selectArrs)==null?void 0:je.map(fn=>Number(fn)))||[]],group_ids:ao};Oi||(Kt.end_time=ge()(St.end_time).format("YYYY-MM-DD HH:mm")),Kt.group_ids=ao.map(fn=>fn.course_group_id),(yield(0,ke.ZP)(`/api/courses/${Tt.coursesId}/exercises/end_exercise.json`,{method:"post",body:Kt})).status===0&&(Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),qe({type:"exercise/setActionTabs",payload:{}}),(nt=ae==null?void 0:ae.actionTabs)!=null&&nt.cb?(dt=ae==null?void 0:ae.actionTabs)==null||dt.cb():qe({type:"classroomList/getClassroomExercisesList",payload:oi({},ae.actionTabs.params)})),E(!1)}),oe=()=>{Yn(1),Cn([]),Ha([]),Va(!0)};return de.createElement(We.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:ae.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:re,width:680,confirmLoading:x||tr,onCancel:()=>{oe(),qe({type:"exercise/setActionTabs",payload:{}})}},de.createElement(Qt.Z,{spinning:tr},Er&&de.createElement(et.default,{form:or},de.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},de.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ve.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),de.createElement(Ut.Z,{className:"mt20 mb10"},de.createElement("span",{className:"mr10"},de.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),de.createElement(Wt.ZP.Group,{value:Oi,onChange:pe=>{Va(pe.target.value),Ha([])}},de.createElement(Wt.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),de.createElement(Wt.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),de.createElement(et.default.Item,{name:"end_time",style:{marginTop:-3,visibility:Oi?"hidden":"visible"}},de.createElement(Ie.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Se.U6)(),"HH:mm")},disabledDate:pe=>pe&&pe<ge()().subtract(0,"days"),disabledTime:At,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),Er.length>0&&!((Ve=ae.actionTabs)!=null&&Ve.unified_setting)&&de.createElement(Ut.Z,{style:{marginBottom:"10px"}},de.createElement("span",{className:"mr10"},de.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),de.createElement("div",null,Er.length>0&&de.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},de.createElement("span",{style:{flex:1}},de.createElement(rt.default,{checked:ao.length===Er.length,onChange:pe=>{ao.length===Er.length?Ha([]):Ha(Er)}},"\u5168\u9009")," "),de.createElement("span",{style:{width:16}}),de.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ao.length||0,"\u4E2A\u5206\u73ED")),de.createElement(ye.Z,{data:Er,selectedRowKeys:ao,setSelectedRowKeys:Ha}))))))};var Gt=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(Ct),nn=Object.defineProperty,_n=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,rr=(ae,qe,Ve)=>qe in ae?nn(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,gr=(ae,qe)=>{for(var Ve in qe||(qe={}))Pn.call(qe,Ve)&&rr(ae,Ve,qe[Ve]);if(_n)for(var Ve of _n(qe))Sn.call(qe,Ve)&&rr(ae,Ve,qe[Ve]);return ae},Cr=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const bn=({exercise:ae,dispatch:qe})=>{const Ve=(0,Ce.useParams)();return de.createElement(We.default,{centered:!0,title:"\u63D0\u793A",open:ae.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Cr(void 0,null,function*(){(yield(0,ke.ZP)(`/api/courses/${Ve.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ae.actionTabs.selectArrs]}})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),qe({type:"exercise/setActionTabs",payload:{}}),qe({type:"classroomList/getClassroomExercisesList",payload:gr({},ae.actionTabs.params)}))}),onCancel:()=>{qe({type:"exercise/setActionTabs",payload:{}})}},de.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",de.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var $n=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(bn),Jt=te(40929),pn=Object.defineProperty,An=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,ln=(ae,qe,Ve)=>qe in ae?pn(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,jn=(ae,qe)=>{for(var Ve in qe||(qe={}))dn.call(qe,Ve)&&ln(ae,Ve,qe[Ve]);if(An)for(var Ve of An(qe))Hn.call(qe,Ve)&&ln(ae,Ve,qe[Ve]);return ae},Mt=(ae,qe)=>{var Ve={};for(var Tt in ae)dn.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&An)for(var Tt of An(ae))qe.indexOf(Tt)<0&&Hn.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},cn=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const hn=ae=>{var qe=ae,{exercise:Ve,dispatch:Tt,user:or}=qe,zn=Mt(qe,["exercise","dispatch","user"]),Yn,Er;const Cn=(0,Ce.useParams)(),[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1),Oi=(0,de.useRef)(null);(0,de.useEffect)(()=>{var x,E;if(Ve.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,we.j5)()){Ha(!0);return}const ie={hasNum:0,noHasNum:0};(E=(x=Ve==null?void 0:Ve.actionTabs)==null?void 0:x.selectArrsAll)==null||E.map(re=>{var oe;re.author_login===((oe=or.userInfo)==null?void 0:oe.login)?++ie.hasNum:++ie.noHasNum}),ie.noHasNum>0?We.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:de.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",de.createElement("span",{className:"c-blue"},ie.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",de.createElement("span",{className:"c-red"},ie.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",de.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Va()}}):Ha(!0)}else Ha(!1)},[Ve.actionTabs.key]);const Va=()=>{Tt({type:"exercise/setActionTabs",payload:{}})};return de.createElement(We.default,{centered:!0,title:"\u63D0\u793A",open:ao,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:tr,destroyOnClose:!0,onOk:()=>cn(void 0,null,function*(){var x;if((x=Oi.current)!=null&&x.onVerify())return;wa(!0);const E=yield(0,ke.ZP)(`/api/courses/${Cn.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...Ve.actionTabs.selectArrs]}});wa(!1),E.status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),Ee.ZP.success("\u5220\u9664\u6210\u529F"),Tt({type:"exercise/setActionTabs",payload:{}}),Tt({type:"classroomList/getClassroomExercisesList",payload:jn({},Ve.actionTabs.params)}),Tt({type:"classroomList/getClassroomLeftMenus",payload:jn({},Ve.actionTabs.params)}))}),onCancel:()=>{Tt({type:"exercise/setActionTabs",payload:{}})}},!((Yn=Ve==null?void 0:Ve.actionTabs)!=null&&Yn.status)||!["\u672A\u5F00\u59CB"].includes((Er=Ve==null?void 0:Ve.actionTabs)==null?void 0:Er.status)?de.createElement(de.Fragment,null,de.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),de.createElement(Jt.Z,{ref:x=>Oi.current=x})):de.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var In=(0,Ce.connect)(({exercise:ae,user:qe})=>({exercise:ae,user:qe}))(hn),Ln=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,cr=(ae,qe)=>{var Ve={};for(var Tt in ae)Un.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&Ln)for(var Tt of Ln(ae))qe.indexOf(Tt)<0&&Gn.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},Sr=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Wr=ae=>{var qe=ae,{exercise:Ve,dispatch:Tt}=qe,or=cr(qe,["exercise","dispatch"]);const zn=(0,Ce.useParams)();return zn.id=zn.coursesId,(0,de.useEffect)(()=>{Ve.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>Sr(void 0,null,function*(){(yield(0,ke.ZP)(`/api/courses/${zn.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Ve.actionTabs.selectArrs]}})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),Ee.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),Tt({type:"exercise/setActionTabs",payload:{}})}))},[Ve.actionTabs.key]),de.createElement(de.Fragment,null)};var gi=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(Wr),ki=te(60324),si={flex_box_center:"flex_box_center___NMFRx",flex_space_between:"flex_space_between___i7LoA",flex_box_vertical_center:"flex_box_vertical_center___NUJyY",flex_box_center_end:"flex_box_center_end___JGVs2",flex_box_column:"flex_box_column___Han0X",bg:"bg___xTQcX",containerTitle:"containerTitle___wfDxe",containerDesc:"containerDesc___BlZJT",tablestyle:"tablestyle___cIMKp",listItem:"listItem___teS92",info:"info___I8amz",title:"title___Ng3Cg",titleLeft:"titleLeft___dxjAr",titleRight:"titleRight___bo2N2",flexBox:"flexBox___G5iQZ",iconV:"iconV___sw5ZY",acitons:"acitons___ADyk9",moveCategory:"moveCategory___cxRgz",name:"name___mRHCb",categoryName:"categoryName___sGz21",schedule:"schedule___vRew6",fnSign:"fnSign___kCGts",spanSize:"spanSize___ZvQiA",classromediv:"classromediv___zHcjq",glow:"glow___zqQTK",popover:"popover___FlwhL",dot:"dot___saRu_",moni:"moni___sRpNk",authorized:"authorized___XYNsR"},wi=Object.defineProperty,Qr=Object.getOwnPropertySymbols,Gi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,$i=(ae,qe,Ve)=>qe in ae?wi(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Ai=(ae,qe)=>{for(var Ve in qe||(qe={}))Gi.call(qe,Ve)&&$i(ae,Ve,qe[Ve]);if(Qr)for(var Ve of Qr(qe))Hi.call(qe,Ve)&&$i(ae,Ve,qe[Ve]);return ae};const li=ae=>React.createElement("svg",Ai({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var Qi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Pi=Object.defineProperty,xa=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Or=(ae,qe,Ve)=>qe in ae?Pi(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Lr=(ae,qe)=>{for(var Ve in qe||(qe={}))lo.call(qe,Ve)&&Or(ae,Ve,qe[Ve]);if(xa)for(var Ve of xa(qe))Vi.call(qe,Ve)&&Or(ae,Ve,qe[Ve]);return ae};const ia=ae=>React.createElement("svg",Lr({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var Zi="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4Lj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Vne9GsdQHKfyTcn/QOo7vUqbqS7sqqy/kzyA2Ttyp/LUtfoUmaOqHAVtj9sYbq1F/OlQxBvsCJ84/STL274zDWODWOD/uF8xlwpf6v2flucwfSU6+tXZAsBYsSX5wh6TQ+o/zoHygTub4zP+vSs7X2BWZ9+2vyyHOh/orU2G6/sPeSOntWeNpYpLmQ/XObrBP7g/XU3ikL2v8AIAf8etAcp/JNxxxyddj4b5J3GSmF6y3TheG4qWOHGPTX2rosmtKoiMdkJxA1t++BGa0idji4YDQlSF8z4PY6FkfxlWWUG259vIPiGwcfoKU4gNDAssOZcTIRWhaOQUU35lHZIQpWuOwciOqDV7h9zmNb0sGHZHpivpY0fNdbZJkd7HLJcaxq83fSwZ4nmeSMI0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z",pa=te(12971),ha=te(85809),qi=te(4242),aa=te(62782),Ao=te(69429),Di=Object.defineProperty,Ti=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,jo=(ae,qe,Ve)=>qe in ae?Di(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Zo=(ae,qe)=>{for(var Ve in qe||(qe={}))Ea.call(qe,Ve)&&jo(ae,Ve,qe[Ve]);if(Ti)for(var Ve of Ti(qe))_a.call(qe,Ve)&&jo(ae,Ve,qe[Ve]);return ae};const ko=ae=>React.createElement("svg",Zo({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var vo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1yd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i44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",Ar=te(59301),il=Object.defineProperty,_i=Object.defineProperties,Li=Object.getOwnPropertyDescriptors,Mi=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,Vo=(ae,qe,Ve)=>qe in ae?il(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,qo=(ae,qe)=>{for(var Ve in qe||(qe={}))ea.call(qe,Ve)&&Vo(ae,Ve,qe[Ve]);if(Mi)for(var Ve of Mi(qe))mo.call(qe,Ve)&&Vo(ae,Ve,qe[Ve]);return ae},Uo=(ae,qe)=>_i(ae,Li(qe)),Co=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const ul=({v:ae,k:qe,selectArrs:Ve,setSelectArrs:Tt,dispatch:or,params:zn,classroomList:Yn,batchStatus:Er,manageAllGroup:Cn,user:tr})=>{var wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt,St,Kt,rn,fn;const[Rt,Br]=(0,de.useState)([]),[vr,Jn]=(0,de.useState)(!1),Vr=(0,de.useRef)(),Ei=(0,de.useRef)();var Dn=!1;const hr="YYYY-MM-DD",ii=ge()("2020-11-15",hr);function qr(){return Co(this,null,function*(){console.log(zn,222);let Vn=yield(0,ke.ZP)(`/api/courses/${zn==null?void 0:zn.coursesId}/exercises/group_use_list.json`,{method:"get",params:Uo(qo({},zn),{id:ae.id})});Br((Vn==null?void 0:Vn.groups)||[])})}const Nn=()=>We.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Ar.createElement(Ar.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ae!=null&&ae.appraise_label&&(Dn=!0);const ba=(Vn,yn=!1)=>{var ar;Ce.history.push(`/classrooms/${zn.coursesId}/exercisenotice/${Vn.id}/users/${(ar=(0,we.eY)())==null?void 0:ar.login}`)},Wo=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Vn,yn)=>yn.exercise_status===Vn,render:(Vn,yn)=>Ar.createElement("div",null,Vn===1&&Ar.createElement("span",null,Ar.createElement("i",{className:si.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Vn===2&&Ar.createElement("span",null,Ar.createElement("i",{className:si.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Vn===3&&Ar.createElement("span",null,Ar.createElement("i",{className:si.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:zn.order_by==="publish_time"?zn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:zn.order_by==="end_time"?zn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Vn,yn)=>yn.exercise_status===1?"-":Ar.createElement("span",null,Vn,"/",yn.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Vn,yn)=>yn.exercise_status===1?"-":Vn===0?Ar.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Vn):Ar.createElement("a",{onClick:()=>(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae==null?void 0:ae.id}/detail?random=false&exercise_group_id=${yn.course_group_id}`)},Vn)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Vn,yn)=>yn.exercise_status===1?Ar.createElement("img",{style:{cursor:"not-allowed"},src:Qi}):Ar.createElement(Ke.Z,{title:"\u8BC4\u9605"},Ar.createElement("a",{onClick:()=>(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae==null?void 0:ae.id}/detail?random=false&exercise_group_id=${yn.course_group_id}`)},Ar.createElement("img",{src:Zi})))}],Oo=Vn=>{if(Dn)return Ar.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Vn!=null&&Vn.includes("\u672A\u5F00\u59CB"))return Ar.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Vn!=null&&Vn.includes("\u8003\u8BD5\u4E2D"))return Ar.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Vn!=null&&Vn.includes("\u5DF2\u622A\u6B62"))return Ar.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Vn!=null&&Vn.includes("\u5BFC\u5165"))return Ar.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},So=()=>{const Vn=(ae==null?void 0:ae.simulate_exercise_num)-(ae==null?void 0:ae.user_simulate_num);return Vn>=0?Vn:0},pl=(Vn=ae)=>{var yn,ar,kn;if(Vn!=null&&Vn.is_encrypt){or({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Vn==null?void 0:Vn.id,phone:(yn=tr==null?void 0:tr.userInfo)==null?void 0:yn.phone,login:(ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.login}});return}(kn=tr==null?void 0:tr.userInfo)!=null&&kn.phone?or({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Vn==null?void 0:Vn.id}}):or({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},ho=Vn=>{var yn,ar,kn;if(((yn=tr==null?void 0:tr.userInfo)==null?void 0:yn.login)!==(ae==null?void 0:ae.author_login)){Ee.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}or({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ae==null?void 0:ae.id,phone:(ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.phone,login:(kn=tr==null?void 0:tr.userInfo)==null?void 0:kn.login,onFinish:Vn}})};return Ar.createElement("div",{className:si.listItem,onClick:Vn=>{const yn=()=>{(!(0,we.GJ)()||(0,we.GJ)()&&Ei.current&&!Ei.current.contains(Vn.target))&&(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()}},(0,we.GJ)()&&Ar.createElement("span",{ref:Ei},Ar.createElement(rt.default,{checked:Ve.includes(ae.id),value:ae.id,style:{padding:"10px"},onClick:Vn=>{Vn.stopPropagation()},disabled:(ae==null?void 0:ae.is_encrypt)||(ae==null?void 0:ae.is_make_up_exercise),onChange:Vn=>{let yn=Ve.indexOf(ae.id);Ve.indexOf(ae.id)>-1?Tt(Ve.filter(ar=>ar!==ae.id)):Tt(Ve.concat(ae.id))}})),Ar.createElement("div",{className:si.info},Ar.createElement("div",{className:si.title},Ar.createElement("div",{className:si.titleLeft,style:{marginRight:15}},Oo(ae==null?void 0:ae.exercise_tips),(ae==null?void 0:ae.is_make_up_exercise)&&Ar.createElement("img",{src:ma,width:44,height:24,style:{marginRight:10}}),Ar.createElement(Ke.Z,{title:ae.exercise_name},Ar.createElement("span",{className:si.name},ae.exercise_name)),(ae==null?void 0:ae.high_resources_consume)&&!(ae!=null&&ae.high_resources_consume_permission)&&Ar.createElement(Ze.Z,{type:"exercise",style:{marginLeft:10}}),(ae==null?void 0:ae.high_resources_consume)&&(ae==null?void 0:ae.high_resources_consume_permission)&&Ar.createElement("span",{className:si.authorized},"\u5DF2\u6388\u6743"),((wa=ae==null?void 0:ae.exercise_tips)==null?void 0:wa.includes("\u5DF2\u622A\u6B62"))&&((ao=Yn==null?void 0:Yn.detailTopBanner)==null?void 0:ao.forbid_end_exercise)&&Ar.createElement(Ke.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},Ar.createElement("img",{src:vo,width:20,className:"ml10"})),!ae.is_public&&(0,we.GJ)()&&Ar.createElement(Ke.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},Ar.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ae==null?void 0:ae.exercise_type)==2&&Ar.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:si.moni},Ar.createElement("img",{src:pa,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((Ha=ae==null?void 0:ae.exercise_tips)==null?void 0:Ha.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&Ar.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),((Oi=ae==null?void 0:ae.exercise_tips)==null?void 0:Oi.includes("\u5DF2\u622A\u6B62"))&&((Va=ae==null?void 0:ae.exercise_tips)==null?void 0:Va.includes("\u672A\u63D0\u4EA4"))&&Ar.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ae==null?void 0:ae.is_encrypt)&&Ar.createElement(Ke.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",Ar.createElement("img",{src:Ao,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),Ar.createElement("div",{className:si.titleRight,onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault()}},(ae==null?void 0:ae.appraise_setting)&&Ar.createElement("span",{className:si.flexBox,style:{marginRight:"16px"},onClick:()=>Co(void 0,null,function*(){const Vn=()=>Co(void 0,null,function*(){or({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const yn=yield(0,ke.ZP)(`/api/exercises/${ae.id}/create_appraise_students.json`,{method:"get"});or({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae.id}/centralizeReview/${yn==null?void 0:yn.login}`)});if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()})},Ar.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),Ar.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&(!(ae!=null&&ae.is_make_up_exercise)||(ae==null?void 0:ae.is_make_up_exercise)&&(ae==null?void 0:ae.exercise_status)===1&&(ae==null?void 0:ae.allow_create_make_up))&&Ar.createElement(ha.Z,{tips:ae==null?void 0:ae.open_appraise},Ar.createElement("span",{className:si.flexBox,style:{marginRight:"16px"},onClick:()=>{const Vn=()=>{var yn,ar,kn;if(((yn=tr==null?void 0:tr.userInfo)==null?void 0:yn.user_status)===2){(0,ze.Rd)();return}if((0,we.Rm)()&&!((kn=(ar=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ar.exercise)!=null&&kn.can_publish)){Ee.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}if((ae==null?void 0:ae.exercise_question_count)===0){Ee.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let Fi=()=>{or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ae.id],unified_setting:ae.unified_setting,params:zn,disabled:ae.exercise_status!==1,type:2,manage_all_group:Cn,isRouter:!0}})};ae!=null&&ae.high_resources_consume&&!(ae!=null&&ae.high_resources_consume_permission)?or({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:zn.coursesId,type:"exercise",type_id:ae.id,name:ae.exercise_name,fn:()=>{or({type:"classroomList/getClassroomExercisesList",payload:qo({},zn)}),Fi()}}}):Fi()};if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()}},Ar.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),Ar.createElement("div",null,"\u53D1\u5E03"))),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&!(0,Se._m)()&&ae.assistant_auth&&Ar.createElement("span",{className:si.flexBox,style:{marginRight:"16px"},onClick:Vn=>{Vn.stopPropagation();const yn=()=>{var ar,kn;if((0,we.Rm)()&&!((kn=(ar=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ar.exercise)!=null&&kn.can_preview)){Ee.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}const Fi=ge()(ae.created_at,hr);ge()(ii).diff(ge()(Fi),"days")>0&&(ae!=null&&ae.is_random)?Nn():ae!=null&&ae.is_random?(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/random/preview?random=${ae.is_random}`):(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}&tabs=2`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()}},Ar.createElement("i",{className:"iconfont icon-yulan3"}),Ar.createElement("div",null,"\u9884\u89C8")),(0,we.RV)()&&Ar.createElement("span",{className:si.flexBox,style:{marginRight:"16px"},onClick:()=>{const Vn=()=>{(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}`)};if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()}},Ar.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),Ar.createElement("div",null,"\u8BE6\u60C5")),(0,we.GJ)()&&!(0,Se._m)()&&Ar.createElement(ki.Z,{placement:"bottom",content:Ar.createElement("div",{className:si.popover},!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&Ar.createElement("p",{onClick:Vn=>Co(void 0,null,function*(){const yn=()=>{(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}&tabs=3`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u89C4\u5219\u8BBE\u7F6E"),(ae==null?void 0:ae.exercise_tips.includes("\u5BFC\u5165"))&&Ar.createElement("p",{onClick:Vn=>Co(void 0,null,function*(){const yn=()=>{or({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ae==null?void 0:ae.exercise_name,id:ae==null?void 0:ae.id,type:"hack"}})};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u8865\u5145\u6210\u7EE9"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&ae.is_random&&ae.assistant_auth&&Ar.createElement("p",{onClick:Vn=>{Vn.stopPropagation();const yn=()=>{const ar=ge()(ae.created_at,hr);ge()(ii).diff(ge()(ar),"days")>0&&(ae!=null&&ae.is_random)?Nn():(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/random/edit?type=settings`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()}},"\u7F16\u8F91\u8003\u8BD5"),Ar.createElement("p",{onClick:Vn=>Co(void 0,null,function*(){const yn=()=>{var ar;or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ae.id],selectArrsAll:[ae],params:zn,status:(ar=ae==null?void 0:ae.exercise_tips)==null?void 0:ar[0]}})};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u5220\u9664\u8BD5\u5377"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&Ar.createElement("p",{onClick:()=>{const Vn=()=>{or({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ae.id],params:zn}})};if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((x=ae==null?void 0:ae.exercise_tips)==null?void 0:x.includes("\u672A\u5F00\u59CB"))&&(ae==null?void 0:ae.author_login)===((E=tr==null?void 0:tr.userInfo)==null?void 0:E.login)&&Ar.createElement("p",{onClick:Vn=>Co(void 0,null,function*(){pl(ae)})}," ",ae!=null&&ae.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&((0,we.GJ)()||((re=(ie=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ie.exercise)==null?void 0:re.can_stop))&&![1,3].includes(ae==null?void 0:ae.exercise_status)&&Ar.createElement("p",{onClick:Vn=>Co(void 0,null,function*(){const yn=()=>{var ar,kn;if((0,we.Rm)()&&!((kn=(ar=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ar.exercise)!=null&&kn.can_stop)){Ee.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}or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ae.id],params:zn,unified_setting:ae.unified_setting}})};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u7ED3\u675F\u8003\u8BD5"))},Ar.createElement("span",{onClick:Vn=>Vn.stopPropagation(),className:si.flexBox,style:{cursor:"default"}},Ar.createElement("i",{className:"iconfont icon-gengduo4"}),Ar.createElement("div",null,"\u66F4\u591A"))),(0,we.dE)()&&Ar.createElement(Ar.Fragment,null,!!ae.off_limits&&Ar.createElement(Ke.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ae==null?void 0:ae.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},Ar.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ae==null?void 0:ae.exercise_type)==1&&!ae.off_limits&&ae.current_status===0&&ae.exercise_status>1&&!((oe=ae.exercise_tips)!=null&&oe.includes("\u5DF2\u622A\u6B62"))&&Ar.createElement("a",{className:si.flexBox,style:{marginRight:"16px"},onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault(),ba(ae,!0)},href:""},Ar.createElement("i",{className:"iconfont icon-jixukaoshi"}),Ar.createElement("div",null,(ae==null?void 0:ae.screen_used_num)>(ae==null?void 0:ae.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((pe=ae.exercise_tips)!=null&&pe.includes("\u5DF2\u622A\u6B62"))&&(ae==null?void 0:ae.screen_used_num)>(ae==null?void 0:ae.screen_total_num)&&Ar.createElement("a",{className:si.flexBox,style:{marginRight:"16px"},onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault(),ba(ae,!0)},href:""},Ar.createElement("i",{className:"iconfont icon-jixukaoshi"}),Ar.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ae.off_limits&&ae.current_status===1&&(ae==null?void 0:ae.screen_used_num)<(ae==null?void 0:ae.screen_total_num)&&ae.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ae==null?void 0:ae.exercise_type)==2&&(ae==null?void 0:ae.exercise_status)!=3)&&Ar.createElement("span",{className:si.flexBox,style:{marginRight:"16px"},onClick:Vn=>Co(void 0,null,function*(){var yn;if(Vn.stopPropagation(),!(ae!=null&&ae.answered_open)){Ee.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,qi.w)(zn.coursesId,ae.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/users/${(yn=(0,we.eY)())==null?void 0:yn.login}?check=true`)})},Ar.createElement("i",{className:"iconfont icon-chakankaoshi"}),Ar.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ae==null?void 0:ae.exercise_type)==1&&!ae.off_limits&&ae.current_status===2&&ae.exercise_status>1&&!((je=ae.exercise_tips)!=null&&je.includes("\u5DF2\u622A\u6B62"))&&Ar.createElement("a",{className:si.flexBox,style:{marginRight:"16px",color:(ae==null?void 0:ae.is_redo)===1&&"red"},onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault(),ba(ae)},href:""},Ar.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),Ar.createElement("div",null,(ae==null?void 0:ae.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ae==null?void 0:ae.exercise_type)==2&&!ae.off_limits&&ae.exercise_status>1&&!((nt=ae.exercise_tips)!=null&&nt.includes("\u5DF2\u622A\u6B62"))&&Ar.createElement(Ke.Z,{title:Ar.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ae==null?void 0:ae.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",So(),"\u6B21")},Ar.createElement("a",{className:si.flexBox,onClick:Vn=>{So()==0&&(ae==null?void 0:ae.current_status)!=0||(Vn.stopPropagation(),Vn.preventDefault(),ba(ae))},href:""},Ar.createElement("i",{className:`iconfont ${(ae==null?void 0:ae.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),Ar.createElement("div",null,(ae==null?void 0:ae.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5")))))),(0,we.GJ)()&&Ar.createElement("p",{style:{display:"flex"}},Ar.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:ae.author},ae.author),Ar.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",ge()(ae.created_at).format("YYYY-MM-DD HH:mm:ss")),((dt=ae==null?void 0:ae.exercise_tips)==null?void 0:dt.includes("\u672A\u5F00\u59CB"))&&ae.publish_time&&Ar.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",ge()(ae.publish_time).format("YYYY-MM-DD HH:mm:ss")),Ar.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",ae.time===null?"\u4E0D\u9650":`${ae.time}\u5206\u949F`),Ar.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",ae.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((St=ae==null?void 0:ae.exercise_tips)!=null&&St.includes("\u672A\u5F00\u59CB"))&&!(ae!=null&&ae.is_make_up_exercise)&&!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&Ar.createElement("span",{className:si.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Vn=>Co(void 0,null,function*(){Vn.stopPropagation(),Vn.preventDefault(),vr||qr(),Jn(!vr)})},Ar.createElement(Ke.Z,{title:`${vr?"\u6536\u8D77":"\u5C55\u5F00"}`},Ar.createElement("i",{className:`iconfont icon-${vr?"shouqi":"xiala2"}`})))),(0,we.dE)()&&Ar.createElement("p",{style:{display:"flex"}},Ar.createElement("span",{className:"c-grey-333"},ae.author),Ar.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ae.time===null?"\u4E0D\u9650":`${ae.time}\u5206\u949F`),!!(ae!=null&&ae.exercise_left_time)&&Ar.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ae==null?void 0:ae.exercise_left_time),!!(ae!=null&&ae.before_start)&&Ar.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ae==null?void 0:ae.before_start)),(0,we.GJ)()&&!((Kt=ae==null?void 0:ae.exercise_tips)!=null&&Kt.includes("\u672A\u5F00\u59CB"))&&Ar.createElement("p",null,Ar.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),Ar.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",Ar.createElement("span",null,ae==null?void 0:ae.unanswer_users)),Ar.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",Ar.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ae==null?void 0:ae.answering_users)),Ar.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",Ar.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.answer_users)),Ar.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",Ar.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.commit_with_no_answers_users))),(0,we.GJ)()&&!((rn=ae==null?void 0:ae.exercise_tips)!=null&&rn.includes("\u672A\u5F00\u59CB"))&&vr&&Rt.length>5&&Ar.createElement($e.default,{scroll:{y:240},pagination:!1,dataSource:Rt,onRow:Vn=>({onClick:yn=>{yn.stopPropagation(),yn.preventDefault()}}),onHeaderRow:(Vn,yn)=>({onClick:ar=>{ar.stopPropagation(),ar.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Vn,yn,ar)=>{ar.field&&(zn.order_by=ar.field),ar.order||(zn.sort_direction="asc"),ar.order==="ascend"&&(zn.sort_direction="asc"),ar.order==="descend"&&(zn.sort_direction="desc"),ar.order||(zn.sort_direction="asc"),qr()},columns:Wo}),(0,we.GJ)()&&!((fn=ae==null?void 0:ae.exercise_tips)!=null&&fn.includes("\u672A\u5F00\u59CB"))&&vr&&Rt.length<6&&Rt.length>0&&Ar.createElement($e.default,{rowKey:"course_group_id",pagination:!1,onRow:Vn=>({onClick:yn=>{yn.stopPropagation(),yn.preventDefault()}}),onHeaderRow:(Vn,yn)=>({onClick:ar=>{ar.stopPropagation(),ar.preventDefault()}}),dataSource:Rt,style:{marginTop:"10px"},onChange:(Vn,yn,ar)=>{ar.field&&(zn.order_by=ar.field),ar.order||(zn.sort_direction="asc"),ar.order==="ascend"&&(zn.sort_direction="asc"),ar.order==="descend"&&(zn.sort_direction="desc"),ar.order||(zn.sort_direction="asc"),qr()},columns:Wo}),(ae==null?void 0:ae.total)!==void 0&&Ar.createElement("p",null,Ar.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),Ar.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",Ar.createElement("span",null,ae==null?void 0:ae.total)),Ar.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",Ar.createElement("span",{style:{color:"#4EACFF"}},ae==null?void 0:ae.finish_total)),Ar.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",Ar.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.unfinished_total)))),Ar.createElement(aa.Z,{closable:!0,successCb:()=>ba(Vr.current)}))};var Wl=(0,Ce.connect)(({classroomList:ae})=>({classroomList:ae}))(ul),Il=te(31797),ms=te(96751),Qa=te(87001),la=te(59301),cl=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const{Countdown:To}=Il.default,Go=({value:ae,onChange:qe,MaxMinutes:Ve})=>la.createElement(la.Fragment,null,la.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",la.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",la.createElement("br",null)),la.createElement(Oe.Z,{value:ae,onChange:qe,min:0,precision:0,max:Ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),nr=({exercise:ae,successCb:qe,dispatch:Ve})=>{var Tt,or,zn,Yn;const Er=(0,Ce.useParams)(),[Cn]=et.default.useForm(),tr=et.default.useWatch("time",Cn),[wa,ao]=(0,de.useState)(!1),Ha=(0,de.useRef)(),{actionTabs:Oi}=ae,[Va,x]=(0,de.useState)(),[,E,ie,re]=(0,Qa.U)(ue.n7,{id:Er.categoryId}),[,oe,pe]=(0,Qa.U)(ue.Cd,{});(0,de.useEffect)(()=>{ae.actionTabs.key==="student-unlock"&&(ao(!1),Cn.resetFields())},[ae.actionTabs.key]);const je=()=>new Promise(vr=>cl(void 0,null,function*(){var Jn,Vr;return Ha.current=yield(0,ms.y)({ip_limit:(Jn=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Jn.ip_limit,ip_bind:(Vr=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Vr.ip_bind_type}),vr()})),nt=()=>cl(void 0,null,function*(){var vr,Jn,Vr,Ei,Dn;yield Cn.validateFields();const hr=Cn.getFieldsValue();if(ao(!0),(((vr=Oi==null?void 0:Oi.exerciseParams)==null?void 0:vr.ip_limit)!=="no"||(Jn=Oi==null?void 0:Oi.exerciseParams)!=null&&Jn.ip_bind_type)&&(yield je()),(yield(0,ue.ZD)((Vr=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Vr.id,{exercise_user_id:(Ei=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Ei.exercise_user_id,unlock_key:hr.unlock_key,time:hr.time,ip:Ha.current})).status===0){if(qe){Ve({type:"exercise/setActionTabs",payload:{}}),qe();return}const qr=Oi==null?void 0:Oi.exerciseParams;(0,Se.nr)({inner_ip:qr.inner_ip,public_ip:qr.public_ip,open_camera:qr.open_camera,ip_limit:qr.ip_limit,ip_bind:qr.ip_bind,ip_bind_type:qr.ip_bind_type,exercise_tips:qr.exercise_tips,exerciseId:qr.id,screen_open:qr.screen_open,screen_num:qr.screen_num,screen_sec:qr.screen_sec,coursesId:Er.coursesId,login:(Dn=(0,we.eY)())==null?void 0:Dn.login,history,identity_verify:qr.identity_verify,open_phone_video_recording:qr.open_phone_video_recording,current_status:qr.current_status}),Ve({type:"exercise/setActionTabs",payload:{}})}ao(!1)}),dt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:vr=>la.createElement("span",{className:vr.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},vr)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:vr=>la.createElement("span",{className:vr.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},vr)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],St=((Tt=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Tt.errorMessage)&&typeof((or=Oi==null?void 0:Oi.exerciseParams)==null?void 0:or.errorMessage)=="object";(0,de.useEffect)(()=>{ae.actionTabs.key==="student-unlock"&&cl(void 0,null,function*(){const vr=yield pe(Er);yield ie({}),vr.status||x(vr)})},[ae.actionTabs.key]);const{time:Kt,end_time:rn}=(Va==null?void 0:Va.exercise)||{},fn=re!=null&&re.user_end_time?ge()(re==null?void 0:re.user_end_time).add(1,"minutes"):ge()(),Rt=ge()(re==null?void 0:re.user_total_end_time)>fn?Math.round(ge().duration(ge()(re==null?void 0:re.user_total_end_time).diff(fn.startOf("minute"))).asMinutes()):0,Br=((re==null?void 0:re.student_left_minutes)||0)+(tr||0);return la.createElement(la.Fragment,null,la.createElement(We.default,{width:514,centered:!0,closable:!!((zn=Oi==null?void 0:Oi.exerciseParams)!=null&&zn.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ae.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{Ve({type:"exercise/setActionTabs",payload:{}})}},la.createElement(Qt.Z,{spinning:E||oe},St&&la.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!St&&la.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),St&&la.createElement($e.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Yn=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Yn.errorMessage)||{}],columns:dt}),la.createElement("div",{className:""},la.createElement(et.default,{form:Cn,layout:"vertical",autoComplete:"off"},la.createElement(et.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},la.createElement(me.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Kt!==-1?la.createElement(la.Fragment,null,la.createElement(et.default.Item,{name:"time",label:la.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",la.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",ge()(re==null?void 0:re.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},la.createElement(Go,{MaxMinutes:Rt})),la.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",la.createElement("span",{className:"ml5"},E||oe?"--":Br),"\u5206\u949F",Br!==0&&(re==null?void 0:re.user_end_time)&&la.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",la.createElement("span",{className:"ml5"},ge()(re==null?void 0:re.user_end_time).add(tr||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):la.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",ge()(rn).format("YYYY-MM-DD HH:mm")))),la.createElement(Ut.Z,{justify:"space-between",align:"middle"},la.createElement(se.Z,null),la.createElement(se.Z,null,la.createElement(He.ZP,{loading:wa,onClick:nt},"\u8FDB\u5165\u8003\u8BD5"))))))};var Qn=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(nr),Zn=te(49617),xr=te(63317),ni=te(43112),ti=te(59301),yr=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Bi=({exercise:ae,dispatch:qe,init:Ve,haveInit:Tt=!1})=>{const or=(0,Ce.useParams)(),[zn,Yn]=(0,de.useState)(!1);let[Er,Cn]=(0,de.useState)();const[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1);(0,de.useEffect)(()=>{ae.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&Oi()},[ae.actionTabs]);function Oi(){return yr(this,null,function*(){var Va,x;let E=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs}});if(((Va=E==null?void 0:E.cover_exercises)==null?void 0:Va.length)>0)Yn(!0),Cn((x=E==null?void 0:E.cover_exercises)==null?void 0:x[0]);else{let ie=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs}});qe({type:"exercise/setActionTabs",payload:{key:""}}),(ie==null?void 0:ie.status)===0&&(Tt&&Ve(),We.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ce.history.push("/paperlibrary")}}))}})}return ti.createElement("div",null,ti.createElement(We.default,{open:zn,centered:!0,onCancel:Va=>yr(void 0,null,function*(){if(Va.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){wa(!0);let x=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs,update:1}});qe({type:"exercise/setActionTabs",payload:{key:""}}),wa(!1),(x==null?void 0:x.status)===0&&(Tt&&Ve(),Yn(!1),We.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ce.history.push("/paperlibrary")}}))}else Yn(!1)}),cancelButtonProps:{loading:tr},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:ao},onOk:()=>yr(void 0,null,function*(){Ha(!0);let Va=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs}});Ha(!1),(Va==null?void 0:Va.status)===0&&(Tt&&Ve(),qe({type:"exercise/setActionTabs",payload:{key:""}}),Yn(!1),We.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ce.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},ti.createElement("div",null,ti.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),ti.createElement("div",null,ti.createElement("div",null,"\u8BD5\u5377\uFF1A",Er==null?void 0:Er.origin_exercise_nam),ti.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",ti.createElement("a",{href:`/paperlibrary/see/${Er==null?void 0:Er.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},Er==null?void 0:Er.examination_bank_name))))))};var ga=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(Bi),Ka=te(87169),va=te(90976),bi=te(50624),ta=te(29008),Xr=te(59301),Lo=Object.defineProperty,Aa=Object.defineProperties,Fa=Object.getOwnPropertyDescriptors,yo=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,as=(ae,qe,Ve)=>qe in ae?Lo(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Yo=(ae,qe)=>{for(var Ve in qe||(qe={}))tl.call(qe,Ve)&&as(ae,Ve,qe[Ve]);if(yo)for(var Ve of yo(qe))xl.call(qe,Ve)&&as(ae,Ve,qe[Ve]);return ae},Ys=(ae,qe)=>Aa(ae,Fa(qe)),Ts=(ae,qe)=>{var Ve={};for(var Tt in ae)tl.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&yo)for(var Tt of yo(ae))qe.indexOf(Tt)<0&&xl.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},os=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const cs=ae=>{var qe=ae,{user:Ve,classroomList:Tt,globalSetting:or,loading:zn,dispatch:Yn}=qe,Er=Ts(qe,["user","classroomList","globalSetting","loading","dispatch"]),Cn,tr,wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt,St,Kt;const rn=(0,Ce.useParams)(),[fn]=(0,Ce.useSearchParams)(),[Rt,Br]=(0,de.useState)(()=>Ys(Yo({},rn),{limit:20})),vr=(0,Ce.useLocation)(),{detailExerciseList:Jn,detailTopBanner:Vr,detailLeftMenus:Ei}=Tt,[Dn,hr]=(0,de.useState)([]),[ii,qr]=(0,de.useState)(!1),[Nn,ba]=(0,de.useState)([]),[Wo,Oo]=(0,de.useState)(!1),[So,pl]=(0,de.useState)(!1),[ho,Vn]=(0,de.useState)(!1),[yn,ar]=(0,de.useState)(!1),[kn,Fi]=(0,de.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),ja=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Rt.type=fn.get("tabs")==="all"?"":fn.get("tabs")||"",Rt.id=Rt.coursesId,(0,de.useEffect)(()=>{var er,Wi,is;if((er=Ve==null?void 0:Ve.userInfo)!=null&&er.login){if((0,we.GJ)()){const Xl=Se.cX.getItem(`${(Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.login}Teacher`,"Exercise");Xl&&(Rt.sort_by=Xl==null?void 0:Xl.type,Rt.sort_direction=Xl==null?void 0:Xl.direction,Fi(Xl==null?void 0:Xl.name))}Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})}else(is=Ve==null?void 0:Ve.userInfo)!=null&&is.username&&Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)});qr(!1)},[(Cn=Ve==null?void 0:Ve.userInfo)==null?void 0:Cn.login,vr.pathname]),(0,de.useEffect)(()=>{Tt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})},[Tt.actionTabs.key]),(0,de.useEffect)(()=>{Tt.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(Oo(!0),pl(Vr==null?void 0:Vr.show_unstart_exercise),Vn(Vr==null?void 0:Vr.forbid_end_exercise))},[Tt.actionTabs.key]),(0,de.useEffect)(()=>{hr([])},[Jn]);const rl=(er,Wi)=>{hr([]),Rt.page=er,Rt.limit=Wi,Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})},el=er=>{Rt.type=er.id==="all"?"":er.id,Rt.page=1,Ce.history.replace(`${vr.pathname}?tabs=${er.id}`),ar(!1),Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})};(0,de.useEffect)(()=>{fn.get("tabs")==="all"&&(Rt.type="",Rt.page=1)},[fn.get("tabs")]),(0,de.useEffect)(()=>{(0,we.Rm)()&&Yn({type:"classroomList/getAssistantPermissions",payload:{course_id:Rt.coursesId}})},[(tr=Ve==null?void 0:Ve.userInfo)==null?void 0:tr.username]),(0,de.useEffect)(()=>{const er=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),We.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:Xr.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Xr.createElement("br",null),"1\u3001\u5728",Xr.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",Xr.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",Xr.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Xr.createElement("br",null),"2\u3001\u5728",Xr.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",Xr.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",Xr.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",Xr.createElement("br",null),er==="allowRouter"&&Xr.createElement(Xr.Fragment,null,"3\u3001",Xr.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,de.useEffect)(()=>{(0,we.Rm)()&&Yn({type:"classroomList/getAssistantPermissions",payload:{course_id:Rt.coursesId}})},[(wa=Ve==null?void 0:Ve.userInfo)==null?void 0:wa.login]);const Ra=[{name:"\u5168\u90E8",id:"all",total:(ao=Jn.exercises_counts)==null?void 0:ao.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(Ha=Jn.exercises_counts)==null?void 0:Ha.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(Oi=Jn.exercises_counts)==null?void 0:Oi.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Va=Jn.exercises_counts)==null?void 0:Va.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(x=Jn.exercises_counts)==null?void 0:x.end_counts}],zo=[{name:"\u6279\u91CF\u53D1\u5E03",icon:Xr.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:Xr.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:Xr.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:Xr.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:Xr.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(er=>(0,we.GJ)()?!0:er.name!=="\u6279\u91CF\u5220\u9664").filter(er=>Vr.is_public?!0:er.name!=="\u8BBE\u4E3A\u516C\u5F00"),vs=()=>We.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:Xr.createElement(Xr.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),xu="YYYY-MM-DD",Eu=ge()("2020-11-15",xu),pu=er=>{var Wi;Rt.sort_by=er.type,Rt.sort_direction=er.direction,(0,we.GJ)()&&Se.cX.setItem(`${(Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.login}Teacher`,er,"Exercise"),Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Yo({},Rt)}),Fi(er.name)},Bu=()=>Xr.createElement(xe.default,null,Xr.createElement(xe.default.Item,{key:1,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt==null?void 0:Tt.AssistantObject)==null?void 0:er.exercise)!=null&&Wi.can_create)){Ee.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}Yn({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Rt}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),Xr.createElement(xe.default.Item,{key:2,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt==null?void 0:Tt.AssistantObject)==null?void 0:er.exercise)!=null&&Wi.can_create)){Ee.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}window.scrollTo(0,0),Ce.history.push(`/classrooms/${Rt.coursesId}/exercise/add?catalogue=${(rn==null?void 0:rn.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),Xr.createElement(xe.default.Item,{key:3,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt.AssistantObject)==null?void 0:er.practice)!=null&&Wi.can_create)){Ee.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}Yn({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),hs=er=>os(void 0,null,function*(){var Wi,is,Xl,mi,Tl,Oc,ua,Ya;const Ba=er.name;if(((Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.user_status)===2&&er.name==="\u6279\u91CF\u53D1\u5E03"){(0,ze.Rd)();return}const go=[];if((is=Jn.exercises)==null||is.map(na=>{if(Dn.includes(na.id)&&na.is_random){const Za=ge()(na.created_at,xu);ge()(Eu).diff(ge()(Za),"days")>0&&(na!=null&&na.is_random)&&go.push(na)}}),Dn==""){let na="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";Ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(na="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),Ee.ZP.error(na)}else if(go.length)vs();else{if(Ba==="\u6279\u91CF\u53D1\u5E03"){if((0,we.Rm)()&&!((mi=(Xl=Tt==null?void 0:Tt.AssistantObject)==null?void 0:Xl.exercise)!=null&&mi.can_publish)){Ee.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}let na=!1;Jn.exercises.forEach(oo=>{Dn.includes(oo.id)&&oo.total_num===0&&oo.is_random&&(na=!0)});let Za;if(Za=(Oc=(Tl=Jn.exercises.filter(oo=>Dn.includes(oo==null?void 0:oo.id)).filter(oo=>(oo==null?void 0:oo.exercise_question_count)===0))==null?void 0:Tl[0])==null?void 0:Oc.exercise_name,(Za==null?void 0:Za.length)>0){Ee.ZP.warning(`${Za}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(na){Ee.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let gl=!1;if(Jn.exercises.forEach(oo=>{Dn.includes(oo.id)&&oo.exercise_status!==1&&(gl=!0)}),gl){Ee.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(Ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const na=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...Dn]}});if(((ua=na==null?void 0:na.cover_exercises)==null?void 0:ua.length)>0){ba(na==null?void 0:na.cover_exercises);return}}Yn({type:"exercise/setActionTabs",payload:{key:Ba,selectArrs:Dn,selectArrsAll:(Ya=Jn.exercises)==null?void 0:Ya.filter(na=>Dn.includes(na.id)),params:Rt,type:1}})}});return Xr.createElement("section",{className:"minH500"},Xr.createElement(Zn.Z,{isLoading:zn["classroomList/getClassroomExercisesList"],tabDataSource:Ra,isAdmin:(0,we.GJ)(),dispatch:Yn,type:Jn==null?void 0:Jn.main_category_name,isExercise:!0,user:Ve,getDropdownMenu:Bu,onTabMenuClick:el,classroomList:Tt,defaultSelectedKeys:[Rt.type||"all"]}),Xr.createElement(xr.Z,{dataSource:Jn.exercises||[],isAdmin:(0,we.GJ)(),batchStatus:yn,SortMenuName:kn,setSortMenuName:Fi,SortMenus:ja,onSearch:er=>{Rt.search=er.trim(),Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Yo({},Rt)})},isShowMode:!0,onModeChange:er=>{Rt.is_normal=er,Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Yo({},Rt)})},onSort:pu,onBatch:er=>ar(er)}),Xr.createElement(fe.Z,{loading:zn["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30 px-20px"},(E=Jn.exercises_counts)!=null&&E.exercises_all_counts?Jn.exercises.map(function(er,Wi){return Xr.createElement(Wl,{key:Wi,v:er,k:Wi,batchStatus:yn,selectArrs:Dn,setSelectArrs:hr,dispatch:Yn,params:Rt,user:Ve,manageAllGroup:Jn.manage_all_group})}):Xr.createElement(Ne.Z,null),Xr.createElement("aside",{className:"tc mb50 mt30 px-20px"},((ie=Jn.exercises_counts)==null?void 0:ie.exercises_all_counts)>0&&Xr.createElement(be.Z,{showTotal:er=>{var Wi;return`\u5171 ${(Wi=Jn==null?void 0:Jn.exercises_counts)==null?void 0:Wi.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:rl,defaultCurrent:Rt.page,current:Rt.page||1,pageSize:Rt.limit||20,total:Jn.exercises_counts&&Jn.exercises_counts.exercises_all_counts}))),Dn.length>0&&(0,we.GJ)()&&Xr.createElement(Fe.Z,{offsetBottom:0},Xr.createElement(ni.Z,{buttonDataSource:zo,onButtonClick:hs,useBatchStatus:ar,setSeleArr:hr,catalogue:((oe=(re=Ei==null?void 0:Ei.course_modules)==null?void 0:re.find(er=>er.type==="exercise"))==null?void 0:oe.second_category)||[],addCatalogue:er=>{er.preventDefault(),Yn({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Rt,selectArrs:{category_id:Jn==null?void 0:Jn.main_category_id,type:"exercise"}}})},allSelect:Dn.length?Dn.length===((je=(pe=Jn.exercises)==null?void 0:pe.filter(er=>!er.is_make_up_exercise))==null?void 0:je.length):!1,setAllSelect:er=>{var Wi;er.target.checked?hr((Wi=Jn==null?void 0:Jn.exercises)==null?void 0:Wi.filter(is=>!is.is_make_up_exercise).map(is=>is.id)):hr([])},selectArrs:Dn,onMenuClick:er=>os(void 0,[er],function*({key:Wi}){if(Dn=="")return Ee.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:Dn,new_category_id:Wi}})).status===0&&(Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),Yn({type:"classroomList/getClassroomExercisesList",payload:Yo({},rn)}))})})),Xr.createElement(Rr,null),Xr.createElement(Gt,null),Xr.createElement(In,null),Xr.createElement($n,null),Xr.createElement(va.Z,{onOk:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Yo({},rn)})}}),Xr.createElement(bi.Z,{onOk:()=>{}}),Xr.createElement(Fn,{cb:()=>hr([])}),Xr.createElement(gi,null),Xr.createElement(Qn,null),Xr.createElement(We.default,{title:Xr.createElement("span",null,Xr.createElement(Ka.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:Nn.length>0,footer:!1,onCancel:()=>{ba([])}},Xr.createElement("div",{style:{height:300,overflow:"auto"}},Xr.createElement("div",null,"\u6709",Nn==null?void 0:Nn.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Nn==null?void 0:Nn.map(er=>Xr.createElement("div",{style:{marginTop:25}},Xr.createElement("div",null,"\u8BD5\u5377\uFF1A",er==null?void 0:er.origin_exercise_nam),Xr.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Xr.createElement("a",{href:`/paperlibrary/see/${er==null?void 0:er.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},er==null?void 0:er.examination_bank_name))))),Xr.createElement("div",{style:{textAlign:"end"}},Xr.createElement(He.ZP,{style:{height:30},onClick:()=>os(void 0,null,function*(){const er=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Dn],update:1}});(er==null?void 0:er.status)===0&&(Ee.ZP.info("\u8986\u76D6\u6210\u529F"),ba([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),Xr.createElement(He.ZP,{type:"primary",onClick:()=>os(void 0,null,function*(){const er=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Dn]}});(er==null?void 0:er.status)===0&&(Ee.ZP.info("\u5F62\u6210\u6210\u529F"),ba([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),Xr.createElement(We.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:Wo,centered:!0,onOk:()=>os(void 0,null,function*(){let er=yield(0,ke.ZP)(`/api/courses/${Rt.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:So,forbid_end_exercise:ho}});(er==null?void 0:er.status)===0&&(Oo(!1),Yn({type:"classroomList/setActionTabs",payload:{key:""}}),Yn({type:"classroomList/getClassroomTopBanner",payload:{id:Rt.coursesId}}),Ee.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{Oo(!1),Yn({type:"classroomList/setActionTabs",payload:{key:""}})}},Xr.createElement(rt.default,{checked:So,onChange:er=>{pl(er.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",Xr.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),Xr.createElement(rt.default,{className:"mt20",checked:ho,onChange:er=>{Vn(er.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),Xr.createElement(ga,null),Xr.createElement(Xr.Fragment,null,Xr.createElement(ta.T$,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{open:""})})},open:((nt=Tt==null?void 0:Tt.actionTabs)==null?void 0:nt.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),Xr.createElement(ta.$i,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})},open:((dt=Tt==null?void 0:Tt.actionTabs)==null?void 0:dt.open)==="\u8BD5\u5377\u5C01\u5B58",Data:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})}),Xr.createElement(ta.K1,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})},open:((St=Tt==null?void 0:Tt.actionTabs)==null?void 0:St.open)==="\u89E3\u5C01",Data:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})}),Xr.createElement(ta.O7,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Yo(Yo({},Rt),rn)})},open:((Kt=Tt==null?void 0:Tt.actionTabs)==null?void 0:Kt.open)==="\u63D0\u793A",Data:Ys(Yo({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})})))};var du=(0,Ce.connect)(({user:ae,classroomList:qe,loading:Ve,globalSetting:Tt})=>({user:ae,classroomList:qe,globalSetting:Tt,loading:Ve.effects}))(cs),ps={flex_box_center:"flex_box_center___I2Zor",flex_space_between:"flex_space_between___Ht3Hg",flex_box_vertical_center:"flex_box_vertical_center___l37KN",flex_box_center_end:"flex_box_center_end___O7U5A",flex_box_column:"flex_box_column___QIoOH",containerTitle:"containerTitle___JCYrV",containerDesc:"containerDesc___OW8kv",menus:"menus___X1BVx",listItem:"listItem___QQnG2",info:"info___TwB7l",title:"title___l4jJE",titleLeft:"titleLeft___xwSdb",titleRight:"titleRight___b3ucs",acitons:"acitons___M5Z8n",move:"move___ez_Md",hideHeadCheckbox:"hideHeadCheckbox___kvvPQ",moveCategory:"moveCategory___dZlgC",tabSearch:"tabSearch___FCjLv",warpModal:"warpModal___gzw5T",modalColumn:"modalColumn___togI3",modalRow:"modalRow___HVpN2",sup:"sup___yOXrk",name:"name___jYQZy"},Bo=te(59301),wu=Object.defineProperty,fu=Object.defineProperties,gs=Object.getOwnPropertyDescriptors,Vl=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,Pu=(ae,qe,Ve)=>qe in ae?wu(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,bs=(ae,qe)=>{for(var Ve in qe||(qe={}))El.call(qe,Ve)&&Pu(ae,Ve,qe[Ve]);if(Vl)for(var Ve of Vl(qe))yu.call(qe,Ve)&&Pu(ae,Ve,qe[Ve]);return ae},al=(ae,qe)=>fu(ae,gs(qe)),Ho=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const{TabPane:Ul}=Ye.default,ds=({classroomList:ae,exercise:qe,loading:Ve,dispatch:Tt})=>{var or;const zn=(0,Ce.useParams)(),Yn=(0,Ce.useLocation)(),[Er]=et.default.useForm(),{brankList:Cn}=qe;let[tr,wa]=(0,de.useState)(!0),[ao,Ha]=(0,de.useState)(!1);const[Oi,Va]=(0,de.useState)("myself");let[x,E]=(0,de.useState)([]),[ie,re]=(0,de.useState)([]),[oe,pe]=(0,de.useState)(),[je,nt]=(0,de.useState)([]);const dt=(0,de.useRef)(null),[St,Kt]=(0,de.useState)(!1),[rn,fn]=(0,de.useState)(""),[Rt,Br]=(0,de.useState)(""),[vr,Jn]=(0,de.useState)(!1),[Vr,Ei]=(0,de.useState)({}),Dn=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(kn,Fi,ja)=>Bo.createElement("div",{style:{display:"flex",alignItems:"center"}},Bo.createElement(Ke.Z,{title:kn},Bo.createElement("div",{title:kn,className:ps.name},kn)),(Fi==null?void 0:Fi.high_resources_consume)&&Bo.createElement(Ze.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:kn=>Bo.createElement(Ke.Z,{title:kn},Bo.createElement("span",null,kn))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:kn=>kn?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(kn,Fi)=>Bo.createElement("a",{href:kn?`/randompaper/detail/${Fi.id}`:`/paperlibrary/see/${Fi.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[hr,ii]=(0,de.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,de.useEffect)(()=>{qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(ba(),nt([]),qr())},[qe.actionTabs.key]);const qr=()=>Ho(void 0,null,function*(){const kn=yield Tt({type:"paperlibrary/getTeachGroupData"});re(kn)}),Nn=kn=>{const Fi=parseInt(kn);return isNaN(Fi)?"":Fi},ba=()=>Ho(void 0,null,function*(){var kn,Fi;if(tr){++hr.page,wa(!1);const ja=yield Tt({type:"exercise/getBrankList",payload:al(bs({},hr),{search:(kn=hr.search)==null?void 0:kn.trim()})});x=ja!=null&&ja.object_list?[...x.concat(ja==null?void 0:ja.object_list)]:x,hr.filter==="public"?pe(ja.is_teacher):pe(!0),((Fi=ja.object_list)==null?void 0:Fi.length)<hr.limit?wa(!1):wa(!0),E([...x])}}),Wo=kn=>{dt.current.scrollTop=0,x=[],hr.page=0,hr.group_id=kn,tr=!0,nt([]),ii(bs({},hr)),ba()},Oo={selectedRowKeys:je,onChange:kn=>{nt(kn)},type:"radio"},So=()=>{ii(bs({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),E([]),wa(!0),Va("myself"),Tt({type:"exercise/setActionTabs",payload:{}}),Ha(!1)},[pl,ho,Vn,yn]=(0,Te.P)(),ar=kn=>Ho(void 0,null,function*(){let Fi=!1;x.forEach(Ra=>{je.includes(Ra.id)&&(Fi=Ra.is_random)});const ja=kn.map(Ra=>({shixun_id:Ra.id,is_use:Ra.is_use,is_copy:Ra.is_copy}));if(!Fi){Jn(!0);const Ra=yield Tt({type:"exercise/saveBanks",payload:{course_id:zn.coursesId,category_id:(zn==null?void 0:zn.categoryId)||null,object_type:"examination_bank",bank_id:je,shixuns_info:ja}});Jn(!1),(Ra==null?void 0:Ra.status)===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Tt({type:"classroomList/getClassroomExercisesList",payload:bs({},qe.actionTabs.params)}),Tt({type:"classroomList/getClassroomLeftMenus",payload:{id:zn.coursesId}}),fn(`/classrooms/${zn.coursesId}/exercise/${Ra.exercise_id}/detail?random=${Ra.is_random}&tabs=3`),Br(`/classrooms/${zn.coursesId}/exercise/add/${Ra.exercise_id}?random=${Ra.is_random}&type=2`),Kt(!0),Ee.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),ho(),So());return}Jn(!0),setTimeout(()=>{Jn(!1)},500),Tt({type:"exercise/setActionTabs",payload:{}});let rl=1,el=We.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:Bo.createElement("div",{className:ps.modalColumn},Bo.createElement("div",{className:ps.modalRow},Bo.createElement("sup",{className:ps.sup},"*"),Bo.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),Bo.createElement(Oe.Z,{parser:Nn,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:rl,onChange:Ra=>{rl=Ra;const zo=document.getElementById("model_error");rl<1||rl>50?zo.style.display="block":zo.style.display="none"}})),Bo.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:So,onOk:()=>Ho(void 0,null,function*(){if(rl<1||rl>50){const zo=document.getElementById("model_error");return zo.style.display="block",Promise.reject()}el.update({cancelButtonProps:{disabled:!0}});const Ra=yield Tt({type:"exercise/saveBanks",payload:{course_id:zn.coursesId,object_type:"examination_bank",bank_id:je,shixuns_info:ja,num:rl}});el.update({cancelButtonProps:{disabled:!1}}),Ra&&Ra.status===0?((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),We.default.destroyAll(),Tt({type:"classroomList/getClassroomExercisesList",payload:bs({},qe.actionTabs.params)}),So(),ho(),Ee.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(So(),ho())})})});return Bo.createElement(Bo.Fragment,null,Bo.createElement(We.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:ao,bodyStyle:{minHeight:200},wrapClassName:ps.warpModal,onOk:()=>Ho(void 0,null,function*(){var kn;if(!je.length){Ee.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Ha(!0);let Fi=!1,ja=!1;if(x.forEach(el=>{je.includes(el.id)&&el.need_authorize&&(Fi=el.need_authorize),je.includes(el.id)&&(ja=el.is_random)}),Fi){(0,ze.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\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");return}let rl=yield(0,ot.Tr)({id:`${je[0]}`,course_id:(kn=ae.detailTopBanner)==null?void 0:kn.course_id,type:"examination_bank"});Ha(!1),(rl==null?void 0:rl.student_count)===0?ar([]):Ei(rl)}),onCancel:So},Bo.createElement(Ye.default,{activeKey:Oi,onTabClick:kn=>Ho(void 0,null,function*(){dt.current.scrollTop=0,x=[],Oi!==kn&&nt([]),Va(kn),hr.page=0,hr.filter=kn,hr.group_id=null,tr=!0,ba()})},Bo.createElement(Ul,{tab:Bo.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),Bo.createElement(Ul,{tab:Bo.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),Bo.createElement(Ul,{tab:Bo.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),Bo.createElement("div",{className:ps.tabSearch},Oi==="teacher"&&Bo.createElement(_e.default,{value:hr.group_id,onChange:Wo,size:"middle",style:{width:200,marginRight:30}},Bo.createElement(_e.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(or=ie==null?void 0:ie.groups)==null?void 0:or.map(kn=>Bo.createElement(_e.default.Option,{key:kn==null?void 0:kn.group_id,value:kn==null?void 0:kn.group_id},kn==null?void 0:kn.name))),Bo.createElement(me.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:hr.search,onChange:kn=>{hr.search=kn.target.value,ii(bs({},hr))},onSearch:kn=>{dt.current.scrollTop=0,x=[],hr.page=0,tr=!0,nt([]),kn&&(0,xt.tk)({name:kn,copywriting:kn,position:"Exercise"}),ba()}})),Bo.createElement("div",{ref:dt,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!oe&&Oi==="public"&&Bo.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},Bo.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),Bo.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),Bo.createElement(Le(),{initialLoad:!1,pageStart:0,loadMore:()=>{ba()},hasMore:tr,useWindow:!1},qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&oe&&Bo.createElement(Pe.Z,{className:ps.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:x,onRow:kn=>({onClick:()=>{nt([kn==null?void 0:kn.id])}}),resColumns:Dn,rowSelection:Oo})))),Bo.createElement(We.default,{title:"\u63D0\u793A",open:St,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Bo.createElement("div",null,Bo.createElement(He.ZP,{onClick:()=>{Kt(!1),Ce.history.push(Rt)}},"\u4FEE\u6539\u8BD5\u5377"),Bo.createElement(He.ZP,{type:"primary",onClick:()=>{Ce.history.push(rn),Kt(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Kt(!1)}},Bo.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),Bo.createElement(vt.Z,{resdata:Vr,type:"exercise",okloading:vr,oktext:(Vr==null?void 0:Vr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:kn=>{ar(kn)}}),Bo.createElement(Te.Z,{inPaper:!0,visible:pl,onCancel:ho,onOk:ar,renderData:Vn,modalType:"multiple",type:"examination_bank"}))};var ts=(0,Ce.connect)(({exercise:ae,loading:qe,classroomList:Ve})=>({exercise:ae,loading:qe,classroomList:Ve}))(ds),Ns=te(81902),Cs={cstuModal:"cstuModal___Lk_O4",removeStyle:"removeStyle___PEQ8_",bottom:"bottom___x2sdD",yes:"yes___DNALK",no:"no___lzotc",Onerow:"Onerow___gJgKh",searchMember:"searchMember___jzYuJ",searchMemberHeader:"searchMemberHeader___v8IBY"},No=te(59301),Qs=Object.defineProperty,Su=Object.defineProperties,hu=Object.getOwnPropertyDescriptors,js=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,zu=(ae,qe,Ve)=>qe in ae?Qs(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,iu=(ae,qe)=>{for(var Ve in qe||(qe={}))wc.call(qe,Ve)&&zu(ae,Ve,qe[Ve]);if(js)for(var Ve of js(qe))Lu.call(qe,Ve)&&zu(ae,Ve,qe[Ve]);return ae},ic=(ae,qe)=>Su(ae,hu(qe)),ac=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const zc=({visible:ae,setVisible:qe,onK:Ve,selectKeys:Tt,selectRows:or,appointStudent:zn,modalParams:Yn,courseId:Er})=>{const Cn=(0,Ce.useParams)(),[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1),[Oi,Va]=(0,de.useState)([]),[x,E]=(0,de.useState)([]),[ie,re]=(0,de.useState)([]),[oe,pe]=(0,de.useState)("all"),[je,nt]=(0,de.useState)("all");let[dt,St]=(0,de.useState)(!0);const[Kt,rn]=(0,de.useState)([{value:"all",label:"\u5168\u90E8\u5206\u73ED"}]),[fn,Rt]=(0,de.useState)({page:1,limit:1e4,status:null,course_group_id:null,keywords:"",sort_by:null,direction:null}),Br={selectedRowKeys:x,columnWidth:40,hideSelectAll:!0,onSelect:(Dn,hr,ii)=>{let qr=!0;for(let Nn=0;Nn<x.length;Nn++)(Dn==null?void 0:Dn.user_id)===x[Nn]&&(x==null||x.splice(Nn,1),ie==null||ie.splice(Nn,1),qr=!1);qr&&(x.push(Dn==null?void 0:Dn.user_id),ie.push(Dn)),E([...x]),re([...ie])},onSelectAll:(Dn,hr,ii)=>{if(Dn&&ii.length>0){ii.forEach(qr=>{x.push(qr.user_id),ie.push(qr)}),E([...x]),re([...ie]);return}if(!Dn&&ii.length>0){let qr=[],Nn=[];const ba=new Set(ii),Wo=new Set(x),Oo=new Set(ie);qr=[...Wo].filter(So=>[...ba].every(pl=>pl.user_id!==So)),Nn=[...Oo].filter(So=>[...ba].every(pl=>pl.user_id!==So.user_id)),E([...qr]),re([...Nn])}}};(0,de.useEffect)(()=>{ae&&Tt&&(E([...Tt]),re(or))},[ae,Tt]),(0,de.useEffect)(()=>{ae&&(!zn&&Yn?fn.status=Yn:fn.status=null,Rt(iu({},fn)),Jn())},[ae,zn,Yn]);const vr=[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",ellipsis:!0,fixed:"left",width:100,render:(Dn,hr,ii)=>No.createElement("span",{style:{color:"#333"}},ii+1)},{title:"\u59D3\u540D",dataIndex:"user_name",key:"user_name",ellipsis:!0,render:(Dn,hr,ii)=>No.createElement("span",null,Dn)},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",ellipsis:!0,render:(Dn,hr,ii)=>No.createElement("span",{style:{color:"#666"}},Dn)},{title:"\u5206\u73ED1",dataIndex:"user_group_name",key:"user_group_name",align:"left",ellipsis:!0,render:(Dn,hr)=>No.createElement("span",null,Dn)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",key:"score",sorter:!0,render:(Dn,hr)=>No.createElement("span",null,Dn||"--")},{title:"\u72B6\u6001",dataIndex:"status_cn",key:"status_cn",align:"center",ellipsis:!0,render:(Dn,hr)=>No.createElement("span",null,Dn)}].filter(Dn=>Yn===1||Yn===2?Dn.title!=="\u72B6\u6001":!0),Jn=()=>ac(void 0,null,function*(){var Dn,hr,ii;Ha(!0);const qr=yield(0,ke.ZP)(`/api/exercises/${Cn.categoryId||Er}/wait_make_up_students.json`,{method:"get",params:ic(iu({},fn),{keywords:(Dn=fn==null?void 0:fn.keywords)==null?void 0:Dn.trim()})});if(qr.status===0){const Nn=((ii=(hr=qr==null?void 0:qr.data)==null?void 0:hr.all_course_groups)==null?void 0:ii.map(ba=>({value:ba==null?void 0:ba.id,label:ba==null?void 0:ba.name})))||[];rn([{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...Nn]),Va(qr.data)}Ha(!1)}),Vr=()=>{fn.page=1,fn.status=null,fn.course_group_id=null,fn.keywords="",pe("all"),nt("all"),E([]),re([]),Rt(iu({},fn)),zn&&Ve(x==null?void 0:x.length,x,ie)},Ei=()=>{fn.page=1,fn.status=null,fn.course_group_id=null,fn.keywords="",Rt(iu({},fn)),pe("all"),nt("all"),E([]),re([]),qe(!1)};return No.createElement(We.default,{centered:!0,className:Cs.cstuModal,title:Yn===1?"\u7F3A\u8003\u5B66\u751F":Yn===2?"\u672A\u53CA\u683C\u5B66\u751F":"\u9009\u62E9\u8865\u8003\u5B66\u751F",open:ae,width:1200,footer:null,onCancel:()=>{Ei()}},No.createElement(Ut.Z,{style:{marginBottom:"20px",marginTop:"15px",display:"flex",alignItems:"center",justifyContent:"space-between"}},No.createElement(Ut.Z,null,No.createElement(se.Z,null,No.createElement(_e.default,{size:"large",value:oe,style:{width:200,marginRight:20},onChange:Dn=>{pe(Dn),Dn==="all"?fn.course_group_id=null:fn.course_group_id=Dn,fn.page=1,Rt(iu({},fn)),Jn()},options:Kt})),zn&&No.createElement(se.Z,null,No.createElement(_e.default,{size:"large",value:je,style:{width:200},onChange:Dn=>{nt(Dn),Dn==="all"?fn.status=null:fn.status=Dn,fn.page=1,Rt(iu({},fn)),Jn()},options:[{value:"all",label:"\u5168\u90E8\u72B6\u6001"},{value:"1",label:"\u7F3A\u8003"},{value:"2",label:"\u672A\u53CA\u683C"},{value:"3",label:"\u53CA\u683C"}]}))),No.createElement(se.Z,null,No.createElement(wt.t7,{style:{width:300,marginLeft:15},value:fn.keywords,allowClear:!0,onChange:Dn=>{fn.keywords=Dn,fn.page=1,Rt(iu({},fn)),Jn()},placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u8FDB\u884C\u641C\u7D22"}))),No.createElement(Ut.Z,{align:"middle",className:"mb30"},No.createElement(se.Z,{span:14},No.createElement("div",{className:"flexd-table-header"},No.createElement($e.default,{pagination:!1,dataSource:[],columns:vr,rowSelection:zn?Br:null,rowKey:Dn=>Dn.user_id})),No.createElement("div",null,No.createElement($e.default,{rowSelection:zn?Br:null,columns:vr,showHeader:!1,style:{minHeight:390},scroll:{y:390},rowKey:Dn=>Dn.user_id,loading:ao,dataSource:Oi==null?void 0:Oi.exercise_users,onChange:(Dn,hr,ii)=>{fn.page=Dn==null?void 0:Dn.current,fn.limit=Dn==null?void 0:Dn.pageSize,ii!=null&&ii.order?(fn.sort_by=ii==null?void 0:ii.field,fn.direction=(ii==null?void 0:ii.order)==="ascend"?"asc":"desc"):(fn.sort_by=null,fn.direction=null),Rt(iu({},fn)),Jn()},pagination:!1}))),No.createElement(se.Z,{span:1},No.createElement("img",{src:Je,style:{marginLeft:10}})),No.createElement(se.Z,{span:9,style:{display:"flex",justifyContent:"flex-end"}},No.createElement("div",{className:Cs.searchMember,style:{width:550}},No.createElement(Ut.Z,{className:Cs.searchMemberHeader},No.createElement(se.Z,{className:"ml30",flex:"100px"},"\u59D3\u540D"),No.createElement(se.Z,{flex:"110px"},"\u5B66\u53F7"),No.createElement(se.Z,{flex:"120px",style:{marginLeft:5}},"\u5206\u73ED")),No.createElement("div",{style:{overflow:"auto",height:390}},ie==null?void 0:ie.map((Dn,hr)=>No.createElement(Ut.Z,{key:hr,align:"middle",style:{height:48,lineHeight:"48px",paddingLeft:30,borderBottom:"1px solid rgba(48,97,208,0.1)"}},No.createElement(se.Z,{flex:"100px"},Dn.user_name),No.createElement(se.Z,{flex:"110px"},Dn.student_id),No.createElement(se.Z,{flex:"120px",style:{marginLeft:5}},Dn.user_group_name),No.createElement(se.Z,{style:{marginLeft:10}},No.createElement("i",{className:"iconfont icon-shanchudiao current",onClick:()=>{re(ie.filter(ii=>ii.user_id!=Dn.user_id)),E(x.filter(ii=>ii!=Dn.user_id))}})))))))),!(Yn===1||Yn===2)&&No.createElement("div",{className:Cs.bottom},No.createElement(He.ZP,{className:Cs.no,onClick:()=>{Ei()}},"\u53D6\u6D88"),No.createElement(He.ZP,{loading:tr,type:"primary",onClick:()=>{Vr()}},"\u786E\u5B9A")))};var Qu=(0,Ce.connect)(({})=>({}))(zc),Au={contentInterval:"contentInterval___exfzZ",numberInput:"numberInput___uwvXH",minorRuleText:"minorRuleText___Mp9Y2",failedList:"failedList___XUK6Y",name:"name___dS7W9",publish:"publish___Qpw4v"},Ia=te(59301),Ju=Object.defineProperty,Al=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,$l=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,Zs=Object.prototype.propertyIsEnumerable,eu=(ae,qe,Ve)=>qe in ae?Ju(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Ks=(ae,qe)=>{for(var Ve in qe||(qe={}))au.call(qe,Ve)&&eu(ae,Ve,qe[Ve]);if($l)for(var Ve of $l(qe))Zs.call(qe,Ve)&&eu(ae,Ve,qe[Ve]);return ae},Ws=(ae,qe)=>Al(ae,Nl(qe)),ou=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});function lu(ae,qe){const Ve=[];for(let Tt=ae;Tt<qe;Tt++)Ve.push(Tt);return Ve}const Ge=ae=>{let qe=new Date;const Ve=ge()(ae).format("HH");if(ge()(ae).isSame(ge()(qe),"day")){const Tt=ge()(qe).format("HH"),or=ge()(qe).format("mm");return{disabledHours:()=>lu(0,24).splice(1,Tt*1-1),disabledMinutes:()=>(console.log("\u7981\u6B62\u65F6\u95F4\uFF1A",Ve,Tt),ge()(ae).isSame(ge()(qe),"hour")&&Ve<=Tt?lu(0,60).splice(0,or):lu(60,60))}}else if(ge()(ae).isSame(ge()(),"day")){const Tt=ge()().format("HH"),or=ge()().format("mm");return{disabledHours:()=>lu(0,24).splice(0,Tt),disabledMinutes:()=>Ve<=Tt?lu(0,or):lu(60,60)}}else return!1},ct=({exercise:ae,dispatch:qe})=>{var Ve,Tt,or,zn,Yn,Er,Cn,tr,wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt;const St=(0,Ce.useParams)(),[Kt]=et.default.useForm(),[rn,fn]=(0,de.useState)(1),[Rt,Br]=(0,de.useState)([]),[vr,Jn]=(0,de.useState)(!0),[Vr,Ei]=(0,de.useState)([]),[Dn,hr]=(0,de.useState)(!0),[ii,qr]=(0,de.useState)(!1),{workSetting:Nn}=ae,[ba,Wo]=(0,de.useState)(!1),[Oo,So]=(0,de.useState)([]),[pl,ho]=(0,de.useState)([]),[Vn,yn]=(0,de.useState)(!1),[ar,kn]=(0,de.useState)(!1),[Fi,ja]=(0,de.useState)(!1),[rl,el]=(0,de.useState)(null),[Ra,zo]=(0,de.useState)(1),[vs,xu]=(0,de.useState)({}),[Eu,pu]=(0,de.useState)({}),[Bu,hs]=(0,de.useState)(!1);(0,de.useEffect)(()=>{var ua;if(ae.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&(Wi(),Tl(),ae.actionTabs.type===2)){const Ya=(ua=ae.actionTabs)==null?void 0:ua.unified_setting;hr(Ya)}},[ae.actionTabs]),(0,de.useEffect)(()=>{var ua,Ya,Ba,go,na,Za,gl;(ua=Nn==null?void 0:Nn.exercise)!=null&&ua.publish_time&&Kt.setFieldsValue({publish_time:ge()((Ya=Nn==null?void 0:Nn.exercise)==null?void 0:Ya.publish_time)}),(Ba=Nn==null?void 0:Nn.exercise)!=null&&Ba.end_time&&Kt.setFieldsValue({end_time:ge()((go=Nn==null?void 0:Nn.exercise)==null?void 0:go.end_time)}),Kt.setFieldsValue({exercise_type:(na=Nn==null?void 0:Nn.exercise)==null?void 0:na.exercise_type,simulate_exercise_num:(Za=Nn==null?void 0:Nn.exercise)==null?void 0:Za.simulate_exercise_num}),zo((gl=Nn==null?void 0:Nn.exercise)==null?void 0:gl.exercise_type)},[ae]);const er=ua=>{var Ya;const Ba=Kt.getFieldValue("publish_time");if(!Ba||(Ya=Nn==null?void 0:Nn.exercise)!=null&&Ya.publish_time)return;let go;ua===1?go=ge()(Ba).add(120,"minutes"):go=ge()(Ba).add(7,"days"),Kt.setFieldsValue({end_time:go})},Wi=ua=>ou(void 0,null,function*(){var Ya,Ba;Jn(!0);const go=yield(0,ue.N3)({coursesId:St.coursesId,check_ids:[...((Ya=ae.actionTabs.selectArrs)==null?void 0:Ya.map(Za=>Number(Za)))||[]]});console.log(go,"res");const na=((Ba=go==null?void 0:go.course_info)==null?void 0:Ba.map((Za,gl)=>Ws(Ks({},Za),{key:Za.course_group_id,title:Za.course_group_name,name:Za.course_group_name,disabled:!!Za.is_published})))||[];if((go==null?void 0:go.status)!==-1){Br([...na]);const Za=ge()();Kt.setFieldsValue({publish_time:Za}),(Kt.getFieldValue("exercise_type")||1)===1?Kt.setFieldsValue({end_time:ge()(Za).add(120,"minutes")}):Kt.setFieldsValue({end_time:ge()(Za).add(7,"days")})}Jn(!1)});(0,de.useEffect)(()=>{var ua,Ya,Ba,go,na,Za;if((ua=Nn==null?void 0:Nn.exercise)!=null&&ua.is_appoint_user){const gl=((Ba=(Ya=Nn==null?void 0:Nn.exercise)==null?void 0:Ya.all_exercise_users)==null?void 0:Ba.map(oo=>oo.user_id))||[];So([...gl])}yn((go=Nn==null?void 0:Nn.exercise)==null?void 0:go.is_appoint_user),kn((na=Nn==null?void 0:Nn.exercise)==null?void 0:na.is_miss_exam_user),ja((Za=Nn==null?void 0:Nn.exercise)==null?void 0:Za.is_no_passing_user)},[Nn]),(0,de.useEffect)(()=>{var ua,Ya,Ba,go,na,Za,gl,oo;(Ya=(ua=ae==null?void 0:ae.actionTabs)==null?void 0:ua.selectArrs)!=null&&Ya[0]&&ae.actionTabs.key==="\u6279\u91CF\u53D1\u5E03"&&qe({type:"exercise/getWorkSetting",payload:{categoryId:(go=(Ba=ae==null?void 0:ae.actionTabs)==null?void 0:Ba.selectArrs)==null?void 0:go[0],category:(Za=(na=ae==null?void 0:ae.actionTabs)==null?void 0:na.selectArrs)==null?void 0:Za[0],coursesId:(oo=(gl=ae==null?void 0:ae.actionTabs)==null?void 0:gl.params)==null?void 0:oo.id}})},[(Ve=ae==null?void 0:ae.actionTabs)==null?void 0:Ve.selectArrs]);const is=()=>ou(void 0,null,function*(){var ua,Ya,Ba,go,na,Za,gl;const oo=Ks({},Kt.getFieldsValue()),rc=ge()(ge()(oo.publish_time).format("YYYY-MM-DD HH:mm")).valueOf(),Cu=ge()(ge()(oo.end_time).format("YYYY-MM-DD HH:mm")).valueOf();if(console.log(rc,rc,33),Cu<=rc){Ee.ZP.info("\u7ED3\u675F\u65F6\u95F4\u4E0D\u5141\u8BB8\u5C0F\u4E8E\u7B49\u4E8E\u5F00\u59CB\u65F6\u95F4");return}if((Vr==null?void 0:Vr.length)<=0&&!Dn&&Rt.length>0&&!((ua=Nn==null?void 0:Nn.exercise)!=null&&ua.is_make_up_exercise)){Ee.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}const Gd=Rt.map(Ll=>Ll.key),Is={check_ids:[...((Ya=ae.actionTabs.selectArrs)==null?void 0:Ya.map(Ll=>Number(Ll)))||[]],end_time:ge()(oo.end_time).format("YYYY-MM-DD HH:mm"),publish_time:ge()(oo.publish_time).format("YYYY-MM-DD HH:mm"),group_ids:Vr.map(Ll=>Ll.course_group_id),unified_setting:!Vr.length,exercise_type:oo.exercise_type,simulate_exercise_num:oo.simulate_exercise_num};if(((Ba=ae.actionTabs.selectArrsAll)==null?void 0:Ba.length)>0&&ae.actionTabs.type===1&&(Is.check_ids=[...((na=(go=ae.actionTabs.selectArrsAll)==null?void 0:go.filter(Ll=>!Ll.high_resources_consume||Ll.high_resources_consume_permission))==null?void 0:na.map(Ll=>Number(Ll==null?void 0:Ll.id)))||[]]),(Za=Nn==null?void 0:Nn.exercise)!=null&&Za.is_make_up_exercise){if(Vn&&Oo.length<=0||!Vn&&!(ar||Fi)){Ee.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Is.is_appoint_user=Vn,Is.is_miss_exam_user=ar,Is.is_no_passing_user=Fi,Vn?Is.make_up_exercise_users=Oo.map(Ll=>({user_id:Ll})):Is.make_up_exercise_user=[]}let{is_locked:id,open_camera:mc,screen_open:Mf,login_restrict:Ad,ip_bind:Dd,ip_limit:Td,is_random:Yd,id:cd,identity_verify:Ff,open_phone_video_recording:kf}=Nn==null?void 0:Nn.exercise;if(ae.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"||(id||mc||Mf||Ad||Dd||Td=="pub"||Td=="inner"||Ff||kf)&&oo.exercise_type==2){if(qe({type:"exercise/setActionTabs",payload:{}}),ae.actionTabs.type==2){let Ll=We.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:Ia.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",Ia.createElement("span",{style:{color:"#FA6400"}}," ",(0,Se.hi)(Nn==null?void 0:Nn.exercise)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>ou(void 0,null,function*(){var uc;hs(!0);let Uu=yield(0,ot.Tr)({exercise_ids:[...((uc=ae.actionTabs.selectArrs)==null?void 0:uc.map(Gu=>Number(Gu)))||[]],course_id:St.coursesId,type:"exercise"});if((Uu==null?void 0:Uu.student_count)===0){if((yield mi(Is))&&ae.actionTabs.isRouter){Ll.destroy(),Ce.history.push(`/classrooms/${St.coursesId}/exercise/${cd}/detail?random=${Yd}&tabs=3&childrenTabs=2`);return}qe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else pu(Is),xu(Uu)}),onCancel:()=>{Ll.destroy(),hs(!1),mi(Is)}})}else{let Ll=We.default.info({width:580,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",title:"\u63D0\u793A",icon:null,content:Ia.createElement("div",null,"\u6A21\u62DF\u8003\u8BD5\u5F00\u542F\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\uFF0C\u53EF\u6839\u636E\u8003\u8BD5\u9700\u8981\u8FDB\u884C\u8C03\u6574\u3002"),onOk:()=>ou(void 0,null,function*(){var uc;hs(!0);let Uu=yield(0,ot.Tr)({exercise_ids:[...((uc=ae.actionTabs.selectArrs)==null?void 0:uc.map(Gu=>Number(Gu)))||[]],course_id:St.coursesId,type:"exercise"});if((Uu==null?void 0:Uu.student_count)===0){if((yield mi(Is))&&ae.actionTabs.isRouter){Ce.history.push(`/classrooms/${St.coursesId}/exercise/${cd}/detail?random=${Yd}&tabs=3&childrenTabs=2`);return}qe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else pu(Is),xu(Uu)})})}return}let Bd=yield(0,ot.Tr)({exercise_ids:[...((gl=ae.actionTabs.selectArrs)==null?void 0:gl.map(Ll=>Number(Ll)))||[]],course_id:St.coursesId,type:"exercise"});(Bd==null?void 0:Bd.student_count)===0?mi(Is):(pu(Is),xu(Bd))}),Xl=()=>{var ua;let Ya=[...(ua=ae.actionTabs.selectArrsAll)==null?void 0:ua.filter(Ba=>Ba.high_resources_consume&&!Ba.high_resources_consume_permission)];(Ya==null?void 0:Ya.length)>0&&ae.actionTabs.type===1&&We.default.confirm({centered:!0,icon:null,footer:null,width:560,title:"\u63D0\u793A",closable:!0,content:Ia.createElement("div",null,Ia.createElement("div",{className:Au.tipcontent},Ia.createElement("div",{style:{color:"#191919"}},"\u60A8\u6709 ",Ya==null?void 0:Ya.length," \u4E2A\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u53D1\u5E03\u5931\u8D25\uFF0C\u8BF7\u5355\u72EC\u8FDB\u884C\u53D1\u5E03\u3002"),Ia.createElement("div",{className:"mt20 mb20"},Ya==null?void 0:Ya.map(Ba=>Ia.createElement("div",{className:Au.failedList,key:Ba.id},Ia.createElement("div",{className:Au.name},Ba==null?void 0:Ba.exercise_name),Ia.createElement("div",{className:Au.publish,onClick:()=>{(0,Se.xg)(`/classrooms/${St.coursesId}/exercise/${Ba.id}/detail?random=${Ba.is_random}`)}},"\u53D1\u5E03"))))))})},mi=ua=>ou(void 0,null,function*(){var Ya,Ba,go;if(ae.actionTabs.type===1){let gl=[...(Ya=ae.actionTabs.selectArrsAll)==null?void 0:Ya.filter(oo=>oo.high_resources_consume&&!oo.high_resources_consume_permission)];if((gl==null?void 0:gl.length)==ae.actionTabs.selectArrsAll.length){qe({type:"exercise/setActionTabs",payload:{}}),Xl();return}}let na=!1;return qr(!0),(yield(0,ke.ZP)(`/api/courses/${St.coursesId}/exercises/publish.json`,{method:"post",body:ua})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u7ACB\u5373\u53D1\u5E03"]),Tl(),Ee.ZP.success("\u53D1\u5E03\u6210\u529F"),qe({type:"exercise/setActionTabs",payload:{}}),(Ba=ae==null?void 0:ae.actionTabs)!=null&&Ba.cb?(go=ae==null?void 0:ae.actionTabs)==null||go.cb():qe({type:"classroomList/getClassroomExercisesList",payload:Ks({},ae.actionTabs.params)}),na=!0,ae.actionTabs.type===1&&Xl()),qr(!1),na}),Tl=()=>{fn(1),Br([]),Ei([])},Oc=(ua,Ya,Ba)=>{ua<=0?Ee.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F"):(So(Ya),ho(Ba),Wo(!1))};return Ia.createElement(We.default,{centered:!0,title:"\u53D1\u5E03\u8003\u8BD5",open:ae.actionTabs.key==="\u6279\u91CF\u53D1\u5E03",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:660,onOk:is,confirmLoading:ii||vr,onCancel:()=>{Tl(),qe({type:"exercise/setActionTabs",payload:{}})}},Ia.createElement(Qt.Z,{spinning:vr},Rt&&Ia.createElement(et.default,{form:Kt},!!((Tt=ae==null?void 0:ae.actionTabs)!=null&&Tt.disabled)&&Ia.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},Ia.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ve.Z}),"\u5DF2\u7ECF\u53D1\u5E03\u8FC7\u8003\u8BD5\u7684\u8BD5\u5377\u4E0D\u53EF\u4EE5\u7EDF\u4E00\u53D1\u5E03\u3002"),!((or=Nn==null?void 0:Nn.exercise)!=null&&or.is_make_up_exercise)&&Ia.createElement(Ia.Fragment,null,Ia.createElement(Ut.Z,null,Ia.createElement("span",{className:"mr10",style:{lineHeight:"32px"}},Ia.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u6A21\u5F0F"),Ia.createElement(et.default.Item,{name:"exercise_type"},Ia.createElement(Wt.ZP.Group,{disabled:((zn=Nn==null?void 0:Nn.exercise)==null?void 0:zn.exercise_status)>1,onChange:ua=>{zo(ua.target.value),er(ua.target.value)}},Ia.createElement(Wt.ZP,{value:1},"\u6B63\u5F0F\u8003\u8BD5"),Ia.createElement(Wt.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")))),Ra==2&&Ia.createElement(Ut.Z,{className:`${Au.contentInterval}`},Ia.createElement("span",{className:`${Au.minorRuleText}`,style:{marginLeft:50}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),Ia.createElement(et.default.Item,{name:"simulate_exercise_num"},Ia.createElement(Oe.Z,{className:Au.numberInput,style:{width:145},precision:0,size:"middle",disabled:((Yn=Nn==null?void 0:Nn.exercise)==null?void 0:Yn.exercise_status)>1,min:1,max:999})),Ia.createElement("span",null,"\u6B21",Ia.createElement("span",{style:{color:"#999999"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),Ia.createElement(Ut.Z,null,Ia.createElement("span",{className:"mr10 mt5"},Ia.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u8003\u8BD5\u65F6\u95F4"),Ia.createElement(et.default.Item,{name:"publish_time"},Ia.createElement(Ie.default,{style:{width:170},disabledDate:ua=>ua&&ua<=ge()().subtract(0,"days"),disabledTime:Ge,placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Se.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1})),Ia.createElement("span",{className:"mt5 ml5 mr5"},"\u5230"),Ia.createElement(et.default.Item,{name:"end_time"},Ia.createElement(Ie.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Se.U6)(),"HH:mm")},disabledDate:ua=>ua&&ua<ge()().subtract(0,"days"),disabledTime:Ge,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),((Er=Nn==null?void 0:Nn.exercise)==null?void 0:Er.is_make_up_exercise)&&Ia.createElement(Ia.Fragment,null,Ia.createElement(Ut.Z,null,Ia.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),Ia.createElement(he.Z,{checked:Vn,onChange:(ua,Ya)=>{var Ba,go,na,Za,gl;if(yn(ua),ua)if((Ba=Nn==null?void 0:Nn.exercise)!=null&&Ba.is_appoint_user){const oo=(na=(go=Nn==null?void 0:Nn.exercise)==null?void 0:go.all_exercise_users)==null?void 0:na.map(rc=>rc.user_id);So([...oo])}else So([]),kn(!1),ja(!1);else kn((Za=Nn==null?void 0:Nn.exercise)==null?void 0:Za.is_miss_exam_user),ja((gl=Nn==null?void 0:Nn.exercise)==null?void 0:gl.is_no_passing_user)},disabled:((Cn=Nn==null?void 0:Nn.exercise)==null?void 0:Cn.exercise_status)!==1}),Ia.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Vn&&Ia.createElement(Ut.Z,{className:"mt20",style:{paddingLeft:"90px"},align:"middle"},Ia.createElement(rt.default,{checked:ar,disabled:((tr=Nn==null?void 0:Nn.exercise)==null?void 0:tr.exercise_status)!==1||((wa=Nn==null?void 0:Nn.exercise)==null?void 0:wa.miss_exam_count)<=0,onChange:ua=>{kn(ua.target.checked)}},Ia.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),Ia.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{el(1),yn(!1),Wo(!0)}},"\uFF08",`${(ao=Nn==null?void 0:Nn.exercise)==null?void 0:ao.miss_exam_count}\u4EBA`,"\uFF09"),Ia.createElement(rt.default,{checked:Fi,disabled:((Ha=Nn==null?void 0:Nn.exercise)==null?void 0:Ha.exercise_status)!==1||((Oi=Nn==null?void 0:Nn.exercise)==null?void 0:Oi.no_passing_count)<=0,onChange:ua=>{ja(ua.target.checked)}},Ia.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),Ia.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{el(2),yn(!1),Wo(!0)}},"\uFF08",`${(Va=Nn==null?void 0:Nn.exercise)==null?void 0:Va.no_passing_count}\u4EBA`,"\uFF09")),Vn&&Ia.createElement(Ut.Z,{className:"mt20",style:{paddingLeft:"90px"}},Ia.createElement(He.ZP,{type:"primary",ghost:!0,disabled:((x=Nn==null?void 0:Nn.exercise)==null?void 0:x.exercise_status)!==1,onClick:()=>{Wo(!0),el(void 0)}},Ia.createElement("span",null,Ia.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),Ia.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),Ia.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${Oo.length||0} \u4EBA`,"\uFF09"))),ae.actionTabs.type===2&&!((E=Nn==null?void 0:Nn.exercise)!=null&&E.is_make_up_exercise)&&Ia.createElement(Ut.Z,{style:{marginBottom:"10px"}},Ia.createElement("span",{className:"mr10"},Ia.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7"),Ia.createElement(Wt.ZP.Group,{value:Dn,onChange:ua=>{hr(ua.target.value),Ei([])}},Ia.createElement(Wt.ZP,{disabled:!!((ie=ae==null?void 0:ae.actionTabs)!=null&&ie.disabled)||Rt.some(ua=>ua==null?void 0:ua.is_published)||!((re=ae==null?void 0:ae.actionTabs)!=null&&re.manage_all_group),value:!0},"\u7EDF\u4E00\u53D1\u5E03"),Ia.createElement(Wt.ZP,{disabled:Rt.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Rt.length<=0&&ae.actionTabs.type===2&&!((oe=Nn==null?void 0:Nn.exercise)!=null&&oe.is_make_up_exercise)&&Ia.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"'),(ae.actionTabs.type===1||!Dn)&&!((pe=Nn==null?void 0:Nn.exercise)!=null&&pe.is_make_up_exercise)&&Rt.length>0&&Ia.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},Ia.createElement("span",{style:{flex:1}},Ia.createElement(rt.default,{checked:Vr.length===Rt.length,onChange:ua=>{Vr.length===Rt.length?Ei([]):Ei(Rt)}},"\u5168\u9009")),Ia.createElement("span",{style:{width:16}}),Ia.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",Vr.length||0,"\u4E2A\u5206\u73ED")),(ae.actionTabs.type===1||!Dn)&&!((je=Nn==null?void 0:Nn.exercise)!=null&&je.is_make_up_exercise)&&Rt.length>0&&Ia.createElement(Ns.Z,{data:Rt,selectedRowKeys:Vr,setSelectedRowKeys:Ei})),Ia.createElement(Qu,{visible:ba,setVisible:Wo,onK:Oc,selectKeys:Oo,selectRows:pl,appointStudent:Vn,modalParams:rl,courseId:St.categoryId||((dt=(nt=ae==null?void 0:ae.actionTabs)==null?void 0:nt.selectArrs)==null?void 0:dt[0])})),Ia.createElement(vt.Z,{resdata:vs,type:"exercisepush",okloading:ii,oktext:(vs==null?void 0:vs.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ua=>ou(void 0,null,function*(){var Ya,Ba,go;qr(!0);let na=yield(0,ke.ZP)(`/api/courses/${St.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[...((Ya=ae.actionTabs.selectArrs)==null?void 0:Ya.map(Za=>Number(Za)))||[]]}});if(qr(!1),(na==null?void 0:na.status)===0)if(Bu){let Za=yield mi(Eu);if(We.default.destroyAll(),Za&&ae.actionTabs.isRouter){Ce.history.push(`/classrooms/${St.coursesId}/exercise/${(Ba=Nn==null?void 0:Nn.exercise)==null?void 0:Ba.id}/detail?random=${(go=Nn==null?void 0:Nn.exercise)==null?void 0:go.is_random}&tabs=3&childrenTabs=2`);return}qe({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574tabs\u9009\u4E2D"}})}else mi(Eu)})}))};var gt=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(ct),Xt=Object.defineProperty,en=Object.defineProperties,qn=Object.getOwnPropertyDescriptors,Wn=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,Ir=(ae,qe,Ve)=>qe in ae?Xt(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,zi=(ae,qe)=>{for(var Ve in qe||(qe={}))wr.call(qe,Ve)&&Ir(ae,Ve,qe[Ve]);if(Wn)for(var Ve of Wn(qe))br.call(qe,Ve)&&Ir(ae,Ve,qe[Ve]);return ae},Yr=(ae,qe)=>en(ae,qn(qe)),Ur=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});function di(ae,qe){const Ve=[];for(let Tt=ae;Tt<qe;Tt++)Ve.push(Tt);return Ve}const xi=ae=>{let qe=new Date;const Ve=ge()(ae).format("HH");if(ge()(ae).isSame(ge()(qe),"day")){const Tt=ge()(qe).format("HH"),or=ge()(qe).format("mm");return{disabledHours:()=>di(0,24).splice(1,Tt*1-1),disabledMinutes:()=>ge()(ae).isSame(ge()(qe),"hour")&&Ve<=Tt?di(0,60).splice(0,or):di(60,60)}}else if(ge()(ae).isSame(ge()(),"day")){const Tt=ge()().format("HH"),or=ge()().format("mm");return{disabledHours:()=>di(0,24).splice(0,Tt),disabledMinutes:()=>Ve<=Tt?di(0,or):di(60,60)}}else return!1},mr=({exercise:ae,dispatch:qe})=>{var Ve;const Tt=(0,Ce.useParams)(),[or]=et.default.useForm(),[zn,Yn]=(0,de.useState)(1),[Er,Cn]=(0,de.useState)([]),[tr,wa]=(0,de.useState)(!0),[ao,Ha]=(0,de.useState)([]),[Oi,Va]=(0,de.useState)(!0),[x,E]=(0,de.useState)(!1);(0,de.useEffect)(()=>{ae.actionTabs.key==="\u6279\u91CF\u7ED3\u675F"&&ie()},[ae.actionTabs]);const ie=pe=>Ur(void 0,null,function*(){var je,nt;wa(!0);const dt=yield qe({type:"exercise/getEndGroups",payload:Yr(zi({},Tt),{check_ids:[...((je=ae.actionTabs.selectArrs)==null?void 0:je.map(Kt=>Number(Kt)))||[]]})}),St=(nt=dt==null?void 0:dt.course_info)==null?void 0:nt.map((Kt,rn)=>Yr(zi({},Kt),{key:Kt.course_group_id,title:Kt.course_group_name,name:Kt.course_group_name,disabled:!!Kt.is_published}));dt&&(dt!=null&&dt.course_info)&&(Cn([...St]),or.setFieldsValue({end_time:ge()(ge()(new Date((0,Se.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})),wa(!1)}),re=()=>Ur(void 0,null,function*(){var pe,je,nt,dt;const St=zi({},or.getFieldsValue());if((ao==null?void 0:ao.length)<=0&&Er.length>0&&!((pe=ae.actionTabs)!=null&&pe.unified_setting)){Ee.ZP.info("\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A");return}E(!0);const Kt={check_ids:[...((je=ae.actionTabs.selectArrs)==null?void 0:je.map(fn=>Number(fn)))||[]],group_ids:ao};Oi||(Kt.end_time=ge()(St.end_time).format("YYYY-MM-DD HH:mm")),Kt.group_ids=ao.map(fn=>fn.course_group_id),(yield(0,ke.ZP)(`/api/courses/${Tt.coursesId}/exercises/end_exercise.json`,{method:"post",body:Kt})).status===0&&(Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),(0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u6279\u91CF\u7ED3\u675F"]),qe({type:"exercise/setActionTabs",payload:{}}),(nt=ae==null?void 0:ae.actionTabs)!=null&&nt.cb?(dt=ae==null?void 0:ae.actionTabs)==null||dt.cb():qe({type:"classroomList/getClassroomExercisesList",payload:zi({},ae.actionTabs.params)})),E(!1)}),oe=()=>{Yn(1),Cn([]),Ha([]),Va(!0)};return de.createElement(We.default,{centered:!0,title:"\u7ED3\u675F\u8003\u8BD5",open:ae.actionTabs.key==="\u6279\u91CF\u7ED3\u675F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:re,width:680,confirmLoading:x||tr,onCancel:()=>{oe(),qe({type:"exercise/setActionTabs",payload:{}})}},de.createElement(Qt.Z,{spinning:tr},Er&&de.createElement(et.default,{form:or},de.createElement("div",{style:{color:"#333333",display:"flex"},className:"font14 mb10"},de.createElement("img",{style:{marginRight:5,objectFit:"contain"},src:ve.Z}),"\u8003\u8BD5\u65F6\u95F4\u7ED3\u675F\u540E\uFF0C\u5B66\u751F\u5C06\u4E0D\u80FD\u518D\u7B54\u9898\u3002"),de.createElement(Ut.Z,{className:"mt20 mb10"},de.createElement("span",{className:"mr10"},de.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u7ED3\u675F\u65F6\u95F4"),de.createElement(Wt.ZP.Group,{value:Oi,onChange:pe=>{Va(pe.target.value),Ha([])}},de.createElement(Wt.ZP,{value:!0},"\u7ACB\u5373\u7ED3\u675F"),de.createElement(Wt.ZP,{value:!1},"\u5B9A\u65F6\u7ED3\u675F")),de.createElement(et.default.Item,{name:"end_time",style:{marginTop:-3,visibility:Oi?"hidden":"visible"}},de.createElement(Ie.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:ge()((0,Se.U6)(),"HH:mm")},disabledDate:pe=>pe&&pe<ge()().subtract(0,"days"),disabledTime:xi,format:"YYYY-MM-DD HH:mm",allowClear:!1}))),Er.length>0&&!((Ve=ae.actionTabs)!=null&&Ve.unified_setting)&&de.createElement(Ut.Z,{style:{marginBottom:"10px"}},de.createElement("span",{className:"mr10"},de.createElement("span",{style:{color:"red",marginRight:3}},"*"),"\u9009\u62E9\u73ED\u7EA7:"),de.createElement("div",null,Er.length>0&&de.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},de.createElement("span",{style:{flex:1}},de.createElement(rt.default,{checked:ao.length===Er.length,onChange:pe=>{ao.length===Er.length?Ha([]):Ha(Er)}},"\u5168\u9009")," "),de.createElement("span",{style:{width:16}}),de.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",ao.length||0,"\u4E2A\u5206\u73ED")),de.createElement(Ns.Z,{data:Er,selectedRowKeys:ao,setSelectedRowKeys:Ha}))))))};var Tr=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(mr),vi=Object.defineProperty,ka=Object.getOwnPropertySymbols,da=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,La=(ae,qe,Ve)=>qe in ae?vi(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Ma=(ae,qe)=>{for(var Ve in qe||(qe={}))da.call(qe,Ve)&&La(ae,Ve,qe[Ve]);if(ka)for(var Ve of ka(qe))Pa.call(qe,Ve)&&La(ae,Ve,qe[Ve]);return ae},ya=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Xo=({exercise:ae,dispatch:qe})=>{const Ve=(0,Ce.useParams)();return de.createElement(We.default,{centered:!0,title:"\u63D0\u793A",open:ae.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ya(void 0,null,function*(){(yield(0,ke.ZP)(`/api/courses/${Ve.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ae.actionTabs.selectArrs]}})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),qe({type:"exercise/setActionTabs",payload:{}}),qe({type:"classroomList/getClassroomExercisesList",payload:Ma({},ae.actionTabs.params)}))}),onCancel:()=>{qe({type:"exercise/setActionTabs",payload:{}})}},de.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",de.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Mo=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(Xo),Qo=Object.defineProperty,sl=Object.getOwnPropertySymbols,vl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Rl=(ae,qe,Ve)=>qe in ae?Qo(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,$o=(ae,qe)=>{for(var Ve in qe||(qe={}))vl.call(qe,Ve)&&Rl(ae,Ve,qe[Ve]);if(sl)for(var Ve of sl(qe))Dl.call(qe,Ve)&&Rl(ae,Ve,qe[Ve]);return ae},nl=(ae,qe)=>{var Ve={};for(var Tt in ae)vl.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&sl)for(var Tt of sl(ae))qe.indexOf(Tt)<0&&Dl.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},dl=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const zl=ae=>{var qe=ae,{exercise:Ve,dispatch:Tt,user:or}=qe,zn=nl(qe,["exercise","dispatch","user"]),Yn,Er;const Cn=(0,Ce.useParams)(),[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1),Oi=(0,de.useRef)(null);(0,de.useEffect)(()=>{var x,E;if(Ve.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,we.j5)()){Ha(!0);return}const ie={hasNum:0,noHasNum:0};(E=(x=Ve==null?void 0:Ve.actionTabs)==null?void 0:x.selectArrsAll)==null||E.map(re=>{var oe;re.author_login===((oe=or.userInfo)==null?void 0:oe.login)?++ie.hasNum:++ie.noHasNum}),ie.noHasNum>0?We.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:de.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",de.createElement("span",{className:"c-blue"},ie.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",de.createElement("span",{className:"c-red"},ie.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",de.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Va()}}):Ha(!0)}else Ha(!1)},[Ve.actionTabs.key]);const Va=()=>{Tt({type:"exercise/setActionTabs",payload:{}})};return de.createElement(We.default,{centered:!0,title:"\u63D0\u793A",open:ao,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:tr,destroyOnClose:!0,onOk:()=>dl(void 0,null,function*(){var x;if((x=Oi.current)!=null&&x.onVerify())return;wa(!0);const E=yield(0,ke.ZP)(`/api/courses/${Cn.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...Ve.actionTabs.selectArrs]}});wa(!1),E.status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),Ee.ZP.success("\u5220\u9664\u6210\u529F"),Tt({type:"exercise/setActionTabs",payload:{}}),Tt({type:"classroomList/getClassroomExercisesList",payload:$o({},Ve.actionTabs.params)}),Tt({type:"classroomList/getClassroomLeftMenus",payload:$o({},Ve.actionTabs.params)}))}),onCancel:()=>{Tt({type:"exercise/setActionTabs",payload:{}})}},!((Yn=Ve==null?void 0:Ve.actionTabs)!=null&&Yn.status)||!["\u672A\u5F00\u59CB"].includes((Er=Ve==null?void 0:Ve.actionTabs)==null?void 0:Er.status)?de.createElement(de.Fragment,null,de.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),de.createElement(Jt.Z,{ref:x=>Oi.current=x})):de.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var Ql=(0,Ce.connect)(({exercise:ae,user:qe})=>({exercise:ae,user:qe}))(zl),Sl=Object.getOwnPropertySymbols,fl=Object.prototype.hasOwnProperty,fs=Object.prototype.propertyIsEnumerable,ws=(ae,qe)=>{var Ve={};for(var Tt in ae)fl.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&Sl)for(var Tt of Sl(ae))qe.indexOf(Tt)<0&&fs.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},ht=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const bt=ae=>{var qe=ae,{exercise:Ve,dispatch:Tt}=qe,or=ws(qe,["exercise","dispatch"]);const zn=(0,Ce.useParams)();return zn.id=zn.coursesId,(0,de.useEffect)(()=>{Ve.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>ht(void 0,null,function*(){(yield(0,ke.ZP)(`/api/courses/${zn.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Ve.actionTabs.selectArrs]}})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),Ee.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),Tt({type:"exercise/setActionTabs",payload:{}})}))},[Ve.actionTabs.key]),de.createElement(de.Fragment,null)};var Zt=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(bt),Vt={flex_box_center:"flex_box_center___CNQHU",flex_space_between:"flex_space_between___qsDOu",flex_box_vertical_center:"flex_box_vertical_center___iKKg9",flex_box_center_end:"flex_box_center_end___aCmKh",flex_box_column:"flex_box_column___mXBIE",bg:"bg___FnTgr",containerTitle:"containerTitle___HZdw3",containerDesc:"containerDesc___MrGYv",tablestyle:"tablestyle___Ef1u5",listItem:"listItem___ol4Bd",info:"info___Uc7Ha",title:"title___AlzFu",titleLeft:"titleLeft___Avinm",titleRight:"titleRight___AYJHU",flexBox:"flexBox___IGR6d",iconV:"iconV___WirdJ",acitons:"acitons___VhyxD",moveCategory:"moveCategory___QQQOY",name:"name___cKK1Q",categoryName:"categoryName___EsAA9",schedule:"schedule___asfSm",fnSign:"fnSign___vsajc",spanSize:"spanSize___MqQy2",classromediv:"classromediv___j4dHG",glow:"glow___fcHVY",popover:"popover___bOtgn",dot:"dot___uMZO4",moni:"moni___KMHkN",authorized:"authorized___awAlQ"},mn=Object.defineProperty,sn=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Tn=(ae,qe,Ve)=>qe in ae?mn(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,fr=(ae,qe)=>{for(var Ve in qe||(qe={}))Kn.call(qe,Ve)&&Tn(ae,Ve,qe[Ve]);if(sn)for(var Ve of sn(qe))Rn.call(qe,Ve)&&Tn(ae,Ve,qe[Ve]);return ae};const lr=ae=>React.createElement("svg",fr({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var ur="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zP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CAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",Kr=Object.defineProperty,Zr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,yi=Object.prototype.propertyIsEnumerable,hi=(ae,qe,Ve)=>qe in ae?Kr(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Ki=(ae,qe)=>{for(var Ve in qe||(qe={}))Jr.call(qe,Ve)&&hi(ae,Ve,qe[Ve]);if(Zr)for(var Ve of Zr(qe))yi.call(qe,Ve)&&hi(ae,Ve,qe[Ve]);return ae};const Ii=ae=>React.createElement("svg",Ki({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var Ji="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBmaWxsPSIjMjI5QkZGIiBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiIGZpbGw9IiMwMTUyZDkiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyA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foKU4gNDAssOZcTIRWhaOQUU35lHZIQpWuOwciOqDV7h9zmNb0sGHZHpivpY0fNdbZJkd7HLJcaxq83fSwZ4nmeSMI0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z",Ja=Object.defineProperty,Da=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,ra=(ae,qe,Ve)=>qe in ae?Ja(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Oa=(ae,qe)=>{for(var Ve in qe||(qe={}))Wa.call(qe,Ve)&&ra(ae,Ve,qe[Ve]);if(Da)for(var Ve of Da(qe))bo.call(qe,Ve)&&ra(ae,Ve,qe[Ve]);return ae};const fa=ae=>React.createElement("svg",Oa({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var Si="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",Ui=te(17661),sr=te(59301),Po=Object.defineProperty,Ga=Object.defineProperties,ji=Object.getOwnPropertyDescriptors,so=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Do=Object.prototype.propertyIsEnumerable,Io=(ae,qe,Ve)=>qe in ae?Po(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Bl=(ae,qe)=>{for(var Ve in qe||(qe={}))xo.call(qe,Ve)&&Io(ae,Ve,qe[Ve]);if(so)for(var Ve of so(qe))Do.call(qe,Ve)&&Io(ae,Ve,qe[Ve]);return ae},Ko=(ae,qe)=>Ga(ae,ji(qe)),za=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Hl=({v:ae,k:qe,selectArrs:Ve,setSelectArrs:Tt,dispatch:or,params:zn,classroomList:Yn,batchStatus:Er,manageAllGroup:Cn,user:tr})=>{var wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt,St,Kt,rn,fn;const[Rt,Br]=(0,de.useState)([]),[vr,Jn]=(0,de.useState)(!1),Vr=(0,de.useRef)(),Ei=(0,de.useRef)();var Dn=!1;const hr="YYYY-MM-DD",ii=ge()("2020-11-15",hr);function qr(){return za(this,null,function*(){console.log(zn,222);let Vn=yield(0,ke.ZP)(`/api/courses/${zn==null?void 0:zn.coursesId}/exercises/group_use_list.json`,{method:"get",params:Ko(Bl({},zn),{id:ae.id})});Br((Vn==null?void 0:Vn.groups)||[])})}const Nn=()=>We.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:sr.createElement(sr.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ae!=null&&ae.appraise_label&&(Dn=!0);const ba=(Vn,yn=!1)=>{var ar;Ce.history.push(`/classrooms/${zn.coursesId}/exercisenotice/${Vn.id}/users/${(ar=(0,we.eY)())==null?void 0:ar.login}`)},Wo=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(Vn,yn)=>yn.exercise_status===Vn,render:(Vn,yn)=>sr.createElement("div",null,Vn===1&&sr.createElement("span",null,sr.createElement("i",{className:Vt.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),Vn===2&&sr.createElement("span",null,sr.createElement("i",{className:Vt.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),Vn===3&&sr.createElement("span",null,sr.createElement("i",{className:Vt.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:zn.order_by==="publish_time"?zn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:zn.order_by==="end_time"?zn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(Vn,yn)=>yn.exercise_status===1?"-":sr.createElement("span",null,Vn,"/",yn.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(Vn,yn)=>yn.exercise_status===1?"-":Vn===0?sr.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},Vn):sr.createElement("a",{onClick:()=>(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae==null?void 0:ae.id}/detail?random=false&exercise_group_id=${yn.course_group_id}`)},Vn)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(Vn,yn)=>yn.exercise_status===1?sr.createElement("img",{style:{cursor:"not-allowed"},src:ur}):sr.createElement(Ke.Z,{title:"\u8BC4\u9605"},sr.createElement("a",{onClick:()=>(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae==null?void 0:ae.id}/detail?random=false&exercise_group_id=${yn.course_group_id}`)},sr.createElement("img",{src:Ji})))}],Oo=Vn=>{if(Dn)return sr.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(Vn!=null&&Vn.includes("\u672A\u5F00\u59CB"))return sr.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(Vn!=null&&Vn.includes("\u8003\u8BD5\u4E2D"))return sr.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(Vn!=null&&Vn.includes("\u5DF2\u622A\u6B62"))return sr.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(Vn!=null&&Vn.includes("\u5BFC\u5165"))return sr.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},So=()=>{const Vn=(ae==null?void 0:ae.simulate_exercise_num)-(ae==null?void 0:ae.user_simulate_num);return Vn>=0?Vn:0},pl=(Vn=ae)=>{var yn,ar,kn;if(Vn!=null&&Vn.is_encrypt){or({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:Vn==null?void 0:Vn.id,phone:(yn=tr==null?void 0:tr.userInfo)==null?void 0:yn.phone,login:(ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.login}});return}(kn=tr==null?void 0:tr.userInfo)!=null&&kn.phone?or({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:Vn==null?void 0:Vn.id}}):or({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},ho=Vn=>{var yn,ar,kn;if(((yn=tr==null?void 0:tr.userInfo)==null?void 0:yn.login)!==(ae==null?void 0:ae.author_login)){Ee.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}or({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ae==null?void 0:ae.id,phone:(ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.phone,login:(kn=tr==null?void 0:tr.userInfo)==null?void 0:kn.login,onFinish:Vn}})};return sr.createElement("div",{className:Vt.listItem,onClick:Vn=>{const yn=()=>{(!(0,we.GJ)()||(0,we.GJ)()&&Ei.current&&!Ei.current.contains(Vn.target))&&(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()}},(0,we.GJ)()&&sr.createElement("span",{ref:Ei},sr.createElement(rt.default,{checked:Ve.includes(ae.id),value:ae.id,style:{padding:"10px"},onClick:Vn=>{Vn.stopPropagation()},disabled:(ae==null?void 0:ae.is_encrypt)||(ae==null?void 0:ae.is_make_up_exercise),onChange:Vn=>{let yn=Ve.indexOf(ae.id);Ve.indexOf(ae.id)>-1?Tt(Ve.filter(ar=>ar!==ae.id)):Tt(Ve.concat(ae.id))}})),sr.createElement("div",{className:Vt.info},sr.createElement("div",{className:Vt.title},sr.createElement("div",{className:Vt.titleLeft,style:{marginRight:15}},Oo(ae==null?void 0:ae.exercise_tips),(ae==null?void 0:ae.is_make_up_exercise)&&sr.createElement("img",{src:Na,width:44,height:24,style:{marginRight:10}}),sr.createElement(Ke.Z,{title:ae.exercise_name},sr.createElement("span",{className:Vt.name},ae.exercise_name)),(ae==null?void 0:ae.high_resources_consume)&&!(ae!=null&&ae.high_resources_consume_permission)&&sr.createElement(Ze.Z,{type:"exercise",style:{marginLeft:10}}),(ae==null?void 0:ae.high_resources_consume)&&(ae==null?void 0:ae.high_resources_consume_permission)&&sr.createElement("span",{className:Vt.authorized},"\u5DF2\u6388\u6743"),((wa=ae==null?void 0:ae.exercise_tips)==null?void 0:wa.includes("\u5DF2\u622A\u6B62"))&&((ao=Yn==null?void 0:Yn.detailTopBanner)==null?void 0:ao.forbid_end_exercise)&&sr.createElement(Ke.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},sr.createElement("img",{src:Si,width:20,className:"ml10"})),!ae.is_public&&(0,we.GJ)()&&sr.createElement(Ke.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},sr.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ae==null?void 0:ae.exercise_type)==2&&sr.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:Vt.moni},sr.createElement("img",{src:pa,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((Ha=ae==null?void 0:ae.exercise_tips)==null?void 0:Ha.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&sr.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),((Oi=ae==null?void 0:ae.exercise_tips)==null?void 0:Oi.includes("\u5DF2\u622A\u6B62"))&&((Va=ae==null?void 0:ae.exercise_tips)==null?void 0:Va.includes("\u672A\u63D0\u4EA4"))&&sr.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ae==null?void 0:ae.is_encrypt)&&sr.createElement(Ke.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",sr.createElement("img",{src:Ao,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),sr.createElement("div",{className:Vt.titleRight,onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault()}},(ae==null?void 0:ae.appraise_setting)&&sr.createElement("span",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:()=>za(void 0,null,function*(){const Vn=()=>za(void 0,null,function*(){or({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const yn=yield(0,ke.ZP)(`/api/exercises/${ae.id}/create_appraise_students.json`,{method:"get"});or({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae.id}/centralizeReview/${yn==null?void 0:yn.login}`)});if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()})},sr.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),sr.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&(!(ae!=null&&ae.is_make_up_exercise)||(ae==null?void 0:ae.is_make_up_exercise)&&(ae==null?void 0:ae.exercise_status)===1&&(ae==null?void 0:ae.allow_create_make_up))&&sr.createElement(ha.Z,{tips:ae==null?void 0:ae.open_appraise},sr.createElement("span",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:()=>{const Vn=()=>{var yn,ar,kn;if(((yn=tr==null?void 0:tr.userInfo)==null?void 0:yn.user_status)===2){(0,ze.Rd)();return}if((0,we.Rm)()&&!((kn=(ar=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ar.exercise)!=null&&kn.can_publish)){Ee.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}if((ae==null?void 0:ae.exercise_question_count)===0){Ee.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let Fi=()=>{or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ae.id],unified_setting:ae.unified_setting,params:zn,disabled:ae.exercise_status!==1,type:2,manage_all_group:Cn,isRouter:!0}})};ae!=null&&ae.high_resources_consume&&!(ae!=null&&ae.high_resources_consume_permission)?or({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:zn.coursesId,type:"exercise",type_id:ae.id,name:ae.exercise_name,fn:()=>{or({type:"classroomList/getClassroomExercisesList",payload:Bl({},zn)}),Fi()}}}):Fi()};if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()}},sr.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),sr.createElement("div",null,"\u53D1\u5E03"))),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&!(0,Se._m)()&&ae.assistant_auth&&sr.createElement("span",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:Vn=>{Vn.stopPropagation();const yn=()=>{var ar,kn;if((0,we.Rm)()&&!((kn=(ar=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ar.exercise)!=null&&kn.can_preview)){Ee.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}const Fi=ge()(ae.created_at,hr);ge()(ii).diff(ge()(Fi),"days")>0&&(ae!=null&&ae.is_random)?Nn():ae!=null&&ae.is_random?(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/random/preview?random=${ae.is_random}`):(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}&tabs=2`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()}},sr.createElement("i",{className:"iconfont icon-yulan3"}),sr.createElement("div",null,"\u9884\u89C8")),(0,we.RV)()&&sr.createElement("span",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:()=>{const Vn=()=>{(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}`)};if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()}},sr.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),sr.createElement("div",null,"\u8BE6\u60C5")),(0,we.GJ)()&&!(0,Se._m)()&&sr.createElement(ki.Z,{placement:"bottom",content:sr.createElement("div",{className:Vt.popover},!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&sr.createElement("p",{onClick:Vn=>za(void 0,null,function*(){const yn=()=>{(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}&tabs=3`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u89C4\u5219\u8BBE\u7F6E"),(ae==null?void 0:ae.exercise_tips.includes("\u5BFC\u5165"))&&sr.createElement("p",{onClick:Vn=>za(void 0,null,function*(){const yn=()=>{or({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ae==null?void 0:ae.exercise_name,id:ae==null?void 0:ae.id,type:"hack"}})};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u8865\u5145\u6210\u7EE9"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&ae.is_random&&ae.assistant_auth&&sr.createElement("p",{onClick:Vn=>{Vn.stopPropagation();const yn=()=>{const ar=ge()(ae.created_at,hr);ge()(ii).diff(ge()(ar),"days")>0&&(ae!=null&&ae.is_random)?Nn():(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/random/edit?type=settings`)};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()}},"\u7F16\u8F91\u8003\u8BD5"),sr.createElement("p",{onClick:Vn=>za(void 0,null,function*(){const yn=()=>{var ar;or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ae.id],selectArrsAll:[ae],params:zn,status:(ar=ae==null?void 0:ae.exercise_tips)==null?void 0:ar[0]}})};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u5220\u9664\u8BD5\u5377"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&sr.createElement("p",{onClick:()=>{const Vn=()=>{or({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ae.id],params:zn}})};if(ae!=null&&ae.is_encrypt){ho(Vn);return}Vn()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((x=ae==null?void 0:ae.exercise_tips)==null?void 0:x.includes("\u672A\u5F00\u59CB"))&&(ae==null?void 0:ae.author_login)===((E=tr==null?void 0:tr.userInfo)==null?void 0:E.login)&&sr.createElement("p",{onClick:Vn=>za(void 0,null,function*(){pl(ae)})}," ",ae!=null&&ae.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&((0,we.GJ)()||((re=(ie=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ie.exercise)==null?void 0:re.can_stop))&&![1,3].includes(ae==null?void 0:ae.exercise_status)&&sr.createElement("p",{onClick:Vn=>za(void 0,null,function*(){const yn=()=>{var ar,kn;if((0,we.Rm)()&&!((kn=(ar=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ar.exercise)!=null&&kn.can_stop)){Ee.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}or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ae.id],params:zn,unified_setting:ae.unified_setting}})};if(ae!=null&&ae.is_encrypt){ho(yn);return}yn()})},"\u7ED3\u675F\u8003\u8BD5"))},sr.createElement("span",{onClick:Vn=>Vn.stopPropagation(),className:Vt.flexBox,style:{cursor:"default"}},sr.createElement("i",{className:"iconfont icon-gengduo4"}),sr.createElement("div",null,"\u66F4\u591A"))),(0,we.dE)()&&sr.createElement(sr.Fragment,null,!!ae.off_limits&&sr.createElement(Ke.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ae==null?void 0:ae.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},sr.createElement("b",{className:"font16"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ae==null?void 0:ae.exercise_type)==1&&!ae.off_limits&&ae.current_status===0&&ae.exercise_status>1&&!((oe=ae.exercise_tips)!=null&&oe.includes("\u5DF2\u622A\u6B62"))&&sr.createElement("a",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault(),ba(ae,!0)},href:""},sr.createElement("i",{className:"iconfont icon-jixukaoshi"}),sr.createElement("div",null,(ae==null?void 0:ae.screen_used_num)>(ae==null?void 0:ae.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((pe=ae.exercise_tips)!=null&&pe.includes("\u5DF2\u622A\u6B62"))&&(ae==null?void 0:ae.screen_used_num)>(ae==null?void 0:ae.screen_total_num)&&sr.createElement("a",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault(),ba(ae,!0)},href:""},sr.createElement("i",{className:"iconfont icon-jixukaoshi"}),sr.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ae.off_limits&&ae.current_status===1&&(ae==null?void 0:ae.screen_used_num)<(ae==null?void 0:ae.screen_total_num)&&ae.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ae==null?void 0:ae.exercise_type)==2&&(ae==null?void 0:ae.exercise_status)!=3)&&sr.createElement("span",{className:Vt.flexBox,style:{marginRight:"16px"},onClick:Vn=>za(void 0,null,function*(){var yn;if(Vn.stopPropagation(),!(ae!=null&&ae.answered_open)){Ee.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,qi.w)(zn.coursesId,ae.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/users/${(yn=(0,we.eY)())==null?void 0:yn.login}?check=true`)})},sr.createElement("i",{className:"iconfont icon-chakankaoshi"}),sr.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ae==null?void 0:ae.exercise_type)==1&&!ae.off_limits&&ae.current_status===2&&ae.exercise_status>1&&!((je=ae.exercise_tips)!=null&&je.includes("\u5DF2\u622A\u6B62"))&&sr.createElement("a",{className:Vt.flexBox,style:{marginRight:"16px",color:(ae==null?void 0:ae.is_redo)===1&&"red"},onClick:Vn=>{Vn.stopPropagation(),Vn.preventDefault(),ba(ae)},href:""},sr.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),sr.createElement("div",null,(ae==null?void 0:ae.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ae==null?void 0:ae.exercise_type)==2&&!ae.off_limits&&ae.exercise_status>1&&!((nt=ae.exercise_tips)!=null&&nt.includes("\u5DF2\u622A\u6B62"))&&sr.createElement(Ke.Z,{title:sr.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ae==null?void 0:ae.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",So(),"\u6B21")},sr.createElement("a",{className:Vt.flexBox,onClick:Vn=>{So()==0&&(ae==null?void 0:ae.current_status)!=0||(Vn.stopPropagation(),Vn.preventDefault(),ba(ae))},href:""},sr.createElement("i",{className:`iconfont ${(ae==null?void 0:ae.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),sr.createElement("div",null,(ae==null?void 0:ae.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5")))))),(0,we.GJ)()&&sr.createElement("p",{style:{display:"flex",color:"#B6BFC2"}},sr.createElement("span",{style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1,color:"#fff"},title:ae.author},ae.author),sr.createElement("span",{className:"ml30"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",ge()(ae.created_at).format("YYYY-MM-DD HH:mm:ss")),((dt=ae==null?void 0:ae.exercise_tips)==null?void 0:dt.includes("\u672A\u5F00\u59CB"))&&ae.publish_time&&sr.createElement("span",{className:"ml30"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",ge()(ae.publish_time).format("YYYY-MM-DD HH:mm:ss")),sr.createElement("span",{className:"ml30"},"\u7B54\u9898\u65F6\u957F\uFF1A",ae.time===null?"\u4E0D\u9650":`${ae.time}\u5206\u949F`),sr.createElement("span",{className:"ml30"},"\u7C7B\u578B\uFF1A",ae.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((St=ae==null?void 0:ae.exercise_tips)!=null&&St.includes("\u672A\u5F00\u59CB"))&&!(ae!=null&&ae.is_make_up_exercise)&&!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&sr.createElement("span",{className:Vt.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:Vn=>za(void 0,null,function*(){Vn.stopPropagation(),Vn.preventDefault(),vr||qr(),Jn(!vr)})},sr.createElement(Ke.Z,{title:`${vr?"\u6536\u8D77":"\u5C55\u5F00"}`},sr.createElement("i",{className:`iconfont icon-${vr?"shouqi":"xiala2"}`})))),(0,we.dE)()&&sr.createElement("p",{style:{display:"flex",color:"#B6BFC2"}},sr.createElement("span",{style:{color:"#fff"}},ae.author),sr.createElement("span",{className:"ml30 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ae.time===null?"\u4E0D\u9650":`${ae.time}\u5206\u949F`),!!(ae!=null&&ae.exercise_left_time)&&sr.createElement("span",{className:"ml15"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ae==null?void 0:ae.exercise_left_time),!!(ae!=null&&ae.before_start)&&sr.createElement("span",{className:"ml15"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ae==null?void 0:ae.before_start)),(0,we.GJ)()&&!((Kt=ae==null?void 0:ae.exercise_tips)!=null&&Kt.includes("\u672A\u5F00\u59CB"))&&sr.createElement("p",null,sr.createElement("span",{style:{letterSpacing:2},className:"mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),sr.createElement("span",{className:"mr20"},"\u672A\u5F00\u59CB ",sr.createElement("span",null,ae==null?void 0:ae.unanswer_users)),sr.createElement("span",{className:"mr20"},"\u8003\u8BD5\u4E2D ",sr.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ae==null?void 0:ae.answering_users)),sr.createElement("span",{className:"mr20"},"\u5DF2\u4EA4\u5377 ",sr.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.answer_users)),sr.createElement("span",null,"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",sr.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.commit_with_no_answers_users))),(0,we.GJ)()&&!((rn=ae==null?void 0:ae.exercise_tips)!=null&&rn.includes("\u672A\u5F00\u59CB"))&&vr&&Rt.length>5&&sr.createElement($e.default,{className:Ui.Z.threeTableSty,scroll:{y:240},pagination:!1,dataSource:Rt,onRow:Vn=>({onClick:yn=>{yn.stopPropagation(),yn.preventDefault()}}),onHeaderRow:(Vn,yn)=>({onClick:ar=>{ar.stopPropagation(),ar.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(Vn,yn,ar)=>{ar.field&&(zn.order_by=ar.field),ar.order||(zn.sort_direction="asc"),ar.order==="ascend"&&(zn.sort_direction="asc"),ar.order==="descend"&&(zn.sort_direction="desc"),ar.order||(zn.sort_direction="asc"),qr()},columns:Wo}),(0,we.GJ)()&&!((fn=ae==null?void 0:ae.exercise_tips)!=null&&fn.includes("\u672A\u5F00\u59CB"))&&vr&&Rt.length<6&&Rt.length>0&&sr.createElement($e.default,{className:Ui.Z.threeTableSty,rowKey:"course_group_id",pagination:!1,onRow:Vn=>({onClick:yn=>{yn.stopPropagation(),yn.preventDefault()}}),onHeaderRow:(Vn,yn)=>({onClick:ar=>{ar.stopPropagation(),ar.preventDefault()}}),dataSource:Rt,style:{marginTop:"10px"},onChange:(Vn,yn,ar)=>{ar.field&&(zn.order_by=ar.field),ar.order||(zn.sort_direction="asc"),ar.order==="ascend"&&(zn.sort_direction="asc"),ar.order==="descend"&&(zn.sort_direction="desc"),ar.order||(zn.sort_direction="asc"),qr()},columns:Wo}),(ae==null?void 0:ae.total)!==void 0&&sr.createElement("p",null,sr.createElement("span",{className:"mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),sr.createElement("span",{className:"mr20"},"\u603B\u8BC4\u6570",sr.createElement("span",null,ae==null?void 0:ae.total)),sr.createElement("span",{className:"mr20"},"\u5DF2\u8BC4\u9605 ",sr.createElement("span",{style:{color:"#4EACFF"}},ae==null?void 0:ae.finish_total)),sr.createElement("span",null,"\u5F85\u8BC4\u9605 ",sr.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.unfinished_total)))),sr.createElement(aa.Z,{closable:!0,successCb:()=>ba(Vr.current)}))};var Xa=(0,Ce.connect)(({classroomList:ae})=>({classroomList:ae}))(Hl),to=te(59301),ll=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const{Countdown:Jl}=Il.default,no=({value:ae,onChange:qe,MaxMinutes:Ve})=>to.createElement(to.Fragment,null,to.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",to.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",to.createElement("br",null)),to.createElement(Oe.Z,{value:ae,onChange:qe,min:0,precision:0,max:Ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),Ua=({exercise:ae,successCb:qe,dispatch:Ve})=>{var Tt,or,zn,Yn;const Er=(0,Ce.useParams)(),[Cn]=et.default.useForm(),tr=et.default.useWatch("time",Cn),[wa,ao]=(0,de.useState)(!1),Ha=(0,de.useRef)(),{actionTabs:Oi}=ae,[Va,x]=(0,de.useState)(),[,E,ie,re]=(0,Qa.U)(ue.n7,{id:Er.categoryId}),[,oe,pe]=(0,Qa.U)(ue.Cd,{});(0,de.useEffect)(()=>{ae.actionTabs.key==="student-unlock"&&(ao(!1),Cn.resetFields())},[ae.actionTabs.key]);const je=()=>new Promise(vr=>ll(void 0,null,function*(){var Jn,Vr;return Ha.current=yield(0,ms.y)({ip_limit:(Jn=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Jn.ip_limit,ip_bind:(Vr=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Vr.ip_bind_type}),vr()})),nt=()=>ll(void 0,null,function*(){var vr,Jn,Vr,Ei,Dn;yield Cn.validateFields();const hr=Cn.getFieldsValue();if(ao(!0),(((vr=Oi==null?void 0:Oi.exerciseParams)==null?void 0:vr.ip_limit)!=="no"||(Jn=Oi==null?void 0:Oi.exerciseParams)!=null&&Jn.ip_bind_type)&&(yield je()),(yield(0,ue.ZD)((Vr=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Vr.id,{exercise_user_id:(Ei=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Ei.exercise_user_id,unlock_key:hr.unlock_key,time:hr.time,ip:Ha.current})).status===0){if(qe){Ve({type:"exercise/setActionTabs",payload:{}}),qe();return}const qr=Oi==null?void 0:Oi.exerciseParams;(0,Se.nr)({inner_ip:qr.inner_ip,public_ip:qr.public_ip,open_camera:qr.open_camera,ip_limit:qr.ip_limit,ip_bind:qr.ip_bind,ip_bind_type:qr.ip_bind_type,exercise_tips:qr.exercise_tips,exerciseId:qr.id,screen_open:qr.screen_open,screen_num:qr.screen_num,screen_sec:qr.screen_sec,coursesId:Er.coursesId,login:(Dn=(0,we.eY)())==null?void 0:Dn.login,history,identity_verify:qr.identity_verify,open_phone_video_recording:qr.open_phone_video_recording,current_status:qr.current_status}),Ve({type:"exercise/setActionTabs",payload:{}})}ao(!1)}),dt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:vr=>to.createElement("span",{className:vr.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},vr)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:vr=>to.createElement("span",{className:vr.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},vr)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],St=((Tt=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Tt.errorMessage)&&typeof((or=Oi==null?void 0:Oi.exerciseParams)==null?void 0:or.errorMessage)=="object";(0,de.useEffect)(()=>{ae.actionTabs.key==="student-unlock"&&ll(void 0,null,function*(){const vr=yield pe(Er);yield ie({}),vr.status||x(vr)})},[ae.actionTabs.key]);const{time:Kt,end_time:rn}=(Va==null?void 0:Va.exercise)||{},fn=re!=null&&re.user_end_time?ge()(re==null?void 0:re.user_end_time).add(1,"minutes"):ge()(),Rt=ge()(re==null?void 0:re.user_total_end_time)>fn?Math.round(ge().duration(ge()(re==null?void 0:re.user_total_end_time).diff(fn.startOf("minute"))).asMinutes()):0,Br=((re==null?void 0:re.student_left_minutes)||0)+(tr||0);return to.createElement(to.Fragment,null,to.createElement(We.default,{width:514,centered:!0,closable:!!((zn=Oi==null?void 0:Oi.exerciseParams)!=null&&zn.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ae.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{Ve({type:"exercise/setActionTabs",payload:{}})}},to.createElement(Qt.Z,{spinning:E||oe},St&&to.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!St&&to.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),St&&to.createElement($e.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Yn=Oi==null?void 0:Oi.exerciseParams)==null?void 0:Yn.errorMessage)||{}],columns:dt}),to.createElement("div",{className:""},to.createElement(et.default,{form:Cn,layout:"vertical",autoComplete:"off"},to.createElement(et.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},to.createElement(me.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Kt!==-1?to.createElement(to.Fragment,null,to.createElement(et.default.Item,{name:"time",label:to.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",to.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",ge()(re==null?void 0:re.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},to.createElement(no,{MaxMinutes:Rt})),to.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",to.createElement("span",{className:"ml5"},E||oe?"--":Br),"\u5206\u949F",Br!==0&&(re==null?void 0:re.user_end_time)&&to.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",to.createElement("span",{className:"ml5"},ge()(re==null?void 0:re.user_end_time).add(tr||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):to.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",ge()(rn).format("YYYY-MM-DD HH:mm")))),to.createElement(Ut.Z,{justify:"space-between",align:"middle"},to.createElement(se.Z,null),to.createElement(se.Z,null,to.createElement(He.ZP,{loading:wa,onClick:nt},"\u8FDB\u5165\u8003\u8BD5"))))))};var eo=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(Ua),Ta=te(48656),Ca=te(88105),$r=te(72021),Yi=te(59301),co=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const _o=({exercise:ae,dispatch:qe,init:Ve,haveInit:Tt=!1})=>{const or=(0,Ce.useParams)(),[zn,Yn]=(0,de.useState)(!1);let[Er,Cn]=(0,de.useState)();const[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1);(0,de.useEffect)(()=>{ae.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&Oi()},[ae.actionTabs]);function Oi(){return co(this,null,function*(){var Va,x;let E=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs}});if(((Va=E==null?void 0:E.cover_exercises)==null?void 0:Va.length)>0)Yn(!0),Cn((x=E==null?void 0:E.cover_exercises)==null?void 0:x[0]);else{let ie=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs}});qe({type:"exercise/setActionTabs",payload:{key:""}}),(ie==null?void 0:ie.status)===0&&(Tt&&Ve(),We.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ce.history.push("/paperlibrary")}}))}})}return Yi.createElement("div",null,Yi.createElement(We.default,{open:zn,centered:!0,onCancel:Va=>co(void 0,null,function*(){if(Va.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){wa(!0);let x=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs,update:1}});qe({type:"exercise/setActionTabs",payload:{key:""}}),wa(!1),(x==null?void 0:x.status)===0&&(Tt&&Ve(),Yn(!1),We.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ce.history.push("/paperlibrary")}}))}else Yn(!1)}),cancelButtonProps:{loading:tr},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:ao},onOk:()=>co(void 0,null,function*(){Ha(!0);let Va=yield(0,ke.ZP)(`/api/courses/${or==null?void 0:or.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:ae.actionTabs.selectArrs}});Ha(!1),(Va==null?void 0:Va.status)===0&&(Tt&&Ve(),qe({type:"exercise/setActionTabs",payload:{key:""}}),Yn(!1),We.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ce.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Yi.createElement("div",null,Yi.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Yi.createElement("div",null,Yi.createElement("div",null,"\u8BD5\u5377\uFF1A",Er==null?void 0:Er.origin_exercise_nam),Yi.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Yi.createElement("a",{href:`/paperlibrary/see/${Er==null?void 0:Er.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},Er==null?void 0:Er.examination_bank_name))))))};var Ms=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(_o),xs=te(74229),su=te(20421),sa=te(59301),ns=Object.defineProperty,ro=Object.defineProperties,Es=Object.getOwnPropertyDescriptors,Ss=Object.getOwnPropertySymbols,ol=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,yl=(ae,qe,Ve)=>qe in ae?ns(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Ro=(ae,qe)=>{for(var Ve in qe||(qe={}))ol.call(qe,Ve)&&yl(ae,Ve,qe[Ve]);if(Ss)for(var Ve of Ss(qe))Ni.call(qe,Ve)&&yl(ae,Ve,qe[Ve]);return ae},Gl=(ae,qe)=>ro(ae,Es(qe)),wo=(ae,qe)=>{var Ve={};for(var Tt in ae)ol.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&Ss)for(var Tt of Ss(ae))qe.indexOf(Tt)<0&&Ni.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},bl=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const As=ae=>{var qe=ae,{user:Ve,classroomList:Tt,globalSetting:or,loading:zn,dispatch:Yn}=qe,Er=wo(qe,["user","classroomList","globalSetting","loading","dispatch"]),Cn,tr,wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt,St,Kt;const rn=(0,Ce.useParams)(),[fn]=(0,Ce.useSearchParams)(),[Rt,Br]=(0,de.useState)(()=>Gl(Ro({},rn),{limit:20})),vr=(0,Ce.useLocation)(),{detailExerciseList:Jn,detailTopBanner:Vr,detailLeftMenus:Ei}=Tt,[Dn,hr]=(0,de.useState)([]),[ii,qr]=(0,de.useState)(!1),[Nn,ba]=(0,de.useState)([]),[Wo,Oo]=(0,de.useState)(!1),[So,pl]=(0,de.useState)(!1),[ho,Vn]=(0,de.useState)(!1),[yn,ar]=(0,de.useState)(!1),[kn,Fi]=(0,de.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),ja=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Rt.type=fn.get("tabs")==="all"?"":fn.get("tabs")||"",Rt.id=Rt.coursesId,(0,de.useEffect)(()=>{var er,Wi,is;if((er=Ve==null?void 0:Ve.userInfo)!=null&&er.login){if((0,we.GJ)()){const Xl=Se.cX.getItem(`${(Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.login}Teacher`,"Exercise");Xl&&(Rt.sort_by=Xl==null?void 0:Xl.type,Rt.sort_direction=Xl==null?void 0:Xl.direction,Fi(Xl==null?void 0:Xl.name))}Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})}else(is=Ve==null?void 0:Ve.userInfo)!=null&&is.username&&Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)});qr(!1)},[(Cn=Ve==null?void 0:Ve.userInfo)==null?void 0:Cn.login,vr.pathname]),(0,de.useEffect)(()=>{Tt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})},[Tt.actionTabs.key]),(0,de.useEffect)(()=>{Tt.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(Oo(!0),pl(Vr==null?void 0:Vr.show_unstart_exercise),Vn(Vr==null?void 0:Vr.forbid_end_exercise))},[Tt.actionTabs.key]),(0,de.useEffect)(()=>{hr([])},[Jn]);const rl=(er,Wi)=>{hr([]),Rt.page=er,Rt.limit=Wi,Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})},el=er=>{Rt.type=er.key==="all"?"":er.key,Rt.page=1,Ce.history.replace(`${vr.pathname}?tabs=${er.key}`),ar(!1),Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})};(0,de.useEffect)(()=>{fn.get("tabs")==="all"&&(Rt.type="",Rt.page=1)},[fn.get("tabs")]),(0,de.useEffect)(()=>{(0,we.Rm)()&&Yn({type:"classroomList/getAssistantPermissions",payload:{course_id:Rt.coursesId}})},[(tr=Ve==null?void 0:Ve.userInfo)==null?void 0:tr.username]),(0,de.useEffect)(()=>{const er=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),We.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:sa.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",sa.createElement("br",null),"1\u3001\u5728",sa.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",sa.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",sa.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",sa.createElement("br",null),"2\u3001\u5728",sa.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",sa.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",sa.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",sa.createElement("br",null),er==="allowRouter"&&sa.createElement(sa.Fragment,null,"3\u3001",sa.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,de.useEffect)(()=>{(0,we.Rm)()&&Yn({type:"classroomList/getAssistantPermissions",payload:{course_id:Rt.coursesId}})},[(wa=Ve==null?void 0:Ve.userInfo)==null?void 0:wa.login]);const Ra=[{name:"\u5168\u90E8",id:"all",total:(ao=Jn.exercises_counts)==null?void 0:ao.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(Ha=Jn.exercises_counts)==null?void 0:Ha.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(Oi=Jn.exercises_counts)==null?void 0:Oi.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Va=Jn.exercises_counts)==null?void 0:Va.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(x=Jn.exercises_counts)==null?void 0:x.end_counts}],zo=[{name:"\u6279\u91CF\u53D1\u5E03",icon:sa.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:sa.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:sa.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:sa.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:sa.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(er=>(0,we.GJ)()?!0:er.name!=="\u6279\u91CF\u5220\u9664").filter(er=>Vr.is_public?!0:er.name!=="\u8BBE\u4E3A\u516C\u5F00"),vs=()=>We.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:sa.createElement(sa.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),xu="YYYY-MM-DD",Eu=ge()("2020-11-15",xu),pu=er=>{var Wi;Rt.sort_by=er.type,Rt.sort_direction=er.direction,(0,we.GJ)()&&Se.cX.setItem(`${(Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.login}Teacher`,er,"Exercise"),Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Ro({},Rt)}),Fi(er.name)},Bu=()=>sa.createElement(xe.default,null,sa.createElement(xe.default.Item,{key:1,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt==null?void 0:Tt.AssistantObject)==null?void 0:er.exercise)!=null&&Wi.can_create)){Ee.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}Yn({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Rt}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),sa.createElement(xe.default.Item,{key:2,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt==null?void 0:Tt.AssistantObject)==null?void 0:er.exercise)!=null&&Wi.can_create)){Ee.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}window.scrollTo(0,0),Ce.history.push(`/classrooms/${Rt.coursesId}/exercise/add?catalogue=${(rn==null?void 0:rn.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),sa.createElement(xe.default.Item,{key:3,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt.AssistantObject)==null?void 0:er.practice)!=null&&Wi.can_create)){Ee.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}Yn({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),hs=er=>bl(void 0,null,function*(){var Wi,is,Xl,mi,Tl,Oc,ua,Ya;const Ba=er.name;if(((Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.user_status)===2&&er.name==="\u6279\u91CF\u53D1\u5E03"){(0,ze.Rd)();return}const go=[];if((is=Jn.exercises)==null||is.map(na=>{if(Dn.includes(na.id)&&na.is_random){const Za=ge()(na.created_at,xu);ge()(Eu).diff(ge()(Za),"days")>0&&(na!=null&&na.is_random)&&go.push(na)}}),Dn==""){let na="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";Ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(na="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),Ee.ZP.error(na)}else if(go.length)vs();else{if(Ba==="\u6279\u91CF\u53D1\u5E03"){if((0,we.Rm)()&&!((mi=(Xl=Tt==null?void 0:Tt.AssistantObject)==null?void 0:Xl.exercise)!=null&&mi.can_publish)){Ee.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}let na=!1;Jn.exercises.forEach(oo=>{Dn.includes(oo.id)&&oo.total_num===0&&oo.is_random&&(na=!0)});let Za;if(Za=(Oc=(Tl=Jn.exercises.filter(oo=>Dn.includes(oo==null?void 0:oo.id)).filter(oo=>(oo==null?void 0:oo.exercise_question_count)===0))==null?void 0:Tl[0])==null?void 0:Oc.exercise_name,(Za==null?void 0:Za.length)>0){Ee.ZP.warning(`${Za}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(na){Ee.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let gl=!1;if(Jn.exercises.forEach(oo=>{Dn.includes(oo.id)&&oo.exercise_status!==1&&(gl=!0)}),gl){Ee.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(Ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const na=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...Dn]}});if(((ua=na==null?void 0:na.cover_exercises)==null?void 0:ua.length)>0){ba(na==null?void 0:na.cover_exercises);return}}Yn({type:"exercise/setActionTabs",payload:{key:Ba,selectArrs:Dn,selectArrsAll:(Ya=Jn.exercises)==null?void 0:Ya.filter(na=>Dn.includes(na.id)),params:Rt,type:1}})}});return sa.createElement("section",{className:"minH500"},sa.createElement(Ta.Z,{isLoading:zn["classroomList/getClassroomExercisesList"],tabDataSource:Ra,isAdmin:(0,we.GJ)(),dispatch:Yn,type:Jn==null?void 0:Jn.main_category_name,isExercise:!0,user:Ve,getDropdownMenu:Bu,onTabMenuClick:el,classroomList:Tt,defaultSelectedKeys:[Rt.type||"all"]}),sa.createElement(Ca.Z,{dataSource:Jn.exercises||[],isAdmin:(0,we.GJ)(),batchStatus:yn,SortMenuName:kn,setSortMenuName:Fi,SortMenus:ja,onSearch:er=>{Rt.search=er.trim(),Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Ro({},Rt)})},isShowMode:!0,onModeChange:er=>{Rt.is_normal=er,Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Ro({},Rt)})},onSort:pu,onBatch:er=>ar(er)}),sa.createElement(fe.Z,{loading:zn["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(E=Jn.exercises_counts)!=null&&E.exercises_all_counts?Jn.exercises.map(function(er,Wi){return sa.createElement(Xa,{key:Wi,v:er,k:Wi,batchStatus:yn,selectArrs:Dn,setSelectArrs:hr,dispatch:Yn,params:Rt,user:Ve,manageAllGroup:Jn.manage_all_group})}):sa.createElement(Ne.Z,null),sa.createElement("aside",{className:"tc mb50 mt30"},((ie=Jn.exercises_counts)==null?void 0:ie.exercises_all_counts)>0&&sa.createElement(be.Z,{showTotal:er=>{var Wi;return sa.createElement("div",{style:{color:"#B6BFC2"}},"\u5171",sa.createElement("span",{style:{margin:"0 3px",color:"#00DDC7"}},(Wi=Jn==null?void 0:Jn.exercises_counts)==null?void 0:Wi.exercises_all_counts),"\u6761")},showSizeChanger:!0,onChange:rl,defaultCurrent:Rt.page,current:Rt.page||1,pageSize:Rt.limit||20,total:Jn.exercises_counts&&Jn.exercises_counts.exercises_all_counts}))),Dn.length>0&&(0,we.GJ)()&&sa.createElement(Fe.Z,{offsetBottom:0},sa.createElement($r.Z,{buttonDataSource:zo,onButtonClick:hs,useBatchStatus:ar,setSeleArr:hr,catalogue:((oe=(re=Ei==null?void 0:Ei.course_modules)==null?void 0:re.find(er=>er.type==="exercise"))==null?void 0:oe.second_category)||[],addCatalogue:er=>{er.preventDefault(),Yn({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Rt,selectArrs:{category_id:Jn==null?void 0:Jn.main_category_id,type:"exercise"}}})},allSelect:Dn.length?Dn.length===((je=(pe=Jn.exercises)==null?void 0:pe.filter(er=>!er.is_make_up_exercise))==null?void 0:je.length):!1,setAllSelect:er=>{var Wi;er.target.checked?hr((Wi=Jn==null?void 0:Jn.exercises)==null?void 0:Wi.filter(is=>!is.is_make_up_exercise).map(is=>is.id)):hr([])},selectArrs:Dn,onMenuClick:er=>bl(void 0,[er],function*({key:Wi}){if(Dn=="")return Ee.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:Dn,new_category_id:Wi}})).status===0&&(Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),Yn({type:"classroomList/getClassroomExercisesList",payload:Ro({},rn)}))})})),sa.createElement(gt,null),sa.createElement(Tr,null),sa.createElement(Ql,null),sa.createElement(Mo,null),sa.createElement(xs.Z,{onOk:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Ro({},rn)})}}),sa.createElement(su.Z,{onOk:()=>{}}),sa.createElement(ts,{cb:()=>hr([])}),sa.createElement(Zt,null),sa.createElement(eo,null),sa.createElement(We.default,{title:sa.createElement("span",null,sa.createElement(Ka.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:Nn.length>0,footer:!1,onCancel:()=>{ba([])}},sa.createElement("div",{style:{height:300,overflow:"auto"}},sa.createElement("div",null,"\u6709",Nn==null?void 0:Nn.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Nn==null?void 0:Nn.map(er=>sa.createElement("div",{style:{marginTop:25}},sa.createElement("div",null,"\u8BD5\u5377\uFF1A",er==null?void 0:er.origin_exercise_nam),sa.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",sa.createElement("a",{href:`/paperlibrary/see/${er==null?void 0:er.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},er==null?void 0:er.examination_bank_name))))),sa.createElement("div",{style:{textAlign:"end"}},sa.createElement(He.ZP,{style:{height:30},onClick:()=>bl(void 0,null,function*(){const er=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Dn],update:1}});(er==null?void 0:er.status)===0&&(Ee.ZP.info("\u8986\u76D6\u6210\u529F"),ba([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),sa.createElement(He.ZP,{type:"primary",onClick:()=>bl(void 0,null,function*(){const er=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Dn]}});(er==null?void 0:er.status)===0&&(Ee.ZP.info("\u5F62\u6210\u6210\u529F"),ba([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),sa.createElement(We.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:Wo,centered:!0,onOk:()=>bl(void 0,null,function*(){let er=yield(0,ke.ZP)(`/api/courses/${Rt.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:So,forbid_end_exercise:ho}});(er==null?void 0:er.status)===0&&(Oo(!1),Yn({type:"classroomList/setActionTabs",payload:{key:""}}),Yn({type:"classroomList/getClassroomTopBanner",payload:{id:Rt.coursesId}}),Ee.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{Oo(!1),Yn({type:"classroomList/setActionTabs",payload:{key:""}})}},sa.createElement(rt.default,{checked:So,onChange:er=>{pl(er.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",sa.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),sa.createElement(rt.default,{className:"mt20",checked:ho,onChange:er=>{Vn(er.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),sa.createElement(Ms,null),sa.createElement(sa.Fragment,null,sa.createElement(ta.T$,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{open:""})})},open:((nt=Tt==null?void 0:Tt.actionTabs)==null?void 0:nt.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),sa.createElement(ta.$i,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})},open:((dt=Tt==null?void 0:Tt.actionTabs)==null?void 0:dt.open)==="\u8BD5\u5377\u5C01\u5B58",Data:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})}),sa.createElement(ta.K1,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})},open:((St=Tt==null?void 0:Tt.actionTabs)==null?void 0:St.open)==="\u89E3\u5C01",Data:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})}),sa.createElement(ta.O7,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Ro(Ro({},Rt),rn)})},open:((Kt=Tt==null?void 0:Tt.actionTabs)==null?void 0:Kt.open)==="\u63D0\u793A",Data:Gl(Ro({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})})))};var Ml=(0,Ce.connect)(({user:ae,classroomList:qe,loading:Ve,globalSetting:Tt})=>({user:ae,classroomList:qe,globalSetting:Tt,loading:Ve.effects}))(As),qa=te(39541),io=te(59301),Yl=Object.defineProperty,Iu=Object.defineProperties,Vs=Object.getOwnPropertyDescriptors,tu=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,ls=(ae,qe,Ve)=>qe in ae?Yl(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Fs=(ae,qe)=>{for(var Ve in qe||(qe={}))Js.call(qe,Ve)&&ls(ae,Ve,qe[Ve]);if(tu)for(var Ve of tu(qe))es.call(qe,Ve)&&ls(ae,Ve,qe[Ve]);return ae},Hu=(ae,qe)=>Iu(ae,Vs(qe)),Rs=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const{TabPane:Fu}=Ye.default,Xu=({classroomList:ae,exercise:qe,loading:Ve,dispatch:Tt})=>{var or;const zn=(0,Ce.useParams)(),Yn=(0,Ce.useLocation)(),[Er]=et.default.useForm(),{brankList:Cn}=qe;let[tr,wa]=(0,de.useState)(!0),[ao,Ha]=(0,de.useState)(!1);const[Oi,Va]=(0,de.useState)("myself");let[x,E]=(0,de.useState)([]),[ie,re]=(0,de.useState)([]),[oe,pe]=(0,de.useState)(),[je,nt]=(0,de.useState)([]);const dt=(0,de.useRef)(null),[St,Kt]=(0,de.useState)(!1),[rn,fn]=(0,de.useState)(""),[Rt,Br]=(0,de.useState)(""),[vr,Jn]=(0,de.useState)(!1),[Vr,Ei]=(0,de.useState)({}),Dn=[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0,align:"left",render:(kn,Fi,ja)=>io.createElement("div",{style:{display:"flex",alignItems:"center"}},io.createElement(Ke.Z,{title:kn},io.createElement("div",{title:kn,className:qa.Z.name},kn)),(Fi==null?void 0:Fi.high_resources_consume)&&io.createElement(Ze.Z,{type:"shixun",style:{marginLeft:10}}))},{title:"\u65B9\u5411&\u8BFE\u7A0B",dataIndex:"course_list_name",width:180,ellipsis:!0,align:"left",render:kn=>io.createElement(Ke.Z,{title:kn},io.createElement("span",null,kn))},{title:"\u7C7B\u578B",dataIndex:"is_random",width:90,align:"left",render:kn=>kn?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:150,align:"left"},{title:"\u8BD5\u9898\u6570",dataIndex:"item_num",width:60,align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",width:60,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"is_random",width:60,align:"center",render:(kn,Fi)=>io.createElement("a",{href:kn?`/randompaper/detail/${Fi.id}`:`/paperlibrary/see/${Fi.id}?defaultActiveKey=1`,target:"_blank>"},"\u9884\u89C8")}],[hr,ii]=(0,de.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"});(0,de.useEffect)(()=>{qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&(ba(),nt([]),qr())},[qe.actionTabs.key]);const qr=()=>Rs(void 0,null,function*(){const kn=yield Tt({type:"paperlibrary/getTeachGroupData"});re(kn)}),Nn=kn=>{const Fi=parseInt(kn);return isNaN(Fi)?"":Fi},ba=()=>Rs(void 0,null,function*(){var kn,Fi;if(tr){++hr.page,wa(!1);const ja=yield Tt({type:"exercise/getBrankList",payload:Hu(Fs({},hr),{search:(kn=hr.search)==null?void 0:kn.trim()})});x=ja!=null&&ja.object_list?[...x.concat(ja==null?void 0:ja.object_list)]:x,hr.filter==="public"?pe(ja.is_teacher):pe(!0),((Fi=ja.object_list)==null?void 0:Fi.length)<hr.limit?wa(!1):wa(!0),E([...x])}}),Wo=kn=>{dt.current.scrollTop=0,x=[],hr.page=0,hr.group_id=kn,tr=!0,nt([]),ii(Fs({},hr)),ba()},Oo={selectedRowKeys:je,onChange:kn=>{nt(kn)},type:"radio"},So=()=>{ii(Fs({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),E([]),wa(!0),Va("myself"),Tt({type:"exercise/setActionTabs",payload:{}}),Ha(!1)},[pl,ho,Vn,yn]=(0,Te.P)(),ar=kn=>Rs(void 0,null,function*(){let Fi=!1;x.forEach(Ra=>{je.includes(Ra.id)&&(Fi=Ra.is_random)});const ja=kn.map(Ra=>({shixun_id:Ra.id,is_use:Ra.is_use,is_copy:Ra.is_copy}));if(!Fi){Jn(!0);const Ra=yield Tt({type:"exercise/saveBanks",payload:{course_id:zn.coursesId,category_id:(zn==null?void 0:zn.categoryId)||null,object_type:"examination_bank",bank_id:je,shixuns_info:ja}});Jn(!1),(Ra==null?void 0:Ra.status)===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),Tt({type:"classroomList/getClassroomExercisesList",payload:Fs({},qe.actionTabs.params)}),Tt({type:"classroomList/getClassroomLeftMenus",payload:{id:zn.coursesId}}),fn(`/classrooms/${zn.coursesId}/exercise/${Ra.exercise_id}/detail?random=${Ra.is_random}&tabs=3`),Br(`/classrooms/${zn.coursesId}/exercise/add/${Ra.exercise_id}?random=${Ra.is_random}&type=2`),Kt(!0),Ee.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F"),ho(),So());return}Jn(!0),setTimeout(()=>{Jn(!1)},500),Tt({type:"exercise/setActionTabs",payload:{}});let rl=1,el=We.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:io.createElement("div",{className:qa.Z.modalColumn},io.createElement("div",{className:qa.Z.modalRow},io.createElement("sup",{className:qa.Z.sup},"*"),io.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),io.createElement(Oe.Z,{parser:Nn,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:rl,onChange:Ra=>{rl=Ra;const zo=document.getElementById("model_error");rl<1||rl>50?zo.style.display="block":zo.style.display="none"}})),io.createElement("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:So,onOk:()=>Rs(void 0,null,function*(){if(rl<1||rl>50){const zo=document.getElementById("model_error");return zo.style.display="block",Promise.reject()}el.update({cancelButtonProps:{disabled:!0}});const Ra=yield Tt({type:"exercise/saveBanks",payload:{course_id:zn.coursesId,object_type:"examination_bank",bank_id:je,shixuns_info:ja,num:rl}});el.update({cancelButtonProps:{disabled:!1}}),Ra&&Ra.status===0?((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BD5\u5377\u9009\u7528"]),We.default.destroyAll(),Tt({type:"classroomList/getClassroomExercisesList",payload:Fs({},qe.actionTabs.params)}),So(),ho(),Ee.ZP.success("\u751F\u6210\u8BD5\u5377\u6210\u529F")):(So(),ho())})})});return io.createElement(io.Fragment,null,io.createElement(We.default,{centered:!0,width:1012,title:"\u9009\u62E9\u8BD5\u5377",maskClosable:!1,destroyOnClose:!0,open:qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:ao,bodyStyle:{minHeight:200},wrapClassName:qa.Z.warpModal,onOk:()=>Rs(void 0,null,function*(){var kn;if(!je.length){Ee.ZP.error("\u8BF7\u9009\u62E9\u8BD5\u5377");return}Ha(!0);let Fi=!1,ja=!1;if(x.forEach(el=>{je.includes(el.id)&&el.need_authorize&&(Fi=el.need_authorize),je.includes(el.id)&&(ja=el.is_random)}),Fi){(0,ze.rX)(!1,"\u8BE5\u8BD5\u5377\u4E2D\u5305\u542B\u5B9E\u8BAD\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");return}let rl=yield(0,ot.Tr)({id:`${je[0]}`,course_id:(kn=ae.detailTopBanner)==null?void 0:kn.course_id,type:"examination_bank"});Ha(!1),(rl==null?void 0:rl.student_count)===0?ar([]):Ei(rl)}),onCancel:So},io.createElement(Ye.default,{activeKey:Oi,onTabClick:kn=>Rs(void 0,null,function*(){dt.current.scrollTop=0,x=[],Oi!==kn&&nt([]),Va(kn),hr.page=0,hr.filter=kn,hr.group_id=null,tr=!0,ba()})},io.createElement(Fu,{tab:io.createElement("span",null,"\u6211\u7684\u8BD5\u5377\u5E93"),key:"myself"}),io.createElement(Fu,{tab:io.createElement("span",null,"\u6559\u7814\u5171\u4EAB"),key:"teacher"}),io.createElement(Fu,{tab:io.createElement("span",null,"\u516C\u5171\u8BD5\u5377\u5E93"),key:"public"})),io.createElement("div",{className:qa.Z.tabSearch},Oi==="teacher"&&io.createElement(_e.default,{value:hr.group_id,onChange:Wo,size:"middle",style:{width:200,marginRight:30}},io.createElement(_e.default.Option,{value:null},"\u5168\u90E8\u6559\u7814\u56E2\u961F"),(or=ie==null?void 0:ie.groups)==null?void 0:or.map(kn=>io.createElement(_e.default.Option,{key:kn==null?void 0:kn.group_id,value:kn==null?void 0:kn.group_id},kn==null?void 0:kn.name))),io.createElement(me.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:hr.search,onChange:kn=>{hr.search=kn.target.value,ii(Fs({},hr))},onSearch:kn=>{dt.current.scrollTop=0,x=[],hr.page=0,tr=!0,nt([]),kn&&(0,xt.tk)({name:kn,copywriting:kn,position:"Exercise"}),ba()}})),io.createElement("div",{ref:dt,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20}},!oe&&Oi==="public"&&io.createElement("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"}},io.createElement("span",null,"\u901A\u8FC7\u804C\u4E1A\u8BA4\u8BC1\u7684\u6559\u5E08\u624D\u80FD\u8BBF\u95EE\u516C\u5171\u8BD5\u5377\u5E93\u8D44\u6E90"),io.createElement("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:()=>{window.open("/account/certification")}},"\u7ACB\u5373\u8BA4\u8BC1")),io.createElement(Le(),{initialLoad:!1,pageStart:0,loadMore:()=>{ba()},hasMore:tr,useWindow:!1},qe.actionTabs.key==="\u8BD5\u5377\u9009\u7528"&&oe&&io.createElement(Pe.Z,{className:qa.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:x,onRow:kn=>({onClick:()=>{nt([kn==null?void 0:kn.id])}}),resColumns:Dn,rowSelection:Oo})))),io.createElement(We.default,{title:"\u63D0\u793A",open:St,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:io.createElement("div",null,io.createElement(He.ZP,{onClick:()=>{Kt(!1),Ce.history.push(Rt)}},"\u4FEE\u6539\u8BD5\u5377"),io.createElement(He.ZP,{type:"primary",onClick:()=>{Ce.history.push(rn),Kt(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Kt(!1)}},io.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),io.createElement(vt.Z,{resdata:Vr,type:"exercise",okloading:vr,oktext:(Vr==null?void 0:Vr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:kn=>{ar(kn)}}),io.createElement(Te.Z,{inPaper:!0,visible:pl,onCancel:ho,onOk:ar,renderData:Vn,modalType:"multiple",type:"examination_bank"}))};var Hc=(0,Ce.connect)(({exercise:ae,loading:qe,classroomList:Ve})=>({exercise:ae,loading:qe,classroomList:Ve}))(Xu),hl=te(72514),kl=te(75436),ks=Object.defineProperty,Ol=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Xs=(ae,qe,Ve)=>qe in ae?ks(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,ju=(ae,qe)=>{for(var Ve in qe||(qe={}))zs.call(qe,Ve)&&Xs(ae,Ve,qe[Ve]);if(Ol)for(var Ve of Ol(qe))Hs.call(qe,Ve)&&Xs(ae,Ve,qe[Ve]);return ae},jc=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const cc=({exercise:ae,dispatch:qe})=>{const Ve=(0,Ce.useParams)();return de.createElement(We.default,{centered:!0,title:"\u63D0\u793A",open:ae.actionTabs.key==="\u8BBE\u4E3A\u516C\u5F00",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>jc(void 0,null,function*(){(yield(0,ke.ZP)(`/api/courses/${Ve.coursesId}/exercises/set_public.json`,{method:"post",body:{check_ids:[...ae.actionTabs.selectArrs]}})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u8BBE\u4E3A\u516C\u5F00"]),Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),qe({type:"exercise/setActionTabs",payload:{}}),qe({type:"classroomList/getClassroomExercisesList",payload:ju({},ae.actionTabs.params)}))}),onCancel:()=>{qe({type:"exercise/setActionTabs",payload:{}})}},de.createElement("p",null,"\u8BBE\u4E3A\u516C\u5F00\u540E\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E5F\u53EF\u4EE5\u8BBF\u95EE\u67E5\u770B",de.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u8BBE\u4E3A\u516C\u5F00\uFF1F"))};var Zu=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(cc),ml=Object.defineProperty,rs=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable,qs=(ae,qe,Ve)=>qe in ae?ml(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Zc=(ae,qe)=>{for(var Ve in qe||(qe={}))Ou.call(qe,Ve)&&qs(ae,Ve,qe[Ve]);if(rs)for(var Ve of rs(qe))oc.call(qe,Ve)&&qs(ae,Ve,qe[Ve]);return ae},Ps=(ae,qe)=>{var Ve={};for(var Tt in ae)Ou.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&rs)for(var Tt of rs(ae))qe.indexOf(Tt)<0&&oc.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},Fc=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Jc=ae=>{var qe=ae,{exercise:Ve,dispatch:Tt,user:or}=qe,zn=Ps(qe,["exercise","dispatch","user"]),Yn,Er;const Cn=(0,Ce.useParams)(),[tr,wa]=(0,de.useState)(!1),[ao,Ha]=(0,de.useState)(!1),Oi=(0,de.useRef)(null);(0,de.useEffect)(()=>{var x,E;if(Ve.actionTabs.key==="\u6279\u91CF\u5220\u9664"){if((0,we.j5)()){Ha(!0);return}const ie={hasNum:0,noHasNum:0};(E=(x=Ve==null?void 0:Ve.actionTabs)==null?void 0:x.selectArrsAll)==null||E.map(re=>{var oe;re.author_login===((oe=or.userInfo)==null?void 0:oe.login)?++ie.hasNum:++ie.noHasNum}),ie.noHasNum>0?We.default.info({title:"\u6743\u9650\u63D0\u793A",className:"custom-modal-divider ",icon:null,content:de.createElement("div",null,"\u5F53\u524D\u9009\u4E2D\u8D44\u6E90\u4E2D\uFF1A",de.createElement("span",{className:"c-blue"},ie.hasNum),"\u4E2A\u7531\u60A8\u672C\u4EBA\u53D1\u5E03\uFF0C",de.createElement("span",{className:"c-red"},ie.noHasNum)," \u4E2A\u7531\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u3002",de.createElement("br",null),"\u8BFE\u5802\u5185\u53EA\u80FD\u5220\u9664\u672C\u4EBA\u53D1\u5E03\u7684\u8D44\u6E90\uFF0C\u8BF7\u53D6\u6D88\u9009\u4E2D\u5176\u4ED6\u8001\u5E08\u53D1\u5E03\u7684\u8D44\u6E90\u3002"),onOk:()=>{Va()}}):Ha(!0)}else Ha(!1)},[Ve.actionTabs.key]);const Va=()=>{Tt({type:"exercise/setActionTabs",payload:{}})};return de.createElement(We.default,{centered:!0,title:"\u63D0\u793A",open:ao,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:tr,destroyOnClose:!0,onOk:()=>Fc(void 0,null,function*(){var x;if((x=Oi.current)!=null&&x.onVerify())return;wa(!0);const E=yield(0,ke.ZP)(`/api/courses/${Cn.coursesId}/exercises/destroys.json`,{method:"post",body:{check_ids:[...Ve.actionTabs.selectArrs]}});wa(!1),E.status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u5220\u9664"]),Ee.ZP.success("\u5220\u9664\u6210\u529F"),Tt({type:"exercise/setActionTabs",payload:{}}),Tt({type:"classroomList/getClassroomExercisesList",payload:Zc({},Ve.actionTabs.params)}),Tt({type:"classroomList/getClassroomLeftMenus",payload:Zc({},Ve.actionTabs.params)}))}),onCancel:()=>{Tt({type:"exercise/setActionTabs",payload:{}})}},!((Yn=Ve==null?void 0:Ve.actionTabs)!=null&&Yn.status)||!["\u672A\u5F00\u59CB"].includes((Er=Ve==null?void 0:Ve.actionTabs)==null?void 0:Er.status)?de.createElement(de.Fragment,null,de.createElement("p",{style:{color:"#DD0000"}},"\u5220\u9664\u8003\u8BD5\u5219\u4F1A\u6E05\u9664\u5B66\u751F\u6240\u6709\u7684\u7B54\u9898\u6570\u636E\uFF0C\u4E14\u6570\u636E\u4E0D\u53EF\u6062\u590D\uFF0C\u5982\u786E\u5B9A\u5220\u9664\uFF0C\u8BF7\u8F93\u5165\u4E0B\u65B9\u9A8C\u8BC1\u7801"),de.createElement(Jt.Z,{ref:x=>Oi.current=x})):de.createElement("p",null,"\u5220\u9664\u8BD5\u5377\u4F1A\u540C\u6B65\u5220\u9664\u8BD5\u5377\u4E2D\u7684\u6240\u6709\u8003\u8BD5\uFF0C\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F"))};var Kc=(0,Ce.connect)(({exercise:ae,user:qe})=>({exercise:ae,user:qe}))(Jc),gc=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,lc=Object.prototype.propertyIsEnumerable,Xi=(ae,qe)=>{var Ve={};for(var Tt in ae)Sc.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&gc)for(var Tt of gc(ae))qe.indexOf(Tt)<0&&lc.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},Xc=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Ac=ae=>{var qe=ae,{exercise:Ve,dispatch:Tt}=qe,or=Xi(qe,["exercise","dispatch"]);const zn=(0,Ce.useParams)();return zn.id=zn.coursesId,(0,de.useEffect)(()=>{Ve.actionTabs.key==="\u52A0\u5165\u8BD5\u5377\u5E93"&&new Promise(()=>Xc(void 0,null,function*(){(yield(0,ke.ZP)(`/api/courses/${zn.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Ve.actionTabs.selectArrs]}})).status===0&&((0,Se.L9)(["\u6559\u5B66\u8BFE\u5802","\u8BD5\u5377","\u52A0\u5165\u8BD5\u5377\u5E93"]),Ee.ZP.success("\u5DF2\u52A0\u5165\u4E2A\u4EBA\u8BD5\u5377\u5E93\uFF0C\u8BD5\u9898\u540C\u6B65\u52A0\u5165\u81F3\u4E2A\u4EBA\u9898\u5E93")),Tt({type:"exercise/setActionTabs",payload:{}})}))},[Ve.actionTabs.key]),de.createElement(de.Fragment,null)};var Wc=(0,Ce.connect)(({exercise:ae})=>({exercise:ae}))(Ac),_l={flex_box_center:"flex_box_center___VejG5",flex_space_between:"flex_space_between___RwAiX",flex_box_vertical_center:"flex_box_vertical_center___N5QNs",flex_box_center_end:"flex_box_center_end___SUMZc",flex_box_column:"flex_box_column___ombQA",bg:"bg___i74VI",containerTitle:"containerTitle___eAbbs",containerDesc:"containerDesc___WeE4m",tablestyle:"tablestyle___uKNiL",listItem:"listItem___aJrbL",info:"info___X9HlC",title:"title___ZDroC",titleLeft:"titleLeft___JzNZc",titleRight:"titleRight___RP0gb",flexBox:"flexBox___txRbA",iconV:"iconV___JMCv9",acitons:"acitons___iqFGc",moveCategory:"moveCategory___Rihfv",name:"name___LdzGg",categoryName:"categoryName___Tz45n",schedule:"schedule___a20T3",fnSign:"fnSign___gsn3j",spanSize:"spanSize___jht3F",classromediv:"classromediv___T7h_f",glow:"glow___LU7dg",popover:"popover___Qeg0P",dot:"dot___c9Vwj",moni:"moni___LBVeo",ErrorPushTag:"ErrorPushTag___F0OTF",authorized:"authorized___yQPQx"},dc=Object.defineProperty,fc=Object.getOwnPropertySymbols,vc=Object.prototype.hasOwnProperty,ss=Object.prototype.propertyIsEnumerable,qc=(ae,qe,Ve)=>qe in ae?dc(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,kc=(ae,qe)=>{for(var Ve in qe||(qe={}))vc.call(qe,Ve)&&qc(ae,Ve,qe[Ve]);if(fc)for(var Ve of fc(qe))ss.call(qe,Ve)&&qc(ae,Ve,qe[Ve]);return ae};const qu=ae=>React.createElement("svg",kc({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD 2"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fill:"#979797",fillRule:"nonzero"},React.createElement("path",{d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z"}))));var Pc="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbD0iIzk3OTc5NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMTAuNDIyIDUuODE4aC44djEwLjRoLS44eiIvPjxwYXRoIGQ9Ik0xMC43NDMgMTcuMDE4YS40OS40OSAwIDAgMS0uMzgtLjE5N2MtLjM4LS41NDEtMS4yMS0uOTEtMS45OTMtLjkxSDMuNjk3YS40ODUuNDg1IDAgMCAxLS40NzUtLjQ5M1Y0Ljg4M2MwLS4xNzMuMDcxLS4zMi4xNjYtLjQ0My4yMTQtLjIyMi41MjItLjIyMi43MzYtLjIyMmg0LjEwNGMxLjEzOSAwIDIuMzAxLjY0IDIuODIzIDEuNTc2LjE0My4yMjEuMDcxLjU0MS0uMTY2LjY2NGEuNDM4LjQzOCAwIDAgMS0uNjQtLjE3MkM5Ljg4OSA1LjY3IDkuMDEgNS4xNzggOC4yMjggNS4xNzhINC4xNzF2OS43MjNoNC4yYzEuMDY3IDAgMi4xODIuNTE3IDIuNzUxIDEuMjhhLjQ5My40OTMgMCAwIDEtLjA5NS42OWMtLjA5NC4wOTgtLjE5LjE0Ny0uMjg0LjE0N1oiLz48cGF0aCBkPSJNMTEuMDA2IDE3LjAxOGEuNDY5LjQ2OSAwIDAgMS0uMjk0LS4wOTguNDgzLjQ4MyAwIDAgMS0uMDk4LS42OWMuNTg4LS43NjMgMS43MTQtMS4yOCAyLjg0LTEuMjhoMy45OVY1LjIwM2gtMy44NjhjLS44NTcgMC0xLjg4NS40OTItMi4yNTIgMS4xMDctLjE0Ny4yMjItLjQ0LjMyLS42Ni4xNzMtLjIyLS4xNDgtLjMxOS0uNDQzLS4xNzItLjY2NS42MTItMS4wMzQgMi4wNTYtMS42IDMuMDg0LTEuNmg0LjIzNGMuMDk4IDAgLjI5NCAwIC40NC4xNDguMTcyLjE3Mi4xNzIuMzcuMTcyLjQ2OHYxMC41ODRjMCAuMjcxLS4yMi40OTItLjQ5LjQ5MkgxMy40M2MtLjgwOCAwLTEuNjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiLz48L2c+PC9nPjwvc3ZnPg==",$u=Object.defineProperty,ec=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Us=(ae,qe,Ve)=>qe in ae?$u(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,tc=(ae,qe)=>{for(var Ve in qe||(qe={}))nu.call(qe,Ve)&&Us(ae,Ve,qe[Ve]);if(ec)for(var Ve of ec(qe))bu.call(qe,Ve)&&Us(ae,Ve,qe[Ve]);return ae};const Cl=ae=>React.createElement("svg",tc({width:22,height:22,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 5\u5907\u4EFD"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"M0 0h22v22H0z"}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{fill:"#229BFF",d:"M10.422 5.818h.8v10.4h-.8z"}),React.createElement("path",{d:"M10.743 17.018a.49.49 0 0 1-.38-.197c-.38-.541-1.21-.91-1.993-.91H3.697a.485.485 0 0 1-.475-.493V4.883c0-.173.071-.32.166-.443.214-.222.522-.222.736-.222h4.104c1.139 0 2.301.64 2.823 1.576.143.221.071.541-.166.664a.438.438 0 0 1-.64-.172C9.889 5.67 9.01 5.178 8.228 5.178H4.171v9.723h4.2c1.067 0 2.182.517 2.751 1.28a.493.493 0 0 1-.095.69c-.094.098-.19.147-.284.147Z",fill:"#0152d9"}),React.createElement("path",{d:"M11.006 17.018a.469.469 0 0 1-.294-.098.483.483 0 0 1-.098-.69c.588-.763 1.714-1.28 2.84-1.28h3.99V5.203h-3.868c-.857 0-1.885.492-2.252 1.107-.147.222-.44.32-.66.173-.22-.148-.319-.443-.172-.665.612-1.034 2.056-1.6 3.084-1.6h4.234c.098 0 .294 0 .44.148.172.172.172.37.172.468v10.584c0 .271-.22.492-.49.492H13.43c-.808 0-1.64.37-2.056.911a.43.43 0 0 1-.367.197Z",fill:"#0152d9"}))));var Pl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PGcgZmlsbC1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NjQuMzctMi4wNTYuOTExYS40My40MyAwIDAgMS0uMzY3LjE5N1oiIGZpbGw9IiMwMTUyZDkiLz48L2c+PC9nPjwvc3ZnPg==",ru=te(41727),Ku=Object.defineProperty,_u=Object.getOwnPropertySymbols,$c=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,ku=(ae,qe,Ve)=>qe in ae?Ku(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,ed=(ae,qe)=>{for(var Ve in qe||(qe={}))$c.call(qe,Ve)&&ku(ae,Ve,qe[Ve]);if(_u)for(var Ve of _u(qe))Ls.call(qe,Ve)&&ku(ae,Ve,qe[Ve]);return ae};const sc=ae=>React.createElement("svg",ed({width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},ae),React.createElement("title",null,"3"),React.createElement("defs",null,React.createElement("path",{id:"ErrorPushIcon_svg__a",d:"M0 0h24v24H0z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"ErrorPushIcon_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#ErrorPushIcon_svg__a"})),React.createElement("use",{fill:"#F4F8FF",opacity:.01,xlinkHref:"#ErrorPushIcon_svg__a"}),React.createElement("g",{mask:"url(#ErrorPushIcon_svg__b)",fillRule:"nonzero"},React.createElement("path",{d:"M7.598 2.582 2.8 3.428A1.701 1.701 0 0 0 1.42 5.396l2.92 16.562a1.695 1.695 0 0 0 1.969 1.38l1.564-.277a1.152 1.152 0 0 1-.276-.749V2.582Z",fill:"#AEF0FF"}),React.createElement("path",{d:"M21.863 1.403H8.755c-.639 0-1.156.518-1.157 1.156v19.752a1.159 1.159 0 0 0 1.157 1.157h13.108a.14.14 0 0 0 .14-.14V1.542a.14.14 0 0 0-.14-.14Zm-3.575 6.67h-6.493V4.928h6.493v3.145Z",fill:"#EF6A6A"}),React.createElement("path",{fill:"#F9DB91",d:"M11.795 4.928h6.493v3.146h-6.493z"}),React.createElement("path",{d:"M21.863 1.073H8.755c-.721 0-1.339.517-1.464 1.228l-4.548.8a2.029 2.029 0 0 0-1.645 2.353l2.92 16.56a2.027 2.027 0 0 0 2.35 1.647l1.392-.246c.273.247.627.383.995.382h13.108c.26 0 .47-.21.47-.47V1.543a.47.47 0 0 0-.47-.47ZM6.253 23.01a1.366 1.366 0 0 1-1.587-1.112L1.746 5.34a1.37 1.37 0 0 1 1.11-1.587l4.412-.777v1.534c-.85.061-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.534v1.193c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.475 1.522 1.535v1.192c-.85.06-1.522.726-1.522 1.535 0 .809.672 1.474 1.522 1.535v1.192c-.85.06-1.522.725-1.522 1.534 0 .81.672 1.474 1.522 1.535v1.95c0 .171.03.342.089.505l-1.105.193Zm1.014-17.84v1.746c-.486-.055-.862-.425-.862-.872 0-.448.377-.818.863-.874Zm0 4.261v1.747c-.486-.056-.862-.426-.862-.874 0-.447.377-.818.863-.873Zm0 4.261v1.746c-.486-.056-.862-.426-.862-.873s.377-.818.863-.873Zm0 4.26V19.7c-.486-.056-.862-.426-.862-.873 0-.448.377-.818.863-.874Zm14.406 5.185H8.755a.828.828 0 0 1-.827-.827v-4.226c.274.157.456.431.456.742a.79.79 0 0 1-.121.422.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.25-1.115-1.456v-3.545c.273.156.456.43.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.498.22-.77 0-.675-.467-1.249-1.115-1.456V9.564c.273.156.456.43.456.74 0 .15-.042.296-.121.423a.33.33 0 1 0 .56.347c.144-.231.22-.497.22-.77 0-.674-.467-1.249-1.115-1.456V5.303c.273.156.456.431.456.74 0 .15-.042.297-.121.423a.33.33 0 1 0 .56.347c.144-.23.22-.497.22-.769 0-.675-.467-1.25-1.115-1.457V2.56c0-.456.37-.826.827-.827h12.918v21.406Z",fill:"#512C56"}),React.createElement("path",{d:"M11.565 8.402h6.953a.101.101 0 0 0 .1-.101V4.699a.101.101 0 0 0-.1-.101h-6.953a.101.101 0 0 0-.101.101v3.605a.1.1 0 0 0 .101.098Zm.558-3.144h5.833v2.485h-5.833V5.258Zm5.163 11.89h-4.489a.33.33 0 1 0 0 .659h4.489a.33.33 0 1 0 0-.66Zm0 2.334h-4.489a.33.33 0 0 0 0 .66h4.489a.33.33 0 1 0 0-.66Z",fill:"#512C56"}))));var ld="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAwaDI0djI0SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHVzZSBmaWxsPSIjRjRGOEZGIiBvcGFjaXR5PSIuMDEiIHhsaW5rOmhyZWY9IiNhIi8+PGcgbWFzaz0idXJsKCNiKSIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy41OTggMi41ODIgMi44IDMuNDI4QTEuNzAxIDEuNzAxIDAgMCAwIDEuNDIgNS4zOTZsMi45MiAxNi41NjJhMS42OTUgMS42OTUgMCAwIDAgMS45NjkgMS4zOGwxLjU2NC0uMjc3YTEuMTUyIDEuMTUyIDAgMCAxLS4yNzYtLjc0OVYyLjU4MloiIGZpbGw9IiNBRUYwRkYiLz48cGF0aCBkPSJNMjEuODYzIDEuNDAzSDguNzU1Yy0uNjM5IDAtMS4xNTYuNTE4LTEuMTU3IDEuMTU2djE5Ljc1MmExLjE1OSAxLjE1OSAwIDAgMCAxLjE1N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wIC41Ni4zNDdjLjE0NC0uMjMuMjItLjQ5Ny4yMi0uNzY5IDAtLjY3NS0uNDY3LTEuMjUtMS4xMTUtMS40NTdWMi41NmMwLS40NTYuMzctLjgyNi44MjctLjgyN2gxMi45MTh2MjEuNDA2WiIgZmlsbD0iIzUxMkM1NiIvPjxwYXRoIGQ9Ik0xMS41NjUgOC40MDJoNi45NTNhLjEwMS4xMDEgMCAwIDAgLjEtLjEwMVY0LjY5OWEuMTAxLjEwMSAwIDAgMC0uMS0uMTAxaC02Ljk1M2EuMTAxLjEwMSAwIDAgMC0uMTAxLjEwMXYzLjYwNWEuMS4xIDAgMCAwIC4xMDEuMDk4Wm0uNTU4LTMuMTQ0aDUuODMzdjIuNDg1aC01LjgzM1Y1LjI1OFptNS4xNjMgMTEuODloLTQuNDg5YS4zMy4zMyAwIDEgMCAwIC42NTloNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2Wm0wIDIuMzM0aC00LjQ4OWEuMzMuMzMgMCAwIDAgMCAuNjZoNC40ODlhLjMzLjMzIDAgMSAwIDAtLjY2WiIgZmlsbD0iIzUxMkM1NiIvPjwvZz48L2c+PC9zdmc+",Fl=Object.defineProperty,yc=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Vc=Object.prototype.propertyIsEnumerable,ri=(ae,qe,Ve)=>qe in ae?Fl(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,wd=(ae,qe)=>{for(var Ve in qe||(qe={}))Du.call(qe,Ve)&&ri(ae,Ve,qe[Ve]);if(yc)for(var Ve of yc(qe))Vc.call(qe,Ve)&&ri(ae,Ve,qe[Ve]);return ae};const Id=ae=>React.createElement("svg",wd({width:18,height:13,xmlns:"http://www.w3.org/2000/svg"},ae),React.createElement("title",null,"\u7F16\u7EC4 3"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{d:"m2.288 4.95 5.456 1.725 3.085-1.016c.176-.058.176.039.013.167-.686.544-1.286 1.24-1.613 2.076a4.679 4.679 0 0 0 2.414 2.542l-1.313 1.311-2.748.863-5.294-1.763V4.95ZM7.661 0l7.502 2.936-7.502 2.692L.73 3.192V8.14h-.7V2.946L0 2.936 7.661 0Z",fill:"#739EFF"}),React.createElement("g",{fill:"#FF9D18",fillRule:"nonzero"},React.createElement("path",{d:"m11.381 9.3.949-.948a1.305 1.305 0 0 1-.097-.498c0-.762.623-1.385 1.384-1.385.18 0 .346.035.499.097l.713-.713a3.6 3.6 0 0 0-1.212-.215c-1.453 0-2.852.921-3.323 2.216A3.281 3.281 0 0 0 11.381 9.3Z"}),React.createElement("path",{d:"M12.787 7.854v.041l.872-.872h-.042a.833.833 0 0 0-.83.83Zm3.066-1.447.674-.674.738-.738-.394-.395-.795.795-4.629 4.629-1.097 1.097.394.395.664-.665.567-.566.438-.438c.384.147.793.222 1.204.222 1.447 0 2.86-.92 3.33-2.215-.208-.568-.602-1.067-1.094-1.447Zm-2.236 2.831c-.173 0-.346-.035-.498-.097l.464-.464h.041c.457 0 .83-.373.83-.83v-.042l.465-.464c.048.166.083.34.083.513 0 .761-.623 1.384-1.385 1.384Z"}))));var Sd="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi4yODggNC45NSA1LjQ1NiAxLjcyNSAzLjA4NS0xLjAxNmMuMTc2LS4wNTguMTc2LjAzOS4wMTMuMTY3LS42ODYuNTQ0LTEuMjg2IDEuMjQtMS42MTMgMi4wNzZhNC42NzkgNC42NzkgMCAwIDAgMi40MTQgMi41NDJsLTEuMzEzIDEuMzExLTIuNzQ4Ljg2My01LjI5NC0xLjc2M1Y0Ljk1Wk03LjY2MSAwbDcuNTAyIDIuOTM2LTcuNTAyIDIuNjkyTC43MyAzLjE5MlY4LjE0aC0uN1YyLjk0NkwwIDIuOTM2IDcuNjYxIDBaIiBmaWxsPSIjNzM5RUZGIi8+PGcgZmlsbD0iI0ZGOUQxOCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJtMTEuMzgxIDkuMy45NDktLjk0OGExLjMwNSAxLjMwNSAwIDAgMS0uMDk3LS40OThjMC0uNzYyLjYyMy0xLjM4NSAxLjM4NC0xLjM4NS4xOCAwIC4zNDYuMDM1LjQ5OS4wOTdsLjcxMy0uNzEzYTMuNiAzLjYgMCAwIDAtMS4yMTItLjIxNWMtMS40NTMgMC0yLjg1Mi45MjEtMy4zMjMgMi4yMTZBMy4yODEgMy4yODEgMCAwIDAgMTEuMzgxIDkuM1oiLz48cGF0aCBkPSJNMTIuNzg3IDcuODU0di4wNDFsLjg3Mi0uODcyaC0uMDQyYS44MzMuODMzIDAgMCAwLS44My44M1ptMy4wNjYtMS40NDcuNjc0LS42NzQuNzM4LS43MzgtLjM5NC0uMzk1LS43OTUuNzk1LTQuNjI5IDQuNjI5LTEuMDk3IDEuMDk3LjM5NC4zOTUuNjY0LS42NjUuNTY3LS41NjYuNDM4LS40MzhjLjM4NC4xNDcuNzkzLjIyMiAxLjIwNC4yMjIgMS40NDcgMCAyLjg2LS45MiAzLjMzLTIuMjE1LS4yMDgtLjU2OC0uNjAyLTEuMDY3LTEuMDk0LTEuNDQ3Wm0tMi4yMzYgMi44MzFjLS4xNzMgMC0uMzQ2LS4wMzUtLjQ5OC0uMDk3bC40NjQtLjQ2NGguMDQxYy40NTcgMCAuODMtLjM3My44My0uODN2LS4wNDJsLjQ2NS0uNDY0Yy4wNDguMTY2LjA4My4zNC4wODMuNTEzIDAgLjc2MS0uNjIzIDEuMzg0LTEuMzg1IDEuMzg0WiIvPjwvZz48L2c+PC9zdmc+",ui=te(59301),bc=Object.defineProperty,Uc=Object.defineProperties,Kd=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,Dc=Object.prototype.hasOwnProperty,td=Object.prototype.propertyIsEnumerable,Lc=(ae,qe,Ve)=>qe in ae?bc(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,sd=(ae,qe)=>{for(var Ve in qe||(qe={}))Dc.call(qe,Ve)&&Lc(ae,Ve,qe[Ve]);if(uu)for(var Ve of uu(qe))td.call(qe,Ve)&&Lc(ae,Ve,qe[Ve]);return ae},Od=(ae,qe)=>Uc(ae,Kd(qe)),Wu=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const jl=({v:ae,k:qe,selectArrs:Ve,setSelectArrs:Tt,dispatch:or,params:zn,classroomList:Yn,batchStatus:Er,manageAllGroup:Cn,user:tr})=>{var wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt,St,Kt,rn,fn,Rt;const[Br,vr]=(0,de.useState)([]),[Jn,Vr]=(0,de.useState)(!1),Ei=(0,de.useRef)(),Dn=(0,de.useRef)();var hr=!1;const ii="YYYY-MM-DD",qr=ge()("2020-11-15",ii);function Nn(){return Wu(this,null,function*(){console.log(zn,222);let yn=yield(0,ke.ZP)(`/api/courses/${zn==null?void 0:zn.coursesId}/exercises/group_use_list.json`,{method:"get",params:Od(sd({},zn),{id:ae.id})});vr((yn==null?void 0:yn.groups)||[])})}const ba=()=>We.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:ui.createElement(ui.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")});ae!=null&&ae.appraise_label&&(hr=!0);const Wo=(yn,ar=!1)=>{var kn;Ce.history.push(`/classrooms/${zn.coursesId}/exercisenotice/${yn.id}/users/${(kn=(0,we.eY)())==null?void 0:kn.login}`)},Oo=[{title:"\u73ED\u7EA7",dataIndex:"name",key:"name"},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",width:100,filters:[{text:"\u672A\u5F00\u59CB",value:1},{text:"\u8003\u8BD5\u4E2D",value:2},{text:"\u5DF2\u622A\u6B62",value:3}],onFilter:(yn,ar)=>ar.exercise_status===yn,render:(yn,ar)=>ui.createElement("div",null,yn===1&&ui.createElement("span",null,ui.createElement("i",{className:_l.dot,style:{background:"#C3C3C3"}}),"\u672A\u5F00\u59CB"),yn===2&&ui.createElement("span",null,ui.createElement("i",{className:_l.dot,style:{background:"#4EACFF"}}),"\u8003\u8BD5\u4E2D"),yn===3&&ui.createElement("span",null,ui.createElement("i",{className:_l.dot,style:{background:"#FC2D6B"}}),"\u5DF2\u622A\u6B62"))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"publish_time",key:"publish_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:zn.order_by==="publish_time"?zn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u622A\u6B62\u65F6\u95F4",dataIndex:"end_time",key:"end_time",sorter:!0,width:170,showSorterTooltip:!1,sortOrder:zn.order_by==="end_time"?zn.sort_direction==="desc"?"descend":"ascend":null},{title:"\u63D0\u4EA4\u4EBA\u6570",dataIndex:"exercise_answer",key:"exercise_answer",align:"center",width:80,render:(yn,ar)=>ar.exercise_status===1?"-":ui.createElement("span",null,yn,"/",ar.exercise_users)},{title:"\u5F85\u8BC4\u9605\u8BD5\u5377",dataIndex:"unreview_count",key:"unreview_count",align:"center",width:90,render:(yn,ar)=>ar.exercise_status===1?"-":yn===0?ui.createElement("span",{style:{cursor:"no-drop",color:"#999999"}},yn):ui.createElement("a",{onClick:()=>(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae==null?void 0:ae.id}/detail?random=false&exercise_group_id=${ar.course_group_id}`)},yn)},{title:"\u64CD\u4F5C",dataIndex:"action",align:"center",key:"action",width:60,render:(yn,ar)=>ar.exercise_status===1?ui.createElement("img",{style:{cursor:"not-allowed"},src:Pc}):ui.createElement(Ke.Z,{title:"\u8BC4\u9605"},ui.createElement("a",{onClick:()=>(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae==null?void 0:ae.id}/detail?random=false&exercise_group_id=${ar.course_group_id}`)},ui.createElement("img",{src:Pl})))}],So=yn=>{if(hr)return ui.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style mr10"},"\u96C6\u4E2D\u9605\u5377");if(yn!=null&&yn.includes("\u672A\u5F00\u59CB"))return ui.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style mr10"},"\u672A\u5F00\u59CB");if(yn!=null&&yn.includes("\u8003\u8BD5\u4E2D"))return ui.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style mr10"},"\u8003\u8BD5\u4E2D");if(yn!=null&&yn.includes("\u5DF2\u622A\u6B62"))return ui.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style mr10"},"\u5DF2\u622A\u6B62");if(yn!=null&&yn.includes("\u5BFC\u5165"))return ui.createElement("span",{className:"export mr10"},"\u5BFC\u5165")},pl=()=>{const yn=(ae==null?void 0:ae.simulate_exercise_num)-(ae==null?void 0:ae.user_simulate_num);return yn>=0?yn:0},ho=(yn=ae)=>{var ar,kn,Fi;if(yn!=null&&yn.is_encrypt){or({type:"classroomList/setActionTabs",payload:{open:"\u89E3\u5C01",id:yn==null?void 0:yn.id,phone:(ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.phone,login:(kn=tr==null?void 0:tr.userInfo)==null?void 0:kn.login}});return}(Fi=tr==null?void 0:tr.userInfo)!=null&&Fi.phone?or({type:"classroomList/setActionTabs",payload:{open:"\u8BD5\u5377\u5C01\u5B58",id:yn==null?void 0:yn.id}}):or({type:"classroomList/setActionTabs",payload:{open:"\u624B\u673A\u53F7\u7ED1\u5B9A"}})},Vn=yn=>{var ar,kn,Fi;if(((ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.login)!==(ae==null?void 0:ae.author_login)){Ee.ZP.warning("\u8BD5\u5377\u5DF2\u5C01\u5B58\uFF0C\u8BF7\u8054\u7CFB\u8BD5\u5377\u6240\u6709\u8005\u8FDB\u884C\u89E3\u5C01~");return}or({type:"classroomList/setActionTabs",payload:{open:"\u63D0\u793A",id:ae==null?void 0:ae.id,phone:(kn=tr==null?void 0:tr.userInfo)==null?void 0:kn.phone,login:(Fi=tr==null?void 0:tr.userInfo)==null?void 0:Fi.login,onFinish:yn}})};return ui.createElement("div",{className:_l.listItem,onClick:yn=>{const ar=()=>{(!(0,we.GJ)()||(0,we.GJ)()&&Dn.current&&!Dn.current.contains(yn.target))&&(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}`)};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()}},(0,we.GJ)()&&ui.createElement("span",{ref:Dn},ui.createElement(rt.default,{checked:Ve.includes(ae.id),value:ae.id,style:{padding:"10px"},onClick:yn=>{yn.stopPropagation()},disabled:(ae==null?void 0:ae.is_encrypt)||(ae==null?void 0:ae.is_make_up_exercise),onChange:yn=>{let ar=Ve.indexOf(ae.id);Ve.indexOf(ae.id)>-1?Tt(Ve.filter(kn=>kn!==ae.id)):Tt(Ve.concat(ae.id))}})),ui.createElement("div",{className:_l.info},ui.createElement("div",{className:_l.title},ui.createElement("div",{className:_l.titleLeft,style:{marginRight:15}},So(ae==null?void 0:ae.exercise_tips),(ae==null?void 0:ae.is_make_up_exercise)&&ui.createElement("img",{src:ru,width:44,height:24,style:{marginRight:10}}),ui.createElement(Ke.Z,{title:ae.exercise_name},ui.createElement("span",{className:_l.name},ae.exercise_name)),(ae==null?void 0:ae.high_resources_consume)&&!(ae!=null&&ae.high_resources_consume_permission)&&ui.createElement(Ze.Z,{type:"exercise",style:{marginLeft:10}}),(ae==null?void 0:ae.high_resources_consume)&&(ae==null?void 0:ae.high_resources_consume_permission)&&ui.createElement("span",{className:_l.authorized},"\u5DF2\u6388\u6743"),((wa=ae==null?void 0:ae.exercise_tips)==null?void 0:wa.includes("\u5DF2\u622A\u6B62"))&&((ao=Yn==null?void 0:Yn.detailTopBanner)==null?void 0:ao.forbid_end_exercise)&&ui.createElement(Ke.Z,{title:"\u5DF2\u5BF9\u5B66\u751F\u9690\u85CF"},ui.createElement("img",{src:Sd,width:20,className:"ml10"})),!ae.is_public&&(0,we.GJ)()&&ui.createElement(Ke.Z,{title:"\u79C1\u6709\u5C5E\u6027\uFF0C\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u80FD\u8BBF\u95EE"},ui.createElement("span",{className:"iconfont icon-suo1 ml10 mr10 c-light-black font12"})),(ae==null?void 0:ae.exercise_type)==2&&ui.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex",alignItems:"center"},className:_l.moni},ui.createElement("img",{src:pa,width:18,height:14}),"\u6A21\u62DF\u8003\u8BD5"),((Ha=ae==null?void 0:ae.exercise_tips)==null?void 0:Ha.includes("\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"))&&ui.createElement("span",{style:{flexShrink:0,marginLeft:10,display:"flex"},className:"tag-style-fzb iconfont icon-fangzuobi"},"\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A"),(ae==null?void 0:ae.ai_push_wrong_question)&&ui.createElement("span",{className:_l.ErrorPushTag},ui.createElement("img",{src:ld,width:12,className:"mr5"}),"AI\u9519\u9898\u63A8\u9001"),((Oi=ae==null?void 0:ae.exercise_tips)==null?void 0:Oi.includes("\u5DF2\u622A\u6B62"))&&((Va=ae==null?void 0:ae.exercise_tips)==null?void 0:Va.includes("\u672A\u63D0\u4EA4"))&&ui.createElement("span",{style:{flexShrink:0,backgroundColor:"#B8B8B8"},className:"tag-style ml10"},"\u672A\u63D0\u4EA4"),(ae==null?void 0:ae.is_encrypt)&&ui.createElement(Ke.Z,{title:"\u8BD5\u5377\u5DF2\u52A0\u5BC6"}," ",ui.createElement("img",{src:Ao,width:21,className:"ml10",style:{marginTop:"-8px"}})," ")),ui.createElement("div",{className:_l.titleRight,onClick:yn=>{yn.stopPropagation(),yn.preventDefault()}},(ae==null?void 0:ae.appraise_setting)&&ui.createElement("span",{className:_l.flexBox,style:{marginRight:"16px"},onClick:()=>Wu(void 0,null,function*(){const yn=()=>Wu(void 0,null,function*(){or({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u8BC4\u9605\uFF0C\u8BF7\u7A0D\u540E..."}});const ar=yield(0,ke.ZP)(`/api/exercises/${ae.id}/create_appraise_students.json`,{method:"get"});or({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(0,Se.xg)(`/classrooms/${zn==null?void 0:zn.coursesId}/exercise/${ae.id}/centralizeReview/${ar==null?void 0:ar.login}`)});if(ae!=null&&ae.is_encrypt){Vn(yn);return}yn()})},ui.createElement("i",{className:"iconfont icon-jizhongyuejuan"}),ui.createElement("div",null,"\u96C6\u4E2D\u9605\u5377")),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&(!(ae!=null&&ae.is_make_up_exercise)||(ae==null?void 0:ae.is_make_up_exercise)&&(ae==null?void 0:ae.exercise_status)===1&&(ae==null?void 0:ae.allow_create_make_up))&&ui.createElement(ha.Z,{tips:ae==null?void 0:ae.open_appraise},ui.createElement("span",{className:_l.flexBox,style:{marginRight:"16px"},onClick:()=>{const yn=()=>{var ar,kn,Fi;if(((ar=tr==null?void 0:tr.userInfo)==null?void 0:ar.user_status)===2){(0,ze.Rd)();return}if((0,we.Rm)()&&!((Fi=(kn=Yn==null?void 0:Yn.AssistantObject)==null?void 0:kn.exercise)!=null&&Fi.can_publish)){Ee.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}if((ae==null?void 0:ae.exercise_question_count)===0){Ee.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}let ja=()=>{or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u53D1\u5E03",selectArrs:[ae.id],selectArrsAll:[ae],unified_setting:ae.unified_setting,params:zn,disabled:ae.exercise_status!==1,type:2,manage_all_group:Cn,isRouter:!0}})};ae!=null&&ae.high_resources_consume&&!(ae!=null&&ae.high_resources_consume_permission)?or({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:zn.coursesId,type:"exercise",type_id:ae.id,name:ae.exercise_name,fn:()=>{or({type:"classroomList/getClassroomExercisesList",payload:sd({},zn)}),ja()}}}):ja()};if(ae!=null&&ae.is_encrypt){Vn(yn);return}yn()}},ui.createElement("i",{className:"iconfont icon-yishezhifabushijian1"}),ui.createElement("div",null,"\u53D1\u5E03"))),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&!(0,Se._m)()&&ae.assistant_auth&&ui.createElement("span",{className:_l.flexBox,style:{marginRight:"16px"},onClick:yn=>{yn.stopPropagation();const ar=()=>{var kn,Fi;if((0,we.Rm)()&&!((Fi=(kn=Yn==null?void 0:Yn.AssistantObject)==null?void 0:kn.exercise)!=null&&Fi.can_preview)){Ee.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}const ja=ge()(ae.created_at,ii);ge()(qr).diff(ge()(ja),"days")>0&&(ae!=null&&ae.is_random)?ba():ae!=null&&ae.is_random?(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/random/preview?random=${ae.is_random}`):(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}&tabs=2`)};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()}},ui.createElement("i",{className:"iconfont icon-yulan3"}),ui.createElement("div",null,"\u9884\u89C8")),(0,we.RV)()&&ui.createElement("span",{className:_l.flexBox,style:{marginRight:"16px"},onClick:()=>{const yn=()=>{(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}`)};if(ae!=null&&ae.is_encrypt){Vn(yn);return}yn()}},ui.createElement("i",{className:"iconfont icon-yuyuexiangqing1"}),ui.createElement("div",null,"\u8BE6\u60C5")),(0,we.GJ)()&&!(0,Se._m)()&&ui.createElement(ki.Z,{placement:"bottom",content:ui.createElement("div",{className:_l.popover},!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&ui.createElement("p",{onClick:yn=>Wu(void 0,null,function*(){const ar=()=>{(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/detail?random=${ae.is_random}&tabs=3`)};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()})},"\u89C4\u5219\u8BBE\u7F6E"),(ae==null?void 0:ae.exercise_tips.includes("\u5BFC\u5165"))&&ui.createElement("p",{onClick:yn=>Wu(void 0,null,function*(){const ar=()=>{or({type:"classroomList/setActionTabs",payload:{key:"\u8865\u5145\u6210\u7EE9",name:ae==null?void 0:ae.exercise_name,id:ae==null?void 0:ae.id,type:"hack"}})};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()})},"\u8865\u5145\u6210\u7EE9"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&(0,we.GJ)()&&ae.is_random&&ae.assistant_auth&&ui.createElement("p",{onClick:yn=>{yn.stopPropagation();const ar=()=>{const kn=ge()(ae.created_at,ii);ge()(qr).diff(ge()(kn),"days")>0&&(ae!=null&&ae.is_random)?ba():(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/random/edit?type=settings`)};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()}},"\u7F16\u8F91\u8003\u8BD5"),ui.createElement("p",{onClick:yn=>Wu(void 0,null,function*(){const ar=()=>{var kn;or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u5220\u9664",selectArrs:[ae.id],selectArrsAll:[ae],params:zn,status:(kn=ae==null?void 0:ae.exercise_tips)==null?void 0:kn[0]}})};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()})},"\u5220\u9664\u8BD5\u5377"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&ui.createElement("p",{onClick:()=>{const yn=()=>{or({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[ae.id],params:zn}})};if(ae!=null&&ae.is_encrypt){Vn(yn);return}yn()}},"\u52A0\u5165\u8BD5\u5377\u5E93"),((x=ae==null?void 0:ae.exercise_tips)==null?void 0:x.includes("\u672A\u5F00\u59CB"))&&(ae==null?void 0:ae.author_login)===((E=tr==null?void 0:tr.userInfo)==null?void 0:E.login)&&ui.createElement("p",{onClick:yn=>Wu(void 0,null,function*(){ho(ae)})}," ",ae!=null&&ae.is_encrypt?"\u89E3\u5C01":"\u52A0\u5BC6\u5C01\u5B58"),!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&((0,we.GJ)()||((re=(ie=Yn==null?void 0:Yn.AssistantObject)==null?void 0:ie.exercise)==null?void 0:re.can_stop))&&![1,3].includes(ae==null?void 0:ae.exercise_status)&&ui.createElement("p",{onClick:yn=>Wu(void 0,null,function*(){const ar=()=>{var kn,Fi;if((0,we.Rm)()&&!((Fi=(kn=Yn==null?void 0:Yn.AssistantObject)==null?void 0:kn.exercise)!=null&&Fi.can_stop)){Ee.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}or({type:"exercise/setActionTabs",payload:{key:"\u6279\u91CF\u7ED3\u675F",selectArrs:[ae.id],params:zn,unified_setting:ae.unified_setting}})};if(ae!=null&&ae.is_encrypt){Vn(ar);return}ar()})},"\u7ED3\u675F\u8003\u8BD5"))},ui.createElement("span",{onClick:yn=>yn.stopPropagation(),className:_l.flexBox,style:{cursor:"default"}},ui.createElement("i",{className:"iconfont icon-gengduo4"}),ui.createElement("div",null,"\u66F4\u591A"))),(0,we.dE)()&&ui.createElement(ui.Fragment,null,!!ae.off_limits&&ui.createElement(Ke.Z,{title:`\u8FDF\u5230\u8D85\u8FC7${ae==null?void 0:ae.last_times}\u5206\u949F\uFF0C\u7981\u6B62\u8FDB\u5165\u7B54\u9898`},ui.createElement("b",{className:"font16 c-grey-999"},"\u8FDF\u5230\u7981\u6B62\u7B54\u9898")),(ae==null?void 0:ae.exercise_type)==1&&!ae.off_limits&&ae.current_status===0&&ae.exercise_status>1&&!((oe=ae.exercise_tips)!=null&&oe.includes("\u5DF2\u622A\u6B62"))&&ui.createElement("a",{className:_l.flexBox,style:{marginRight:"16px"},onClick:yn=>{yn.stopPropagation(),yn.preventDefault(),Wo(ae,!0)},href:""},ui.createElement("i",{className:"iconfont icon-jixukaoshi"}),ui.createElement("div",null,(ae==null?void 0:ae.screen_used_num)>(ae==null?void 0:ae.screen_total_num)&&"\u7533\u8BF7"," \u7EE7\u7EED\u8003\u8BD5")),!((pe=ae.exercise_tips)!=null&&pe.includes("\u5DF2\u622A\u6B62"))&&(ae==null?void 0:ae.screen_used_num)>(ae==null?void 0:ae.screen_total_num)&&ui.createElement("a",{className:_l.flexBox,style:{marginRight:"16px"},onClick:yn=>{yn.stopPropagation(),yn.preventDefault(),Wo(ae,!0)},href:""},ui.createElement("i",{className:"iconfont icon-jixukaoshi"}),ui.createElement("div",null,"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5")),!ae.off_limits&&ae.current_status===1&&(ae==null?void 0:ae.screen_used_num)<(ae==null?void 0:ae.screen_total_num)&&ae.exercise_status>1&&document.domain!="kepukehuan.educoder.net"&&!((ae==null?void 0:ae.exercise_type)==2&&(ae==null?void 0:ae.exercise_status)!=3)&&ui.createElement("span",{className:_l.flexBox,style:{marginRight:"16px"},onClick:yn=>Wu(void 0,null,function*(){var ar;if(yn.stopPropagation(),!(ae!=null&&ae.answered_open)){Ee.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,qi.w)(zn.coursesId,ae.id,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/users/${(ar=(0,we.eY)())==null?void 0:ar.login}?check=true`)})},ui.createElement("i",{className:"iconfont icon-chakankaoshi"}),ui.createElement("div",null,"\u67E5\u770B\u8003\u8BD5")),(ae==null?void 0:ae.exercise_type)==1&&!ae.off_limits&&ae.current_status===2&&ae.exercise_status>1&&!((je=ae.exercise_tips)!=null&&je.includes("\u5DF2\u622A\u6B62"))&&ui.createElement("a",{className:_l.flexBox,style:{marginRight:"16px",color:(ae==null?void 0:ae.is_redo)===1&&"red"},onClick:yn=>{yn.stopPropagation(),yn.preventDefault(),Wo(ae)},href:""},ui.createElement("i",{className:"iconfont icon-a-kaishijixudajuan"}),ui.createElement("div",null,(ae==null?void 0:ae.is_redo)===0?"\u5F00\u59CB\u8003\u8BD5":"\u91CD\u65B0\u8003\u8BD5")),(ae==null?void 0:ae.exercise_type)==2&&!ae.off_limits&&ae.exercise_status>1&&!((nt=ae.exercise_tips)!=null&&nt.includes("\u5DF2\u622A\u6B62"))&&ui.createElement(Ke.Z,{title:ui.createElement("span",null,"\u672C\u6B21\u8003\u8BD5\u53EF\u91CD\u590D\u8003\u8BD5",ae==null?void 0:ae.simulate_exercise_num,"\u6B21\uFF0C\u5269\u4F59",pl(),"\u6B21")},ui.createElement("a",{className:_l.flexBox,onClick:yn=>{pl()==0&&(ae==null?void 0:ae.current_status)!=0||(yn.stopPropagation(),yn.preventDefault(),Wo(ae))},href:""},ui.createElement("i",{className:`iconfont ${(ae==null?void 0:ae.current_status)!=0?"icon-a-kaishijixudajuan":"icon-jixukaoshi"}`}),ui.createElement("div",null,(ae==null?void 0:ae.current_status)!=0?"\u5F00\u59CB\u8003\u8BD5":"\u7EE7\u7EED\u8003\u8BD5"))),(ae==null?void 0:ae.ai_push_wrong_question)&&(ae==null?void 0:ae.whole_exercise_status)===3&&!((dt=ae==null?void 0:ae.exercise_tips)!=null&&dt.includes("\u672A\u63D0\u4EA4"))&&ui.createElement("span",{className:_l.flexBox,style:{marginRight:"16px"},onClick:yn=>Wu(void 0,null,function*(){var ar,kn;if(yn.stopPropagation(),(ae==null?void 0:ae.wrong_questions_size)===0){Ee.ZP.warning("\u672C\u6B21\u8003\u8BD5\u4F60\u65E0\u9700\u8FDB\u884C\u9519\u9898\u5DE9\u56FA\uFF5E");return}if(((ar=ae==null?void 0:ae.progress)==null?void 0:ar.stat)===1){Ee.ZP.warning("\u63A8\u8350\u8BD5\u9898\u6B63\u5728\u751F\u6210\u4E2D\uFF0C\u8BF7\u7B49\u5F85\u751F\u6210\u5B8C\u6210\u540E\u518D\u5F00\u59CB\u5DE9\u56FA");return}(0,Se.xg)(`/classrooms/${zn.coursesId}/exercise/${ae.id}/wrongAnswer/${(kn=(0,we.eY)())==null?void 0:kn.login}`)})},ui.createElement("i",{className:"iconfont icon-cuotigonggu"}),ui.createElement("div",null,"\u9519\u9898\u5DE9\u56FA"))))),(0,we.GJ)()&&ui.createElement("p",{style:{display:"flex"}},ui.createElement("span",{className:"c-grey-666",style:{display:"inline-block",maxWidth:"90px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},title:ae.author},ae.author),ui.createElement("span",{className:"ml30 c-grey-666"},"\u521B\u5EFA\u65F6\u95F4\uFF1A",ge()(ae.created_at).format("YYYY-MM-DD HH:mm:ss")),((St=ae==null?void 0:ae.exercise_tips)==null?void 0:St.includes("\u672A\u5F00\u59CB"))&&ae.publish_time&&ui.createElement("span",{className:"ml30 c-grey-666"},"\u5F00\u59CB\u65F6\u95F4\uFF1A",ge()(ae.publish_time).format("YYYY-MM-DD HH:mm:ss")),ui.createElement("span",{className:"ml30 c-grey-666"},"\u7B54\u9898\u65F6\u957F\uFF1A",ae.time===null?"\u4E0D\u9650":`${ae.time}\u5206\u949F`),ui.createElement("span",{className:"ml30 c-grey-666"},"\u7C7B\u578B\uFF1A",ae.is_random?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377"),!((Kt=ae==null?void 0:ae.exercise_tips)!=null&&Kt.includes("\u672A\u5F00\u59CB"))&&!(ae!=null&&ae.is_make_up_exercise)&&!(ae!=null&&ae.exercise_tips.includes("\u5BFC\u5165"))&&ui.createElement("span",{className:_l.iconV,style:{marginLeft:"auto",textAlign:"end"},onClick:yn=>Wu(void 0,null,function*(){yn.stopPropagation(),yn.preventDefault(),Jn||Nn(),Vr(!Jn)})},ui.createElement(Ke.Z,{title:`${Jn?"\u6536\u8D77":"\u5C55\u5F00"}`},ui.createElement("i",{className:`iconfont icon-${Jn?"shouqi":"xiala2"}`})))),(0,we.dE)()&&ui.createElement("p",{style:{display:"flex"}},ui.createElement("span",{className:"c-grey-333"},ae.author),ui.createElement("span",{className:"ml30 c-grey-999 mr20"},"\u7B54\u9898\u65F6\u957F\uFF1A",ae.time===null?"\u4E0D\u9650":`${ae.time}\u5206\u949F`),!!(ae!=null&&ae.exercise_left_time)&&ui.createElement("span",{className:"ml15 c-grey-999"},"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",ae==null?void 0:ae.exercise_left_time),!!(ae!=null&&ae.before_start)&&ui.createElement("span",{className:"ml15 c-grey-999"},"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4\uFF1A",ae==null?void 0:ae.before_start)),(0,we.GJ)()&&!((rn=ae==null?void 0:ae.exercise_tips)!=null&&rn.includes("\u672A\u5F00\u59CB"))&&ui.createElement("p",null,ui.createElement("span",{style:{letterSpacing:2},className:"c-grey-333 mr15"},"\u63D0\u4EA4\u72B6\u6001\uFF1A"),ui.createElement("span",{className:"c-grey-333 mr20"},"\u672A\u5F00\u59CB ",ui.createElement("span",null,ae==null?void 0:ae.unanswer_users)),ui.createElement("span",{className:"c-grey-333 mr20"},"\u8003\u8BD5\u4E2D ",ui.createElement("span",{style:{color:"rgb(90, 184, 145)"}},ae==null?void 0:ae.answering_users)),ui.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u4EA4\u5377 ",ui.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.answer_users)),ui.createElement("span",{className:"c-grey-333"},"\u5DF2\u4EA4\u5377/\u672A\u7B54 ",ui.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.commit_with_no_answers_users))),(0,we.GJ)()&&!((fn=ae==null?void 0:ae.exercise_tips)!=null&&fn.includes("\u672A\u5F00\u59CB"))&&Jn&&Br.length>5&&ui.createElement($e.default,{scroll:{y:240},pagination:!1,dataSource:Br,onRow:yn=>({onClick:ar=>{ar.stopPropagation(),ar.preventDefault()}}),onHeaderRow:(yn,ar)=>({onClick:kn=>{kn.stopPropagation(),kn.preventDefault()}}),rowKey:"course_group_id",style:{marginTop:"10px"},onChange:(yn,ar,kn)=>{kn.field&&(zn.order_by=kn.field),kn.order||(zn.sort_direction="asc"),kn.order==="ascend"&&(zn.sort_direction="asc"),kn.order==="descend"&&(zn.sort_direction="desc"),kn.order||(zn.sort_direction="asc"),Nn()},columns:Oo}),(0,we.GJ)()&&!((Rt=ae==null?void 0:ae.exercise_tips)!=null&&Rt.includes("\u672A\u5F00\u59CB"))&&Jn&&Br.length<6&&Br.length>0&&ui.createElement($e.default,{rowKey:"course_group_id",pagination:!1,onRow:yn=>({onClick:ar=>{ar.stopPropagation(),ar.preventDefault()}}),onHeaderRow:(yn,ar)=>({onClick:kn=>{kn.stopPropagation(),kn.preventDefault()}}),dataSource:Br,style:{marginTop:"10px"},onChange:(yn,ar,kn)=>{kn.field&&(zn.order_by=kn.field),kn.order||(zn.sort_direction="asc"),kn.order==="ascend"&&(zn.sort_direction="asc"),kn.order==="descend"&&(zn.sort_direction="desc"),kn.order||(zn.sort_direction="asc"),Nn()},columns:Oo}),(ae==null?void 0:ae.total)!==void 0&&ui.createElement("p",null,ui.createElement("span",{className:"c-grey-333 mr15"},"\u96C6\u4E2D\u9605\u5377\u603B\u8FDB\u5EA6\uFF1A"),ui.createElement("span",{className:"c-grey-333 mr20"},"\u603B\u8BC4\u6570",ui.createElement("span",null,ae==null?void 0:ae.total)),ui.createElement("span",{className:"c-grey-333 mr20"},"\u5DF2\u8BC4\u9605 ",ui.createElement("span",{style:{color:"#4EACFF"}},ae==null?void 0:ae.finish_total)),ui.createElement("span",{className:"c-grey-333"},"\u5F85\u8BC4\u9605 ",ui.createElement("span",{style:{color:"#FC2D6B"}},ae==null?void 0:ae.unfinished_total)))),ui.createElement(aa.Z,{closable:!0,successCb:()=>Wo(Ei.current)}))};var fo=(0,Ce.connect)(({classroomList:ae})=>({classroomList:ae}))(jl),po=te(52766),wl=te(97611),Ds=te(10621),Bc=te(55139),mu=te(77112),xc=te(66372),$a=te(59301),nd=Object.defineProperty,Ic=Object.defineProperties,nc=Object.getOwnPropertyDescriptors,Jo=Object.getOwnPropertySymbols,sf=Object.prototype.hasOwnProperty,_d=Object.prototype.propertyIsEnumerable,hc=(ae,qe,Ve)=>qe in ae?nd(ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ae[qe]=Ve,Zl=(ae,qe)=>{for(var Ve in qe||(qe={}))sf.call(qe,Ve)&&hc(ae,Ve,qe[Ve]);if(Jo)for(var Ve of Jo(qe))_d.call(qe,Ve)&&hc(ae,Ve,qe[Ve]);return ae},Vu=(ae,qe)=>Ic(ae,nc(qe)),Wd=(ae,qe)=>{var Ve={};for(var Tt in ae)sf.call(ae,Tt)&&qe.indexOf(Tt)<0&&(Ve[Tt]=ae[Tt]);if(ae!=null&&Jo)for(var Tt of Jo(ae))qe.indexOf(Tt)<0&&_d.call(ae,Tt)&&(Ve[Tt]=ae[Tt]);return Ve},rd=(ae,qe,Ve)=>new Promise((Tt,or)=>{var zn=Cn=>{try{Er(Ve.next(Cn))}catch(tr){or(tr)}},Yn=Cn=>{try{Er(Ve.throw(Cn))}catch(tr){or(tr)}},Er=Cn=>Cn.done?Tt(Cn.value):Promise.resolve(Cn.value).then(zn,Yn);Er((Ve=Ve.apply(ae,qe)).next())});const Vd=ae=>{var qe=ae,{user:Ve,classroomList:Tt,globalSetting:or,loading:zn,dispatch:Yn}=qe,Er=Wd(qe,["user","classroomList","globalSetting","loading","dispatch"]),Cn,tr,wa,ao,Ha,Oi,Va,x,E,ie,re,oe,pe,je,nt,dt,St,Kt;const rn=(0,Ce.useParams)(),[fn]=(0,Ce.useSearchParams)(),[Rt,Br]=(0,de.useState)(()=>Vu(Zl({},rn),{limit:20})),vr=(0,Ce.useLocation)(),{detailExerciseList:Jn,detailTopBanner:Vr,detailLeftMenus:Ei}=Tt,[Dn,hr]=(0,de.useState)([]),[ii,qr]=(0,de.useState)(!1),[Nn,ba]=(0,de.useState)([]),[Wo,Oo]=(0,de.useState)(!1),[So,pl]=(0,de.useState)(!1),[ho,Vn]=(0,de.useState)(!1),[yn,ar]=(0,de.useState)(!1),[kn,Fi]=(0,de.useState)("\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F"),ja=[{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u5347\u5E8F",type:"created_at",direction:"asc"},{name:"\u6309\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F",type:"created_at",direction:"desc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u5347\u5E8F",type:"time",direction:"asc"},{name:"\u6309\u8003\u8BD5\u65F6\u957F\u964D\u5E8F",type:"time",direction:"desc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u5347\u5E8F",type:"exercise_name",direction:"asc"},{name:"\u6309\u8BD5\u5377\u540D\u79F0\u964D\u5E8F",type:"exercise_name",direction:"desc"}];Rt.type=fn.get("tabs")==="all"?"":fn.get("tabs")||"",Rt.id=Rt.coursesId,(0,de.useEffect)(()=>{var er,Wi,is;if((er=Ve==null?void 0:Ve.userInfo)!=null&&er.login){if((0,we.GJ)()){const Xl=Se.cX.getItem(`${(Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.login}Teacher`,"Exercise");Xl&&(Rt.sort_by=Xl==null?void 0:Xl.type,Rt.sort_direction=Xl==null?void 0:Xl.direction,Fi(Xl==null?void 0:Xl.name))}Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})}else(is=Ve==null?void 0:Ve.userInfo)!=null&&is.username&&Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)});qr(!1)},[(Cn=Ve==null?void 0:Ve.userInfo)==null?void 0:Cn.login,vr.pathname]),(0,de.useEffect)(()=>{Tt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})},[Tt.actionTabs.key]),(0,de.useEffect)(()=>{Tt.actionTabs.key==="\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"&&(Oo(!0),pl(Vr==null?void 0:Vr.show_unstart_exercise),Vn(Vr==null?void 0:Vr.forbid_end_exercise))},[Tt.actionTabs.key]),(0,de.useEffect)(()=>{hr([])},[Jn]);const rl=(er,Wi)=>{hr([]),Rt.page=er,Rt.limit=Wi,Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})},el=er=>{Rt.type=er.key==="all"?"":er.key,Rt.page=1,Ce.history.replace(`${vr.pathname}?tabs=${er.key}`),ar(!1),Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})};(0,de.useEffect)(()=>{fn.get("tabs")==="all"&&(Rt.type="",Rt.page=1)},[fn.get("tabs")]),(0,de.useEffect)(()=>{(0,we.Rm)()&&Yn({type:"classroomList/getAssistantPermissions",payload:{course_id:Rt.coursesId}})},[(tr=Ve==null?void 0:Ve.userInfo)==null?void 0:tr.username]),(0,de.useEffect)(()=>{const er=sessionStorage.getItem("illegalEntry");sessionStorage.getItem("illegalEntry")&&(sessionStorage.removeItem("illegalEntry"),We.default.info({title:"\u63D0\u793A",centered:!0,width:600,content:$a.createElement("div",null,"\u5728\u7EBF\u8003\u8BD5\u7981\u6B62\u4F7F\u7528\u94FE\u63A5\u76F4\u63A5\u8BBF\u95EE\u7B54\u9898\u9875\u9762\uFF0C\u8BF7\u4F7F\u7528\u4E0B\u9762\u4E24\u79CD\u6B63\u5E38\u65B9\u5F0F\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",$a.createElement("br",null),"1\u3001\u5728",$a.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u5217\u8868"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",$a.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",$a.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",$a.createElement("br",null),"2\u3001\u5728",$a.createElement("span",{className:"c-red blod"},"\u8003\u8BD5\u8BE6\u60C5"),"\u9875\u9762\u4E2D\uFF0C\u70B9\u51FB\u201C",$a.createElement("span",{className:"c-blue blod"},"\u5F00\u59CB\u8003\u8BD5"),"\u201D\u6216\u201C",$a.createElement("span",{className:"c-blue blod"},"\u7EE7\u7EED\u8003\u8BD5"),"\u201D\u6309\u94AE\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\u3002",$a.createElement("br",null),er==="allowRouter"&&$a.createElement($a.Fragment,null,"3\u3001",$a.createElement("span",{className:"c-red blod"},"\u4E25\u7981\u67E5\u770B\u4ED6\u4EBA\u7684\u8BD5\u5377\u3002"))),okText:"\u77E5\u9053\u4E86"}))},[]),(0,de.useEffect)(()=>{(0,we.Rm)()&&Yn({type:"classroomList/getAssistantPermissions",payload:{course_id:Rt.coursesId}})},[(wa=Ve==null?void 0:Ve.userInfo)==null?void 0:wa.login]);const Ra=[{name:"\u5168\u90E8",id:"all",total:(ao=Jn.exercises_counts)==null?void 0:ao.exercises_total_counts},{name:"\u672A\u5F00\u59CB",id:1,total:(Ha=Jn.exercises_counts)==null?void 0:Ha.unstart_counts},{name:"\u8003\u8BD5\u4E2D",id:2,total:(Oi=Jn.exercises_counts)==null?void 0:Oi.publish_counts},{name:"\u96C6\u4E2D\u9605\u5377",id:4,total:(Va=Jn.exercises_counts)==null?void 0:Va.appraise_exercise_count},{name:"\u5DF2\u622A\u6B62",id:3,total:(x=Jn.exercises_counts)==null?void 0:x.end_counts}],zo=[{name:"\u6279\u91CF\u53D1\u5E03",icon:$a.createElement("i",{className:"iconfont icon-fabu5"})},{name:"\u6279\u91CF\u7ED3\u675F",icon:$a.createElement("i",{className:"iconfont icon-piliangjiezhi2"})},{name:"\u6279\u91CF\u5220\u9664",icon:$a.createElement("i",{className:"iconfont icon-piliangshanchu2"})},{name:"\u8BBE\u4E3A\u516C\u5F00",icon:$a.createElement("i",{className:"iconfont icon-sheweigongkai2"})},{name:"\u52A0\u5165\u8BD5\u5377\u5E93",icon:$a.createElement("i",{className:"iconfont icon-piliangjiaru font14"})}].filter(er=>(0,we.GJ)()?!0:er.name!=="\u6279\u91CF\u5220\u9664").filter(er=>Vr.is_public?!0:er.name!=="\u8BBE\u4E3A\u516C\u5F00"),vs=()=>We.default.info({title:"\u9898\u5E93\u6539\u7248\u544A\u77E5",content:$a.createElement($a.Fragment,null,"\u5E73\u53F0\u5DF2\u5347\u7EA7\u9898\u5E93\u529F\u80FD\uFF0C\u6240\u6709\u8BD5\u9898\u5747\u9700\u5339\u914D\u77E5\u8BC6\u70B9\u3002 \u5F53\u524D\u8BD5\u5377\u6240\u6D89\u53CA\u8BD5\u9898\u5747\u672A\u5339\u914D\u77E5\u8BC6\u70B9\uFF0C\u65E0\u6CD5\u968F\u673A\u62BD\u53D6\uFF0C\u5DF2\u4E0D\u80FD\u6709\u6548\u4F7F\u7528\u3002\u8BF7\u5728\u8BD5\u5377\u5E93\u91CD\u65B0\u7EC4\u5377\u540E\u4F7F\u7528\u3002 \u7531\u6B64\u5E26\u6765\u7684\u4E0D\u4FBF\uFF0C\u656C\u8BF7\u8C05\u89E3\uFF01")}),xu="YYYY-MM-DD",Eu=ge()("2020-11-15",xu),pu=er=>{var Wi;Rt.sort_by=er.type,Rt.sort_direction=er.direction,(0,we.GJ)()&&Se.cX.setItem(`${(Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.login}Teacher`,er,"Exercise"),Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Zl({},Rt)}),Fi(er.name)},Bu=()=>$a.createElement(xe.default,null,$a.createElement(xe.default.Item,{key:1,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt==null?void 0:Tt.AssistantObject)==null?void 0:er.exercise)!=null&&Wi.can_create)){Ee.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}Yn({type:"exercise/setActionTabs",payload:{key:"\u8BD5\u5377\u9009\u7528",params:Rt}})}},"\u5FEB\u901F\u9009\u62E9\u8BD5\u5377"),$a.createElement(xe.default.Item,{key:2,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt==null?void 0:Tt.AssistantObject)==null?void 0:er.exercise)!=null&&Wi.can_create)){Ee.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}window.scrollTo(0,0),Ce.history.push(`/classrooms/${Rt.coursesId}/exercise/add?catalogue=${(rn==null?void 0:rn.categoryId)||""}`)}},"\u521B\u5EFA\u65B0\u8BD5\u5377"),$a.createElement(xe.default.Item,{key:3,onClick:()=>{var er,Wi;if((0,we.Rm)()&&!((Wi=(er=Tt.AssistantObject)==null?void 0:er.practice)!=null&&Wi.can_create)){Ee.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}Yn({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",type:"exercise"}})}},"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9")),hs=er=>rd(void 0,null,function*(){var Wi,is,Xl,mi,Tl,Oc,ua,Ya;const Ba=er.name;if(((Wi=Ve==null?void 0:Ve.userInfo)==null?void 0:Wi.user_status)===2&&er.name==="\u6279\u91CF\u53D1\u5E03"){(0,ze.Rd)();return}const go=[];if((is=Jn.exercises)==null||is.map(na=>{if(Dn.includes(na.id)&&na.is_random){const Za=ge()(na.created_at,xu);ge()(Eu).diff(ge()(Za),"days")>0&&(na!=null&&na.is_random)&&go.push(na)}}),Dn==""){let na="\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1";Ba==="\u52A0\u5165\u8BD5\u5377\u5E93"&&(na="\u8BF7\u9009\u62E9\u8981\u52A0\u5165\u8BD5\u5377\u5E93\u7684\u8BD5\u5377"),Ee.ZP.error(na)}else if(go.length)vs();else{if(Ba==="\u6279\u91CF\u53D1\u5E03"){if((0,we.Rm)()&&!((mi=(Xl=Tt==null?void 0:Tt.AssistantObject)==null?void 0:Xl.exercise)!=null&&mi.can_publish)){Ee.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}let na=!1;Jn.exercises.forEach(oo=>{Dn.includes(oo.id)&&oo.total_num===0&&oo.is_random&&(na=!0)});let Za;if(Za=(Oc=(Tl=Jn.exercises.filter(oo=>Dn.includes(oo==null?void 0:oo.id)).filter(oo=>(oo==null?void 0:oo.exercise_question_count)===0))==null?void 0:Tl[0])==null?void 0:Oc.exercise_name,(Za==null?void 0:Za.length)>0){Ee.ZP.warning(`${Za}\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5`);return}if(na){Ee.ZP.warning("\u968F\u673A\u8BD5\u5377\u8FD8\u672A\u5728\u8BE5\u8BFE\u5802\u751F\u6210\u8BD5\u5377\uFF0C\u8BF7\u70B9\u51FB\u7F16\u8F91\u53BB\u8BBE\u7F6E\u51FA\u5377\u6570\u91CF\u5427\u3002");return}let gl=!1;if(Jn.exercises.forEach(oo=>{Dn.includes(oo.id)&&oo.exercise_status!==1&&(gl=!0)}),gl){Ee.ZP.warning("\u8BD5\u5377\u5DF2\u53D1\u5E03\u8003\u8BD5\u4E0D\u53EF\u6279\u91CF\u53D1\u5E03\u3002");return}}if(Ba==="\u52A0\u5165\u8BD5\u5377\u5E93"){const na=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:[...Dn]}});if(((ua=na==null?void 0:na.cover_exercises)==null?void 0:ua.length)>0){ba(na==null?void 0:na.cover_exercises);return}}Yn({type:"exercise/setActionTabs",payload:{key:Ba,selectArrs:Dn,selectArrsAll:(Ya=Jn.exercises)==null?void 0:Ya.filter(na=>Dn.includes(na.id)),params:Rt,type:1}})}});return $a.createElement("section",{className:"minH500"},$a.createElement(po.Z,{isLoading:zn["classroomList/getClassroomExercisesList"],tabDataSource:Ra,isAdmin:(0,we.GJ)(),dispatch:Yn,type:Jn==null?void 0:Jn.main_category_name,isExercise:!0,user:Ve,getDropdownMenu:Bu,onTabMenuClick:el,classroomList:Tt,defaultSelectedKeys:[Rt.type||"all"]}),$a.createElement(wl.Z,{dataSource:Jn.exercises||[],isAdmin:(0,we.GJ)(),batchStatus:yn,SortMenuName:kn,setSortMenuName:Fi,SortMenus:ja,onSearch:er=>{Rt.search=er.trim(),Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Zl({},Rt)})},isShowMode:!0,onModeChange:er=>{Rt.is_normal=er,Rt.page=1,Yn({type:"classroomList/getClassroomExercisesList",payload:Zl({},Rt)})},onSort:pu,onBatch:er=>ar(er)}),$a.createElement(fe.Z,{loading:zn["classroomList/getClassroomExercisesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},(E=Jn.exercises_counts)!=null&&E.exercises_all_counts?Jn.exercises.map(function(er,Wi){return $a.createElement(fo,{key:Wi,v:er,k:Wi,batchStatus:yn,selectArrs:Dn,setSelectArrs:hr,dispatch:Yn,params:Rt,user:Ve,manageAllGroup:Jn.manage_all_group})}):$a.createElement(Ne.Z,null),$a.createElement("aside",{className:"tc mb50 mt30"},((ie=Jn.exercises_counts)==null?void 0:ie.exercises_all_counts)>0&&$a.createElement(be.Z,{showTotal:er=>{var Wi;return`\u5171 ${(Wi=Jn==null?void 0:Jn.exercises_counts)==null?void 0:Wi.exercises_all_counts} \u6761`},showSizeChanger:!0,onChange:rl,defaultCurrent:Rt.page,current:Rt.page||1,pageSize:Rt.limit||20,total:Jn.exercises_counts&&Jn.exercises_counts.exercises_all_counts}))),Dn.length>0&&(0,we.GJ)()&&$a.createElement(Fe.Z,{offsetBottom:0},$a.createElement(Ds.Z,{buttonDataSource:zo,onButtonClick:hs,useBatchStatus:ar,setSeleArr:hr,catalogue:((oe=(re=Ei==null?void 0:Ei.course_modules)==null?void 0:re.find(er=>er.type==="exercise"))==null?void 0:oe.second_category)||[],addCatalogue:er=>{er.preventDefault(),Yn({type:"classroomList/setActionTabs",payload:{key:"\u6DFB\u52A0\u76EE\u5F55",params:Rt,selectArrs:{category_id:Jn==null?void 0:Jn.main_category_id,type:"exercise"}}})},allSelect:Dn.length?Dn.length===((je=(pe=Jn.exercises)==null?void 0:pe.filter(er=>!er.is_make_up_exercise))==null?void 0:je.length):!1,setAllSelect:er=>{var Wi;er.target.checked?hr((Wi=Jn==null?void 0:Jn.exercises)==null?void 0:Wi.filter(is=>!is.is_make_up_exercise).map(is=>is.id)):hr([])},selectArrs:Dn,onMenuClick:er=>rd(void 0,[er],function*({key:Wi}){if(Dn=="")return Ee.ZP.error("\u8BF7\u9009\u62E9\u4F60\u8981\u64CD\u4F5C\u7684\u4EFB\u52A1"),null;(yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/move_to_category.json`,{method:"post",body:{exercise_ids:Dn,new_category_id:Wi}})).status===0&&(Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),Yn({type:"classroomList/getClassroomExercisesList",payload:Zl({},rn)}))})})),$a.createElement(hl.Z,null),$a.createElement(kl.Z,null),$a.createElement(Kc,null),$a.createElement(Zu,null),$a.createElement(mu.Z,{onOk:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Zl({},rn)})}}),$a.createElement(xc.Z,{onOk:()=>{}}),$a.createElement(Hc,{cb:()=>hr([])}),$a.createElement(Wc,null),$a.createElement(aa.Z,null),$a.createElement(We.default,{title:$a.createElement("span",null,$a.createElement(Ka.Z,{style:{color:"#faad14",fontSize:"18px"}})," \u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"),open:Nn.length>0,footer:!1,onCancel:()=>{ba([])}},$a.createElement("div",{style:{height:300,overflow:"auto"}},$a.createElement("div",null,"\u6709",Nn==null?void 0:Nn.length,"\u5F20\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Nn==null?void 0:Nn.map(er=>$a.createElement("div",{style:{marginTop:25}},$a.createElement("div",null,"\u8BD5\u5377\uFF1A",er==null?void 0:er.origin_exercise_nam),$a.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",$a.createElement("a",{href:`/paperlibrary/see/${er==null?void 0:er.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},er==null?void 0:er.examination_bank_name))))),$a.createElement("div",{style:{textAlign:"end"}},$a.createElement(He.ZP,{style:{height:30},onClick:()=>rd(void 0,null,function*(){const er=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Dn],update:1}});(er==null?void 0:er.status)===0&&(Ee.ZP.info("\u8986\u76D6\u6210\u529F"),ba([]))})},"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"),$a.createElement(He.ZP,{type:"primary",onClick:()=>rd(void 0,null,function*(){const er=yield(0,ke.ZP)(`/api/courses/${Rt.id}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:[...Dn]}});(er==null?void 0:er.status)===0&&(Ee.ZP.info("\u5F62\u6210\u6210\u529F"),ba([]))}),style:{marginLeft:10,height:30}},"\u5F62\u6210\u65B0\u8BD5\u5377"))),$a.createElement(We.default,{title:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E",open:Wo,centered:!0,onOk:()=>rd(void 0,null,function*(){let er=yield(0,ke.ZP)(`/api/courses/${Rt.coursesId}/update_show_unstart_exercise`,{method:"put",body:{show_unstart_exercise:So,forbid_end_exercise:ho}});(er==null?void 0:er.status)===0&&(Oo(!1),Yn({type:"classroomList/setActionTabs",payload:{key:""}}),Yn({type:"classroomList/getClassroomTopBanner",payload:{id:Rt.coursesId}}),Ee.ZP.info("\u64CD\u4F5C\u6210\u529F"))}),onCancel:()=>{Oo(!1),Yn({type:"classroomList/setActionTabs",payload:{key:""}})}},$a.createElement(rt.default,{checked:So,onChange:er=>{pl(er.target.checked)}},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u5DF2\u53D1\u5E03\u4F46\u672A\u5F00\u59CB\u7684\u8003\u8BD5",$a.createElement("span",{style:{color:"#666666"}},"\uFF08\u8003\u8BD5\u5F00\u59CB\u4E4B\u540E\u5B66\u751F\u624D\u80FD\u4F5C\u7B54\uFF09")),$a.createElement(rt.default,{className:"mt20",checked:ho,onChange:er=>{Vn(er.target.checked)}},"\u7981\u6B62\u5B66\u751F\u67E5\u770B\u5DF2\u622A\u6B62\u7684\u8003\u8BD5")),$a.createElement(Bc.Z,null),$a.createElement($a.Fragment,null,$a.createElement(ta.T$,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{open:""})})},open:((nt=Tt==null?void 0:Tt.actionTabs)==null?void 0:nt.open)==="\u624B\u673A\u53F7\u7ED1\u5B9A"}),$a.createElement(ta.$i,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})},open:((dt=Tt==null?void 0:Tt.actionTabs)==null?void 0:dt.open)==="\u8BD5\u5377\u5C01\u5B58",Data:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})}),$a.createElement(ta.K1,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})},open:((St=Tt==null?void 0:Tt.actionTabs)==null?void 0:St.open)==="\u89E3\u5C01",Data:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})}),$a.createElement(ta.O7,{onCancel:()=>{Yn({type:"classroomList/setActionTabs",payload:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{open:""})})},onFinish:()=>{Yn({type:"classroomList/getClassroomExercisesList",payload:Zl(Zl({},Rt),rn)})},open:((Kt=Tt==null?void 0:Tt.actionTabs)==null?void 0:Kt.open)==="\u63D0\u793A",Data:Vu(Zl({},Tt==null?void 0:Tt.actionTabs),{type:"exercise"})})))};var ud=(0,Ce.connect)(({user:ae,classroomList:qe,loading:Ve,globalSetting:Tt})=>({user:ae,classroomList:qe,globalSetting:Tt,loading:Ve.effects}))(Vd);const uf=({globalSetting:ae})=>{var qe;switch(Number((qe=ae==null?void 0:ae.setting)==null?void 0:qe.theme)){case ee.Fy.THEMEONE:return de.createElement(du,null);case ee.Fy.THEMETHREE:return de.createElement(Ml,null);case ee.Fy.DEFAULT:default:return de.createElement(ud,null)}};var Ud=(0,Ce.connect)(({globalSetting:ae})=>({globalSetting:ae}))(uf)},59731:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return He}});var ee=te(59301),de=te(92832),Ce=te(24905),We=te(95237),xe={leftdiv:"leftdiv___AgbDd",listClass:"listClass___FyD9K",spantitle:"spantitle___U79dv",rightdiv:"rightdiv___F1hgj"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",fe=te(18540),be=(rt,Ae,ge)=>new Promise((we,Se)=>{var Ne=et=>{try{Ye(ge.next(et))}catch(Ke){Se(Ke)}},ke=et=>{try{Ye(ge.throw(et))}catch(Ke){Se(Ke)}},Ye=et=>et.done?we(et.value):Promise.resolve(et.value).then(Ne,ke);Ye((ge=ge.apply(rt,Ae)).next())}),He=({data:rt,value:Ae=[],handleChangePage:ge,setSelectedRowKeys:we,selectedRowKeys:Se,onChange:Ne=()=>{}})=>{const[ke,Ye]=(0,ee.useState)([]),[et,Ke]=(0,ee.useState)([]),[Oe,_e]=(0,ee.useState)([]);let[me,Re]=(0,ee.useState)(1),[Le,Pe]=(0,ee.useState)();return(0,ee.useEffect)(()=>{Ye(rt),Ke([]),_e([])},[rt]),(0,ee.useEffect)(()=>{we&&(Ke(Se),_e(Se))},[Se]),ee.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ee.createElement("div",{className:xe.leftdiv},ee.createElement(de.default.Search,{size:"middle",onChange:De=>be(void 0,null,function*(){Ye(rt.filter(ze=>{var Te;return(Te=ze==null?void 0:ze.name)==null?void 0:Te.includes(De.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ke.length===0&&ee.createElement(fe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),ee.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},ee.createElement(Ce.default.Group,{value:et.map(De=>`${De.course_group_id}`),onChange:De=>{we(ke.filter(ze=>De.includes(`${ze.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ke.map((De,ze)=>ee.createElement(We.Z,{key:De.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},ee.createElement(Ce.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:De.is_published,value:`${De.course_group_id}`},ee.createElement("div",{className:xe.listClass},ee.createElement("span",{className:xe.spantitle,style:{width:De.is_published?"108px":"170px"}},De.name),De.is_published&&ee.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),ee.createElement("div",{className:xe.rightdiv},ee.createElement(de.default.Search,{onChange:De=>{_e(et.filter(ze=>ze.name.includes(De.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Oe.length===0&&ee.createElement(fe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Oe.length>0&&ee.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},ee.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Oe.map((De,ze)=>ee.createElement(We.Z,{justify:"space-between",style:{marginTop:"10px"},key:De.course_group_id},ee.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},De.name),ee.createElement("img",{src:Ee,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{we(et.filter(Te=>`${Te.course_group_name}`!=`${De.course_group_name}`))}})))))))}},50624:function(tn,kt,te){"use strict";var ee=te(59301),de=te(54580),Ce=te(78241),We=te(43418),xe=te(8591),Ee=te(1710),fe=te(91482),be=te(6521),Fe=te(95848),He=te(79769),rt=te(66649),Ae=te.n(rt),ge=te(25544),we=te(59301),Se=Object.defineProperty,Ne=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,et=(Re,Le,Pe)=>Le in Re?Se(Re,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Re[Le]=Pe,Ke=(Re,Le)=>{for(var Pe in Le||(Le={}))ke.call(Le,Pe)&&et(Re,Pe,Le[Pe]);if(Ne)for(var Pe of Ne(Le))Ye.call(Le,Pe)&&et(Re,Pe,Le[Pe]);return Re},Oe=(Re,Le,Pe)=>new Promise((De,ze)=>{var Te=vt=>{try{Ze(Pe.next(vt))}catch(ot){ze(ot)}},xt=vt=>{try{Ze(Pe.throw(vt))}catch(ot){ze(ot)}},Ze=vt=>vt.done?De(vt.value):Promise.resolve(vt.value).then(Te,xt);Ze((Pe=Pe.apply(Re,Le)).next())});const{Dragger:_e}=de.default,me=({classroomList:Re,dispatch:Le,onOk:Pe})=>{const De=(0,fe.useParams)(),[ze]=Ce.default.useForm(),[Te,xt]=(0,ee.useState)(),[Ze,vt]=(0,ee.useState)(!1),ot={height:100,onRemove:()=>{xt("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:mt=>Oe(void 0,null,function*(){return xt(mt),!1})};return(0,ee.useEffect)(()=>{ze.setFieldsValue({publish_time:Ae()(Ae()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ae()(Ae()(new Date((0,ge.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),we.createElement(We.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:Re.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ze},onOk:()=>Oe(void 0,null,function*(){ze.submit()}),onCancel:()=>{ze.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}})}},we.createElement(Ce.default,{form:ze,onFinish:mt=>Oe(void 0,null,function*(){var Lt,It,Qe;if(!(Te!=null&&Te.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}vt(!0);let Me=new FormData;Me.append("type",Re.actionTabs.type),Me.append("file",Te);let st;window.location.href.indexOf("exercise")>-1?st=`/api/exercises/${Re.actionTabs.id}/supplement_score.json`:st=`/api/homework_commons/${Re.actionTabs.id}/supplement_score.json`;let zt=yield(0,He.ZP)(st,{method:"post",body:Me},!0);vt(!1),(zt==null?void 0:zt.status)===0&&(Pe(),ze.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}}),((It=(Lt=zt==null?void 0:zt.data)==null?void 0:Lt.fail)==null?void 0:It.length)>0&&We.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:we.createElement(Ee.default,{pagination:!1,dataSource:(Qe=zt==null?void 0:zt.data)==null?void 0:Qe.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ge.FH)("",be.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Re.actionTabs.type}`)}}))})},we.createElement(Ce.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},Re.actionTabs.name),we.createElement(Ce.default.Item,{style:{marginBottom:0},label:we.createElement("div",null,we.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),we.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},we.createElement("div",null,we.createElement("a",{download:"\u6A21\u7248.xlsx",className:Fe.Z.downloadbutton,href:be.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Re.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),we.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),we.createElement(Ce.default.Item,{style:{marginBottom:0}},we.createElement(_e,Ke({},ot),we.createElement("a",{className:Fe.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),we.createElement("br",null),we.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};kt.Z=(0,fe.connect)(({classroomList:Re})=>({classroomList:Re}))(me)},90976:function(tn,kt,te){"use strict";var ee=te(59301),de=te(54580),Ce=te(78241),We=te(43418),xe=te(8591),Ee=te(1710),fe=te(92832),be=te(95237),Fe=te(43604),He=te(5871),rt=te(5083),Ae=te(91482),ge=te(40973),we=te(6521),Se=te(95848),Ne=te(79769),ke=te(43255),Ye=te(66649),et=te.n(Ye),Ke=te(25544),Oe=te(59301),_e=Object.defineProperty,me=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Pe=(Ze,vt,ot)=>vt in Ze?_e(Ze,vt,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Ze[vt]=ot,De=(Ze,vt)=>{for(var ot in vt||(vt={}))Re.call(vt,ot)&&Pe(Ze,ot,vt[ot]);if(me)for(var ot of me(vt))Le.call(vt,ot)&&Pe(Ze,ot,vt[ot]);return Ze},ze=(Ze,vt,ot)=>new Promise((mt,Lt)=>{var It=st=>{try{Me(ot.next(st))}catch(zt){Lt(zt)}},Qe=st=>{try{Me(ot.throw(st))}catch(zt){Lt(zt)}},Me=st=>st.done?mt(st.value):Promise.resolve(st.value).then(It,Qe);Me((ot=ot.apply(Ze,vt)).next())});const{Dragger:Te}=de.default,xt=({classroomList:Ze,dispatch:vt,onOk:ot})=>{const mt=(0,Ae.useParams)(),[Lt]=Ce.default.useForm(),[It,Qe]=(0,ee.useState)(),[Me,st]=(0,ee.useState)(!1),zt={height:100,onRemove:()=>{Qe("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:ut=>ze(void 0,null,function*(){return Qe(ut),!1})};return(0,ee.useEffect)(()=>{Lt.setFieldsValue({publish_time:et()(et()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:et()(et()(new Date((0,Ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Ze.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),Oe.createElement(We.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Ze.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ze(void 0,null,function*(){Lt.submit()}),onCancel:()=>{Lt.resetFields(),vt({type:"classroomList/setActionTabs",payload:{}})}},Oe.createElement(Ce.default,{form:Lt,colon:!1,onFinish:ut=>ze(void 0,null,function*(){var tt,at,Nt;if(!(It!=null&&It.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}st(!0);let on=new FormData;on.append("name",ut.name),on.append("type",Ze.actionTabs.type),on.append("category_id",(mt==null?void 0:mt.categoryId)||null),Ze.actionTabs.type==="exercise"?(on.append("time",ut.time||""),on.append("total_score",ut.total_score)):on.append("description",ut.description||""),on.append("publish_time",et()(ut.publish_time).format("YYYY-MM-DD HH:mm")),on.append("end_time",et()(ut.end_time).format("YYYY-MM-DD HH:mm")),on.append("file",It);let Ht=yield(0,Ne.ZP)(`/api/courses/${mt.coursesId}/export_external_score_homework.json`,{method:"post",body:on},!0);st(!1),(Ht==null?void 0:Ht.status)===0&&(Lt.resetFields(),vt({type:"classroomList/setActionTabs",payload:{}}),ot(),((at=(tt=Ht==null?void 0:Ht.data)==null?void 0:tt.fail)==null?void 0:at.length)>0&&We.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:Oe.createElement(Ee.default,{pagination:!1,dataSource:(Nt=Ht==null?void 0:Ht.data)==null?void 0:Nt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ke.FH)("",we.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Ze.actionTabs.type}`)}}))})},Oe.createElement(Ce.default.Item,{label:Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},Oe.createElement(fe.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Ze.actionTabs.type!=="exercise"&&Oe.createElement(Ce.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},Oe.createElement(ge.Z,{watch:!0})),Ze.actionTabs.type==="exercise"&&Oe.createElement(be.Z,{style:{marginLeft:6}},Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},Oe.createElement(fe.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},Oe.createElement(He.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),Oe.createElement(be.Z,{style:{marginLeft:6,marginBottom:12}},Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},Oe.createElement(rt.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:ut=>(0,ke.Q8)(ut),disabledTime:ut=>(0,ke.d0)(ut),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},Oe.createElement(rt.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:ut=>(0,ke.Q8)(ut,"",Lt.getFieldValue("publish_time")),disabledTime:ut=>(0,ke.d0)(ut,Lt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),Oe.createElement(Ce.default.Item,{style:{marginBottom:0},label:Oe.createElement("div",null,Oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),Oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},Oe.createElement("div",null,Oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:Se.Z.downloadbutton,href:we.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Ze.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),Oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),Oe.createElement(Ce.default.Item,{style:{marginBottom:0}},Oe.createElement(Te,De({},zt),Oe.createElement("a",{className:Se.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),Oe.createElement("br",null),Oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};kt.Z=(0,Ae.connect)(({classroomList:Ze})=>({classroomList:Ze}))(xt)},43112:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return rt}});var ee=te(59301),de=te(20834),Ce=te(92832),We=te(24905),xe=te(3113),Ee=te(38854),fe={bottomControlContainer:"bottomControlContainer___Zu9jI",buttonWrap:"buttonWrap___aWo9e",moveCategory:"moveCategory____Cpq2"},be=te(7544),Fe=te(84105),rt=({buttonDataSource:Ae,onButtonClick:ge,useBatchStatus:we,allSelect:Se,setAllSelect:Ne,selectArrs:ke,onMenuClick:Ye,setSeleArr:et,catalogue:Ke,addCatalogue:Oe})=>{const[_e,me]=(0,ee.useState)(!1),[Re,Le]=(0,ee.useState)("");console.log("---",Ke);const Pe=ee.createElement("div",{className:fe.moveCategory,onMouseLeave:De=>me(!1)},ee.createElement(de.default,{onClick:Ye,style:{maxHeight:300,width:240,overflow:"auto"}},ee.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},ee.createElement(Ce.default,{onChange:De=>{Le(De.target.value)}})),Ke==null?void 0:Ke.map(function(De,ze){var Te;if(!(Re!==""&&De.category_name.indexOf(Re)<0))return ee.createElement(ee.Fragment,null,ee.createElement(de.default.Item,{className:"multi-llipsis1e",key:De.category_id,title:De.category_name},De.category_name),(Te=De==null?void 0:De.third_category)==null?void 0:Te.map(xt=>ee.createElement(de.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:xt.category_id,title:xt.category_name},xt.category_name)))}),Oe&&ee.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:Oe},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return ee.createElement("div",{className:fe.bottomControlContainer},ee.createElement("div",null,ee.createElement("div",null,ee.createElement(We.default,{checked:Se,onChange:Ne},"\u5168\u9009\u672C\u9875\uFF08",ke.length,"\uFF09")),(0,be.GJ)()&&Ae.map(De=>ee.createElement("div",{key:De.name},ee.createElement(xe.ZP,{type:"primary",icon:De.icon,className:fe.buttonWrap,onClick:()=>ge(De)},De.name))),(0,be.GJ)()&&(Oe||Ke)&&ee.createElement("div",null,ee.createElement(Ee.Z,{open:_e,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>Pe,getPopupContainer:De=>De.parentNode},ee.createElement("span",{className:"ant-dropdown-link",onMouseEnter:De=>me(!0)},ee.createElement(xe.ZP,{type:"primary",className:fe.buttonWrap,icon:ee.createElement("i",{className:"iconfont icon-yidongmulu"})},ee.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",ee.createElement(Fe.Z,null))))))),ee.createElement("div",null,ee.createElement(xe.ZP,{type:"primary",ghost:!0,onClick:()=>{we(!1),et([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},63317:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ye}});var ee=te(59301),de=te(20834),Ce=te(24905),We=te(3113),xe=te(38854),Ee=te(6848),fe=te(57809),be=te(92832),Fe={searchSortControllerContainer:"searchSortControllerContainer___hHmtL",btn:"btn___IGcjw",btnSort:"btnSort___TjGZj",tips:"tips____YGut"},He=te(7544),rt=te(87395),Ae=te(84105),ge=te(26724),we=te.n(ge),Se=te(91482),Ne=(et,Ke,Oe)=>new Promise((_e,me)=>{var Re=De=>{try{Pe(Oe.next(De))}catch(ze){me(ze)}},Le=De=>{try{Pe(Oe.throw(De))}catch(ze){me(ze)}},Pe=De=>De.done?_e(De.value):Promise.resolve(De.value).then(Re,Le);Pe((Oe=Oe.apply(et,Ke)).next())}),Ye=({isAdmin:et,dataSource:Ke,batchStatus:Oe,SortMenuName:_e,setSortMenuName:me,detailCourseGroupsList:Re,onSearch:Le,onBoard:Pe,onSort:De,isboard:ze,dispatch:Te,onBatch:xt,SortMenus:Ze,isShowMode:vt=!1,onModeChange:ot})=>{const[mt,Lt]=(0,ee.useState)(!1),[It,Qe]=(0,ee.useState)([]),[Me,st]=(0,ee.useState)(!0);let[zt,ut]=(0,ee.useState)([]);const[tt,at]=(0,ee.useState)(1),[Nt,on]=(0,ee.useState)(!1),Ht=(0,Se.useParams)(),Fn=Ie=>{me(Ie.name),De(Ie)};(0,ee.useEffect)(()=>{ze&&Qt()},[ze]);const Qt=()=>Ne(void 0,null,function*(){var Ie;if(Me&&!Nt){on(!0),at(tt+1);const he=yield Te({type:"classroomList/getCourseGroupsList",payload:{page:tt,id:Ht.coursesId,limit:20,nonenavigate:!0}});let ue=[...(he==null?void 0:he.course_groups)||[]];((Ie=he==null?void 0:he.course_groups)==null?void 0:Ie.length)<20&&(st(!1),ue.push({id:0,name:"\u672A\u5206\u73ED"})),on(!1),ut([...zt,...ue])}}),Ut=ee.createElement("section",{className:Fe.dropmenu},ee.createElement("div",{style:{maxHeight:200,overflow:"auto"}},ee.createElement(we(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Ie=>{Qt()},hasMore:Me,useWindow:!1},ee.createElement(de.default,{style:{width:240,zIndex:10}},(Re==null?void 0:Re.group_count)>0&&(zt==null?void 0:zt.filter(Ie=>Ie.edit_auth||Ie.name==="\u672A\u5206\u73ED").map(function(Ie,he){return ee.createElement(de.default.Item,{key:Ie.id},ee.createElement(Ce.default,{checked:It.includes(Ie.id),value:Ie.id,onChange:ue=>{let ve=It.indexOf(Ie.id);It.indexOf(Ie.id)>-1?Qe(It.filter(ye=>ye!==Ie.id)):Qe(It.concat(Ie.id))}},Ie.name))}))))),ee.createElement("aside",{style:{background:"#fff"}},ee.createElement("div",null,ee.createElement(We.ZP,{type:"link",onClick:()=>{Pe(It)}},"\u786E\u5B9A"),ee.createElement(We.ZP,{type:"link",onClick:()=>{Qe([])}},"\u91CD\u7F6E")))),Wt=_e==="\u9ED8\u8BA4\u6392\u5E8F";return ee.createElement("div",{className:Fe.searchSortControllerContainer},!!(Ze!=null&&Ze.length)&&ee.createElement("div",null,ee.createElement(xe.Z,{dropdownRender:()=>ee.createElement(de.default,{selectedKeys:[_e]},Ze.map(Ie=>ee.createElement(de.default.Item,{key:Ie.name,onClick:()=>Fn(Ie)},Ie.name)))},ee.createElement("div",null,ee.createElement("span",{className:`${Fe.btn} ${Wt?Fe.btnSort:""}`},ee.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),_e)))),Wt&&ee.createElement(Ee.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},ee.createElement("span",{className:Fe.tips},ee.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),vt&&ee.createElement(fe.default,{defaultValue:"",onChange:ot,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),ee.createElement(be.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onSearch:Le,style:{width:220,marginLeft:vt?"":"auto"}}),(0,He.eB)()&&ze&&ee.createElement(xe.Z,{dropdownRender:()=>Ut,open:mt,onOpenChange:Ie=>{Lt(Ie)}},ee.createElement("a",null,"\u5206\u73ED",mt?ee.createElement(rt.Z,{style:{marginLeft:6}}):ee.createElement(Ae.Z,{style:{marginLeft:6}}))))}},49617:function(tn,kt,te){"use strict";var ee=te(59301),de=te(38854),Ce=te(8591),We=te(6848),xe=te(91482),Ee=te(7544),fe=te(23579),be=te(29715);const Fe=({isLoading:He,addText:rt,tabDataSource:Ae,isAdmin:ge,dispatch:we,classroomList:Se,type:Ne,isExercise:ke,defaultSelectedKeys:Ye,onTabMenuClick:et,getDropdownMenu:Ke,showControlButton:Oe,buttonText:_e,buttonIcon:me="icon-tianjiadaohang",extraNode:Re,user:Le,onButtonClick:Pe,isModelUser:De})=>{var ze,Te,xt,Ze,vt;const ot=(0,xe.useParams)();return ee.createElement("div",{className:"flex item-center gap-20px",style:{background:"linear-gradient( 180deg, #E0F1FF 0%, #EFF7FF 100%)",border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0"}},ee.createElement("div",{className:"flex gap-4px mr-auto"},Ae==null?void 0:Ae.map((mt,Lt)=>ee.createElement("div",{key:Lt,className:`text-16px flex item-center justify-center current ${Ye==(typeof mt.index=="number"?mt.index:mt.id)?"bg-white font-semibold":"c-grey-333"}`,style:{width:120,height:40,border:"1px solid #FFFFFF",borderRadius:"8px 8px 0 0",color:Ye==(typeof mt.index=="number"?mt.index:mt.id)?"#1890FF":""},onClick:()=>He?{}:et(mt)},mt==null?void 0:mt.name,mt.total!==void 0&&ge&&ee.createElement("span",{className:"ml-4px"},mt.total||0)))),ge&&ee.createElement("div",{className:"flex item-center gap-20px mr-20px"},ke&&ee.createElement("span",{className:"iconfont icon-shezhi8 flex item-center current",onClick:()=>{we({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),ke&&ee.createElement(de.Z,{arrow:!0,menu:{items:[{key:"1",label:"\u5B66\u751F\u6210\u7EE9"},{key:"3",label:"\u5386\u53F2\u5BFC\u51FA"}],onClick:({key:mt})=>{var Lt;if((0,Ee.Rm)()&&!((Lt=Se.AssistantObject.exercise)!=null&&Lt.can_download)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}mt=="1"&&we({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:Ne,exportType:"exercise",category_id:ot.categoryId}}),mt=="3"&&xe.history.push(`/classrooms/${ot==null?void 0:ot.coursesId}/exportlist/exercise_score,export_exercise_users`)}}},ee.createElement("span",{className:"iconfont icon-xiazai6 current c-grey-666"})),!!Re&&ee.createElement("div",null,Re),Oe&&(_e=="\u6DFB\u52A0\u76F4\u64AD"?ee.createElement(de.Z,{menu:{items:(Te=(ze=[{label:ee.createElement("div",{onClick:()=>{Pe("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},{label:ee.createElement("div",{onClick:()=>{Pe("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:De}])==null?void 0:ze.filter(mt=>mt==null?void 0:mt.show))==null?void 0:Te.map(mt=>({label:mt==null?void 0:mt.label,key:mt==null?void 0:mt.key}))}},ee.createElement(fe.op,{theme:be.Fy.THEMEONE,icon:ee.createElement("span",{className:`iconfont ${me}`})},_e)):ee.createElement(fe.op,{theme:be.Fy.THEMEONE,onClick:Pe,icon:ee.createElement("span",{className:`iconfont ${me}`})},_e)),!!Ke&&ee.createElement(de.Z,{disabled:((xt=Le==null?void 0:Le.userInfo)==null?void 0:xt.user_status)===2,dropdownRender:Ke},ee.createElement(We.Z,{title:((Ze=Le==null?void 0:Le.userInfo)==null?void 0:Ze.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},ee.createElement(fe.op,{theme:be.Fy.THEMEONE,onClick:Pe,disabled:((vt=Le==null?void 0:Le.userInfo)==null?void 0:vt.user_status)===2,icon:ee.createElement("span",{className:"iconfont icon-tianjiadaohang"})},rt||"\u521B\u5EFA\u8BD5\u5377")))))};kt.Z=Fe},81902:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return He}});var ee=te(59301),de=te(92832),Ce=te(24905),We=te(95237),xe={leftdiv:"leftdiv___DGMku",listClass:"listClass___RzeHz",spantitle:"spantitle___Aarv3",rightdiv:"rightdiv___I2lKV"},Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",fe=te(18540),be=(rt,Ae,ge)=>new Promise((we,Se)=>{var Ne=et=>{try{Ye(ge.next(et))}catch(Ke){Se(Ke)}},ke=et=>{try{Ye(ge.throw(et))}catch(Ke){Se(Ke)}},Ye=et=>et.done?we(et.value):Promise.resolve(et.value).then(Ne,ke);Ye((ge=ge.apply(rt,Ae)).next())}),He=({data:rt,value:Ae=[],handleChangePage:ge,setSelectedRowKeys:we,selectedRowKeys:Se,onChange:Ne=()=>{}})=>{const[ke,Ye]=(0,ee.useState)([]),[et,Ke]=(0,ee.useState)([]),[Oe,_e]=(0,ee.useState)([]);let[me,Re]=(0,ee.useState)(1),[Le,Pe]=(0,ee.useState)();return(0,ee.useEffect)(()=>{Ye(rt),Ke([]),_e([])},[rt]),(0,ee.useEffect)(()=>{we&&(Ke(Se),_e(Se))},[Se]),ee.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},ee.createElement("div",{className:xe.leftdiv},ee.createElement(de.default.Search,{size:"middle",onChange:De=>be(void 0,null,function*(){Ye(rt.filter(ze=>{var Te;return(Te=ze==null?void 0:ze.name)==null?void 0:Te.includes(De.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),ke.length===0&&ee.createElement(fe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u65E0\u5206\u73ED"}),ee.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},ee.createElement(Ce.default.Group,{value:et.map(De=>`${De.course_group_id}`),onChange:De=>{we(ke.filter(ze=>De.includes(`${ze.course_group_id}`)))},style:{marginTop:"10px",flexDirection:"column"}},ke.map((De,ze)=>ee.createElement(We.Z,{key:De.course_group_id,style:{marginTop:"10px",lineHeight:"24px",display:"flex",width:200}},ee.createElement(Ce.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:De.is_published,value:`${De.course_group_id}`},ee.createElement("div",{className:xe.listClass},ee.createElement("span",{className:xe.spantitle,style:{width:De.is_published?"108px":"170px"}},De.name),De.is_published&&ee.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),ee.createElement("div",{className:xe.rightdiv},ee.createElement(de.default.Search,{onChange:De=>{_e(et.filter(ze=>ze.name.includes(De.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Oe.length===0&&ee.createElement(fe.Z,{styles:{margin:"70px auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Oe.length>0&&ee.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},ee.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Oe.map((De,ze)=>ee.createElement(We.Z,{justify:"space-between",style:{marginTop:"10px"},key:De.course_group_id},ee.createElement("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:"5px",marginLeft:"5px",width:"75%"}},De.name),ee.createElement("img",{src:Ee,style:{cursor:"pointer",height:"16px",marginRight:17},onClick:()=>{we(et.filter(Te=>`${Te.course_group_name}`!=`${De.course_group_name}`))}})))))))}},20421:function(tn,kt,te){"use strict";var ee=te(59301),de=te(54580),Ce=te(78241),We=te(43418),xe=te(8591),Ee=te(1710),fe=te(91482),be=te(6521),Fe=te(28933),He=te(79769),rt=te(66649),Ae=te.n(rt),ge=te(25544),we=te(59301),Se=Object.defineProperty,Ne=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,et=(Re,Le,Pe)=>Le in Re?Se(Re,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Re[Le]=Pe,Ke=(Re,Le)=>{for(var Pe in Le||(Le={}))ke.call(Le,Pe)&&et(Re,Pe,Le[Pe]);if(Ne)for(var Pe of Ne(Le))Ye.call(Le,Pe)&&et(Re,Pe,Le[Pe]);return Re},Oe=(Re,Le,Pe)=>new Promise((De,ze)=>{var Te=vt=>{try{Ze(Pe.next(vt))}catch(ot){ze(ot)}},xt=vt=>{try{Ze(Pe.throw(vt))}catch(ot){ze(ot)}},Ze=vt=>vt.done?De(vt.value):Promise.resolve(vt.value).then(Te,xt);Ze((Pe=Pe.apply(Re,Le)).next())});const{Dragger:_e}=de.default,me=({classroomList:Re,dispatch:Le,onOk:Pe})=>{const De=(0,fe.useParams)(),[ze]=Ce.default.useForm(),[Te,xt]=(0,ee.useState)(),[Ze,vt]=(0,ee.useState)(!1),ot={height:100,onRemove:()=>{xt("")},accept:".xls,.xlsx",multiple:!1,maxCount:1,beforeUpload:mt=>Oe(void 0,null,function*(){return xt(mt),!1})};return(0,ee.useEffect)(()=>{ze.setFieldsValue({publish_time:Ae()(Ae()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:Ae()(Ae()(new Date((0,ge.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[]),we.createElement(We.default,{centered:!0,title:"\u8865\u5145\u6210\u7EE9",open:Re.actionTabs.key==="\u8865\u5145\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Ze},onOk:()=>Oe(void 0,null,function*(){ze.submit()}),onCancel:()=>{ze.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}})}},we.createElement(Ce.default,{form:ze,onFinish:mt=>Oe(void 0,null,function*(){var Lt,It,Qe;if(!(Te!=null&&Te.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}vt(!0);let Me=new FormData;Me.append("type",Re.actionTabs.type),Me.append("file",Te);let st;window.location.href.indexOf("exercise")>-1?st=`/api/exercises/${Re.actionTabs.id}/supplement_score.json`:st=`/api/homework_commons/${Re.actionTabs.id}/supplement_score.json`;let zt=yield(0,He.ZP)(st,{method:"post",body:Me},!0);vt(!1),(zt==null?void 0:zt.status)===0&&(Pe(),ze.resetFields(),Le({type:"classroomList/setActionTabs",payload:{}}),((It=(Lt=zt==null?void 0:zt.data)==null?void 0:Lt.fail)==null?void 0:It.length)>0&&We.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:we.createElement(Ee.default,{pagination:!1,dataSource:(Qe=zt==null?void 0:zt.data)==null?void 0:Qe.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ge.FH)("",be.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Re.actionTabs.type}`)}}))})},we.createElement(Ce.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",labelCol:{span:3},name:"name"},Re.actionTabs.name),we.createElement(Ce.default.Item,{style:{marginBottom:0},label:we.createElement("div",null,we.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),we.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},we.createElement("div",null,we.createElement("a",{download:"\u6A21\u7248.xlsx",className:Fe.Z.downloadbutton,href:be.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Re.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),we.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),we.createElement(Ce.default.Item,{style:{marginBottom:0}},we.createElement(_e,Ke({},ot),we.createElement("a",{className:Fe.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),we.createElement("br",null),we.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};kt.Z=(0,fe.connect)(({classroomList:Re})=>({classroomList:Re}))(me)},74229:function(tn,kt,te){"use strict";var ee=te(59301),de=te(54580),Ce=te(78241),We=te(43418),xe=te(8591),Ee=te(1710),fe=te(92832),be=te(95237),Fe=te(43604),He=te(5871),rt=te(5083),Ae=te(91482),ge=te(40973),we=te(6521),Se=te(28933),Ne=te(79769),ke=te(43255),Ye=te(66649),et=te.n(Ye),Ke=te(25544),Oe=te(59301),_e=Object.defineProperty,me=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Pe=(Ze,vt,ot)=>vt in Ze?_e(Ze,vt,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Ze[vt]=ot,De=(Ze,vt)=>{for(var ot in vt||(vt={}))Re.call(vt,ot)&&Pe(Ze,ot,vt[ot]);if(me)for(var ot of me(vt))Le.call(vt,ot)&&Pe(Ze,ot,vt[ot]);return Ze},ze=(Ze,vt,ot)=>new Promise((mt,Lt)=>{var It=st=>{try{Me(ot.next(st))}catch(zt){Lt(zt)}},Qe=st=>{try{Me(ot.throw(st))}catch(zt){Lt(zt)}},Me=st=>st.done?mt(st.value):Promise.resolve(st.value).then(It,Qe);Me((ot=ot.apply(Ze,vt)).next())});const{Dragger:Te}=de.default,xt=({classroomList:Ze,dispatch:vt,onOk:ot})=>{const mt=(0,Ae.useParams)(),[Lt]=Ce.default.useForm(),[It,Qe]=(0,ee.useState)(),[Me,st]=(0,ee.useState)(!1),zt={height:100,onRemove:()=>{Qe("")},accept:".xls,.xlsx",maxCount:1,multiple:!1,beforeUpload:ut=>ze(void 0,null,function*(){return Qe(ut),!1})};return(0,ee.useEffect)(()=>{Lt.setFieldsValue({publish_time:et()(et()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:et()(et()(new Date((0,Ke.qd)("/"))).add(7,"days").format("YYYY-MM-DD HH:mm"))})},[Ze.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9"]),Oe.createElement(We.default,{centered:!0,title:"\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",open:Ze.actionTabs.key==="\u5BFC\u5165\u5916\u90E8\u6210\u7EE9",okText:"\u786E\u5B9A",width:750,destroyOnClose:!0,cancelText:"\u53D6\u6D88",okButtonProps:{loading:Me},onOk:()=>ze(void 0,null,function*(){Lt.submit()}),onCancel:()=>{Lt.resetFields(),vt({type:"classroomList/setActionTabs",payload:{}})}},Oe.createElement(Ce.default,{form:Lt,colon:!1,onFinish:ut=>ze(void 0,null,function*(){var tt,at,Nt;if(!(It!=null&&It.size)){xe.ZP.info("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}st(!0);let on=new FormData;on.append("name",ut.name),on.append("type",Ze.actionTabs.type),on.append("category_id",(mt==null?void 0:mt.categoryId)||null),Ze.actionTabs.type==="exercise"?(on.append("time",ut.time||""),on.append("total_score",ut.total_score)):on.append("description",ut.description||""),on.append("publish_time",et()(ut.publish_time).format("YYYY-MM-DD HH:mm")),on.append("end_time",et()(ut.end_time).format("YYYY-MM-DD HH:mm")),on.append("file",It);let Ht=yield(0,Ne.ZP)(`/api/courses/${mt.coursesId}/export_external_score_homework.json`,{method:"post",body:on},!0);st(!1),(Ht==null?void 0:Ht.status)===0&&(Lt.resetFields(),vt({type:"classroomList/setActionTabs",payload:{}}),ot(),((at=(tt=Ht==null?void 0:Ht.data)==null?void 0:tt.fail)==null?void 0:at.length)>0&&We.default.confirm({title:"\u5BFC\u5165\u5931\u8D25",closable:!0,icon:null,width:610,content:Oe.createElement(Ee.default,{pagination:!1,dataSource:(Nt=Ht==null?void 0:Ht.data)==null?void 0:Nt.fail,scroll:{y:400},columns:[{title:"\u59D3\u540D",align:"left",dataIndex:"name"},{title:"\u5B66\u53F7/\u624B\u673A\u53F7/\u90AE\u7BB1",align:"left",dataIndex:"student_id"},{title:"\u5BFC\u5165\u5931\u8D25\u539F\u56E0",align:"left",dataIndex:"message"}]}),okText:"\u4E0B\u8F7D\u5BFC\u5165\u5931\u8D25\u6587\u4EF6",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ke.FH)("",we.Z.API_SERVER+`/api/courses/get_external_score_fail_data.xlsx?type=${Ze.actionTabs.type}`)}}))})},Oe.createElement(Ce.default.Item,{label:Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377\u540D\u79F0",labelCol:{span:3},name:"name",rules:[{required:!0,message:`\u8BF7\u8F93\u5165${Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`}]},Oe.createElement(fe.default,{showCount:!0,placeholder:`\u8BF7\u8F93\u5165${Ze.actionTabs.type!=="exercise"?"\u4F5C\u4E1A":"\u8BD5\u5377"}\u540D\u79F0`,maxLength:60})),Ze.actionTabs.type!=="exercise"&&Oe.createElement(Ce.default.Item,{label:"\u4F5C\u4E1A\u63CF\u8FF0",labelCol:{span:3},name:"description"},Oe.createElement(ge.Z,{watch:!0})),Ze.actionTabs.type==="exercise"&&Oe.createElement(be.Z,{style:{marginLeft:6}},Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u8BD5\u5377\u603B\u5206",name:"total_score",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u603B\u5206"},{pattern:/^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9]\d*)$/,message:"\u8BD5\u5377\u603B\u5206\u5FC5\u987B\u4E3A\u6B63\u6570"}]},Oe.createElement(fe.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u603B\u5206",style:{width:256},addonAfter:"\u5206"}))),Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u7B54\u9898\u65F6\u957F",labelCol:{span:6},name:"time"},Oe.createElement(He.Z,{style:{width:"100%"},addonAfter:"\u5206\u949F",placeholder:"\u8BF7\u8F93\u5165\u7B54\u9898\u65F6\u957F"})))),Oe.createElement(be.Z,{style:{marginLeft:6,marginBottom:12}},Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"publish_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}]},Oe.createElement(rt.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:256},disabledDate:ut=>(0,ke.Q8)(ut),disabledTime:ut=>(0,ke.d0)(ut),allowClear:!1,format:"YYYY-MM-DD HH:mm"}))),Oe.createElement(Fe.Z,{span:12},Oe.createElement(Ce.default.Item,{label:"\u7ED3\u675F\u65F6\u95F4",labelCol:{span:6},name:"end_time",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"}]},Oe.createElement(rt.default,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},style:{width:"100%"},disabledDate:ut=>(0,ke.Q8)(ut,"",Lt.getFieldValue("publish_time")),disabledTime:ut=>(0,ke.d0)(ut,Lt.getFieldValue("publish_time")),allowClear:!1,format:"YYYY-MM-DD HH:mm"})))),Oe.createElement(Ce.default.Item,{style:{marginBottom:0},label:Oe.createElement("div",null,Oe.createElement("span",{style:{color:"#ff4d4f",marginRight:5,fontFamily:"SimSun,sans-serif"}},"*"),Oe.createElement("span",null,"\u5BFC\u5165\u6587\u4EF6")),labelCol:{span:3},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"}]},Oe.createElement("div",null,Oe.createElement("a",{download:"\u6A21\u7248.xlsx",className:Se.Z.downloadbutton,href:we.Z.API_SERVER+`/api/courses/down_external_score_template.json?type=${Ze.actionTabs.type}`},"\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"),Oe.createElement("span",{style:{marginLeft:10,color:"#999999"}},"\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09")),Oe.createElement(Ce.default.Item,{style:{marginBottom:0}},Oe.createElement(Te,De({},zt),Oe.createElement("a",{className:Se.Z.downloadbutton,style:{width:96}},"\u9009\u62E9\u6587\u4EF6"),Oe.createElement("br",null),Oe.createElement("span",{style:{color:"#999999"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3002\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"))))))};kt.Z=(0,Ae.connect)(({classroomList:Ze})=>({classroomList:Ze}))(xt)},72021:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return rt}});var ee=te(59301),de=te(20834),Ce=te(92832),We=te(24905),xe=te(3113),Ee=te(38854),fe={bottomControlContainer:"bottomControlContainer___EZTEn",buttonWrap:"buttonWrap___pSVAA",moveCategory:"moveCategory___yJ9_E"},be=te(7544),Fe=te(84105),rt=({buttonDataSource:Ae,onButtonClick:ge,useBatchStatus:we,allSelect:Se,setAllSelect:Ne,selectArrs:ke,onMenuClick:Ye,setSeleArr:et,catalogue:Ke,addCatalogue:Oe})=>{const[_e,me]=(0,ee.useState)(!1),[Re,Le]=(0,ee.useState)("");console.log("---",Ke);const Pe=ee.createElement("div",{className:fe.moveCategory,onMouseLeave:De=>me(!1)},ee.createElement(de.default,{onClick:Ye,style:{maxHeight:300,width:240,overflow:"auto"}},ee.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child"},ee.createElement(Ce.default,{onChange:De=>{Le(De.target.value)}})),Ke==null?void 0:Ke.map(function(De,ze){var Te;if(!(Re!==""&&De.category_name.indexOf(Re)<0))return ee.createElement(ee.Fragment,null,ee.createElement(de.default.Item,{className:"multi-llipsis1e",key:De.category_id,title:De.category_name},De.category_name),(Te=De==null?void 0:De.third_category)==null?void 0:Te.map(xt=>ee.createElement(de.default.Item,{style:{marginLeft:20},className:"multi-llipsis1e",key:xt.category_id,title:xt.category_name},xt.category_name)))}),Oe&&ee.createElement("li",{className:"ant-menu-item multi-llipsis1e ant-menu-item-only-child",onClick:Oe},"\u65B0\u5EFA\u5B50\u76EE\u5F55...")));return ee.createElement("div",{className:fe.bottomControlContainer},ee.createElement("div",null,ee.createElement("div",null,ee.createElement(We.default,{checked:Se,onChange:Ne},"\u5168\u9009\u672C\u9875\uFF08",ke.length,"\uFF09")),(0,be.GJ)()&&Ae.map(De=>ee.createElement("div",{key:De.name},ee.createElement(xe.ZP,{type:"primary",icon:De.icon,className:fe.buttonWrap,onClick:()=>ge(De)},De.name))),(0,be.GJ)()&&(Oe||Ke)&&ee.createElement("div",null,ee.createElement(Ee.Z,{open:_e,placement:"topLeft",autoAdjustOverflow:!1,dropdownRender:()=>Pe,getPopupContainer:De=>De.parentNode},ee.createElement("span",{className:"ant-dropdown-link",onMouseEnter:De=>me(!0)},ee.createElement(xe.ZP,{type:"primary",className:fe.buttonWrap,icon:ee.createElement("i",{className:"iconfont icon-yidongmulu"})},ee.createElement("span",null,"\u79FB\u52A8\u5230\u76EE\u5F55 ",ee.createElement(Fe.Z,null))))))),ee.createElement("div",null,ee.createElement(xe.ZP,{type:"primary",ghost:!0,onClick:()=>{we(!1),et([])}},"\u53D6\u6D88\u64CD\u4F5C")))}},88105:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return et}});var ee=te(59301),de=te(20834),Ce=te(24905),We=te(3113),xe=te(38854),Ee=te(6848),fe=te(57809),be={searchSortControllerContainer:"searchSortControllerContainer___Q_iVd",btn:"btn___w0a07",btnSort:"btnSort___PZj0I",tips:"tips___WmKpN",myInput:"myInput___I2NgX"},Fe=te(7544),He=te(87395),rt=te(84105),Ae=te(26724),ge=te.n(Ae),we=te(91482),Se=te(23579),Ne=te(17661),ke=(Ke,Oe,_e)=>new Promise((me,Re)=>{var Le=ze=>{try{De(_e.next(ze))}catch(Te){Re(Te)}},Pe=ze=>{try{De(_e.throw(ze))}catch(Te){Re(Te)}},De=ze=>ze.done?me(ze.value):Promise.resolve(ze.value).then(Le,Pe);De((_e=_e.apply(Ke,Oe)).next())}),et=({isAdmin:Ke,dataSource:Oe,batchStatus:_e,SortMenuName:me,setSortMenuName:Re,detailCourseGroupsList:Le,onSearch:Pe,onBoard:De,onSort:ze,isboard:Te,dispatch:xt,onBatch:Ze,SortMenus:vt,isShowMode:ot=!1,onModeChange:mt})=>{const[Lt,It]=(0,ee.useState)(!1),[Qe,Me]=(0,ee.useState)([]),[st,zt]=(0,ee.useState)(!0);let[ut,tt]=(0,ee.useState)([]);const[at,Nt]=(0,ee.useState)(1),[on,Ht]=(0,ee.useState)(!1),Fn=(0,we.useParams)(),Qt=he=>{Re(he.name),ze(he)};(0,ee.useEffect)(()=>{Te&&Ut()},[Te]);const Ut=()=>ke(void 0,null,function*(){var he;if(st&&!on){Ht(!0),Nt(at+1);const ue=yield xt({type:"classroomList/getCourseGroupsList",payload:{page:at,id:Fn.coursesId,limit:20,nonenavigate:!0}});let ve=[...(ue==null?void 0:ue.course_groups)||[]];((he=ue==null?void 0:ue.course_groups)==null?void 0:he.length)<20&&(zt(!1),ve.push({id:0,name:"\u672A\u5206\u73ED"})),Ht(!1),tt([...ut,...ve])}}),Wt=ee.createElement("section",{className:be.dropmenu},ee.createElement("div",{style:{maxHeight:200,overflow:"auto"}},ee.createElement(ge(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:he=>{Ut()},hasMore:st,useWindow:!1},ee.createElement(de.default,{style:{width:240,zIndex:10}},(Le==null?void 0:Le.group_count)>0&&(ut==null?void 0:ut.filter(he=>he.edit_auth||he.name==="\u672A\u5206\u73ED").map(function(he,ue){return ee.createElement(de.default.Item,{key:he.id},ee.createElement(Ce.default,{checked:Qe.includes(he.id),value:he.id,onChange:ve=>{let ye=Qe.indexOf(he.id);Qe.indexOf(he.id)>-1?Me(Qe.filter(se=>se!==he.id)):Me(Qe.concat(he.id))}},he.name))}))))),ee.createElement("aside",{style:{background:"#fff"}},ee.createElement("div",null,ee.createElement(We.ZP,{type:"link",onClick:()=>{De(Qe)}},"\u786E\u5B9A"),ee.createElement(We.ZP,{type:"link",onClick:()=>{Me([])}},"\u91CD\u7F6E")))),Ie=me==="\u9ED8\u8BA4\u6392\u5E8F";return ee.createElement("div",{className:be.searchSortControllerContainer},!!(vt!=null&&vt.length)&&ee.createElement("div",null,ee.createElement(xe.Z,{dropdownRender:()=>ee.createElement(de.default,{selectedKeys:[me]},vt.map(he=>ee.createElement(de.default.Item,{key:he.name,onClick:()=>Qt(he)},he.name)))},ee.createElement("div",null,ee.createElement("span",{className:`${be.btn} ${Ie?be.btnSort:""}`},ee.createElement("i",{className:"iconfont icon-paixu font14 mr5"}),me)))),Ie&&ee.createElement(Ee.Z,{title:"\u4F18\u5148\u6309\u7167\u8C03\u6574\u6392\u5E8F\u7ED3\u679C\u5C55\u793A\uFF0C\u672A\u8BBE\u7F6E\u6392\u5E8F\u65F6\uFF0C\u6309\u7167\u521B\u5EFA\u65F6\u95F4\u964D\u5E8F\u6392\u5217"},ee.createElement("span",{className:be.tips},ee.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}))),ot&&ee.createElement(fe.default,{size:"large",className:Ne.Z.threeSelectSty,defaultValue:"",onChange:mt,style:{width:160,marginLeft:"auto",marginRight:"20px"},options:[{value:"",label:"\u5168\u90E8\u8003\u8BD5\u6A21\u5F0F"},{value:!0,label:"\u6B63\u5F0F\u8003\u8BD5"},{value:!1,label:"\u6A21\u62DF\u8003\u8BD5"}]}),ee.createElement(Se.t7,{className:be.myInput,style:{width:220,marginLeft:ot?"":"auto"},onChange:Pe,placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22"}),(0,Fe.eB)()&&Te&&ee.createElement(xe.Z,{dropdownRender:()=>Wt,open:Lt,onOpenChange:he=>{It(he)}},ee.createElement("a",null,"\u5206\u73ED",Lt?ee.createElement(He.Z,{style:{marginLeft:6}}):ee.createElement(rt.Z,{style:{marginLeft:6}}))))}},48656:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ae}});var ee=te(59301),de=te(95237),Ce=te(43604),We=te(20834),xe=te(38854),Ee=te(8591),fe=te(6848),be={tabMenuContainer:"tabMenuContainer___zroB4",control:"control___m6VFR",iconH:"iconH___d6gB0",selectBtn:"selectBtn___dIpII",selectBtn1:"selectBtn1___sFkNF"},Fe=te(91482),He=te(7544),Ae=({isLoading:ge,addText:we,tabDataSource:Se,isAdmin:Ne,dispatch:ke,classroomList:Ye,type:et,isExercise:Ke,defaultSelectedKeys:Oe,onTabMenuClick:_e,getDropdownMenu:me,showControlButton:Re,buttonText:Le,buttonIcon:Pe="icon-tianjiadaohang",extraNode:De,user:ze,onButtonClick:Te,isModelUser:xt})=>{var Ze,vt,ot,mt,Lt;const It=(0,Fe.useParams)();return ee.createElement("div",{className:be.tabMenuContainer},ee.createElement(de.Z,null,ee.createElement(Ce.Z,{flex:"1"},ee.createElement(We.default,{onSelect:Qe=>ge?{}:_e(Qe),mode:"horizontal",selectedKeys:Oe},Se.map(Qe=>ee.createElement(We.default.Item,{key:typeof Qe.index=="number"?Qe.index:Qe.id,style:{color:"#fff"}},ee.createElement("span",null,Qe.name),Qe.total!==void 0&&Ne&&ee.createElement("span",{className:"ml20"},Qe.total||0))))),Ne&&Ke&&ee.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer",color:"#00DDC7"},onClick:()=>{ke({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),Ne&&ee.createElement(Ce.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},Ke&&ee.createElement(xe.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>ee.createElement(We.default,null,ee.createElement(We.default.Item,{key:1,onClick:()=>{var Qe;if((0,He.Rm)()&&!((Qe=Ye.AssistantObject.exercise)!=null&&Qe.can_download)){Ee.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}ke({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:et,exportType:"exercise",category_id:It.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),ee.createElement(We.default.Item,{key:3,onClick:()=>{var Qe;if((0,He.Rm)()&&!((Qe=Ye.AssistantObject.exercise)!=null&&Qe.can_download)){Ee.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}Fe.history.push(`/classrooms/${It==null?void 0:It.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},ee.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},ee.createElement("span",{style:{color:"#00DDC7",cursor:"pointer"}},ee.createElement("i",{className:"iconfont icon-xiazai6"})))),ee.createElement("div",{className:be.control},ee.createElement("div",{className:be.extra},De),Re&&(Le=="\u6DFB\u52A0\u76F4\u64AD"?ee.createElement(xe.Z,{menu:{items:(vt=(Ze=[{label:ee.createElement("div",{onClick:()=>{Te("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},xt&&{label:ee.createElement("div",{onClick:()=>{Te("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Ze.filter(Qe=>Qe==null?void 0:Qe.show))==null?void 0:vt.map(Qe=>({label:Qe==null?void 0:Qe.label,key:Qe==null?void 0:Qe.key}))}},ee.createElement("span",{className:be.selectBtn},ee.createElement("span",null,ee.createElement("i",{className:`iconfont ${Pe}`})),ee.createElement("span",null,Le))):ee.createElement("span",{onClick:Te,style:{cursor:"pointer"},className:be.selectBtn},ee.createElement("span",null,ee.createElement("i",{className:`iconfont ${Pe}`})),ee.createElement("span",null,Le))),!!me&&ee.createElement(xe.Z,{disabled:((ot=ze==null?void 0:ze.userInfo)==null?void 0:ot.user_status)===2,className:"ml10",dropdownRender:me},ee.createElement("span",{className:((mt=ze==null?void 0:ze.userInfo)==null?void 0:mt.user_status)===2?be.selectBtn1:be.selectBtn},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-tianjiadaohang"})),ee.createElement(fe.Z,{title:((Lt=ze==null?void 0:ze.userInfo)==null?void 0:Lt.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},ee.createElement("span",null,we||"\u521B\u5EFA\u8BD5\u5377"))))))))}},29008:function(tn,kt,te){"use strict";te.d(kt,{$i:function(){return De},K1:function(){return Te},O7:function(){return xt},T$:function(){return Pe}});var ee=te(23579),de=te(84997),Ce=te(31591),We=te(89978),xe=te(87001),Ee=te(43418),fe=te(78241),be=te(8591),Fe=te(92832),He=te(95237),rt=te(43604),Ae=te(59301),ge=te(91482),we=te(28209),Se=te.n(we),Ne=te(25544),ke=te(59301),Ye=Object.defineProperty,et=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,_e=(Ze,vt,ot)=>vt in Ze?Ye(Ze,vt,{enumerable:!0,configurable:!0,writable:!0,value:ot}):Ze[vt]=ot,me=(Ze,vt)=>{for(var ot in vt||(vt={}))Ke.call(vt,ot)&&_e(Ze,ot,vt[ot]);if(et)for(var ot of et(vt))Oe.call(vt,ot)&&_e(Ze,ot,vt[ot]);return Ze},Re=(Ze,vt,ot)=>new Promise((mt,Lt)=>{var It=st=>{try{Me(ot.next(st))}catch(zt){Lt(zt)}},Qe=st=>{try{Me(ot.throw(st))}catch(zt){Lt(zt)}},Me=st=>st.done?mt(st.value):Promise.resolve(st.value).then(It,Qe);Me((ot=ot.apply(Ze,vt)).next())});const Le=Ze=>{const vt=Se().enc.Utf8.parse("c03f36595bd5610b");return Se().AES.encrypt(Ze||"",vt,{iv:vt,mode:Se().mode.CBC}).toString()},Pe=({onCancel:Ze,open:vt})=>ke.createElement(Ee.default,{title:"\u63D0\u793A",width:619,centered:!0,open:vt,destroyOnClose:!0,okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",onCancel:Ze,onOk:()=>{ge.history.push("/account/secure")}},ke.createElement("span",null,"\u52A0\u5BC6\u5C01\u5B58\u4E4B\u540E\uFF0C\u5FD8\u8BB0\u5BC6\u7801\u65F6\u9700\u8981\u4F7F\u7528\u624B\u673A\u53F7\u8FDB\u884C\u5BC6\u7801\u91CD\u7F6E\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801")),De=({onCancel:Ze,onFinish:vt,open:ot,Data:mt})=>{const[Lt]=fe.default.useForm(),[,It,Qe]=(0,xe.U)((mt==null?void 0:mt.type)=="exercise"?Ce.yE:de.yE,{id:mt==null?void 0:mt.id});return(0,Ae.useEffect)(()=>{ot||Lt.resetFields()},[ot]),ke.createElement(Ee.default,{title:"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58",width:619,centered:!0,open:ot,destroyOnClose:!0,confirmLoading:It,onCancel:Ze,onOk:()=>{Lt==null||Lt.submit()}},ke.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},ke.createElement("i",{className:"iconfont icon-tishi7"}),ke.createElement("span",null,"\u8BD5\u5377\u52A0\u5BC6\u5C01\u5B58\u540E\uFF0C\u6240\u6709\u7528\u6237\u9700\u8981\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u624D\u80FD\u8FDB\u884C\u67E5\u770B\u3001\u7F16\u8F91\u8BD5\u5377\u7B49\u64CD\u4F5C\uFF01")),ke.createElement(fe.default,{form:Lt,className:"mt-20px",size:"large",colon:!1,onFinish:Me=>Re(void 0,null,function*(){const st=yield Qe({id:mt==null?void 0:mt.id,is_encrypt:!0,pwd:Le(Me.pwd),pwd_confirm:Le(Me.pwd_confirm)});st.status===0?(be.ZP.success("\u52A0\u5BC6\u6210\u529F"),vt==null||vt(st),Ze()):Lt.setFields([{name:"pwd",errors:[st==null?void 0:st.message]}])})},ke.createElement(fe.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},ke.createElement(Fe.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),ke.createElement(fe.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:Me})=>({validator(st,zt){return!zt||Me("pwd")===zt?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},ke.createElement(Fe.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"}))))},ze=({onCancel:Ze,open:vt,Data:ot})=>{var mt;const[Lt]=fe.default.useForm(),[It]=fe.default.useForm(),[Qe,Me]=(0,Ae.useState)(!1),[st,zt]=(0,Ae.useState)(0),[,,ut]=(0,xe.U)(We.o1,{type:(ot==null?void 0:ot.type)=="exercise"?12:11}),[,tt,at]=(0,xe.U)((ot==null?void 0:ot.type)=="exercise"?Ce.dp:de.dp,{id:ot==null?void 0:ot.id}),[,Nt,on]=(0,xe.U)((ot==null?void 0:ot.type)=="exercise"?Ce.Qc:de.Qc,{id:ot==null?void 0:ot.id});return(0,Ae.useEffect)(()=>{var Ht;ot!=null&&ot.phone&&Lt.setFieldsValue({login:(Ht=ot==null?void 0:ot.phone)==null?void 0:Ht.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")})},[ot==null?void 0:ot.phone]),(0,Ae.useEffect)(()=>{st>0&&setTimeout(()=>{zt(st-1)},1e3)},[st]),(0,Ae.useEffect)(()=>{vt||(Lt.resetFields(),It.resetFields())},[vt]),ke.createElement(ke.Fragment,null,ke.createElement(Ee.default,{title:"\u624B\u673A\u53F7\u7801\u6821\u9A8C",width:619,centered:!0,open:vt,destroyOnClose:!0,confirmLoading:tt,onCancel:Ze,onOk:()=>{Lt==null||Lt.submit()}},ke.createElement("div",{style:{color:"#191919"}},"\u8BF7\u5148\u8FDB\u884C\u624B\u673A\u53F7\u7801\u6821\u9A8C"),ke.createElement(fe.default,{className:"mt20",initialValues:{phone:(mt=ot==null?void 0:ot.phone)==null?void 0:mt.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")},form:Lt,size:"large",colon:!1,onFinish:Ht=>Re(void 0,null,function*(){console.log("allValue",Ht);const Fn=yield at({code:Ht==null?void 0:Ht.code,login:ot==null?void 0:ot.phone,id:ot==null?void 0:ot.id});Fn.status===0?(be.ZP.success("\u6821\u9A8C\u6210\u529F"),Ze==null||Ze(),Me(!0)):Lt.setFields([{name:"code",errors:[Fn==null?void 0:Fn.message]}])})},ke.createElement(fe.default.Item,{label:"\u624B\u673A\u53F7",name:"login",required:!0},ke.createElement(Fe.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",disabled:!0})),ke.createElement(He.Z,{wrap:!1,gutter:20},ke.createElement(rt.Z,{flex:1},ke.createElement(fe.default.Item,{label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},ke.createElement(Fe.default,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}))),ke.createElement(rt.Z,null,ke.createElement(ee.op,{openLoading:!0,size:"large",disabled:st>0,style:{borderRadius:"4px"},onClick:()=>Re(void 0,null,function*(){const Ht=yield ut({type:(ot==null?void 0:ot.type)=="exercise"?12:11,login:ot==null?void 0:ot.phone,smscode:(0,Ne.M)(ot==null?void 0:ot.phone)});(Ht==null?void 0:Ht.status)===1&&(be.ZP.success("\u53D1\u9001\u6210\u529F"),zt(60))})},st===0?"\u83B7\u53D6\u9A8C\u8BC1\u7801":`(${st})\u79D2\u53EF\u91CD\u65B0\u83B7\u53D6`))))),ke.createElement(Ee.default,{title:"\u91CD\u7F6E\u5C01\u5B58\u5BC6\u7801",width:619,centered:!0,open:Qe,destroyOnClose:!0,confirmLoading:Nt,onCancel:()=>{Me(!1)},onOk:()=>{It==null||It.submit()}},ke.createElement(fe.default,{className:"mt20",form:It,size:"large",colon:!1,onFinish:Ht=>Re(void 0,null,function*(){console.log("allValue",Ht),(yield on(me({id:ot==null?void 0:ot.id},Ht))).status===0&&(be.ZP.success("\u91CD\u7F6E\u6210\u529F"),Me(!1))})},ke.createElement(fe.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},ke.createElement(Fe.default.Password,{placeholder:"\u8BF7\u8BBE\u7F6E\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})),ke.createElement(fe.default.Item,{label:"\u786E\u8BA4\u5BC6\u7801",name:"pwd_confirm",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"},({getFieldValue:Ht})=>({validator(Fn,Qt){return!Qt||Ht("pwd")===Qt?Promise.resolve():Promise.reject(new Error("\u4E24\u6B21\u8F93\u5165\u7684\u5BC6\u7801\u4E0D\u4E00\u81F4"))}})]},ke.createElement(Fe.default.Password,{placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\uFF0C\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u6700\u5927\u9650\u52366-16\u4E2A\u5B57\u7B26"})))))},Te=({onCancel:Ze,onFinish:vt,open:ot,Data:mt})=>{const[Lt]=fe.default.useForm(),[It,Qe]=(0,Ae.useState)(!1),[,Me,st]=(0,xe.U)((mt==null?void 0:mt.type)=="exercise"?Ce.yE:de.yE,{id:mt==null?void 0:mt.id});return(0,Ae.useEffect)(()=>{ot||Lt.resetFields()},[ot]),ke.createElement(ke.Fragment,null,ke.createElement(Ee.default,{title:"\u8BD5\u5377\u89E3\u5C01",width:619,centered:!0,open:ot,destroyOnClose:!0,confirmLoading:Me,onCancel:Ze,onOk:()=>{Lt==null||Lt.submit()}},ke.createElement(He.Z,{wrap:!1,align:"top",gutter:16},ke.createElement(rt.Z,{flex:1},ke.createElement(fe.default,{form:Lt,size:"large",colon:!1,onFinish:zt=>Re(void 0,null,function*(){const ut=yield st({id:mt==null?void 0:mt.id,is_encrypt:!1,pwd:Le(zt.pwd)});(ut==null?void 0:ut.status)===0?(be.ZP.success("\u89E3\u5C01\u6210\u529F"),vt==null||vt(ut),Ze==null||Ze()):Lt.setFields([{name:"pwd",errors:[ut==null?void 0:ut.message]}])})},ke.createElement(fe.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}]},ke.createElement(Fe.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"})))),ke.createElement(rt.Z,null,ke.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Qe(!0),Ze==null||Ze()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F")))),ke.createElement(ze,{onCancel:()=>{Qe(!1)},open:It,Data:me({},mt)}))},xt=({onCancel:Ze,onFinish:vt,open:ot,Data:mt})=>{const[Lt]=fe.default.useForm(),[It,Qe]=(0,Ae.useState)(!1),[,Me,st]=(0,xe.U)((mt==null?void 0:mt.type)=="exercise"?Ce.yE:de.yE,{id:mt==null?void 0:mt.id});return(0,Ae.useEffect)(()=>{ot||Lt.resetFields()},[ot]),ke.createElement(ke.Fragment,null,ke.createElement(Ee.default,{title:"\u63D0\u793A",width:619,centered:!0,open:ot,destroyOnClose:!0,confirmLoading:Me,onCancel:Ze,onOk:()=>{Lt==null||Lt.submit()}},ke.createElement("div",{className:"pt16 pb16 pl12 pr12 rounded-4px flex item-center gap-8px",style:{background:"rgba(233, 127, 55, .06)",color:"#FA6400"}},ke.createElement("i",{className:"iconfont icon-tishi7"}),ke.createElement("span",null,"\u8BD5\u5377\u5DF2\u8FDB\u884C\u52A0\u5BC6\u5C01\u5B58\uFF0C\u5982\u9700\u8FDB\u884C\u64CD\u4F5C\uFF0C\u8BF7\u5148\u8F93\u5165\u5C01\u5B58\u5BC6\u7801\u8FDB\u884C\u89E3\u5C01\uFF01")),ke.createElement(fe.default,{form:Lt,className:"mt-20px",size:"large",colon:!1,onFinish:zt=>Re(void 0,null,function*(){const ut=yield st({id:mt==null?void 0:mt.id,is_encrypt:!1,pwd:Le(zt.pwd)});(ut==null?void 0:ut.status)===0?(be.ZP.success("\u89E3\u5C01\u6210\u529F"),vt==null||vt(ut),Ze==null||Ze()):Lt.setFields([{name:"pwd",errors:[ut==null?void 0:ut.message]}])})},ke.createElement(He.Z,{wrap:!1,gutter:20},ke.createElement(rt.Z,{flex:1},ke.createElement(fe.default.Item,{label:"\u5C01\u5B58\u5BC6\u7801",name:"pwd",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"},{pattern:/^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,16}$/,message:"\u5BC6\u7801\u5FC5\u987B\u4E3A\u5B57\u6BCD\u548C\u6570\u5B57\u7684\u7EC4\u5408\uFF0C\u4E14\u957F\u5EA6\u4E3A6-16\u4E2A\u5B57\u7B26"}]},ke.createElement(Fe.default.Password,{placeholder:"\u8BF7\u8F93\u5165\u5C01\u5B58\u5BC6\u7801"}))),ke.createElement(rt.Z,null,ke.createElement("a",{style:{lineHeight:"40px",whiteSpace:"nowrap"},onClick:()=>{Qe(!0),Ze==null||Ze()}},"\u5FD8\u8BB0\u5BC6\u7801\uFF1F"))))),ke.createElement(ze,{onCancel:()=>{Qe(!1)},open:It,Data:me({},mt)}))}},87001:function(tn,kt,te){"use strict";te.d(kt,{U:function(){return Fe}});var ee=te(59301),de=Object.defineProperty,Ce=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Ee=(He,rt,Ae)=>rt in He?de(He,rt,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):He[rt]=Ae,fe=(He,rt)=>{for(var Ae in rt||(rt={}))We.call(rt,Ae)&&Ee(He,Ae,rt[Ae]);if(Ce)for(var Ae of Ce(rt))xe.call(rt,Ae)&&Ee(He,Ae,rt[Ae]);return He},be=(He,rt,Ae)=>new Promise((ge,we)=>{var Se=Ye=>{try{ke(Ae.next(Ye))}catch(et){we(et)}},Ne=Ye=>{try{ke(Ae.throw(Ye))}catch(et){we(et)}},ke=Ye=>Ye.done?ge(Ye.value):Promise.resolve(Ye.value).then(Se,Ne);ke((Ae=Ae.apply(He,rt)).next())});function Fe(He,rt){const[Ae,ge]=(0,ee.useState)(rt),[we,Se]=(0,ee.useState)(!1),[Ne,ke]=(0,ee.useState)();return[Ae,we,(et,Ke=!1)=>be(this,null,function*(){const Oe=Ke?rt:fe(fe({},Ae),et);Se(!0),ge(Oe);const _e=yield He(Oe);return Se(!1),ke(_e),_e}),Ne]}},20808:function(tn,kt,te){"use strict";te.d(kt,{rX:function(){return Oe},pW:function(){return _e},gy:function(){return me},xY:function(){return Ke},O5:function(){return et},tJ:function(){return we},o1:function(){return Se},Rd:function(){return Ye}});var ee=te(91482),de=te(43418),Ce=te(28103),We=te(8591),xe=te(7544),Ee=te(25544),fe=te(87169),be=te(25510),Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAA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gddRwbCd5GUt3YIzukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",He=te.p+"static/newqrcode.a8740efb.png",rt=te(32637),Ae=te(59301),ge=(Re,Le,Pe)=>new Promise((De,ze)=>{var Te=vt=>{try{Ze(Pe.next(vt))}catch(ot){ze(ot)}},xt=vt=>{try{Ze(Pe.throw(vt))}catch(ot){ze(ot)}},Ze=vt=>vt.done?De(vt.value):Promise.resolve(vt.value).then(Te,xt);Ze((Pe=Pe.apply(Re,Le)).next())});const we=(Re,Le=!1)=>!!(Se(Re)&&Ne(Le)),Se=Re=>(0,xe.bg)()?!0:(Re({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),Ne=(Re=!1)=>{var Le;const{user:Pe}=(0,ee.getDvaApp)()._store.getState();return(Le=Pe.userInfo)!=null&&Le.profile_completed?!0:(de.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"),ke()}}),!1)},ke=()=>{de.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()}})},Ye=()=>{de.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Ae.createElement("div",{style:{textAlign:"center"}},Ae.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"),Ae.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:rt}),Ae.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},et=()=>{var Re;const{user:Le}=(0,ee.getDvaApp)()._store.getState();return(Re=Le.userInfo)!=null&&Re.professional_certification?!0:(de.default.confirm({title:"\u63D0\u793A",centered:!0,content:Ae.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)},Ke=()=>(0,xe.V9)()?!0:(de.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Ae.createElement("div",{className:"tc",style:{marginLeft:-38}},Ae.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Ae.createElement("img",{src:He,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Oe=(Re,Le)=>Re?!0:(de.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Ae.createElement("div",null,Ae.createElement("p",null,Le||"\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"),Ae.createElement("div",{style:{marginLeft:"110px"}},Ae.createElement("img",{src:Fe,width:200}),Ae.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),_e=Re=>{de.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Ae.createElement("div",null,Ae.createElement("div",null,Ae.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"),Ae.createElement(Ce.Z,null),Ae.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ae.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 ",Ae.createElement("a",null,Re),"\u5929\u3002"),Ae.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Ae.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")),Ae.createElement("div",{style:{textAlign:"center",marginTop:30}},Ae.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:be,alt:"\u4E8C\u7EF4\u7801",width:160})))})},me=(Re,Le="")=>{const{shixunsDetail:{detail:Pe}}=(0,ee.getDvaApp)()._store.getState();if((Pe==null?void 0:Pe.public)===2||(Pe==null?void 0:Pe.public)===1||(Pe==null?void 0:Pe.shixun_status)===3){let De="";return(Pe==null?void 0:Pe.public)===2&&(De="\u5DF2\u516C\u5F00"),(Pe==null?void 0:Pe.public)===1&&(De="\u5F85\u5BA1\u6838"),(Pe==null?void 0:Pe.shixun_status)===3&&(De="\u5DF2\u5173\u95ED"),de.default.info({centered:!0,icon:Ae.createElement(fe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Ae.createElement("div",{className:"tc",style:{marginLeft:-38}},Ae.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",De,"\uFF0C",Le,"\u3002"),Ae.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Ae.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:be,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Pe==null?void 0:Pe.shixun_status)===2?(de.default.confirm({centered:!0,icon:Ae.createElement(fe.Z,null),title:"\u63D0\u793A",content:Ae.createElement("div",null,Ae.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Le,"\u3002"),Ae.createElement("br",null),Ae.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:()=>{de.default.confirm({width:440,centered:!0,icon:Ae.createElement(fe.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:()=>ge(void 0,null,function*(){(yield Re({type:"shixunsDetail/cancelRelease",payload:{id:Pe==null?void 0:Pe.identifier}})).status!==401&&(We.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Re({type:"shixunsDetail/getShixunsDetail",payload:{id:Pe==null?void 0:Pe.identifier}}),Re({type:"practiceSetting/getCommonData",payload:{id:Pe==null?void 0:Pe.identifier}}))})})}}),!0):!1}},50371:function(tn,kt){"use strict";function te(){const ee=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de<arguments.length;de++){const Ce=de<0||arguments.length<=de?void 0:arguments[de];Ce&&Object.keys(Ce).forEach(We=>{const xe=Ce[We];xe!==void 0&&(ee[We]=xe)})}return ee}kt.Z=te},77578:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ee}});const ee=de=>de?typeof de=="function"?de():de:null},13845:function(tn,kt,te){"use strict";te.d(kt,{F:function(){return ee},Z:function(){return de}});function ee(Ce){return Ce!=null&&Ce===Ce.window}function de(Ce,We){var xe,Ee;if(typeof window=="undefined")return 0;const fe=We?"scrollTop":"scrollLeft";let be=0;return ee(Ce)?be=Ce[We?"pageYOffset":"pageXOffset"]:Ce instanceof Document?be=Ce.documentElement[fe]:(Ce instanceof HTMLElement||Ce)&&(be=Ce[fe]),Ce&&!ee(Ce)&&typeof be!="number"&&(be=(Ee=((xe=Ce.ownerDocument)!==null&&xe!==void 0?xe:Ce).documentElement)===null||Ee===void 0?void 0:Ee[fe]),be}},56762:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return de}});var ee=te(59301);function de(){const[,Ce]=ee.useReducer(We=>We+1,0);return Ce}},68031:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return We}});var ee=te(16089);function de(xe,Ee,fe,be){const Fe=fe-Ee;return xe/=be/2,xe<1?Fe/2*xe*xe*xe+Ee:Fe/2*((xe-=2)*xe*xe+2)+Ee}var Ce=te(13845);function We(xe){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:fe=()=>window,callback:be,duration:Fe=450}=Ee,He=fe(),rt=(0,Ce.Z)(He,!0),Ae=Date.now(),ge=()=>{const Se=Date.now()-Ae,Ne=de(Se>Fe?Fe:Se,rt,xe,Fe);(0,Ce.F)(He)?He.scrollTo(window.pageXOffset,Ne):He instanceof Document||He.constructor.name==="HTMLDocument"?He.documentElement.scrollTop=Ne:He.scrollTop=Ne,Se<Fe?(0,ee.Z)(ge):typeof be=="function"&&be()};(0,ee.Z)(ge)}},19080:function(tn,kt,te){"use strict";te.d(kt,{F:function(){return xe},Z:function(){return We}});var ee=te(92310),de=te.n(ee);const Ce=null;function We(Ee,fe,be){return de()({[`${Ee}-status-success`]:fe==="success",[`${Ee}-status-warning`]:fe==="warning",[`${Ee}-status-error`]:fe==="error",[`${Ee}-status-validating`]:fe==="validating",[`${Ee}-has-feedback`]:be})}const xe=(Ee,fe)=>fe||Ee},27666:function(tn,kt,te){"use strict";var ee=te(77654),de=te(16089);function Ce(We){let xe;const Ee=be=>()=>{xe=null,We.apply(void 0,(0,ee.Z)(be))},fe=function(){if(xe==null){for(var be=arguments.length,Fe=new Array(be),He=0;He<be;He++)Fe[He]=arguments[He];xe=(0,de.Z)(Ee(Fe))}};return fe.cancel=()=>{de.Z.cancel(xe),xe=null},fe}kt.Z=Ce},81228:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Re}});var ee=te(38705),de=te(17212),Ce=te(39153),We=te(55401),xe=te(59301),Ee=te(92310),fe=te.n(Ee),be=te(29301),Fe=te(2738),He=te(27666),rt=te(36355),Ae=te(83116),ge=te(37613);const we=Le=>{const{componentCls:Pe}=Le;return{[Pe]:{position:"fixed",zIndex:Le.zIndexPopup}}};var Se=(0,Ae.Z)("Affix",Le=>{const Pe=(0,ge.TS)(Le,{zIndexPopup:Le.zIndexBase+10});return[we(Pe)]});function Ne(Le){return Le!==window?Le.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function ke(Le,Pe,De){if(De!==void 0&&Pe.top>Le.top-De)return De+Pe.top}function Ye(Le,Pe,De){if(De!==void 0&&Pe.bottom<Le.bottom+De){const ze=window.innerHeight-Pe.bottom;return De+ze}}const et=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function Ke(){return typeof window!="undefined"?window:null}var Oe;(function(Le){Le[Le.None=0]="None",Le[Le.Prepare=1]="Prepare"})(Oe||(Oe={}));let _e=function(Le){(0,Ce.Z)(De,Le);var Pe=(0,We.Z)(De);function De(){var ze;return(0,ee.Z)(this,De),ze=Pe.apply(this,arguments),ze.state={status:Oe.None,lastAffix:!1,prevTarget:null},ze.placeholderNodeRef=(0,xe.createRef)(),ze.fixedNodeRef=(0,xe.createRef)(),ze.addListeners=()=>{const Te=ze.getTargetFunc(),xt=Te==null?void 0:Te(),{prevTarget:Ze}=ze.state;Ze!==xt&&(et.forEach(vt=>{Ze==null||Ze.removeEventListener(vt,ze.lazyUpdatePosition),xt==null||xt.addEventListener(vt,ze.lazyUpdatePosition)}),ze.updatePosition(),ze.setState({prevTarget:xt}))},ze.removeListeners=()=>{ze.timer&&(clearTimeout(ze.timer),ze.timer=null);const{prevTarget:Te}=ze.state,xt=ze.getTargetFunc(),Ze=xt==null?void 0:xt();et.forEach(vt=>{Ze==null||Ze.removeEventListener(vt,ze.lazyUpdatePosition),Te==null||Te.removeEventListener(vt,ze.lazyUpdatePosition)}),ze.updatePosition.cancel(),ze.lazyUpdatePosition.cancel()},ze.getOffsetTop=()=>{const{offsetBottom:Te,offsetTop:xt}=ze.props;return Te===void 0&&xt===void 0?0:xt},ze.getOffsetBottom=()=>ze.props.offsetBottom,ze.measure=()=>{const{status:Te,lastAffix:xt}=ze.state,{onChange:Ze}=ze.props,vt=ze.getTargetFunc();if(Te!==Oe.Prepare||!ze.fixedNodeRef.current||!ze.placeholderNodeRef.current||!vt)return;const ot=ze.getOffsetTop(),mt=ze.getOffsetBottom(),Lt=vt();if(Lt){const It={status:Oe.None},Qe=Ne(ze.placeholderNodeRef.current);if(Qe.top===0&&Qe.left===0&&Qe.width===0&&Qe.height===0)return;const Me=Ne(Lt),st=ke(Qe,Me,ot),zt=Ye(Qe,Me,mt);st!==void 0?(It.affixStyle={position:"fixed",top:st,width:Qe.width,height:Qe.height},It.placeholderStyle={width:Qe.width,height:Qe.height}):zt!==void 0&&(It.affixStyle={position:"fixed",bottom:zt,width:Qe.width,height:Qe.height},It.placeholderStyle={width:Qe.width,height:Qe.height}),It.lastAffix=!!It.affixStyle,Ze&&xt!==It.lastAffix&&Ze(It.lastAffix),ze.setState(It)}},ze.prepareMeasure=()=>{ze.setState({status:Oe.Prepare,affixStyle:void 0,placeholderStyle:void 0})},ze.updatePosition=(0,He.Z)(()=>{ze.prepareMeasure()}),ze.lazyUpdatePosition=(0,He.Z)(()=>{const Te=ze.getTargetFunc(),{affixStyle:xt}=ze.state;if(Te&&xt){const Ze=ze.getOffsetTop(),vt=ze.getOffsetBottom(),ot=Te();if(ot&&ze.placeholderNodeRef.current){const mt=Ne(ot),Lt=Ne(ze.placeholderNodeRef.current),It=ke(Lt,mt,Ze),Qe=Ye(Lt,mt,vt);if(It!==void 0&&xt.top===It||Qe!==void 0&&xt.bottom===Qe)return}}ze.prepareMeasure()}),ze}return(0,de.Z)(De,[{key:"getTargetFunc",value:function(){const{getTargetContainer:Te}=this.context,{target:xt}=this.props;return xt!==void 0?xt:Te!=null?Te:Ke}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(Te){this.addListeners(),(Te.offsetTop!==this.props.offsetTop||Te.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:Te,placeholderStyle:xt}=this.state,{affixPrefixCls:Ze,rootClassName:vt,children:ot}=this.props,mt=fe()(Te&&vt,{[Ze]:!!Te});let Lt=(0,Fe.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return xe.createElement(be.Z,{onResize:this.updatePosition},xe.createElement("div",Object.assign({},Lt,{ref:this.placeholderNodeRef}),Te&&xe.createElement("div",{style:xt,"aria-hidden":"true"}),xe.createElement("div",{className:mt,ref:this.fixedNodeRef,style:Te},xe.createElement(be.Z,{onResize:this.updatePosition},ot))))}}]),De}(xe.Component);_e.contextType=rt.E_;var Re=(0,xe.forwardRef)((Le,Pe)=>{const{prefixCls:De,rootClassName:ze}=Le,{getPrefixCls:Te}=(0,xe.useContext)(rt.E_),xt=Te("affix",De),[Ze,vt]=Se(xt),ot=Object.assign(Object.assign({},Le),{affixPrefixCls:xt,rootClassName:fe()(ze,vt)});return Ze(xe.createElement(_e,Object.assign({},ot,{ref:Pe})))})},24905:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return Re}});var ee=te(92310),de=te.n(ee),Ce=te(5630),We=te(59301),xe=te(36355),Ee=te(1684),fe=te(32441),Fe=We.createContext(null),He=te(98447),rt=te(14088),Ae=te(4572),ge=function(Le,Pe){var De={};for(var ze in Le)Object.prototype.hasOwnProperty.call(Le,ze)&&Pe.indexOf(ze)<0&&(De[ze]=Le[ze]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ze=Object.getOwnPropertySymbols(Le);Te<ze.length;Te++)Pe.indexOf(ze[Te])<0&&Object.prototype.propertyIsEnumerable.call(Le,ze[Te])&&(De[ze[Te]]=Le[ze[Te]]);return De};const we=(Le,Pe)=>{var De;const{prefixCls:ze,className:Te,rootClassName:xt,children:Ze,indeterminate:vt=!1,style:ot,onMouseEnter:mt,onMouseLeave:Lt,skipGroup:It=!1,disabled:Qe}=Le,Me=ge(Le,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:st,direction:zt,checkbox:ut}=We.useContext(xe.E_),tt=We.useContext(Fe),{isFormItemInput:at}=We.useContext(fe.aM),Nt=We.useContext(Ee.Z),on=(De=(tt==null?void 0:tt.disabled)||Qe)!==null&&De!==void 0?De:Nt,Ht=We.useRef(Me.value);We.useEffect(()=>{tt==null||tt.registerValue(Me.value)},[]),We.useEffect(()=>{if(!It)return Me.value!==Ht.current&&(tt==null||tt.cancelValue(Ht.current),tt==null||tt.registerValue(Me.value),Ht.current=Me.value),()=>tt==null?void 0:tt.cancelValue(Me.value)},[Me.value]);const Fn=st("checkbox",ze),[Qt,Ut]=(0,He.ZP)(Fn),Wt=Object.assign({},Me);tt&&!It&&(Wt.onChange=function(){Me.onChange&&Me.onChange.apply(Me,arguments),tt.toggleOption&&tt.toggleOption({label:Ze,value:Me.value})},Wt.name=tt.name,Wt.checked=tt.value.includes(Me.value));const Ie=de()(`${Fn}-wrapper`,{[`${Fn}-rtl`]:zt==="rtl",[`${Fn}-wrapper-checked`]:Wt.checked,[`${Fn}-wrapper-disabled`]:on,[`${Fn}-wrapper-in-form-item`]:at},ut==null?void 0:ut.className,Te,xt,Ut),he=de()({[`${Fn}-indeterminate`]:vt},Ae.A,Ut),ue=vt?"mixed":void 0;return Qt(We.createElement(rt.Z,{component:"Checkbox",disabled:on},We.createElement("label",{className:Ie,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),ot),onMouseEnter:mt,onMouseLeave:Lt},We.createElement(Ce.Z,Object.assign({"aria-checked":ue},Wt,{prefixCls:Fn,className:he,disabled:on,ref:Pe})),Ze!==void 0&&We.createElement("span",null,Ze))))};var Ne=We.forwardRef(we),ke=te(77654),Ye=te(2738),et=function(Le,Pe){var De={};for(var ze in Le)Object.prototype.hasOwnProperty.call(Le,ze)&&Pe.indexOf(ze)<0&&(De[ze]=Le[ze]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ze=Object.getOwnPropertySymbols(Le);Te<ze.length;Te++)Pe.indexOf(ze[Te])<0&&Object.prototype.propertyIsEnumerable.call(Le,ze[Te])&&(De[ze[Te]]=Le[ze[Te]]);return De};const Ke=(Le,Pe)=>{const{defaultValue:De,children:ze,options:Te=[],prefixCls:xt,className:Ze,rootClassName:vt,style:ot,onChange:mt}=Le,Lt=et(Le,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:It,direction:Qe}=We.useContext(xe.E_),[Me,st]=We.useState(Lt.value||De||[]),[zt,ut]=We.useState([]);We.useEffect(()=>{"value"in Lt&&st(Lt.value||[])},[Lt.value]);const tt=We.useMemo(()=>Te.map(ve=>typeof ve=="string"||typeof ve=="number"?{label:ve,value:ve}:ve),[Te]),at=ve=>{ut(ye=>ye.filter(se=>se!==ve))},Nt=ve=>{ut(ye=>[].concat((0,ke.Z)(ye),[ve]))},on=ve=>{const ye=Me.indexOf(ve.value),se=(0,ke.Z)(Me);ye===-1?se.push(ve.value):se.splice(ye,1),"value"in Lt||st(se),mt==null||mt(se.filter($e=>zt.includes($e)).sort(($e,wt)=>{const lt=tt.findIndex(Pt=>Pt.value===$e),Je=tt.findIndex(Pt=>Pt.value===wt);return lt-Je}))},Ht=It("checkbox",xt),Fn=`${Ht}-group`,[Qt,Ut]=(0,He.ZP)(Ht),Wt=(0,Ye.Z)(Lt,["value","disabled"]),Ie=Te.length?tt.map(ve=>We.createElement(Ne,{prefixCls:Ht,key:ve.value.toString(),disabled:"disabled"in ve?ve.disabled:Lt.disabled,value:ve.value,checked:Me.includes(ve.value),onChange:ve.onChange,className:`${Fn}-item`,style:ve.style,title:ve.title},ve.label)):ze,he={toggleOption:on,value:Me,disabled:Lt.disabled,name:Lt.name,registerValue:Nt,cancelValue:at},ue=de()(Fn,{[`${Fn}-rtl`]:Qe==="rtl"},Ze,vt,Ut);return Qt(We.createElement("div",Object.assign({className:ue,style:ot},Wt,{ref:Pe}),We.createElement(Fe.Provider,{value:he},Ie)))},Oe=We.forwardRef(Ke);var _e=We.memo(Oe);const me=Ne;me.Group=_e,me.__ANT_CHECKBOX=!0;var Re=me},98447:function(tn,kt,te){"use strict";te.d(kt,{C2:function(){return xe}});var ee=te(17313),de=te(37613),Ce=te(83116);const We=Ee=>{const{checkboxCls:fe}=Ee,be=`${fe}-wrapper`;return[{[`${fe}-group`]:Object.assign(Object.assign({},(0,ee.Wf)(Ee)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ee.marginXS,[`> ${Ee.antCls}-row`]:{flex:1}}),[be]:Object.assign(Object.assign({},(0,ee.Wf)(Ee)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${be}`]:{marginInlineStart:0},[`&${be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[fe]:Object.assign(Object.assign({},(0,ee.Wf)(Ee)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ee.borderRadiusSM,alignSelf:"center",[`${fe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${fe}-inner`]:Object.assign({},(0,ee.oN)(Ee))},[`${fe}-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}})},{[`
|
|
|
${be}:not(${be}-disabled),
|
|
|
${fe}:not(${fe}-disabled)
|
|
|
`]:{[`&:hover ${fe}-inner`]:{borderColor:Ee.colorPrimary}},[`${be}:not(${be}-disabled)`]:{[`&:hover ${fe}-checked:not(${fe}-disabled) ${fe}-inner`]:{backgroundColor:Ee.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${fe}-checked:not(${fe}-disabled):after`]:{borderColor:Ee.colorPrimaryHover}}},{[`${fe}-checked`]:{[`${fe}-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}`}}},[`
|
|
|
${be}-checked:not(${be}-disabled),
|
|
|
${fe}-checked:not(${fe}-disabled)
|
|
|
`]:{[`&:hover ${fe}-inner`]:{backgroundColor:Ee.colorPrimaryHover,borderColor:"transparent"}}},{[fe]:{"&-indeterminate":{[`${fe}-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:'""'}}}}},{[`${be}-disabled`]:{cursor:"not-allowed"},[`${fe}-disabled`]:{[`&, ${fe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${fe}-inner`]:{background:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,"&:after":{borderColor:Ee.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ee.colorTextDisabled},[`&${fe}-indeterminate ${fe}-inner::after`]:{background:Ee.colorTextDisabled}}}]};function xe(Ee,fe){const be=(0,de.TS)(fe,{checkboxCls:`.${Ee}`,checkboxSize:fe.controlInteractiveSize});return[We(be)]}kt.ZP=(0,Ce.Z)("Checkbox",(Ee,fe)=>{let{prefixCls:be}=fe;return[xe(be,Ee)]})},93891:function(tn,kt,te){"use strict";var ee=te(59301),de=te(36355),Ce=te(64165);const We=xe=>{const{componentName:Ee}=xe,{getPrefixCls:fe}=(0,ee.useContext)(de.E_),be=fe("empty");switch(Ee){case"Table":case"List":return ee.createElement(Ce.Z,{image:Ce.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ee.createElement(Ce.Z,{image:Ce.Z.PRESENTED_IMAGE_SIMPLE,className:`${be}-small`});default:return ee.createElement(Ce.Z,null)}};kt.Z=We},5083:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return lu}});var ee=te(66649),de=te.n(ee),Ce=te(48736),We=te(9007),xe=te.n(We),Ee=te(50991),fe=te.n(Ee),be=te(9084),Fe=te.n(be),He=te(58626),rt=te.n(He),Ae=te(13477),ge=te.n(Ae),we=te(64796),Se=te.n(we);de().extend(Se()),de().extend(ge()),de().extend(xe()),de().extend(fe()),de().extend(Fe()),de().extend(rt()),de().extend(function(Ge,ct){var gt=ct.prototype,Xt=gt.format;gt.format=function(qn){var Wn=(qn||"").replace("Wo","wo");return Xt.bind(this)(Wn)}});var Ne={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"},ke=function(ct){var gt=Ne[ct];return gt||ct.split("_")[0]},Ye=function(){(0,Ce.ET)(!1,"Not match any format. Please help to fire a issue about this.")},et={getNow:function(){return de()()},getFixedDate:function(ct){return de()(ct,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ct){return ct.endOf("month")},getWeekDay:function(ct){var gt=ct.locale("en");return gt.weekday()+gt.localeData().firstDayOfWeek()},getYear:function(ct){return ct.year()},getMonth:function(ct){return ct.month()},getDate:function(ct){return ct.date()},getHour:function(ct){return ct.hour()},getMinute:function(ct){return ct.minute()},getSecond:function(ct){return ct.second()},addYear:function(ct,gt){return ct.add(gt,"year")},addMonth:function(ct,gt){return ct.add(gt,"month")},addDate:function(ct,gt){return ct.add(gt,"day")},setYear:function(ct,gt){return ct.year(gt)},setMonth:function(ct,gt){return ct.month(gt)},setDate:function(ct,gt){return ct.date(gt)},setHour:function(ct,gt){return ct.hour(gt)},setMinute:function(ct,gt){return ct.minute(gt)},setSecond:function(ct,gt){return ct.second(gt)},isAfter:function(ct,gt){return ct.isAfter(gt)},isValidate:function(ct){return ct.isValid()},locale:{getWeekFirstDay:function(ct){return de()().locale(ke(ct)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ct,gt){return gt.locale(ke(ct)).weekday(0)},getWeek:function(ct,gt){return gt.locale(ke(ct)).week()},getShortWeekDays:function(ct){return de()().locale(ke(ct)).localeData().weekdaysMin()},getShortMonths:function(ct){return de()().locale(ke(ct)).localeData().monthsShort()},format:function(ct,gt,Xt){return gt.locale(ke(ct)).format(Xt)},parse:function(ct,gt,Xt){for(var en=ke(ct),qn=0;qn<Xt.length;qn+=1){var Wn=Xt[qn],wr=gt;if(Wn.includes("wo")||Wn.includes("Wo")){for(var br=wr.split("-")[0],Ir=wr.split("-")[1],zi=de()(br,"YYYY").startOf("year").locale(en),Yr=0;Yr<=52;Yr+=1){var Ur=zi.add(Yr,"week");if(Ur.format("Wo")===Ir)return Ur}return Ye(),null}var di=de()(wr,Wn,!0).locale(en);if(di.isValid())return di}return gt&&Ye(),null}}},Ke=et,Oe=te(53487),_e=te(60499),me=te(59301),Re={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"},Le=Re,Pe=te(7657),De=function(ct,gt){return me.createElement(Pe.Z,(0,_e.Z)({},ct,{ref:gt,icon:Le}))},ze=me.forwardRef(De),Te=ze,xt={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"},Ze=xt,vt=function(ct,gt){return me.createElement(Pe.Z,(0,_e.Z)({},ct,{ref:gt,icon:Ze}))},ot=me.forwardRef(vt),mt=ot,Lt=te(19248),It={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"},Qe=It,Me=function(ct,gt){return me.createElement(Pe.Z,(0,_e.Z)({},ct,{ref:gt,icon:Qe}))},st=me.forwardRef(Me),zt=st,ut=te(92310),tt=te.n(ut),at=te(38705),Nt=te(17212),on=te(15793),Ht=te(39153),Fn=te(55401),Qt=te(18642),Ut=te(85899),Wt=te(72190),Ie=te(18929),he=te(26112),ue=te(80547),ve=te(13697),ye=10,se=ye*10,$e=7;function wt(Ge,ct){if(!Ge&&!ct)return!0;if(!Ge||!ct)return!1}function lt(Ge,ct,gt){var Xt=wt(ct,gt);if(typeof Xt=="boolean")return Xt;var en=Math.floor(Ge.getYear(ct)/10),qn=Math.floor(Ge.getYear(gt)/10);return en===qn}function Je(Ge,ct,gt){var Xt=wt(ct,gt);return typeof Xt=="boolean"?Xt:Ge.getYear(ct)===Ge.getYear(gt)}function Pt(Ge,ct){var gt=Math.floor(Ge.getMonth(ct)/3);return gt+1}function Dt(Ge,ct,gt){var Xt=wt(ct,gt);return typeof Xt=="boolean"?Xt:Je(Ge,ct,gt)&&Pt(Ge,ct)===Pt(Ge,gt)}function yt(Ge,ct,gt){var Xt=wt(ct,gt);return typeof Xt=="boolean"?Xt:Je(Ge,ct,gt)&&Ge.getMonth(ct)===Ge.getMonth(gt)}function jt(Ge,ct,gt){var Xt=wt(ct,gt);return typeof Xt=="boolean"?Xt:Ge.getYear(ct)===Ge.getYear(gt)&&Ge.getMonth(ct)===Ge.getMonth(gt)&&Ge.getDate(ct)===Ge.getDate(gt)}function En(Ge,ct,gt){var Xt=wt(ct,gt);return typeof Xt=="boolean"?Xt:Ge.getHour(ct)===Ge.getHour(gt)&&Ge.getMinute(ct)===Ge.getMinute(gt)&&Ge.getSecond(ct)===Ge.getSecond(gt)}function _t(Ge,ct,gt,Xt){var en=wt(gt,Xt);return typeof en=="boolean"?en:Je(Ge,gt,Xt)&&Ge.locale.getWeek(ct,gt)===Ge.locale.getWeek(ct,Xt)}function Yt(Ge,ct,gt){return jt(Ge,ct,gt)&&En(Ge,ct,gt)}function wn(Ge,ct,gt,Xt){return!ct||!gt||!Xt?!1:!jt(Ge,ct,Xt)&&!jt(Ge,gt,Xt)&&Ge.isAfter(Xt,ct)&&Ge.isAfter(gt,Xt)}function Ft(Ge,ct,gt){var Xt=ct.locale.getWeekFirstDay(Ge),en=ct.setDate(gt,1),qn=ct.getWeekDay(en),Wn=ct.addDate(en,Xt-qn);return ct.getMonth(Wn)===ct.getMonth(gt)&&ct.getDate(Wn)>1&&(Wn=ct.addDate(Wn,-7)),Wn}function it(Ge,ct,gt){var Xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ct){case"year":return gt.addYear(Ge,Xt*10);case"quarter":case"month":return gt.addYear(Ge,Xt);default:return gt.addMonth(Ge,Xt)}}function Et(Ge,ct){var gt=ct.generateConfig,Xt=ct.locale,en=ct.format;return typeof en=="function"?en(Ge):gt.locale.format(Xt.locale,Ge,en)}function an(Ge,ct){var gt=ct.generateConfig,Xt=ct.locale,en=ct.formatList;return!Ge||typeof en[0]=="function"?null:gt.locale.parse(Xt.locale,Ge,en)}function un(Ge){var ct=Ge.cellDate,gt=Ge.mode,Xt=Ge.disabledDate,en=Ge.generateConfig;if(!Xt)return!1;var qn=function(xi,mr,Tr){for(var vi=mr;vi<=Tr;){var ka=void 0;switch(xi){case"date":{if(ka=en.setDate(ct,vi),!Xt(ka))return!1;break}case"month":{if(ka=en.setMonth(ct,vi),!un({cellDate:ka,mode:"month",generateConfig:en,disabledDate:Xt}))return!1;break}case"year":{if(ka=en.setYear(ct,vi),!un({cellDate:ka,mode:"year",generateConfig:en,disabledDate:Xt}))return!1;break}}vi+=1}return!0};switch(gt){case"date":case"week":return Xt(ct);case"month":{var Wn=1,wr=en.getDate(en.getEndDate(ct));return qn("date",Wn,wr)}case"quarter":{var br=Math.floor(en.getMonth(ct)/3)*3,Ir=br+2;return qn("month",br,Ir)}case"year":return qn("month",0,11);case"decade":{var zi=en.getYear(ct),Yr=Math.floor(zi/ye)*ye,Ur=Yr+ye-1;return qn("year",Yr,Ur)}}}function vn(Ge,ct){var gt=ct.formatList,Xt=ct.generateConfig,en=ct.locale;return(0,ue.Z)(function(){if(!Ge)return[[""],""];for(var qn="",Wn=[],wr=0;wr<gt.length;wr+=1){var br=gt[wr],Ir=Et(Ge,{generateConfig:Xt,locale:en,format:br});Wn.push(Ir),wr===0&&(qn=Ir)}return[Wn,qn]},[Ge,gt,en],function(qn,Wn){return!Yt(Xt,qn[0],Wn[0])||!(0,ve.Z)(qn[1],Wn[1],!0)||!(0,ve.Z)(qn[2],Wn[2],!0)})}function gn(Ge,ct){var gt=ct.formatList,Xt=ct.generateConfig,en=ct.locale,qn=(0,me.useState)(null),Wn=(0,Wt.Z)(qn,2),wr=Wn[0],br=Wn[1],Ir=(0,me.useRef)(null);function zi(Tr){var vi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Ir.current),vi){br(Tr);return}Ir.current=requestAnimationFrame(function(){br(Tr)})}var Yr=vn(wr,{formatList:gt,generateConfig:Xt,locale:en}),Ur=(0,Wt.Z)(Yr,2),di=Ur[1];function xi(Tr){zi(Tr)}function mr(){var Tr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;zi(null,Tr)}return(0,me.useEffect)(function(){mr(!0)},[Ge]),(0,me.useEffect)(function(){return function(){return cancelAnimationFrame(Ir.current)}},[]),[di,xi,mr]}var Xn=te(10228),ir=te(16089),Dr=te(77654),kr=te(29194),Bn=new Map;function jr(Ge,ct){var gt;function Xt(){(0,kr.Z)(Ge)?ct():gt=(0,ir.Z)(function(){Xt()})}return Xt(),function(){ir.Z.cancel(gt)}}function ci(Ge,ct,gt){if(Bn.get(Ge)&&cancelAnimationFrame(Bn.get(Ge)),gt<=0){Bn.set(Ge,requestAnimationFrame(function(){Ge.scrollTop=ct}));return}var Xt=ct-Ge.scrollTop,en=Xt/gt*10;Bn.set(Ge,requestAnimationFrame(function(){Ge.scrollTop+=en,Ge.scrollTop!==ct&&ci(Ge,ct,gt-10)}))}function _r(Ge,ct){var gt=ct.onLeftRight,Xt=ct.onCtrlLeftRight,en=ct.onUpDown,qn=ct.onPageUpDown,Wn=ct.onEnter,wr=Ge.which,br=Ge.ctrlKey,Ir=Ge.metaKey;switch(wr){case Xn.Z.LEFT:if(br||Ir){if(Xt)return Xt(-1),!0}else if(gt)return gt(-1),!0;break;case Xn.Z.RIGHT:if(br||Ir){if(Xt)return Xt(1),!0}else if(gt)return gt(1),!0;break;case Xn.Z.UP:if(en)return en(-1),!0;break;case Xn.Z.DOWN:if(en)return en(1),!0;break;case Xn.Z.PAGE_UP:if(qn)return qn(-1),!0;break;case Xn.Z.PAGE_DOWN:if(qn)return qn(1),!0;break;case Xn.Z.ENTER:if(Wn)return Wn(),!0;break}return!1}function Nr(Ge,ct,gt,Xt){var en=Ge;if(!en)switch(ct){case"time":en=Xt?"hh:mm:ss a":"HH:mm:ss";break;case"week":en="gggg-wo";break;case"month":en="YYYY-MM";break;case"quarter":en="YYYY-[Q]Q";break;case"year":en="YYYY";break;default:en=gt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return en}function ai(Ge,ct,gt){var Xt=Ge==="time"?8:10,en=typeof ct=="function"?ct(gt.getNow()).length:ct.length;return Math.max(Xt,en)+2}var pi=null,Mn=new Set;function pr(Ge){return!pi&&typeof window!="undefined"&&window.addEventListener&&(pi=function(gt){(0,Dr.Z)(Mn).forEach(function(Xt){Xt(gt)})},window.addEventListener("mousedown",pi)),Mn.add(Ge),function(){Mn.delete(Ge),Mn.size===0&&(window.removeEventListener("mousedown",pi),pi=null)}}function Rr(Ge){var ct=Ge.target;if(Ge.composed&&ct.shadowRoot){var gt;return((gt=Ge.composedPath)===null||gt===void 0?void 0:gt.call(Ge)[0])||ct}return ct}var Gr=function(ct){return ct==="month"||ct==="date"?"year":ct},zr=function(ct){return ct==="date"?"month":ct},ei=function(ct){return ct==="month"||ct==="date"?"quarter":ct},Hr=function(ct){return ct==="date"?"week":ct},fi={year:Gr,month:zr,quarter:ei,week:Hr,time:null,date:null};function Pr(Ge,ct){return Ge.some(function(gt){return gt&>.contains(ct)})}function dr(Ge){var ct=Ge.open,gt=Ge.value,Xt=Ge.isClickOutside,en=Ge.triggerOpen,qn=Ge.forwardKeyDown,Wn=Ge.onKeyDown,wr=Ge.blurToCancel,br=Ge.onSubmit,Ir=Ge.onCancel,zi=Ge.onFocus,Yr=Ge.onBlur,Ur=Ge.changeOnBlur,di=(0,me.useState)(!1),xi=(0,Wt.Z)(di,2),mr=xi[0],Tr=xi[1],vi=(0,me.useState)(!1),ka=(0,Wt.Z)(vi,2),da=ka[0],Pa=ka[1],La=(0,me.useRef)(!1),Ma=(0,me.useRef)(!1),ya=(0,me.useRef)(!1),Xo={onMouseDown:function(){Tr(!0),en(!0)},onKeyDown:function(Qo){var sl=function(){ya.current=!0};if(Wn(Qo,sl),!ya.current){switch(Qo.which){case Xn.Z.ENTER:{ct?br()!==!1&&Tr(!0):en(!0),Qo.preventDefault();return}case Xn.Z.TAB:{mr&&ct&&!Qo.shiftKey?(Tr(!1),Qo.preventDefault()):!mr&&ct&&!qn(Qo)&&Qo.shiftKey&&(Tr(!0),Qo.preventDefault());return}case Xn.Z.ESC:{Tr(!0),Ir();return}}!ct&&![Xn.Z.SHIFT].includes(Qo.which)?en(!0):mr||qn(Qo)}},onFocus:function(Qo){Tr(!0),Pa(!0),zi&&zi(Qo)},onBlur:function(Qo){if(La.current||!Xt(document.activeElement)){La.current=!1;return}wr?setTimeout(function(){for(var sl=document,vl=sl.activeElement;vl&&vl.shadowRoot;)vl=vl.shadowRoot.activeElement;Xt(vl)&&Ir()},0):ct&&(en(!1),Ma.current&&br()),Pa(!1),Yr==null||Yr(Qo)}};return(0,me.useEffect)(function(){Ma.current=!1},[ct]),(0,me.useEffect)(function(){Ma.current=!0},[gt]),(0,me.useEffect)(function(){return pr(function(Mo){var Qo=Rr(Mo),sl=Xt(Qo);ct&&(sl?!Ur&&(!da||sl)&&en(!1):(La.current=!0,(0,ir.Z)(function(){La.current=!1})))})}),[Xo,{focused:da,typing:mr}]}function oi(Ge,ct){return me.useMemo(function(){return Ge||(ct?((0,Ce.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ct).map(function(gt){var Xt=(0,Wt.Z)(gt,2),en=Xt[0],qn=Xt[1];return{label:en,value:qn}})):[])},[Ge,ct])}var $t=te(34280);function pt(Ge){var ct=Ge.valueTexts,gt=Ge.onTextChange,Xt=me.useState(""),en=(0,Wt.Z)(Xt,2),qn=en[0],Wn=en[1],wr=me.useRef([]);wr.current=ct;function br(zi){Wn(zi),gt(zi)}function Ir(){Wn(wr.current[0])}return(0,$t.Z)(function(){ct.every(function(zi){return zi!==qn})&&Ir()},[ct.join("||")]),[qn,br,Ir]}var Bt=me.createContext({}),At=Bt,Ct=te(43749);function Gt(Ge){var ct=Ge.cellRender,gt=Ge.monthCellRender,Xt=Ge.dateRender,en=me.useMemo(function(){if(ct)return ct;if(!(!gt&&!Xt))return function(qn,Wn){var wr=qn;return Xt&&Wn.type==="date"?Xt(wr,Wn.today):gt&&Wn.type==="month"?gt(wr,Wn.locale):Wn.originNode}},[ct,gt,Xt]);return en}function nn(Ge,ct){for(var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Xt=String(Ge);Xt.length<ct;)Xt="".concat(gt).concat(Ge);return Xt}var _n=function(){for(var ct=arguments.length,gt=new Array(ct),Xt=0;Xt<ct;Xt++)gt[Xt]=arguments[Xt];return gt};function Pn(Ge){return Ge==null?[]:Array.isArray(Ge)?Ge:[Ge]}function Sn(Ge,ct){return Ge?Ge[ct]:null}function rr(Ge,ct,gt){var Xt=[Sn(Ge,0),Sn(Ge,1)];return Xt[gt]=typeof ct=="function"?ct(Xt[gt]):ct,!Xt[0]&&!Xt[1]?null:Xt}function gr(Ge){return typeof Ge=="function"?Ge():Ge}function Cr(Ge){var ct=Ge.cellPrefixCls,gt=Ge.generateConfig,Xt=Ge.rangedValue,en=Ge.hoverRangedValue,qn=Ge.isInView,Wn=Ge.isSameCell,wr=Ge.offsetCell,br=Ge.today,Ir=Ge.value;function zi(Yr){var Ur,di=wr(Yr,-1),xi=wr(Yr,1),mr=Sn(Xt,0),Tr=Sn(Xt,1),vi=Sn(en,0),ka=Sn(en,1),da=wn(gt,vi,ka,Yr);function Pa(Qo){return Wn(mr,Qo)}function La(Qo){return Wn(Tr,Qo)}var Ma=Wn(vi,Yr),ya=Wn(ka,Yr),Xo=(da||ya)&&(!qn(di)||La(di)),Mo=(da||Ma)&&(!qn(xi)||Pa(xi));return Ur={},(0,Qt.Z)(Ur,"".concat(ct,"-in-view"),qn(Yr)),(0,Qt.Z)(Ur,"".concat(ct,"-in-range"),wn(gt,mr,Tr,Yr)),(0,Qt.Z)(Ur,"".concat(ct,"-range-start"),Pa(Yr)),(0,Qt.Z)(Ur,"".concat(ct,"-range-end"),La(Yr)),(0,Qt.Z)(Ur,"".concat(ct,"-range-start-single"),Pa(Yr)&&!Tr),(0,Qt.Z)(Ur,"".concat(ct,"-range-end-single"),La(Yr)&&!mr),(0,Qt.Z)(Ur,"".concat(ct,"-range-start-near-hover"),Pa(Yr)&&(Wn(di,vi)||wn(gt,vi,ka,di))),(0,Qt.Z)(Ur,"".concat(ct,"-range-end-near-hover"),La(Yr)&&(Wn(xi,ka)||wn(gt,vi,ka,xi))),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover"),da),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover-start"),Ma),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover-end"),ya),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover-edge-start"),Xo),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover-edge-end"),Mo),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover-edge-start-near-range"),Xo&&Wn(di,Tr)),(0,Qt.Z)(Ur,"".concat(ct,"-range-hover-edge-end-near-range"),Mo&&Wn(xi,mr)),(0,Qt.Z)(Ur,"".concat(ct,"-today"),Wn(br,Yr)),(0,Qt.Z)(Ur,"".concat(ct,"-selected"),Wn(Ir,Yr)),Ur}return zi}var bn=me.createContext({}),$n=bn;function Jt(Ge,ct,gt,Xt,en){var qn=Ge.setHour(ct,gt);return qn=Ge.setMinute(qn,Xt),qn=Ge.setSecond(qn,en),qn}function pn(Ge,ct,gt){if(!gt)return ct;var Xt=ct;return Xt=Ge.setHour(Xt,Ge.getHour(gt)),Xt=Ge.setMinute(Xt,Ge.getMinute(gt)),Xt=Ge.setSecond(Xt,Ge.getSecond(gt)),Xt}function An(Ge,ct,gt,Xt,en,qn){var Wn=Math.floor(Ge/Xt)*Xt;if(Wn<Ge)return[Wn,60-en,60-qn];var wr=Math.floor(ct/en)*en;if(wr<ct)return[Wn,wr,60-qn];var br=Math.floor(gt/qn)*qn;return[Wn,wr,br]}function dn(Ge,ct){var gt=Ge.getYear(ct),Xt=Ge.getMonth(ct)+1,en=Ge.getEndDate(Ge.getFixedDate("".concat(gt,"-").concat(Xt,"-01"))),qn=Ge.getDate(en),Wn=Xt<10?"0".concat(Xt):"".concat(Xt);return"".concat(gt,"-").concat(Wn,"-").concat(qn)}function Hn(Ge){for(var ct=Ge.prefixCls,gt=Ge.disabledDate,Xt=Ge.onSelect,en=Ge.picker,qn=Ge.rowNum,Wn=Ge.colNum,wr=Ge.prefixColumn,br=Ge.rowClassName,Ir=Ge.baseDate,zi=Ge.getCellClassName,Yr=Ge.getCellText,Ur=Ge.getCellNode,di=Ge.getCellDate,xi=Ge.generateConfig,mr=Ge.titleCell,Tr=Ge.headerCells,vi=me.useContext(At),ka=vi.onDateMouseEnter,da=vi.onDateMouseLeave,Pa=vi.mode,La="".concat(ct,"-cell"),Ma=[],ya=0;ya<qn;ya+=1){for(var Xo=[],Mo=void 0,Qo=function(){var Dl,Rl=ya*Wn+sl,$o=di(Ir,Rl),nl=un({cellDate:$o,mode:Pa,disabledDate:gt,generateConfig:xi});sl===0&&(Mo=$o,wr&&Xo.push(wr(Mo)));var dl=mr&&mr($o),zl=me.createElement("div",{className:"".concat(La,"-inner")},Yr($o));Xo.push(me.createElement("td",{key:sl,title:dl,className:tt()(La,(0,Ut.Z)((Dl={},(0,Qt.Z)(Dl,"".concat(La,"-disabled"),nl),(0,Qt.Z)(Dl,"".concat(La,"-start"),Yr($o)===1||en==="year"&&Number(dl)%10===0),(0,Qt.Z)(Dl,"".concat(La,"-end"),dl===dn(xi,$o)||en==="year"&&Number(dl)%10===9),Dl),zi($o))),onClick:function(){nl||Xt($o)},onMouseEnter:function(){!nl&&ka&&ka($o)},onMouseLeave:function(){!nl&&da&&da($o)}},Ur?Ur($o,zl):zl))},sl=0;sl<Wn;sl+=1)Qo();Ma.push(me.createElement("tr",{key:ya,className:br&&br(Mo)},Xo))}return me.createElement("div",{className:"".concat(ct,"-body")},me.createElement("table",{className:"".concat(ct,"-content")},Tr&&me.createElement("thead",null,me.createElement("tr",null,Tr)),me.createElement("tbody",null,Ma)))}function ln(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.prefixColumn,en=Ge.locale,qn=Ge.rowCount,Wn=Ge.viewDate,wr=Ge.value,br=Ge.cellRender,Ir=Ge.isSameCell,zi=me.useContext($n),Yr=zi.rangedValue,Ur=zi.hoverRangedValue,di=Ft(en.locale,gt,Wn),xi="".concat(ct,"-cell"),mr=gt.locale.getWeekFirstDay(en.locale),Tr=gt.getNow(),vi=[],ka=en.shortWeekDays||(gt.locale.getShortWeekDays?gt.locale.getShortWeekDays(en.locale):[]);Xt&&vi.push(me.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var da=0;da<$e;da+=1)vi.push(me.createElement("th",{key:da},ka[(da+mr)%$e]));var Pa=Cr({cellPrefixCls:xi,today:Tr,value:wr,generateConfig:gt,rangedValue:Xt?null:Yr,hoverRangedValue:Xt?null:Ur,isSameCell:Ir||function(Ma,ya){return jt(gt,Ma,ya)},isInView:function(ya){return yt(gt,ya,Wn)},offsetCell:function(ya,Xo){return gt.addDate(ya,Xo)}}),La=br?function(Ma,ya){return br(Ma,{originNode:ya,today:Tr,type:"date",locale:en})}:void 0;return me.createElement(Hn,(0,_e.Z)({},Ge,{rowNum:qn,colNum:$e,baseDate:di,getCellNode:La,getCellText:gt.getDate,getCellClassName:Pa,getCellDate:gt.addDate,titleCell:function(ya){return Et(ya,{locale:en,format:"YYYY-MM-DD",generateConfig:gt})},headerCells:vi}))}var jn=ln,Mt={visibility:"hidden"};function cn(Ge){var ct=Ge.prefixCls,gt=Ge.prevIcon,Xt=gt===void 0?"\u2039":gt,en=Ge.nextIcon,qn=en===void 0?"\u203A":en,Wn=Ge.superPrevIcon,wr=Wn===void 0?"\xAB":Wn,br=Ge.superNextIcon,Ir=br===void 0?"\xBB":br,zi=Ge.onSuperPrev,Yr=Ge.onSuperNext,Ur=Ge.onPrev,di=Ge.onNext,xi=Ge.children,mr=me.useContext(At),Tr=mr.hideNextBtn,vi=mr.hidePrevBtn;return me.createElement("div",{className:ct},zi&&me.createElement("button",{type:"button",onClick:zi,tabIndex:-1,className:"".concat(ct,"-super-prev-btn"),style:vi?Mt:{}},wr),Ur&&me.createElement("button",{type:"button",onClick:Ur,tabIndex:-1,className:"".concat(ct,"-prev-btn"),style:vi?Mt:{}},Xt),me.createElement("div",{className:"".concat(ct,"-view")},xi),di&&me.createElement("button",{type:"button",onClick:di,tabIndex:-1,className:"".concat(ct,"-next-btn"),style:Tr?Mt:{}},qn),Yr&&me.createElement("button",{type:"button",onClick:Yr,tabIndex:-1,className:"".concat(ct,"-super-next-btn"),style:Tr?Mt:{}},Ir))}var hn=cn;function In(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.locale,en=Ge.viewDate,qn=Ge.onNextMonth,Wn=Ge.onPrevMonth,wr=Ge.onNextYear,br=Ge.onPrevYear,Ir=Ge.onYearClick,zi=Ge.onMonthClick,Yr=me.useContext(At),Ur=Yr.hideHeader;if(Ur)return null;var di="".concat(ct,"-header"),xi=Xt.shortMonths||(gt.locale.getShortMonths?gt.locale.getShortMonths(Xt.locale):[]),mr=gt.getMonth(en),Tr=me.createElement("button",{type:"button",key:"year",onClick:Ir,tabIndex:-1,className:"".concat(ct,"-year-btn")},Et(en,{locale:Xt,format:Xt.yearFormat,generateConfig:gt})),vi=me.createElement("button",{type:"button",key:"month",onClick:zi,tabIndex:-1,className:"".concat(ct,"-month-btn")},Xt.monthFormat?Et(en,{locale:Xt,format:Xt.monthFormat,generateConfig:gt}):xi[mr]),ka=Xt.monthBeforeYear?[vi,Tr]:[Tr,vi];return me.createElement(hn,(0,_e.Z)({},Ge,{prefixCls:di,onSuperPrev:br,onPrev:Wn,onNext:qn,onSuperNext:wr}),ka)}var Ln=In,Un=6;function Gn(Ge){var ct=Ge.prefixCls,gt=Ge.panelName,Xt=gt===void 0?"date":gt,en=Ge.keyboardConfig,qn=Ge.active,Wn=Ge.operationRef,wr=Ge.generateConfig,br=Ge.value,Ir=Ge.viewDate,zi=Ge.onViewDateChange,Yr=Ge.onPanelChange,Ur=Ge.onSelect,di="".concat(ct,"-").concat(Xt,"-panel");Wn.current={onKeyDown:function(vi){return _r(vi,(0,Ut.Z)({onLeftRight:function(da){Ur(wr.addDate(br||Ir,da),"key")},onCtrlLeftRight:function(da){Ur(wr.addYear(br||Ir,da),"key")},onUpDown:function(da){Ur(wr.addDate(br||Ir,da*$e),"key")},onPageUpDown:function(da){Ur(wr.addMonth(br||Ir,da),"key")}},en))}};var xi=function(vi){var ka=wr.addYear(Ir,vi);zi(ka),Yr(null,ka)},mr=function(vi){var ka=wr.addMonth(Ir,vi);zi(ka),Yr(null,ka)};return me.createElement("div",{className:tt()(di,(0,Qt.Z)({},"".concat(di,"-active"),qn))},me.createElement(Ln,(0,_e.Z)({},Ge,{prefixCls:ct,value:br,viewDate:Ir,onPrevYear:function(){xi(-1)},onNextYear:function(){xi(1)},onPrevMonth:function(){mr(-1)},onNextMonth:function(){mr(1)},onMonthClick:function(){Yr("month",Ir)},onYearClick:function(){Yr("year",Ir)}})),me.createElement(jn,(0,_e.Z)({},Ge,{onSelect:function(vi){return Ur(vi,"mouse")},prefixCls:ct,value:br,viewDate:Ir,rowCount:Un})))}var cr=Gn;function Sr(Ge){var ct=me.useContext(At),gt=ct.hideHeader;if(gt)return null;var Xt=Ge.prefixCls,en=Ge.generateConfig,qn=Ge.locale,Wn=Ge.value,wr=Ge.format,br="".concat(Xt,"-header");return me.createElement(hn,{prefixCls:br},Wn?Et(Wn,{locale:qn,format:wr,generateConfig:en}):"\xA0")}var Wr=Sr;function gi(Ge){var ct=Ge.value,gt=Ge.generateConfig,Xt=Ge.disabledMinutes,en=Ge.disabledSeconds,qn=Ge.minutes,Wn=Ge.seconds,wr=Ge.use12Hours,br=function(zi,Yr,Ur,di){var xi=gt.getNow(),mr=ct||xi,Tr=Yr<0?gt.getHour(xi):Yr,vi=Ur<0?gt.getMinute(xi):Ur,ka=di<0?gt.getSecond(xi):di,da=Xt&&Xt(Tr);if(da!=null&&da.includes(vi)){var Pa=qn.find(function(ya){return!da.includes(ya.value)});if(Pa)vi=Pa.value;else return null}var La=en&&en(Tr,vi);if(La!=null&&La.includes(ka)){var Ma=Wn.find(function(ya){return!La.includes(ya.value)});if(Ma)ka=Ma.value;else return null}return mr=Jt(gt,mr,!wr||!zi?Tr:Tr+12,vi,ka),mr};return br}function ki(Ge){var ct=Ge.prefixCls,gt=Ge.units,Xt=Ge.onSelect,en=Ge.value,qn=Ge.active,Wn=Ge.hideDisabledOptions,wr=Ge.info,br=Ge.type,Ir="".concat(ct,"-cell"),zi=me.useContext(At),Yr=zi.open,Ur=(0,me.useRef)(null),di=(0,me.useRef)(new Map),xi=(0,me.useRef)();return(0,me.useLayoutEffect)(function(){var mr=di.current.get(en);mr&&Yr!==!1&&ci(Ur.current,mr.offsetTop,120)},[en]),(0,me.useLayoutEffect)(function(){if(Yr){var mr=di.current.get(en);mr&&(xi.current=jr(mr,function(){ci(Ur.current,mr.offsetTop,0)}))}return function(){var Tr;(Tr=xi.current)===null||Tr===void 0||Tr.call(xi)}},[Yr]),me.createElement("ul",{className:tt()("".concat(ct,"-column"),(0,Qt.Z)({},"".concat(ct,"-column-active"),qn)),ref:Ur,style:{position:"relative"}},gt.map(function(mr){var Tr;return Wn&&mr.disabled?null:me.createElement("li",{key:mr.value,ref:function(ka){di.current.set(mr.value,ka)},className:tt()(Ir,(Tr={},(0,Qt.Z)(Tr,"".concat(Ir,"-disabled"),mr.disabled),(0,Qt.Z)(Tr,"".concat(Ir,"-selected"),en===mr.value),Tr)),onClick:function(){mr.disabled||Xt(mr.value)}},wr.cellRender?wr.cellRender(mr.value,{today:wr.today,locale:wr.locale,originNode:me.createElement("div",{className:"".concat(Ir,"-inner")},mr.label),type:"time",subType:br}):me.createElement("div",{className:"".concat(Ir,"-inner")},mr.label))}))}var si=ki;function wi(Ge,ct){if(Ge.length!==ct.length)return!0;for(var gt=0;gt<Ge.length;gt+=1)if(Ge[gt].disabled!==ct[gt].disabled)return!0;return!1}function Qr(Ge,ct,gt,Xt){for(var en=[],qn=gt>=1?gt|0:1,Wn=Ge;Wn<=ct;Wn+=qn)en.push({label:nn(Wn,2),value:Wn,disabled:(Xt||[]).includes(Wn)});return en}function Gi(Ge){var ct=Ge.generateConfig,gt=Ge.prefixCls,Xt=Ge.operationRef,en=Ge.activeColumnIndex,qn=Ge.value,Wn=Ge.showHour,wr=Ge.showMinute,br=Ge.showSecond,Ir=Ge.use12Hours,zi=Ge.hourStep,Yr=zi===void 0?1:zi,Ur=Ge.minuteStep,di=Ur===void 0?1:Ur,xi=Ge.secondStep,mr=xi===void 0?1:xi,Tr=Ge.disabledHours,vi=Ge.disabledMinutes,ka=Ge.disabledSeconds,da=Ge.disabledTime,Pa=Ge.hideDisabledOptions,La=Ge.onSelect,Ma=Ge.cellRender,ya=Ge.locale,Xo=[],Mo="".concat(gt,"-content"),Qo="".concat(gt,"-time-panel"),sl,vl=qn?ct.getHour(qn):-1,Dl=vl,Rl=qn?ct.getMinute(qn):-1,$o=qn?ct.getSecond(qn):-1,nl=ct.getNow(),dl=me.useMemo(function(){if(da){var lr=da(nl);return[lr.disabledHours,lr.disabledMinutes,lr.disabledSeconds]}return[Tr,vi,ka]},[Tr,vi,ka,da,nl]),zl=(0,Wt.Z)(dl,3),Ql=zl[0],Sl=zl[1],fl=zl[2],fs=Qr(0,23,Yr,Ql&&Ql()),ws=(0,ue.Z)(function(){return fs},fs,wi);Ir&&(sl=Dl>=12,Dl%=12);var ht=me.useMemo(function(){if(!Ir)return[!1,!1];var lr=[!0,!0];return ws.forEach(function(ur){var Kr=ur.disabled,Zr=ur.value;Kr||(Zr>=12?lr[1]=!1:lr[0]=!1)}),lr},[Ir,ws]),bt=(0,Wt.Z)(ht,2),Zt=bt[0],Vt=bt[1],mn=me.useMemo(function(){return Ir?ws.filter(sl?function(lr){return lr.value>=12}:function(lr){return lr.value<12}).map(function(lr){var ur=lr.value%12,Kr=ur===0?"12":nn(ur,2);return(0,Ut.Z)((0,Ut.Z)({},lr),{},{label:Kr,value:ur})}):ws},[Ir,sl,ws]),sn=Qr(0,59,di,Sl&&Sl(vl)),Kn=Qr(0,59,mr,fl&&fl(vl,Rl)),Rn=gi({value:qn,generateConfig:ct,disabledMinutes:Sl,disabledSeconds:fl,minutes:sn,seconds:Kn,use12Hours:Ir});Xt.current={onUpDown:function(ur){var Kr=Xo[en];if(Kr)for(var Zr=Kr.units.findIndex(function(Ki){return Ki.value===Kr.value}),Jr=Kr.units.length,yi=1;yi<Jr;yi+=1){var hi=Kr.units[(Zr+ur*yi+Jr)%Jr];if(hi.disabled!==!0){Kr.onSelect(hi.value);break}}}};function Tn(lr,ur,Kr,Zr,Jr){lr!==!1&&Xo.push({node:me.cloneElement(ur,{prefixCls:Qo,value:Kr,active:en===Xo.length,onSelect:Jr,units:Zr,hideDisabledOptions:Pa}),onSelect:Jr,value:Kr,units:Zr})}Tn(Wn,me.createElement(si,{key:"hour",type:"hour",info:{today:nl,locale:ya,cellRender:Ma}}),Dl,mn,function(lr){La(Rn(sl,lr,Rl,$o),"mouse")}),Tn(wr,me.createElement(si,{key:"minute",type:"minute",info:{today:nl,locale:ya,cellRender:Ma}}),Rl,sn,function(lr){La(Rn(sl,Dl,lr,$o),"mouse")}),Tn(br,me.createElement(si,{key:"second",type:"second",info:{today:nl,locale:ya,cellRender:Ma}}),$o,Kn,function(lr){La(Rn(sl,Dl,Rl,lr),"mouse")});var fr=-1;return typeof sl=="boolean"&&(fr=sl?1:0),Tn(Ir===!0,me.createElement(si,{key:"meridiem",type:"meridiem",info:{today:nl,locale:ya,cellRender:Ma}}),fr,[{label:"AM",value:0,disabled:Zt},{label:"PM",value:1,disabled:Vt}],function(lr){La(Rn(!!lr,Dl,Rl,$o),"mouse")}),me.createElement("div",{className:Mo},Xo.map(function(lr){var ur=lr.node;return ur}))}var Hi=Gi,$i=function(ct){return ct.filter(function(gt){return gt!==!1}).length};function Ai(Ge){var ct=Ge.generateConfig,gt=Ge.format,Xt=gt===void 0?"HH:mm:ss":gt,en=Ge.prefixCls,qn=Ge.active,Wn=Ge.operationRef,wr=Ge.showHour,br=Ge.showMinute,Ir=Ge.showSecond,zi=Ge.use12Hours,Yr=zi===void 0?!1:zi,Ur=Ge.onSelect,di=Ge.value,xi="".concat(en,"-time-panel"),mr=me.useRef(),Tr=me.useState(-1),vi=(0,Wt.Z)(Tr,2),ka=vi[0],da=vi[1],Pa=$i([wr,br,Ir,Yr]);return Wn.current={onKeyDown:function(Ma){return _r(Ma,{onLeftRight:function(Xo){da((ka+Xo+Pa)%Pa)},onUpDown:function(Xo){ka===-1?da(0):mr.current&&mr.current.onUpDown(Xo)},onEnter:function(){Ur(di||ct.getNow(),"key"),da(-1)}})},onBlur:function(){da(-1)}},me.createElement("div",{className:tt()(xi,(0,Qt.Z)({},"".concat(xi,"-active"),qn))},me.createElement(Wr,(0,_e.Z)({},Ge,{format:Xt,prefixCls:en})),me.createElement(Hi,(0,_e.Z)({},Ge,{prefixCls:en,activeColumnIndex:ka,operationRef:mr})))}var li=Ai,Qi=_n("date","time");function Pi(Ge){var ct=Ge.prefixCls,gt=Ge.operationRef,Xt=Ge.generateConfig,en=Ge.value,qn=Ge.defaultValue,Wn=Ge.disabledTime,wr=Ge.showTime,br=Ge.onSelect,Ir=Ge.cellRender,zi="".concat(ct,"-datetime-panel"),Yr=me.useState(null),Ur=(0,Wt.Z)(Yr,2),di=Ur[0],xi=Ur[1],mr=me.useRef({}),Tr=me.useRef({}),vi=(0,Ct.Z)(wr)==="object"?(0,Ut.Z)({},wr):{};function ka(Ma){var ya=Qi.indexOf(di)+Ma,Xo=Qi[ya]||null;return Xo}var da=function(ya){Tr.current.onBlur&&Tr.current.onBlur(ya),xi(null)};gt.current={onKeyDown:function(ya){if(ya.which===Xn.Z.TAB){var Xo=ka(ya.shiftKey?-1:1);return xi(Xo),Xo&&ya.preventDefault(),!0}if(di){var Mo=di==="date"?mr:Tr;return Mo.current&&Mo.current.onKeyDown&&Mo.current.onKeyDown(ya),!0}return[Xn.Z.LEFT,Xn.Z.RIGHT,Xn.Z.UP,Xn.Z.DOWN].includes(ya.which)?(xi("date"),!0):!1},onBlur:da,onClose:da};var Pa=function(ya,Xo){var Mo=ya;Xo==="date"&&!en&&vi.defaultValue?(Mo=Xt.setHour(Mo,Xt.getHour(vi.defaultValue)),Mo=Xt.setMinute(Mo,Xt.getMinute(vi.defaultValue)),Mo=Xt.setSecond(Mo,Xt.getSecond(vi.defaultValue))):Xo==="time"&&!en&&qn&&(Mo=Xt.setYear(Mo,Xt.getYear(qn)),Mo=Xt.setMonth(Mo,Xt.getMonth(qn)),Mo=Xt.setDate(Mo,Xt.getDate(qn))),br&&br(Mo,"mouse")},La=Wn?Wn(en||null):{};return me.createElement("div",{className:tt()(zi,(0,Qt.Z)({},"".concat(zi,"-active"),di))},me.createElement(cr,(0,_e.Z)({},Ge,{cellRender:Ir,operationRef:mr,active:di==="date",onSelect:function(ya){Pa(pn(Xt,ya,!en&&(0,Ct.Z)(wr)==="object"?wr.defaultValue:null),"date")}})),me.createElement(li,(0,_e.Z)({},Ge,{cellRender:Ir?function(Ma,ya){return Ir(Ma,(0,Ut.Z)((0,Ut.Z)({},ya),{},{type:"time"}))}:void 0,format:void 0},vi,La,{disabledTime:null,defaultValue:void 0,operationRef:Tr,active:di==="time",onSelect:function(ya){Pa(ya,"time")}})))}var xa=Pi;function lo(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.viewDate,en=Ge.onPrevDecades,qn=Ge.onNextDecades,Wn=me.useContext(At),wr=Wn.hideHeader;if(wr)return null;var br="".concat(ct,"-header"),Ir=gt.getYear(Xt),zi=Math.floor(Ir/se)*se,Yr=zi+se-1;return me.createElement(hn,(0,_e.Z)({},Ge,{prefixCls:br,onSuperPrev:en,onSuperNext:qn}),zi,"-",Yr)}var Vi=lo,Or=3,Lr=4;function ia(Ge){var ct=ye-1,gt=Ge.prefixCls,Xt=Ge.viewDate,en=Ge.generateConfig,qn=Ge.cellRender,Wn=Ge.locale,wr="".concat(gt,"-cell"),br=en.getYear(Xt),Ir=Math.floor(br/ye)*ye,zi=Math.floor(br/se)*se,Yr=zi+se-1,Ur=en.setYear(Xt,zi-Math.ceil((Or*Lr*ye-se)/2)),di=function(Tr){var vi,ka=en.getYear(Tr),da=ka+ct;return vi={},(0,Qt.Z)(vi,"".concat(wr,"-in-view"),zi<=ka&&da<=Yr),(0,Qt.Z)(vi,"".concat(wr,"-selected"),ka===Ir),vi},xi=qn?function(mr,Tr){return qn(mr,{originNode:Tr,today:en.getNow(),type:"decade",locale:Wn})}:void 0;return me.createElement(Hn,(0,_e.Z)({},Ge,{rowNum:Lr,colNum:Or,baseDate:Ur,getCellNode:xi,getCellText:function(Tr){var vi=en.getYear(Tr);return"".concat(vi,"-").concat(vi+ct)},getCellClassName:di,getCellDate:function(Tr,vi){return en.addYear(Tr,vi*ye)}}))}var Zi=ia;function ma(Ge){var ct=Ge.prefixCls,gt=Ge.onViewDateChange,Xt=Ge.generateConfig,en=Ge.viewDate,qn=Ge.operationRef,Wn=Ge.onSelect,wr=Ge.onPanelChange,br="".concat(ct,"-decade-panel");qn.current={onKeyDown:function(Ur){return _r(Ur,{onLeftRight:function(xi){Wn(Xt.addYear(en,xi*ye),"key")},onCtrlLeftRight:function(xi){Wn(Xt.addYear(en,xi*se),"key")},onUpDown:function(xi){Wn(Xt.addYear(en,xi*ye*Or),"key")},onEnter:function(){wr("year",en)}})}};var Ir=function(Ur){var di=Xt.addYear(en,Ur*se);gt(di),wr(null,di)},zi=function(Ur){Wn(Ur,"mouse"),wr("year",Ur)};return me.createElement("div",{className:br},me.createElement(Vi,(0,_e.Z)({},Ge,{prefixCls:ct,onPrevDecades:function(){Ir(-1)},onNextDecades:function(){Ir(1)}})),me.createElement(Zi,(0,_e.Z)({},Ge,{prefixCls:ct,onSelect:zi})))}var pa=ma;function ha(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.locale,en=Ge.viewDate,qn=Ge.onNextYear,Wn=Ge.onPrevYear,wr=Ge.onYearClick,br=me.useContext(At),Ir=br.hideHeader;if(Ir)return null;var zi="".concat(ct,"-header");return me.createElement(hn,(0,_e.Z)({},Ge,{prefixCls:zi,onSuperPrev:Wn,onSuperNext:qn}),me.createElement("button",{type:"button",onClick:wr,className:"".concat(ct,"-year-btn")},Et(en,{locale:Xt,format:Xt.yearFormat,generateConfig:gt})))}var qi=ha,aa=3,Ao=4;function Di(Ge){var ct=Ge.prefixCls,gt=Ge.locale,Xt=Ge.value,en=Ge.viewDate,qn=Ge.generateConfig,Wn=Ge.cellRender,wr=me.useContext($n),br=wr.rangedValue,Ir=wr.hoverRangedValue,zi="".concat(ct,"-cell"),Yr=Cr({cellPrefixCls:zi,value:Xt,generateConfig:qn,rangedValue:br,hoverRangedValue:Ir,isSameCell:function(Tr,vi){return yt(qn,Tr,vi)},isInView:function(){return!0},offsetCell:function(Tr,vi){return qn.addMonth(Tr,vi)}}),Ur=gt.shortMonths||(qn.locale.getShortMonths?qn.locale.getShortMonths(gt.locale):[]),di=qn.setMonth(en,0),xi=Wn?function(mr,Tr){return Wn(mr,{originNode:Tr,locale:gt,today:qn.getNow(),type:"month"})}:void 0;return me.createElement(Hn,(0,_e.Z)({},Ge,{rowNum:Ao,colNum:aa,baseDate:di,getCellNode:xi,getCellText:function(Tr){return gt.monthFormat?Et(Tr,{locale:gt,format:gt.monthFormat,generateConfig:qn}):Ur[qn.getMonth(Tr)]},getCellClassName:Yr,getCellDate:qn.addMonth,titleCell:function(Tr){return Et(Tr,{locale:gt,format:"YYYY-MM",generateConfig:qn})}}))}var Ti=Di;function Ea(Ge){var ct=Ge.prefixCls,gt=Ge.operationRef,Xt=Ge.onViewDateChange,en=Ge.generateConfig,qn=Ge.value,Wn=Ge.viewDate,wr=Ge.onPanelChange,br=Ge.onSelect,Ir="".concat(ct,"-month-panel");gt.current={onKeyDown:function(Ur){return _r(Ur,{onLeftRight:function(xi){br(en.addMonth(qn||Wn,xi),"key")},onCtrlLeftRight:function(xi){br(en.addYear(qn||Wn,xi),"key")},onUpDown:function(xi){br(en.addMonth(qn||Wn,xi*aa),"key")},onEnter:function(){wr("date",qn||Wn)}})}};var zi=function(Ur){var di=en.addYear(Wn,Ur);Xt(di),wr(null,di)};return me.createElement("div",{className:Ir},me.createElement(qi,(0,_e.Z)({},Ge,{prefixCls:ct,onPrevYear:function(){zi(-1)},onNextYear:function(){zi(1)},onYearClick:function(){wr("year",Wn)}})),me.createElement(Ti,(0,_e.Z)({},Ge,{prefixCls:ct,onSelect:function(Ur){br(Ur,"mouse"),wr("date",Ur)}})))}var _a=Ea;function jo(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.locale,en=Ge.viewDate,qn=Ge.onNextYear,Wn=Ge.onPrevYear,wr=Ge.onYearClick,br=me.useContext(At),Ir=br.hideHeader;if(Ir)return null;var zi="".concat(ct,"-header");return me.createElement(hn,(0,_e.Z)({},Ge,{prefixCls:zi,onSuperPrev:Wn,onSuperNext:qn}),me.createElement("button",{type:"button",onClick:wr,className:"".concat(ct,"-year-btn")},Et(en,{locale:Xt,format:Xt.yearFormat,generateConfig:gt})))}var Zo=jo,ko=4,vo=1;function Ar(Ge){var ct=Ge.prefixCls,gt=Ge.locale,Xt=Ge.value,en=Ge.viewDate,qn=Ge.generateConfig,Wn=Ge.cellRender,wr=me.useContext($n),br=wr.rangedValue,Ir=wr.hoverRangedValue,zi="".concat(ct,"-cell"),Yr=Cr({cellPrefixCls:zi,value:Xt,generateConfig:qn,rangedValue:br,hoverRangedValue:Ir,isSameCell:function(mr,Tr){return Dt(qn,mr,Tr)},isInView:function(){return!0},offsetCell:function(mr,Tr){return qn.addMonth(mr,Tr*3)}}),Ur=qn.setDate(qn.setMonth(en,0),1),di=Wn?function(xi,mr){return Wn(xi,{originNode:mr,locale:gt,today:qn.getNow(),type:"quarter"})}:void 0;return me.createElement(Hn,(0,_e.Z)({},Ge,{rowNum:vo,colNum:ko,baseDate:Ur,getCellNode:di,getCellText:function(mr){return Et(mr,{locale:gt,format:gt.quarterFormat||"[Q]Q",generateConfig:qn})},getCellClassName:Yr,getCellDate:function(mr,Tr){return qn.addMonth(mr,Tr*3)},titleCell:function(mr){return Et(mr,{locale:gt,format:"YYYY-[Q]Q",generateConfig:qn})}}))}var il=Ar;function _i(Ge){var ct=Ge.prefixCls,gt=Ge.operationRef,Xt=Ge.onViewDateChange,en=Ge.generateConfig,qn=Ge.value,Wn=Ge.viewDate,wr=Ge.onPanelChange,br=Ge.onSelect,Ir="".concat(ct,"-quarter-panel");gt.current={onKeyDown:function(Ur){return _r(Ur,{onLeftRight:function(xi){br(en.addMonth(qn||Wn,xi*3),"key")},onCtrlLeftRight:function(xi){br(en.addYear(qn||Wn,xi),"key")},onUpDown:function(xi){br(en.addYear(qn||Wn,xi),"key")}})}};var zi=function(Ur){var di=en.addYear(Wn,Ur);Xt(di),wr(null,di)};return me.createElement("div",{className:Ir},me.createElement(Zo,(0,_e.Z)({},Ge,{prefixCls:ct,onPrevYear:function(){zi(-1)},onNextYear:function(){zi(1)},onYearClick:function(){wr("year",Wn)}})),me.createElement(il,(0,_e.Z)({},Ge,{prefixCls:ct,onSelect:function(Ur){br(Ur,"mouse")}})))}var Li=_i;function Mi(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.locale,en=Ge.value,qn=Ge.disabledDate,Wn=Ge.onSelect,wr=me.useContext($n),br=wr.rangedValue,Ir=wr.hoverRangedValue,zi=me.useContext(At),Yr=zi.onDateMouseEnter,Ur=zi.onDateMouseLeave,di=(Ir==null?void 0:Ir[0])||(br==null?void 0:br[0]),xi=(Ir==null?void 0:Ir[1])||(br==null?void 0:br[1]),mr="".concat(ct,"-cell"),Tr=function(Pa){var La=un({cellDate:Pa,mode:"week",disabledDate:qn,generateConfig:gt});return me.createElement("td",{key:"week",className:tt()(mr,"".concat(mr,"-week")),onClick:function(){La||Wn(Pa,"mouse")},onMouseEnter:function(){!La&&Yr&&Yr(Pa)},onMouseLeave:function(){!La&&Ur&&Ur(Pa)}},me.createElement("div",{className:"".concat(mr,"-inner")},gt.locale.getWeek(Xt.locale,Pa)))},vi="".concat(ct,"-week-panel-row"),ka=function(Pa){var La,Ma=_t(gt,Xt.locale,di,Pa),ya=_t(gt,Xt.locale,xi,Pa);return tt()(vi,(La={},(0,Qt.Z)(La,"".concat(vi,"-selected"),!br&&_t(gt,Xt.locale,en,Pa)),(0,Qt.Z)(La,"".concat(vi,"-range-start"),Ma),(0,Qt.Z)(La,"".concat(vi,"-range-end"),ya),(0,Qt.Z)(La,"".concat(vi,"-range-hover"),!Ma&&!ya&&wn(gt,di,xi,Pa)),La))};return me.createElement(cr,(0,_e.Z)({},Ge,{panelName:"week",prefixColumn:Tr,rowClassName:ka,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var ea=Mi,mo=10;function Vo(Ge){var ct=Ge.prefixCls,gt=Ge.generateConfig,Xt=Ge.viewDate,en=Ge.onPrevDecade,qn=Ge.onNextDecade,Wn=Ge.onDecadeClick,wr=me.useContext(At),br=wr.hideHeader;if(br)return null;var Ir="".concat(ct,"-header"),zi=gt.getYear(Xt),Yr=Math.floor(zi/mo)*mo,Ur=Yr+mo-1;return me.createElement(hn,(0,_e.Z)({},Ge,{prefixCls:Ir,onSuperPrev:en,onSuperNext:qn}),me.createElement("button",{type:"button",onClick:Wn,className:"".concat(ct,"-decade-btn")},Yr,"-",Ur))}var qo=Vo,Uo=3,Co=4;function ul(Ge){var ct=Ge.prefixCls,gt=Ge.value,Xt=Ge.viewDate,en=Ge.locale,qn=Ge.generateConfig,Wn=Ge.cellRender,wr=me.useContext($n),br=wr.rangedValue,Ir=wr.hoverRangedValue,zi="".concat(ct,"-cell"),Yr=qn.getYear(Xt),Ur=Math.floor(Yr/mo)*mo,di=Ur+mo-1,xi=qn.setYear(Xt,Ur-Math.ceil((Uo*Co-mo)/2)),mr=qn.getNow(),Tr=function(Pa){var La=qn.getYear(Pa);return Ur<=La&&La<=di},vi=Cr({cellPrefixCls:zi,value:gt,generateConfig:qn,rangedValue:br,hoverRangedValue:Ir,isSameCell:function(Pa,La){return Je(qn,Pa,La)},isInView:Tr,offsetCell:function(Pa,La){return qn.addYear(Pa,La)}}),ka=Wn?function(da,Pa){return Wn(da,{originNode:Pa,today:mr,type:"year",locale:en})}:void 0;return me.createElement(Hn,(0,_e.Z)({},Ge,{rowNum:Co,colNum:Uo,baseDate:xi,getCellNode:ka,getCellText:qn.getYear,getCellClassName:vi,getCellDate:qn.addYear,titleCell:function(Pa){return Et(Pa,{locale:en,format:"YYYY",generateConfig:qn})}}))}var Wl=ul;function Il(Ge){var ct=Ge.prefixCls,gt=Ge.operationRef,Xt=Ge.onViewDateChange,en=Ge.generateConfig,qn=Ge.value,Wn=Ge.viewDate,wr=Ge.sourceMode,br=Ge.onSelect,Ir=Ge.onPanelChange,zi="".concat(ct,"-year-panel");gt.current={onKeyDown:function(di){return _r(di,{onLeftRight:function(mr){br(en.addYear(qn||Wn,mr),"key")},onCtrlLeftRight:function(mr){br(en.addYear(qn||Wn,mr*mo),"key")},onUpDown:function(mr){br(en.addYear(qn||Wn,mr*Uo),"key")},onEnter:function(){Ir(wr==="date"?"date":"month",qn||Wn)}})}};var Yr=function(di){var xi=en.addYear(Wn,di*10);Xt(xi),Ir(null,xi)};return me.createElement("div",{className:zi},me.createElement(qo,(0,_e.Z)({},Ge,{prefixCls:ct,onPrevDecade:function(){Yr(-1)},onNextDecade:function(){Yr(1)},onDecadeClick:function(){Ir("decade",Wn)}})),me.createElement(Wl,(0,_e.Z)({},Ge,{prefixCls:ct,onSelect:function(di){Ir(wr==="date"?"date":"month",di),br(di,"mouse")}})))}var ms=Il;function Qa(Ge,ct,gt){return gt?me.createElement("div",{className:"".concat(Ge,"-footer-extra")},gt(ct)):null}function la(Ge){var ct=Ge.prefixCls,gt=Ge.components,Xt=gt===void 0?{}:gt,en=Ge.needConfirmButton,qn=Ge.onNow,Wn=Ge.onOk,wr=Ge.okDisabled,br=Ge.showNow,Ir=Ge.locale,zi,Yr;if(en){var Ur=Xt.button||"button";qn&&br!==!1&&(zi=me.createElement("li",{className:"".concat(ct,"-now")},me.createElement("a",{className:"".concat(ct,"-now-btn"),onClick:qn},Ir.now))),Yr=en&&me.createElement("li",{className:"".concat(ct,"-ok")},me.createElement(Ur,{disabled:wr,onClick:Wn},Ir.ok))}return!zi&&!Yr?null:me.createElement("ul",{className:"".concat(ct,"-ranges")},zi,Yr)}var cl=["date","month"];function To(Ge){var ct,gt=Ge,Xt=gt.prefixCls,en=Xt===void 0?"rc-picker":Xt,qn=gt.className,Wn=gt.style,wr=gt.locale,br=gt.generateConfig,Ir=gt.value,zi=gt.defaultValue,Yr=gt.pickerValue,Ur=gt.defaultPickerValue,di=gt.disabledDate,xi=gt.mode,mr=gt.picker,Tr=mr===void 0?"date":mr,vi=gt.tabIndex,ka=vi===void 0?0:vi,da=gt.showNow,Pa=gt.showTime,La=gt.showToday,Ma=gt.renderExtraFooter,ya=gt.hideHeader,Xo=gt.onSelect,Mo=gt.onChange,Qo=gt.onPanelChange,sl=gt.onMouseDown,vl=gt.onPickerValueChange,Dl=gt.onOk,Rl=gt.components,$o=gt.direction,nl=gt.hourStep,dl=nl===void 0?1:nl,zl=gt.minuteStep,Ql=zl===void 0?1:zl,Sl=gt.secondStep,fl=Sl===void 0?1:Sl,fs=gt.dateRender,ws=gt.monthCellRender,ht=gt.cellRender,bt=Tr==="date"&&!!Pa||Tr==="time",Zt=24%dl===0,Vt=60%Ql===0,mn=60%fl===0,sn=me.useContext(At),Kn=sn.operationRef,Rn=sn.onSelect,Tn=sn.hideRanges,fr=sn.defaultOpenValue,lr=me.useContext($n),ur=lr.inRange,Kr=lr.panelPosition,Zr=lr.rangedValue,Jr=lr.hoverRangedValue,yi=me.useRef({}),hi=me.useRef(!0),Ki=(0,Ie.Z)(null,{value:Ir,defaultValue:zi,postState:function($r){return!$r&&fr&&Tr==="time"?fr:$r}}),Ii=(0,Wt.Z)(Ki,2),Ji=Ii[0],Na=Ii[1],Ja=(0,Ie.Z)(null,{value:Yr,defaultValue:Ur||Ji,postState:function($r){var Yi=br.getNow();if(!$r)return Yi;if(!Ji&&Pa){var co=(0,Ct.Z)(Pa)==="object"?Pa.defaultValue:zi;return pn(br,Array.isArray($r)?$r[0]:$r,co||Yi)}return Array.isArray($r)?$r[0]:$r}}),Da=(0,Wt.Z)(Ja,2),Wa=Da[0],bo=Da[1],ra=function($r){bo($r),vl&&vl($r)},Oa=function($r){var Yi=fi[Tr];return Yi?Yi($r):$r},fa=(0,Ie.Z)(function(){return Tr==="time"?"time":Oa("date")},{value:xi}),Si=(0,Wt.Z)(fa,2),Ui=Si[0],sr=Si[1];me.useEffect(function(){sr(Tr)},[Tr]);var Po=me.useState(function(){return Ui}),Ga=(0,Wt.Z)(Po,2),ji=Ga[0],so=Ga[1],xo=function($r,Yi){var co=Oa($r||Ui);so(Ui),sr(co),Qo&&(Ui!==co||Yt(br,Wa,Wa))&&Qo(Yi,co)},Do=function($r,Yi){var co=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ui===Tr||co)&&(Na($r),Xo&&Xo($r),Rn&&Rn($r,Yi),Mo&&!Yt(br,$r,Ji)&&!(di!=null&&di($r))&&Mo($r))},Io=function($r){if(cl.includes(Ui)){var Yi,co,_o=Ui==="date";switch($r===Xn.Z.PAGE_UP||$r===Xn.Z.PAGE_DOWN?co=_o?br.addMonth:br.addYear:co=_o?br.addDate:br.addMonth,$r){case Xn.Z.LEFT:case Xn.Z.PAGE_UP:Yi=co(Wa,-1);break;case Xn.Z.RIGHT:case Xn.Z.PAGE_DOWN:Yi=co(Wa,1);break;case Xn.Z.UP:case Xn.Z.DOWN:Yi=co(Wa,Number("".concat($r===Xn.Z.UP?"-":"").concat(_o?$e:aa)));break}if(Yi)return!(di!=null&&di(Yi))}return!0},Bl=function($r){if(yi.current&&yi.current.onKeyDown){var Yi=!0,co=$r.which;if([Xn.Z.LEFT,Xn.Z.RIGHT,Xn.Z.UP,Xn.Z.DOWN,Xn.Z.PAGE_UP,Xn.Z.PAGE_DOWN,Xn.Z.ENTER].includes(co)&&($r.preventDefault(),co!==Xn.Z.ENTER&&ka===0&&(Yi=Io(co))),Yi)return yi.current.onKeyDown($r)}return(0,Ce.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Ko=function($r){yi.current&&yi.current.onBlur&&yi.current.onBlur($r)};Kn&&Kr!=="right"&&(Kn.current={onKeyDown:Bl,onClose:function(){yi.current&&yi.current.onClose&&yi.current.onClose()}}),me.useEffect(function(){Ir&&!hi.current&&bo(Ir)},[Ir]),me.useEffect(function(){hi.current=!1},[]);var za,Hl=Gt({cellRender:ht,monthCellRender:ws,dateRender:fs}),Xa=(0,Ut.Z)((0,Ut.Z)({},Ge),{},{cellRender:Hl,operationRef:yi,prefixCls:en,viewDate:Wa,value:Ji,onViewDateChange:ra,sourceMode:ji,onPanelChange:xo,disabledDate:di});switch(delete Xa.onChange,delete Xa.onSelect,Ui){case"decade":za=me.createElement(pa,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}));break;case"year":za=me.createElement(ms,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}));break;case"month":za=me.createElement(_a,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}));break;case"quarter":za=me.createElement(Li,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}));break;case"week":za=me.createElement(ea,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}));break;case"time":delete Xa.showTime,za=me.createElement(li,(0,_e.Z)({},Xa,(0,Ct.Z)(Pa)==="object"?Pa:null,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}));break;default:Pa?za=me.createElement(xa,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}})):za=me.createElement(cr,(0,_e.Z)({},Xa,{onSelect:function($r,Yi){ra($r),Do($r,Yi)}}))}var to,ll,Jl=function(){var $r=br.getNow(),Yi=An(br.getHour($r),br.getMinute($r),br.getSecond($r),Zt?dl:1,Vt?Ql:1,mn?fl:1),co=Jt(br,$r,Yi[0],Yi[1],Yi[2]);Do(co,"submit")};Tn||(to=Qa(en,Ui,Ma),Pa&&Ui!=="date"?ll=null:ll=la({prefixCls:en,components:Rl,needConfirmButton:bt,okDisabled:!Ji||di&&di(Ji),locale:wr,showNow:da,onNow:bt&&Jl,onOk:function(){Ji&&(Do(Ji,"submit",!0),Dl&&Dl(Ji))}}));var no;if(La&&Ui==="date"&&Tr==="date"&&!Pa){var Ua=br.getNow(),eo="".concat(en,"-today-btn"),Ta=di&&di(Ua);no=me.createElement("a",{className:tt()(eo,Ta&&"".concat(eo,"-disabled")),"aria-disabled":Ta,onClick:function(){Ta||Do(Ua,"mouse",!0)}},wr.today)}return me.createElement(At.Provider,{value:(0,Ut.Z)((0,Ut.Z)({},sn),{},{mode:Ui,hideHeader:"hideHeader"in Ge?ya:sn.hideHeader,hidePrevBtn:ur&&Kr==="right",hideNextBtn:ur&&Kr==="left"})},me.createElement("div",{tabIndex:ka,className:tt()("".concat(en,"-panel"),qn,(ct={},(0,Qt.Z)(ct,"".concat(en,"-panel-has-range"),Zr&&Zr[0]&&Zr[1]),(0,Qt.Z)(ct,"".concat(en,"-panel-has-range-hover"),Jr&&Jr[0]&&Jr[1]),(0,Qt.Z)(ct,"".concat(en,"-panel-rtl"),$o==="rtl"),ct)),style:Wn,onKeyDown:Bl,onBlur:Ko,onMouseDown:sl},za,to||ll||no?me.createElement("div",{className:"".concat(en,"-footer")},to,ll,no):null))}var Go=To,nr=te(35593),Qn={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 Zn(Ge){var ct,gt=Ge.prefixCls,Xt=Ge.popupElement,en=Ge.popupStyle,qn=Ge.visible,Wn=Ge.dropdownClassName,wr=Ge.dropdownAlign,br=Ge.transitionName,Ir=Ge.getPopupContainer,zi=Ge.children,Yr=Ge.range,Ur=Ge.popupPlacement,di=Ge.direction,xi="".concat(gt,"-dropdown"),mr=function(){return Ur!==void 0?Ur:di==="rtl"?"bottomRight":"bottomLeft"};return me.createElement(nr.Z,{showAction:[],hideAction:[],popupPlacement:mr(),builtinPlacements:Qn,prefixCls:xi,popupTransitionName:br,popup:Xt,popupAlign:wr,popupVisible:qn,popupClassName:tt()(Wn,(ct={},(0,Qt.Z)(ct,"".concat(xi,"-range"),Yr),(0,Qt.Z)(ct,"".concat(xi,"-rtl"),di==="rtl"),ct)),popupStyle:en,getPopupContainer:Ir},zi)}var xr=Zn;function ni(Ge){var ct=Ge.prefixCls,gt=Ge.presets,Xt=Ge.onClick,en=Ge.onHover;return gt.length?me.createElement("div",{className:"".concat(ct,"-presets")},me.createElement("ul",null,gt.map(function(qn,Wn){var wr=qn.label,br=qn.value;return me.createElement("li",{key:Wn,onClick:function(){return Xt==null?void 0:Xt(gr(br))},onMouseEnter:function(){return en==null?void 0:en(gr(br))},onMouseLeave:function(){return en==null?void 0:en(null)}},wr)}))):null}function ti(Ge){var ct=Ge.picker,gt=Ge.disabledHours,Xt=Ge.disabledMinutes,en=Ge.disabledSeconds;ct==="time"&&(gt||Xt||en)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function yr(Ge,ct,gt){var Xt=(0,Ct.Z)(ct)==="object"?ct.clearIcon:gt;return Xt||me.createElement("span",{className:"".concat(Ge,"-clear-btn")})}function Bi(Ge){var ct,gt=Ge,Xt=gt.prefixCls,en=Xt===void 0?"rc-picker":Xt,qn=gt.id,Wn=gt.name,wr=gt.tabIndex,br=gt.style,Ir=gt.className,zi=gt.dropdownClassName,Yr=gt.dropdownAlign,Ur=gt.popupStyle,di=gt.transitionName,xi=gt.generateConfig,mr=gt.locale,Tr=gt.inputReadOnly,vi=gt.allowClear,ka=gt.autoFocus,da=gt.showTime,Pa=gt.picker,La=Pa===void 0?"date":Pa,Ma=gt.format,ya=gt.use12Hours,Xo=gt.value,Mo=gt.defaultValue,Qo=gt.presets,sl=gt.open,vl=gt.defaultOpen,Dl=gt.defaultOpenValue,Rl=gt.suffixIcon,$o=gt.clearIcon,nl=gt.disabled,dl=gt.disabledDate,zl=gt.placeholder,Ql=gt.getPopupContainer,Sl=gt.pickerRef,fl=gt.panelRender,fs=gt.onChange,ws=gt.onOpenChange,ht=gt.onFocus,bt=gt.onBlur,Zt=gt.onMouseDown,Vt=gt.onMouseUp,mn=gt.onMouseEnter,sn=gt.onMouseLeave,Kn=gt.onContextMenu,Rn=gt.onClick,Tn=gt.onKeyDown,fr=gt.onSelect,lr=gt.direction,ur=gt.autoComplete,Kr=ur===void 0?"off":ur,Zr=gt.inputRender,Jr=gt.changeOnBlur,yi=me.useRef(null),hi=La==="date"&&!!da||La==="time",Ki=oi(Qo),Ii=Pn(Nr(Ma,La,da,ya)),Ji=me.useRef(null),Na=me.useRef(null),Ja=me.useRef(null),Da=(0,Ie.Z)(null,{value:Xo,defaultValue:Mo}),Wa=(0,Wt.Z)(Da,2),bo=Wa[0],ra=Wa[1],Oa=me.useState(bo),fa=(0,Wt.Z)(Oa,2),Si=fa[0],Ui=fa[1],sr=me.useRef(null),Po=(0,Ie.Z)(!1,{value:sl,defaultValue:vl,postState:function(qa){return nl?!1:qa},onChange:function(qa){ws&&ws(qa),!qa&&sr.current&&sr.current.onClose&&sr.current.onClose()}}),Ga=(0,Wt.Z)(Po,2),ji=Ga[0],so=Ga[1],xo=vn(Si,{formatList:Ii,generateConfig:xi,locale:mr}),Do=(0,Wt.Z)(xo,2),Io=Do[0],Bl=Do[1],Ko=pt({valueTexts:Io,onTextChange:function(qa){var io=an(qa,{locale:mr,formatList:Ii,generateConfig:xi});io&&(!dl||!dl(io))&&Ui(io)}}),za=(0,Wt.Z)(Ko,3),Hl=za[0],Xa=za[1],to=za[2],ll=function(qa){Ui(qa),ra(qa),fs&&!Yt(xi,bo,qa)&&fs(qa,qa?Et(qa,{generateConfig:xi,locale:mr,format:Ii[0]}):"")},Jl=function(qa){nl&&qa||so(qa)},no=function(qa){return ji&&sr.current&&sr.current.onKeyDown?sr.current.onKeyDown(qa):((0,Ce.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ua=function(){for(var qa=arguments.length,io=new Array(qa),Yl=0;Yl<qa;Yl++)io[Yl]=arguments[Yl];Rn==null||Rn.apply(void 0,io),yi.current&&(yi.current.focus(),Jl(!0))},eo=function(qa){Jr&&ll(Si),bt==null||bt(qa)},Ta=dr({blurToCancel:hi,open:ji,value:Hl,triggerOpen:Jl,forwardKeyDown:no,isClickOutside:function(qa){return!Pr([Ji.current,Na.current,Ja.current],qa)},onSubmit:function(){return!Si||dl&&dl(Si)?!1:(ll(Si),Jl(!1),to(),!0)},onCancel:function(){Jl(!1),Ui(bo),to()},onKeyDown:function(qa,io){Tn==null||Tn(qa,io)},onFocus:ht,onBlur:eo,changeOnBlur:Jr}),Ca=(0,Wt.Z)(Ta,2),$r=Ca[0],Yi=Ca[1],co=Yi.focused,_o=Yi.typing;me.useEffect(function(){ji||(Ui(bo),!Io.length||Io[0]===""?Xa(""):Bl!==Hl&&to())},[ji,Io]),me.useEffect(function(){ji||to()},[La]),me.useEffect(function(){Ui(bo)},[bo]),Sl&&(Sl.current={focus:function(){var qa;(qa=yi.current)===null||qa===void 0||qa.focus()},blur:function(){var qa;(qa=yi.current)===null||qa===void 0||qa.blur()}});var Ms=gn(Hl,{formatList:Ii,generateConfig:xi,locale:mr}),xs=(0,Wt.Z)(Ms,3),su=xs[0],sa=xs[1],ns=xs[2],ro=(0,Ut.Z)((0,Ut.Z)({},Ge),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Es=me.createElement("div",{className:"".concat(en,"-panel-layout")},me.createElement(ni,{prefixCls:en,presets:Ki,onClick:function(qa){ll(qa),Jl(!1)}}),me.createElement(Go,(0,_e.Z)({},ro,{generateConfig:xi,className:tt()((0,Qt.Z)({},"".concat(en,"-panel-focused"),!_o)),value:Si,locale:mr,tabIndex:-1,onSelect:function(qa){fr==null||fr(qa),Ui(qa)},direction:lr,onPanelChange:function(qa,io){var Yl=Ge.onPanelChange;ns(!0),Yl==null||Yl(qa,io)}})));fl&&(Es=fl(Es));var Ss=me.createElement("div",{className:"".concat(en,"-panel-container"),ref:Ji,onMouseDown:function(qa){qa.preventDefault()}},Es),ol;Rl&&(ol=me.createElement("span",{className:"".concat(en,"-suffix"),onMouseDown:function(qa){qa.preventDefault()}},Rl));var Ni=yr(en,vi,$o),yl=me.createElement("span",{onMouseDown:function(qa){qa.preventDefault(),qa.stopPropagation()},onMouseUp:function(qa){qa.preventDefault(),qa.stopPropagation(),ll(null),Jl(!1)},className:"".concat(en,"-clear"),role:"button"},Ni),Ro=!!vi&&bo&&!nl,Gl=(0,Ut.Z)((0,Ut.Z)((0,Ut.Z)({id:qn,tabIndex:wr,disabled:nl,readOnly:Tr||typeof Ii[0]=="function"||!_o,value:su||Hl,onChange:function(qa){Xa(qa.target.value)},autoFocus:ka,placeholder:zl,ref:yi,title:Hl},$r),{},{size:ai(La,Ii[0],xi),name:Wn},(0,he.Z)(Ge,{aria:!0,data:!0})),{},{autoComplete:Kr}),wo=Zr?Zr(Gl):me.createElement("input",Gl),bl=function(qa,io){(io==="submit"||io!=="key"&&!hi)&&(ll(qa),Jl(!1))},As=lr==="rtl"?"bottomRight":"bottomLeft";return me.createElement(At.Provider,{value:{operationRef:sr,hideHeader:La==="time",onSelect:bl,open:ji,defaultOpenValue:Dl,onDateMouseEnter:sa,onDateMouseLeave:ns}},me.createElement(xr,{visible:ji,popupElement:Ss,popupStyle:Ur,prefixCls:en,dropdownClassName:zi,dropdownAlign:Yr,getPopupContainer:Ql,transitionName:di,popupPlacement:As,direction:lr},me.createElement("div",{ref:Ja,className:tt()(en,Ir,(ct={},(0,Qt.Z)(ct,"".concat(en,"-disabled"),nl),(0,Qt.Z)(ct,"".concat(en,"-focused"),co),(0,Qt.Z)(ct,"".concat(en,"-rtl"),lr==="rtl"),ct)),style:br,onMouseDown:Zt,onMouseUp:Vt,onMouseEnter:mn,onMouseLeave:sn,onContextMenu:Kn,onClick:Ua},me.createElement("div",{className:tt()("".concat(en,"-input"),(0,Qt.Z)({},"".concat(en,"-input-placeholder"),!!su)),ref:Na},wo,ol,Ro&&yl))))}var ga=function(Ge){(0,Ht.Z)(gt,Ge);var ct=(0,Fn.Z)(gt);function gt(){var Xt;(0,at.Z)(this,gt);for(var en=arguments.length,qn=new Array(en),Wn=0;Wn<en;Wn++)qn[Wn]=arguments[Wn];return Xt=ct.call.apply(ct,[this].concat(qn)),(0,Qt.Z)((0,on.Z)(Xt),"pickerRef",me.createRef()),(0,Qt.Z)((0,on.Z)(Xt),"focus",function(){Xt.pickerRef.current&&Xt.pickerRef.current.focus()}),(0,Qt.Z)((0,on.Z)(Xt),"blur",function(){Xt.pickerRef.current&&Xt.pickerRef.current.blur()}),Xt}return(0,Nt.Z)(gt,[{key:"render",value:function(){return me.createElement(Bi,(0,_e.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),gt}(me.Component),Ka=ga;function va(Ge,ct){var gt=Ge.picker,Xt=Ge.locale,en=Ge.selectedValue,qn=Ge.disabledDate,Wn=Ge.disabled,wr=Ge.generateConfig,br=Sn(en,0),Ir=Sn(en,1);function zi(mr){return wr.locale.getWeekFirstDate(Xt.locale,mr)}function Yr(mr){var Tr=wr.getYear(mr),vi=wr.getMonth(mr);return Tr*100+vi}function Ur(mr){var Tr=wr.getYear(mr),vi=Pt(wr,mr);return Tr*10+vi}var di=me.useCallback(function(mr){if(Wn[0]||qn&&qn(mr))return!0;if(Wn[1]&&Ir)return!jt(wr,mr,Ir)&&wr.isAfter(mr,Ir);if(!ct&&Ir)switch(gt){case"quarter":return Ur(mr)>Ur(Ir);case"month":return Yr(mr)>Yr(Ir);case"week":return zi(mr)>zi(Ir);default:return!jt(wr,mr,Ir)&&wr.isAfter(mr,Ir)}return!1},[qn,Wn[1],Ir,ct]),xi=me.useCallback(function(mr){if(Wn[1]||qn&&qn(mr))return!0;if(Wn[0]&&br)return!jt(wr,mr,Ir)&&wr.isAfter(br,mr);if(!ct&&br)switch(gt){case"quarter":return Ur(mr)<Ur(br);case"month":return Yr(mr)<Yr(br);case"week":return zi(mr)<zi(br);default:return!jt(wr,mr,br)&&wr.isAfter(br,mr)}return!1},[qn,Wn[0],br,ct]);return[di,xi]}var bi=te(70425),ta=te(6089);function Xr(Ge,ct,gt,Xt,en,qn,Wn,wr,br,Ir){var zi=me.useState(!1),Yr=(0,Wt.Z)(zi,2),Ur=Yr[0],di=Yr[1],xi=(0,bi.useMergedState)(Ge||!1,{value:ct}),mr=(0,Wt.Z)(xi,2),Tr=mr[0],vi=mr[1],ka=(0,bi.useMergedState)(Ge||!1,{value:ct,onChange:function(dl){Ir==null||Ir(dl)}}),da=(0,Wt.Z)(ka,2),Pa=da[0],La=da[1],Ma=(0,bi.useMergedState)(0,{value:gt}),ya=(0,Wt.Z)(Ma,2),Xo=ya[0],Mo=ya[1],Qo=me.useState(null),sl=(0,Wt.Z)(Qo,2),vl=sl[0],Dl=sl[1];me.useEffect(function(){Pa&&di(!0)},[Pa]);var Rl=function(dl){return dl===0?1:0},$o=(0,ta.Z)(function(nl,dl,zl){if(dl===!1)La(nl);else if(nl){Mo(dl),La(nl);var Ql=Rl(dl);!Pa||![Wn,wr][Ql]?Dl(Ql):(di(!1),vl!==null&&Dl(null))}else if(zl==="confirm"||zl==="blur"&&Xt){var Sl=Tr?Rl(dl):vl;Sl!==null&&(di(!1),Mo(Sl)),Dl(null),Sl!==null&&!br[Sl]?(0,ir.Z)(function(){var fl,fs=[en,qn][Sl];(fl=fs.current)===null||fl===void 0||fl.focus()}):La(!1)}else La(!1),vi(!1)});return[Pa,Xo,Ur,$o]}function Lo(Ge,ct,gt,Xt){var en=it(Ge,gt,Xt,1);function qn(Wn){return Wn(Ge,ct)?"same":Wn(en,ct)?"closing":"far"}switch(gt){case"year":return qn(function(Wn,wr){return lt(Xt,Wn,wr)});case"quarter":case"month":return qn(function(Wn,wr){return Je(Xt,Wn,wr)});default:return qn(function(Wn,wr){return yt(Xt,Wn,wr)})}}function Aa(Ge,ct,gt,Xt){var en=Sn(Ge,0),qn=Sn(Ge,1);if(ct===0)return en;if(en&&qn){var Wn=Lo(en,qn,gt,Xt);switch(Wn){case"same":return en;case"closing":return en;default:return it(qn,gt,Xt,-1)}}return en}function Fa(Ge){var ct=Ge.values,gt=Ge.picker,Xt=Ge.defaultDates,en=Ge.generateConfig,qn=me.useState(function(){return[Sn(Xt,0),Sn(Xt,1)]}),Wn=(0,Wt.Z)(qn,2),wr=Wn[0],br=Wn[1],Ir=me.useState(null),zi=(0,Wt.Z)(Ir,2),Yr=zi[0],Ur=zi[1],di=Sn(ct,0),xi=Sn(ct,1);function mr(vi){return wr[vi]?wr[vi]:Sn(Yr,vi)||Aa(ct,vi,gt,en)||di||xi||en.getNow()}function Tr(vi,ka){if(vi){var da=rr(Yr,vi,ka);br(rr(wr,null,ka)||[null,null]);var Pa=(ka+1)%2;Sn(ct,Pa)||(da=rr(da,vi,Pa)),Ur(da)}else(di||xi)&&Ur(null)}return[mr,Tr]}function yo(Ge,ct){return Ge&&Ge[0]&&Ge[1]&&ct.isAfter(Ge[0],Ge[1])?[Ge[1],Ge[0]]:Ge}function tl(Ge,ct,gt,Xt){return!!(Ge||Xt&&Xt[ct]||gt[(ct+1)%2])}function xl(Ge){var ct,gt,Xt,en=Ge,qn=en.prefixCls,Wn=qn===void 0?"rc-picker":qn,wr=en.id,br=en.style,Ir=en.className,zi=en.popupStyle,Yr=en.dropdownClassName,Ur=en.transitionName,di=en.dropdownAlign,xi=en.getPopupContainer,mr=en.generateConfig,Tr=en.locale,vi=en.placeholder,ka=en.autoFocus,da=en.disabled,Pa=en.format,La=en.picker,Ma=La===void 0?"date":La,ya=en.showTime,Xo=en.use12Hours,Mo=en.separator,Qo=Mo===void 0?"~":Mo,sl=en.value,vl=en.defaultValue,Dl=en.defaultPickerValue,Rl=en.open,$o=en.defaultOpen,nl=en.disabledDate,dl=en.disabledTime,zl=en.dateRender,Ql=en.monthCellRender,Sl=en.cellRender,fl=en.panelRender,fs=en.presets,ws=en.ranges,ht=en.allowEmpty,bt=en.allowClear,Zt=en.suffixIcon,Vt=en.clearIcon,mn=en.pickerRef,sn=en.inputReadOnly,Kn=en.mode,Rn=en.renderExtraFooter,Tn=en.onChange,fr=en.onOpenChange,lr=en.onPanelChange,ur=en.onCalendarChange,Kr=en.onFocus,Zr=en.onBlur,Jr=en.onMouseDown,yi=en.onMouseUp,hi=en.onMouseEnter,Ki=en.onMouseLeave,Ii=en.onClick,Ji=en.onOk,Na=en.onKeyDown,Ja=en.components,Da=en.order,Wa=en.direction,bo=en.activePickerIndex,ra=en.autoComplete,Oa=ra===void 0?"off":ra,fa=en.changeOnBlur,Si=Ma==="date"&&!!ya||Ma==="time",Ui=(0,me.useRef)(null),sr=(0,me.useRef)(null),Po=(0,me.useRef)(null),Ga=(0,me.useRef)(null),ji=(0,me.useRef)(null),so=(0,me.useRef)(null),xo=(0,me.useRef)(null),Do=(0,me.useRef)(null),Io=Pn(Nr(Pa,Ma,ya,Xo)),Bl=(0,me.useRef)(null),Ko=me.useMemo(function(){return Array.isArray(da)?da:[da||!1,da||!1]},[da]),za=(0,Ie.Z)(null,{value:sl,defaultValue:vl,postState:function(fo){return Ma==="time"&&!Da?fo:yo(fo,mr)}}),Hl=(0,Wt.Z)(za,2),Xa=Hl[0],to=Hl[1],ll=Fa({values:Xa,picker:Ma,defaultDates:Dl,generateConfig:mr}),Jl=(0,Wt.Z)(ll,2),no=Jl[0],Ua=Jl[1],eo=(0,Ie.Z)(Xa,{postState:function(fo){var po=fo;if(Ko[0]&&Ko[1])return po;for(var wl=0;wl<2;wl+=1)Ko[wl]&&!po&&!Sn(po,wl)&&!Sn(ht,wl)&&(po=rr(po,mr.getNow(),wl));return po}}),Ta=(0,Wt.Z)(eo,2),Ca=Ta[0],$r=Ta[1],Yi=(0,Ie.Z)([Ma,Ma],{value:Kn}),co=(0,Wt.Z)(Yi,2),_o=co[0],Ms=co[1];(0,me.useEffect)(function(){Ms([Ma,Ma])},[Ma]);var xs=function(fo,po){Ms(fo),lr&&lr(po,fo)},su=Xr($o,Rl,bo,fa,so,xo,Sn(Ca,0),Sn(Ca,1),Ko,fr),sa=(0,Wt.Z)(su,4),ns=sa[0],ro=sa[1],Es=sa[2],Ss=sa[3],ol=ns&&ro===0,Ni=ns&&ro===1,yl=va({picker:Ma,selectedValue:Ca,locale:Tr,disabled:Ko,disabledDate:nl,generateConfig:mr},!ns||Es),Ro=(0,Wt.Z)(yl,2),Gl=Ro[0],wo=Ro[1],bl=(0,me.useState)(0),As=(0,Wt.Z)(bl,2),Ml=As[0],qa=As[1];(0,me.useEffect)(function(){!ns&&Ui.current&&qa(Ui.current.offsetWidth)},[ns]);function io(jl){Ss(!0,jl,"open"),(0,ir.Z)(function(){var fo,po=[so,xo][jl];(fo=po.current)===null||fo===void 0||fo.focus()},0)}function Yl(jl,fo){var po=jl,wl=Sn(po,0),Ds=Sn(po,1);wl&&Ds&&mr.isAfter(wl,Ds)&&(Ma==="week"&&!_t(mr,Tr.locale,wl,Ds)||Ma==="quarter"&&!Dt(mr,wl,Ds)||Ma!=="week"&&Ma!=="quarter"&&Ma!=="time"&&!jt(mr,wl,Ds)?fo===0?(po=[wl,null],Ds=null):(wl=null,po=[null,Ds]):(Ma!=="time"||Da!==!1)&&(po=yo(po,mr))),$r(po);var Bc=po&&po[0]?Et(po[0],{generateConfig:mr,locale:Tr,format:Io[0]}):"",mu=po&&po[1]?Et(po[1],{generateConfig:mr,locale:Tr,format:Io[0]}):"";if(ur){var xc={range:fo===0?"start":"end"};ur(po,[Bc,mu],xc)}var $a=tl(wl,0,Ko,ht),nd=tl(Ds,1,Ko,ht),Ic=po===null||$a&&nd;Ic&&(to(po),Tn&&(!Yt(mr,Sn(Xa,0),wl)||!Yt(mr,Sn(Xa,1),Ds))&&Tn(po,[Bc,mu]))}var Iu=function(fo){return ns&&Bl.current&&Bl.current.onKeyDown?Bl.current.onKeyDown(fo):((0,Ce.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Vs={formatList:Io,generateConfig:mr,locale:Tr},tu=vn(Sn(Ca,0),Vs),Js=(0,Wt.Z)(tu,2),es=Js[0],ls=Js[1],Fs=vn(Sn(Ca,1),Vs),Hu=(0,Wt.Z)(Fs,2),Rs=Hu[0],Fu=Hu[1],Xu=function(fo,po){var wl=an(fo,{locale:Tr,formatList:Io,generateConfig:mr}),Ds=po===0?Gl:wo;wl&&!Ds(wl)&&($r(rr(Ca,wl,po)),Ua(wl,po))},Hc=pt({valueTexts:es,onTextChange:function(fo){return Xu(fo,0)}}),hl=(0,Wt.Z)(Hc,3),kl=hl[0],ks=hl[1],Ol=hl[2],zs=pt({valueTexts:Rs,onTextChange:function(fo){return Xu(fo,1)}}),Hs=(0,Wt.Z)(zs,3),Xs=Hs[0],ju=Hs[1],jc=Hs[2],cc=(0,me.useState)(null),Zu=(0,Wt.Z)(cc,2),ml=Zu[0],rs=Zu[1],Ou=(0,me.useState)(null),oc=(0,Wt.Z)(Ou,2),qs=oc[0],Zc=oc[1],Ps=gn(kl,{formatList:Io,generateConfig:mr,locale:Tr}),Fc=(0,Wt.Z)(Ps,3),Jc=Fc[0],Kc=Fc[1],gc=Fc[2],Sc=gn(Xs,{formatList:Io,generateConfig:mr,locale:Tr}),lc=(0,Wt.Z)(Sc,3),Xi=lc[0],Xc=lc[1],Ac=lc[2],Wc=function(fo){Zc(rr(Ca,fo,ro)),ro===0?Kc(fo):Xc(fo)},_l=function(){Zc(rr(Ca,null,ro)),ro===0?gc():Ac()},dc=me.useState(ns),fc=(0,Wt.Z)(dc,2),vc=fc[0],ss=fc[1];me.useEffect(function(){ss(ns)},[ns]);var qc=function(fo){if(fa&&vc){var po=Sn(Ca,ro);po&&Yl(Ca,ro)}return Zr==null?void 0:Zr(fo)},kc=function(fo,po){return{blurToCancel:!fa&&Si,forwardKeyDown:Iu,onBlur:qc,isClickOutside:function(Ds){return!Pr([sr.current,Po.current,Ga.current,Ui.current],Ds)},onFocus:function(Ds){Kr&&Kr(Ds)},triggerOpen:function(Ds){Ds?Ss(Ds,fo,"open"):Ss(Ds,Sn(Ca,fo)?fo:!1,"blur")},onSubmit:function(){if(!Ca||nl&&nl(Ca[fo]))return!1;Yl(Ca,fo),po(),Ss(!1,ro,"confirm")},onCancel:function(){Ss(!1,fo,"cancel"),$r(Xa),po()}}},qu={onKeyDown:function(fo,po){Na==null||Na(fo,po)},changeOnBlur:fa},Pc=dr((0,Ut.Z)((0,Ut.Z)({},kc(0,Ol)),{},{open:ol,value:kl},qu)),$u=(0,Wt.Z)(Pc,2),ec=$u[0],nu=$u[1],bu=nu.focused,Us=nu.typing,tc=dr((0,Ut.Z)((0,Ut.Z)({},kc(1,jc)),{},{open:Ni,value:Xs},qu)),Cl=(0,Wt.Z)(tc,2),Pl=Cl[0],ru=Cl[1],Ku=ru.focused,_u=ru.typing,$c=function(fo){Ii&&Ii(fo),!ns&&!so.current.contains(fo.target)&&!xo.current.contains(fo.target)&&(Ko[0]?Ko[1]||io(1):io(0))},Ls=function(fo){Jr&&Jr(fo),ns&&(bu||Ku)&&!so.current.contains(fo.target)&&!xo.current.contains(fo.target)&&fo.preventDefault()},ku=Xa&&Xa[0]?Et(Xa[0],{locale:Tr,format:"YYYYMMDDHHmmss",generateConfig:mr}):"",ed=Xa&&Xa[1]?Et(Xa[1],{locale:Tr,format:"YYYYMMDDHHmmss",generateConfig:mr}):"";(0,me.useEffect)(function(){ns||($r(Xa),!es.length||es[0]===""?ks(""):ls!==kl&&Ol(),!Rs.length||Rs[0]===""?ju(""):Fu!==Xs&&jc())},[ns,es,Rs]),(0,me.useEffect)(function(){$r(Xa)},[ku,ed]);var sc=Gt({cellRender:Sl,monthCellRender:Ql,dateRender:zl}),ld=me.useMemo(function(){if(sc)return function(jl,fo){return sc(jl,(0,Ut.Z)((0,Ut.Z)({},fo),{},{range:ro?"end":"start"}))}},[ro,sc]);mn&&(mn.current={focus:function(){so.current&&so.current.focus()},blur:function(){so.current&&so.current.blur(),xo.current&&xo.current.blur()}});var Fl=oi(fs,ws);function yc(){var jl=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,fo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},po=null;ns&&qs&&qs[0]&&qs[1]&&mr.isAfter(qs[1],qs[0])&&(po=qs);var wl=ya;if(ya&&(0,Ct.Z)(ya)==="object"&&ya.defaultValue){var Ds=ya.defaultValue;wl=(0,Ut.Z)((0,Ut.Z)({},ya),{},{defaultValue:Sn(Ds,ro)||void 0})}return me.createElement($n.Provider,{value:{inRange:!0,panelPosition:jl,rangedValue:ml||Ca,hoverRangedValue:po}},me.createElement(Go,(0,_e.Z)({},Ge,fo,{cellRender:ld,showTime:wl,mode:_o[ro],generateConfig:mr,style:void 0,direction:Wa,disabledDate:ro===0?Gl:wo,disabledTime:function(mu){return dl?dl(mu,ro===0?"start":"end"):!1},className:tt()((0,Qt.Z)({},"".concat(Wn,"-panel-focused"),ro===0?!Us:!_u)),value:Sn(Ca,ro),locale:Tr,tabIndex:-1,onPanelChange:function(mu,xc){ro===0&&gc(!0),ro===1&&Ac(!0),xs(rr(_o,xc,ro),rr(Ca,mu,ro));var $a=mu;jl==="right"&&_o[ro]===xc&&($a=it($a,xc,mr,-1)),Ua($a,ro)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ro===0?Sn(Ca,1):Sn(Ca,0)})))}var Du=0,Vc=0;if(ro&&Po.current&&ji.current&&sr.current&&Do.current){Du=Po.current.offsetWidth+ji.current.offsetWidth;var ri=Do.current.offsetLeft>Du?Do.current.offsetLeft-Du:Do.current.offsetLeft,wd=sr.current.offsetWidth,Id=Do.current.offsetWidth;wd&&Id&&Du>wd-Id-(Wa==="rtl"?0:ri)&&(Vc=Du)}var Sd=Wa==="rtl"?{right:Du}:{left:Du};function ui(){var jl,fo=Qa(Wn,_o[ro],Rn),po=la({prefixCls:Wn,components:Ja,needConfirmButton:Si,okDisabled:!Sn(Ca,ro)||nl&&nl(Ca[ro]),locale:Tr,onOk:function(){var nc=Sn(Ca,ro);nc&&(Yl(Ca,ro),Ji==null||Ji(Ca),Ss(!1,ro,"confirm"))}});if(Ma!=="time"&&!ya){var wl=no(ro),Ds=it(wl,Ma,mr),Bc=_o[ro],mu=Bc===Ma,xc=yc(mu?"left":!1,{pickerValue:wl,onPickerValueChange:function(nc){Ua(nc,ro)}}),$a=yc("right",{pickerValue:Ds,onPickerValueChange:function(nc){Ua(it(nc,Ma,mr,-1),ro)}});Wa==="rtl"?jl=me.createElement(me.Fragment,null,$a,mu&&xc):jl=me.createElement(me.Fragment,null,xc,mu&&$a)}else jl=yc();var nd=me.createElement("div",{className:"".concat(Wn,"-panel-layout")},me.createElement(ni,{prefixCls:Wn,presets:Fl,onClick:function(nc){Yl(nc,null),Ss(!1,ro,"preset")},onHover:function(nc){rs(nc)}}),me.createElement("div",null,me.createElement("div",{className:"".concat(Wn,"-panels")},jl),(fo||po)&&me.createElement("div",{className:"".concat(Wn,"-footer")},fo,po)));return fl&&(nd=fl(nd)),me.createElement("div",{className:"".concat(Wn,"-panel-container"),style:{marginLeft:Vc},ref:sr,onMouseDown:function(nc){nc.preventDefault()}},nd)}var bc=me.createElement("div",{className:tt()("".concat(Wn,"-range-wrapper"),"".concat(Wn,"-").concat(Ma,"-range-wrapper")),style:{minWidth:Ml}},me.createElement("div",{ref:Do,className:"".concat(Wn,"-range-arrow"),style:Sd}),ui()),Uc;Zt&&(Uc=me.createElement("span",{className:"".concat(Wn,"-suffix"),onMouseDown:function(fo){fo.preventDefault()}},Zt));var Kd=yr(Wn,bt,Vt),uu=me.createElement("span",{onMouseDown:function(fo){fo.preventDefault(),fo.stopPropagation()},onMouseUp:function(fo){fo.preventDefault(),fo.stopPropagation();var po=Xa;Ko[0]||(po=rr(po,null,0)),Ko[1]||(po=rr(po,null,1)),Yl(po,null),Ss(!1,ro,"clear")},className:"".concat(Wn,"-clear"),role:"button"},Kd),Dc=bt&&(Sn(Xa,0)&&!Ko[0]||Sn(Xa,1)&&!Ko[1]),td={size:ai(Ma,Io[0],mr)},Lc=0,sd=0;Po.current&&Ga.current&&ji.current&&(ro===0?sd=Po.current.offsetWidth:(Lc=Du,sd=Ga.current.offsetWidth));var Od=Wa==="rtl"?{right:Lc}:{left:Lc},Wu=function(fo,po){var wl=rr(Ca,fo,ro);if(po==="submit"||po!=="key"&&!Si){Yl(wl,ro),ro===0?gc():Ac();var Ds=ro===0?1:0;Ko[Ds]?Ss(!1,!1,"confirm"):Ss(!1,ro,"confirm")}else $r(wl)};return me.createElement(At.Provider,{value:{operationRef:Bl,hideHeader:Ma==="time",onDateMouseEnter:Wc,onDateMouseLeave:_l,hideRanges:!0,onSelect:Wu,open:ns}},me.createElement(xr,{visible:ns,popupElement:bc,popupStyle:zi,prefixCls:Wn,dropdownClassName:Yr,dropdownAlign:di,getPopupContainer:xi,transitionName:Ur,range:!0,direction:Wa},me.createElement("div",(0,_e.Z)({ref:Ui,className:tt()(Wn,"".concat(Wn,"-range"),Ir,(ct={},(0,Qt.Z)(ct,"".concat(Wn,"-disabled"),Ko[0]&&Ko[1]),(0,Qt.Z)(ct,"".concat(Wn,"-focused"),ro===0?bu:Ku),(0,Qt.Z)(ct,"".concat(Wn,"-rtl"),Wa==="rtl"),ct)),style:br,onClick:$c,onMouseEnter:hi,onMouseLeave:Ki,onMouseDown:Ls,onMouseUp:yi},(0,he.Z)(Ge,{aria:!0,data:!0})),me.createElement("div",{className:tt()("".concat(Wn,"-input"),(gt={},(0,Qt.Z)(gt,"".concat(Wn,"-input-active"),ro===0),(0,Qt.Z)(gt,"".concat(Wn,"-input-placeholder"),!!Jc),gt)),ref:Po},me.createElement("input",(0,_e.Z)({id:wr,disabled:Ko[0],readOnly:sn||typeof Io[0]=="function"||!Us,value:Jc||kl,onChange:function(fo){ks(fo.target.value)},autoFocus:ka,placeholder:Sn(vi,0)||"",ref:so},ec,td,{autoComplete:Oa}))),me.createElement("div",{className:"".concat(Wn,"-range-separator"),ref:ji},Qo),me.createElement("div",{className:tt()("".concat(Wn,"-input"),(Xt={},(0,Qt.Z)(Xt,"".concat(Wn,"-input-active"),ro===1),(0,Qt.Z)(Xt,"".concat(Wn,"-input-placeholder"),!!Xi),Xt)),ref:Ga},me.createElement("input",(0,_e.Z)({disabled:Ko[1],readOnly:sn||typeof Io[0]=="function"||!_u,value:Xi||Xs,onChange:function(fo){ju(fo.target.value)},placeholder:Sn(vi,1)||"",ref:xo},Pl,td,{autoComplete:Oa}))),me.createElement("div",{className:"".concat(Wn,"-active-bar"),style:(0,Ut.Z)((0,Ut.Z)({},Od),{},{width:sd,position:"absolute"})}),Uc,Dc&&uu)))}var as=function(Ge){(0,Ht.Z)(gt,Ge);var ct=(0,Fn.Z)(gt);function gt(){var Xt;(0,at.Z)(this,gt);for(var en=arguments.length,qn=new Array(en),Wn=0;Wn<en;Wn++)qn[Wn]=arguments[Wn];return Xt=ct.call.apply(ct,[this].concat(qn)),(0,Qt.Z)((0,on.Z)(Xt),"pickerRef",me.createRef()),(0,Qt.Z)((0,on.Z)(Xt),"focus",function(){Xt.pickerRef.current&&Xt.pickerRef.current.focus()}),(0,Qt.Z)((0,on.Z)(Xt),"blur",function(){Xt.pickerRef.current&&Xt.pickerRef.current.blur()}),Xt}return(0,Nt.Z)(gt,[{key:"render",value:function(){return me.createElement(xl,(0,_e.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),gt}(me.Component),Yo=as,Ys=Ka,Ts=te(19080),os=te(36355),cs=te(1684),du=te(19716),ps=te(32441),Bo=te(9763),wu=te(33234),fu=te(48183),gs=te(64993),Vl=te(9937),El=te(17313),yu=te(47585),Pu=te(74207),bs=te(13826),al=te(92899),Ho=te(37613),Ul=te(83116);const ds=(Ge,ct,gt,Xt)=>{const{lineHeight:en}=Ge,qn=Math.floor(gt*en)+2,Wn=Math.max((ct-qn)/2,0),wr=Math.max(ct-qn-Wn,0);return{padding:`${Wn}px ${Xt}px ${wr}px`}},ts=Ge=>{const{componentCls:ct,pickerCellCls:gt,pickerCellInnerCls:Xt,cellHeight:en,motionDurationSlow:qn,borderRadiusSM:Wn,motionDurationMid:wr,cellHoverBg:br,lineWidth:Ir,lineType:zi,colorPrimary:Yr,cellActiveWithRangeBg:Ur,colorTextLightSolid:di,controlHeightSM:xi,cellRangeBorderColor:mr,pickerCellBorderGap:Tr,cellHoverWithRangeBg:vi,cellWidth:ka,colorTextDisabled:da,cellBgDisabled:Pa}=Ge;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:en,transform:"translateY(-50%)",transition:`all ${qn}`,content:'""'},[Xt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:en,height:en,lineHeight:`${en}px`,borderRadius:Wn,transition:`background ${wr}, border ${wr}`},"&-range-hover-start, &-range-hover-end":{[Xt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${gt}-in-view),
|
|
|
&:hover:not(${gt}-selected):not(${gt}-range-start):not(${gt}-range-end):not(${gt}-range-hover-start):not(${gt}-range-hover-end)`]:{[Xt]:{background:br}},[`&-in-view${gt}-today ${Xt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Ir}px ${zi} ${Yr}`,borderRadius:Wn,content:'""'}},[`&-in-view${gt}-in-range`]:{position:"relative","&::before":{background:Ur}},[`&-in-view${gt}-selected ${Xt},
|
|
|
&-in-view${gt}-range-start ${Xt},
|
|
|
&-in-view${gt}-range-end ${Xt}`]:{color:di,background:Yr},[`&-in-view${gt}-range-start:not(${gt}-range-start-single),
|
|
|
&-in-view${gt}-range-end:not(${gt}-range-end-single)`]:{"&::before":{background:Ur}},[`&-in-view${gt}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${gt}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${gt}-range-hover-start:not(${gt}-in-range):not(${gt}-range-start):not(${gt}-range-end),
|
|
|
&-in-view${gt}-range-hover-end:not(${gt}-in-range):not(${gt}-range-start):not(${gt}-range-end),
|
|
|
&-in-view${gt}-range-hover-start${gt}-range-start-single,
|
|
|
&-in-view${gt}-range-hover-start${gt}-range-start${gt}-range-end${gt}-range-end-near-hover,
|
|
|
&-in-view${gt}-range-hover-end${gt}-range-start${gt}-range-end${gt}-range-start-near-hover,
|
|
|
&-in-view${gt}-range-hover-end${gt}-range-end-single,
|
|
|
&-in-view${gt}-range-hover:not(${gt}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:xi,borderTop:`${Ir}px dashed ${mr}`,borderBottom:`${Ir}px dashed ${mr}`,transform:"translateY(-50%)",transition:`all ${qn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Tr},[`&-in-view${gt}-in-range${gt}-range-hover::before,
|
|
|
&-in-view${gt}-in-range${gt}-range-hover-start::before,
|
|
|
&-in-view${gt}-in-range${gt}-range-hover-end::before,
|
|
|
&-in-view${gt}-range-start${gt}-range-hover::before,
|
|
|
&-in-view${gt}-range-end${gt}-range-hover::before,
|
|
|
&-in-view${gt}-range-start:not(${gt}-range-start-single)${gt}-range-hover-start::before,
|
|
|
&-in-view${gt}-range-end:not(${gt}-range-end-single)${gt}-range-hover-end::before,
|
|
|
${ct}-panel
|
|
|
> :not(${ct}-date-panel)
|
|
|
&-in-view${gt}-in-range${gt}-range-hover-start::before,
|
|
|
${ct}-panel
|
|
|
> :not(${ct}-date-panel)
|
|
|
&-in-view${gt}-in-range${gt}-range-hover-end::before`]:{background:vi},[`&-in-view${gt}-range-start:not(${gt}-range-start-single):not(${gt}-range-end) ${Xt}`]:{borderStartStartRadius:Wn,borderEndStartRadius:Wn,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${gt}-range-end:not(${gt}-range-end-single):not(${gt}-range-start) ${Xt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Wn,borderEndEndRadius:Wn},[`&-range-hover${gt}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${gt}-range-hover:first-child::after,
|
|
|
tr > &-in-view${gt}-range-hover-end:first-child::after,
|
|
|
&-in-view${gt}-start${gt}-range-hover-edge-start${gt}-range-hover-edge-start-near-range::after,
|
|
|
&-in-view${gt}-range-hover-edge-start:not(${gt}-range-hover-edge-start-near-range)::after,
|
|
|
&-in-view${gt}-range-hover-start::after`]:{insetInlineStart:(ka-en)/2,borderInlineStart:`${Ir}px dashed ${mr}`,borderStartStartRadius:Wn,borderEndStartRadius:Wn},[`tr > &-in-view${gt}-range-hover:last-child::after,
|
|
|
tr > &-in-view${gt}-range-hover-start:last-child::after,
|
|
|
&-in-view${gt}-end${gt}-range-hover-edge-end${gt}-range-hover-edge-end-near-range::after,
|
|
|
&-in-view${gt}-range-hover-edge-end:not(${gt}-range-hover-edge-end-near-range)::after,
|
|
|
&-in-view${gt}-range-hover-end::after`]:{insetInlineEnd:(ka-en)/2,borderInlineEnd:`${Ir}px dashed ${mr}`,borderStartEndRadius:Wn,borderEndEndRadius:Wn},"&-disabled":{color:da,pointerEvents:"none",[Xt]:{background:"transparent"},"&::before":{background:Pa}},[`&-disabled${gt}-today ${Xt}::before`]:{borderColor:da}}},Ns=Ge=>{const{componentCls:ct,pickerCellCls:gt,pickerCellInnerCls:Xt,pickerYearMonthCellWidth:en,pickerControlIconSize:qn,cellWidth:Wn,paddingSM:wr,paddingXS:br,paddingXXS:Ir,colorBgContainer:zi,lineWidth:Yr,lineType:Ur,borderRadiusLG:di,colorPrimary:xi,colorTextHeading:mr,colorSplit:Tr,pickerControlIconBorderWidth:vi,colorIcon:ka,textHeight:da,motionDurationMid:Pa,colorIconHover:La,fontWeightStrong:Ma,cellHeight:ya,pickerCellPaddingVertical:Xo,colorTextDisabled:Mo,colorText:Qo,fontSize:sl,cellHoverWithRangeBg:vl,motionDurationSlow:Dl,withoutTimeCellHeight:Rl,pickerQuarterPanelContentHeight:$o,colorLink:nl,colorLinkActive:dl,colorLinkHover:zl,cellRangeBorderColor:Ql,borderRadiusSM:Sl,colorTextLightSolid:fl,cellHoverBg:fs,timeColumnHeight:ws,timeColumnWidth:ht,timeCellHeight:bt,controlItemBgActive:Zt,marginXXS:Vt,pickerDatePanelPaddingHorizontal:mn}=Ge,sn=Wn*7+mn*2,Kn=(sn-br*2)/3-en-wr,Rn=(sn-br*2)/4-en;return{[ct]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:zi,border:`${Yr}px ${Ur} ${Tr}`,borderRadius:di,outline:"none","&-focused":{borderColor:xi},"&-rtl":{direction:"rtl",[`${ct}-prev-icon,
|
|
|
${ct}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ct}-next-icon,
|
|
|
${ct}-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:sn},"&-header":{display:"flex",padding:`0 ${br}px`,color:mr,borderBottom:`${Yr}px ${Ur} ${Tr}`,"> *":{flex:"none"},button:{padding:0,color:ka,lineHeight:`${da}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Pa}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:sl,"&:hover":{color:La}},"&-view":{flex:"auto",fontWeight:Ma,lineHeight:`${da}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:br},"&:hover":{color:xi}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:qn,height:qn,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:qn,height:qn,border:"0 solid currentcolor",borderBlockStartWidth:vi,borderBlockEndWidth:0,borderInlineStartWidth:vi,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(qn/2),insetInlineStart:Math.ceil(qn/2),display:"inline-block",width:qn,height:qn,border:"0 solid currentcolor",borderBlockStartWidth:vi,borderBlockEndWidth:0,borderInlineStartWidth:vi,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:ya,fontWeight:"normal"},th:{height:ya+Xo*2,color:Qo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Xo}px 0`,color:Mo,cursor:"pointer","&-in-view":{color:Qo}},ts(Ge)),[`&-date-panel ${ct}-cell-in-view${ct}-cell-in-range${ct}-cell-range-hover-start ${Xt},
|
|
|
&-date-panel ${ct}-cell-in-view${ct}-cell-in-range${ct}-cell-range-hover-end ${Xt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:vl,transition:`all ${Dl}`,content:'""'}},[`&-date-panel
|
|
|
${ct}-cell-in-view${ct}-cell-in-range${ct}-cell-range-hover-start
|
|
|
${Xt}::after`]:{insetInlineEnd:-(Wn-ya)/2,insetInlineStart:0},[`&-date-panel ${ct}-cell-in-view${ct}-cell-in-range${ct}-cell-range-hover-end ${Xt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Wn-ya)/2},[`&-range-hover${ct}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ct}-content`]:{height:Rl*4},[Xt]:{padding:`0 ${br}px`}},"&-quarter-panel":{[`${ct}-content`]:{height:$o},[`${ct}-cell-range-hover-start::after`]:{insetInlineStart:Rn,borderInlineStart:`${Yr}px dashed ${Ql}`,[`${ct}-panel-rtl &`]:{insetInlineEnd:Rn,borderInlineEnd:`${Yr}px dashed ${Ql}`}},[`${ct}-cell-range-hover-end::after`]:{insetInlineEnd:Rn,borderInlineEnd:`${Yr}px dashed ${Ql}`,[`${ct}-panel-rtl &`]:{insetInlineStart:Rn,borderInlineStart:`${Yr}px dashed ${Ql}`}}},[`&-panel ${ct}-footer`]:{borderTop:`${Yr}px ${Ur} ${Tr}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${da-2*Yr}px`,textAlign:"center","&-extra":{padding:`0 ${wr}px`,lineHeight:`${da-2*Yr}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Yr}px ${Ur} ${Tr}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:nl,"&:hover":{color:zl},"&:active":{color:dl},[`&${ct}-today-btn-disabled`]:{color:Mo,cursor:"not-allowed"}},"&-decade-panel":{[Xt]:{padding:`0 ${br/2}px`},[`${ct}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ct}-body`]:{padding:`0 ${br}px`},[Xt]:{width:en},[`${ct}-cell-range-hover-start::after`]:{borderStartStartRadius:Sl,borderEndStartRadius:Sl,borderStartEndRadius:0,borderEndEndRadius:0,[`${ct}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Sl,borderEndEndRadius:Sl}},[`${ct}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Sl,borderEndEndRadius:Sl,[`${ct}-panel-rtl &`]:{borderStartStartRadius:Sl,borderEndStartRadius:Sl,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ct}-cell-range-hover-start::after`]:{insetInlineStart:Kn,borderInlineStart:`${Yr}px dashed ${Ql}`,[`${ct}-panel-rtl &`]:{insetInlineEnd:Kn,borderInlineEnd:`${Yr}px dashed ${Ql}`}},[`${ct}-cell-range-hover-end::after`]:{insetInlineEnd:Kn,borderInlineEnd:`${Yr}px dashed ${Ql}`,[`${ct}-panel-rtl &`]:{insetInlineStart:Kn,borderInlineStart:`${Yr}px dashed ${Ql}`}}},"&-week-panel":{[`${ct}-body`]:{padding:`${br}px ${wr}px`},[`${ct}-cell`]:{[`&:hover ${Xt},
|
|
|
&-selected ${Xt},
|
|
|
${Xt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Pa}`},"&:first-child:before":{borderStartStartRadius:Sl,borderEndStartRadius:Sl},"&:last-child:before":{borderStartEndRadius:Sl,borderEndEndRadius:Sl}},"&:hover td":{"&:before":{background:fs}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${gt}`]:{"&:before":{background:xi},[`&${ct}-cell-week`]:{color:new gs.C(fl).setAlpha(.5).toHexString()},[Xt]:{color:fl}}},"&-range-hover td:before":{background:Zt}}},"&-date-panel":{[`${ct}-body`]:{padding:`${br}px ${mn}px`},[`${ct}-content`]:{width:Wn*7,th:{width:Wn,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ct}-time-panel`]:{borderInlineStart:`${Yr}px ${Ur} ${Tr}`},[`${ct}-date-panel,
|
|
|
${ct}-time-panel`]:{transition:`opacity ${Dl}`},"&-active":{[`${ct}-date-panel,
|
|
|
${ct}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ct}-content`]:{display:"flex",flex:"auto",height:ws},"&-column":{flex:"1 0 auto",width:ht,margin:`${Ir}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Pa}`,overflowX:"hidden","&::after":{display:"block",height:ws-bt,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Yr}px ${Ur} ${Tr}`},"&-active":{background:new gs.C(Zt).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ct}-time-panel-cell`]:{marginInline:Vt,[`${ct}-time-panel-cell-inner`]:{display:"block",width:ht-2*Vt,height:bt,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ht-bt)/2,color:Qo,lineHeight:`${bt}px`,borderRadius:Sl,cursor:"pointer",transition:`background ${Pa}`,"&:hover":{background:fs}},"&-selected":{[`${ct}-time-panel-cell-inner`]:{background:Zt}},"&-disabled":{[`${ct}-time-panel-cell-inner`]:{color:Mo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ct}-time-panel-column:after`]:{height:ws-bt+Ir*2}}}},Cs=Ge=>{const{componentCls:ct,colorBgContainer:gt,colorError:Xt,errorActiveShadow:en,colorWarning:qn,warningActiveShadow:Wn}=Ge;return{[`${ct}:not(${ct}-disabled)`]:{[`&${ct}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:gt,borderColor:Xt},[`&${ct}-focused, &:focus`]:Object.assign({},(0,Vl.M1)((0,Ho.TS)(Ge,{activeBorderColor:Xt,activeShadow:en}))),[`${ct}-active-bar`]:{background:Xt}},[`&${ct}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:gt,borderColor:qn},[`&${ct}-focused, &:focus`]:Object.assign({},(0,Vl.M1)((0,Ho.TS)(Ge,{activeBorderColor:qn,activeShadow:Wn}))),[`${ct}-active-bar`]:{background:qn}}}}},No=Ge=>{const{componentCls:ct,antCls:gt,controlHeight:Xt,fontSize:en,paddingInline:qn,colorBgContainer:Wn,lineWidth:wr,lineType:br,colorBorder:Ir,borderRadius:zi,motionDurationMid:Yr,colorBgContainerDisabled:Ur,colorTextDisabled:di,colorTextPlaceholder:xi,controlHeightLG:mr,fontSizeLG:Tr,controlHeightSM:vi,paddingInlineSM:ka,paddingXS:da,marginXS:Pa,colorTextDescription:La,lineWidthBold:Ma,lineHeight:ya,colorPrimary:Xo,motionDurationSlow:Mo,zIndexPopup:Qo,paddingXXS:sl,paddingSM:vl,textHeight:Dl,cellActiveWithRangeBg:Rl,colorPrimaryBorder:$o,sizePopupArrow:nl,borderRadiusXS:dl,borderRadiusOuter:zl,colorBgElevated:Ql,borderRadiusLG:Sl,boxShadowSecondary:fl,borderRadiusSM:fs,colorSplit:ws,cellHoverBg:ht,presetsWidth:bt,presetsMaxWidth:Zt,boxShadowPopoverArrow:Vt,colorTextQuaternary:mn}=Ge;return[{[ct]:Object.assign(Object.assign(Object.assign({},(0,El.Wf)(Ge)),ds(Ge,Xt,en,qn)),{position:"relative",display:"inline-flex",alignItems:"center",background:Wn,lineHeight:1,border:`${wr}px ${br} ${Ir}`,borderRadius:zi,transition:`border ${Yr}, box-shadow ${Yr}`,"&:hover, &-focused":Object.assign({},(0,Vl.pU)(Ge)),"&-focused":Object.assign({},(0,Vl.M1)(Ge)),[`&${ct}-disabled`]:{background:Ur,borderColor:Ir,cursor:"not-allowed",[`${ct}-suffix`]:{color:mn}},[`&${ct}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ct}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Vl.ik)(Ge)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ct}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:xi}}},"&-large":Object.assign(Object.assign({},ds(Ge,mr,Tr,qn)),{[`${ct}-input > input`]:{fontSize:Tr}}),"&-small":Object.assign({},ds(Ge,vi,en,ka)),[`${ct}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:da/2,color:di,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Pa}}},[`${ct}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:di,lineHeight:1,background:Wn,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Yr}, color ${Yr}`,"> *":{verticalAlign:"top"},"&:hover":{color:La}},[`${ct}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Tr,color:di,fontSize:Tr,verticalAlign:"top",cursor:"default",[`${ct}-focused &`]:{color:La},[`${ct}-range-separator &`]:{[`${ct}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ct}-clear`]:{insetInlineEnd:qn},"&:hover":{[`${ct}-clear`]:{opacity:1}},[`${ct}-active-bar`]:{bottom:-wr,height:Ma,marginInlineStart:qn,background:Xo,opacity:0,transition:`all ${Mo} ease-out`,pointerEvents:"none"},[`&${ct}-focused`]:{[`${ct}-active-bar`]:{opacity:1}},[`${ct}-range-separator`]:{alignItems:"center",padding:`0 ${da}px`,lineHeight:1},[`&${ct}-small`]:{[`${ct}-clear`]:{insetInlineEnd:ka},[`${ct}-active-bar`]:{marginInlineStart:ka}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,El.Wf)(Ge)),Ns(Ge)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Qo,[`&${ct}-dropdown-hidden`]:{display:"none"},[`&${ct}-dropdown-placement-bottomLeft`]:{[`${ct}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ct}-dropdown-placement-topLeft`]:{[`${ct}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${gt}-slide-up-enter${gt}-slide-up-enter-active${ct}-dropdown-placement-topLeft,
|
|
|
&${gt}-slide-up-enter${gt}-slide-up-enter-active${ct}-dropdown-placement-topRight,
|
|
|
&${gt}-slide-up-appear${gt}-slide-up-appear-active${ct}-dropdown-placement-topLeft,
|
|
|
&${gt}-slide-up-appear${gt}-slide-up-appear-active${ct}-dropdown-placement-topRight`]:{animationName:bs.Qt},[`&${gt}-slide-up-enter${gt}-slide-up-enter-active${ct}-dropdown-placement-bottomLeft,
|
|
|
&${gt}-slide-up-enter${gt}-slide-up-enter-active${ct}-dropdown-placement-bottomRight,
|
|
|
&${gt}-slide-up-appear${gt}-slide-up-appear-active${ct}-dropdown-placement-bottomLeft,
|
|
|
&${gt}-slide-up-appear${gt}-slide-up-appear-active${ct}-dropdown-placement-bottomRight`]:{animationName:bs.fJ},[`&${gt}-slide-up-leave${gt}-slide-up-leave-active${ct}-dropdown-placement-topLeft,
|
|
|
&${gt}-slide-up-leave${gt}-slide-up-leave-active${ct}-dropdown-placement-topRight`]:{animationName:bs.ly},[`&${gt}-slide-up-leave${gt}-slide-up-leave-active${ct}-dropdown-placement-bottomLeft,
|
|
|
&${gt}-slide-up-leave${gt}-slide-up-leave-active${ct}-dropdown-placement-bottomRight`]:{animationName:bs.Uw},[`${ct}-panel > ${ct}-time-panel`]:{paddingTop:sl},[`${ct}-ranges`]:{marginBottom:0,padding:`${sl}px ${vl}px`,overflow:"hidden",lineHeight:`${Dl-2*wr-da/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ct}-preset > ${gt}-tag-blue`]:{color:Xo,background:Rl,borderColor:$o,cursor:"pointer"},[`${ct}-ok`]:{marginInlineStart:"auto"}},[`${ct}-range-wrapper`]:{display:"flex",position:"relative"},[`${ct}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:qn*1.5,transition:`left ${Mo} ease-out`},(0,yu.r)(nl,dl,zl,Ql,Vt)),[`${ct}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ql,borderRadius:Sl,boxShadow:fl,transition:`margin ${Mo}`,[`${ct}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ct}-presets`]:{display:"flex",flexDirection:"column",minWidth:bt,maxWidth:Zt,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:da,borderInlineEnd:`${wr}px ${br} ${ws}`,li:Object.assign(Object.assign({},El.vS),{borderRadius:fs,paddingInline:da,paddingBlock:(vi-Math.round(en*ya))/2,cursor:"pointer",transition:`all ${Mo}`,"+ li":{marginTop:Pa},"&:hover":{background:ht}})}},[`${ct}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ct}-panel`]:{borderWidth:`0 0 ${wr}px`},"&:last-child":{[`${ct}-panel`]:{borderWidth:0}}},[`${ct}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ct}-content,
|
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Ir}}}}),"&-dropdown-range":{padding:`${nl*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ct}-separator`]:{transform:"rotate(180deg)"},[`${ct}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,bs.oN)(Ge,"slide-up"),(0,bs.oN)(Ge,"slide-down"),(0,al.Fm)(Ge,"move-up"),(0,al.Fm)(Ge,"move-down")]},Qs=Ge=>{const{componentCls:ct,controlHeightLG:gt,paddingXXS:Xt,padding:en}=Ge;return{pickerCellCls:`${ct}-cell`,pickerCellInnerCls:`${ct}-cell-inner`,pickerYearMonthCellWidth:gt*1.5,pickerQuarterPanelContentHeight:gt*1.4,pickerCellPaddingVertical:Xt+Xt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:en+Xt/2}},Su=Ge=>({cellHoverBg:Ge.controlItemBgHover,cellActiveWithRangeBg:Ge.controlItemBgActive,cellHoverWithRangeBg:new gs.C(Ge.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new gs.C(Ge.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Ge.colorBgContainerDisabled,timeColumnWidth:Ge.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Ge.controlHeightSM*1.5,cellHeight:Ge.controlHeightSM,textHeight:Ge.controlHeightLG,withoutTimeCellHeight:Ge.controlHeightLG*1.65});var hu=(0,Ul.Z)("DatePicker",Ge=>{const ct=(0,Ho.TS)((0,Vl.e5)(Ge),Qs(Ge));return[No(ct),Cs(ct),(0,Pu.c)(Ge,{focusElCls:`${Ge.componentCls}-focused`})]},Ge=>Object.assign(Object.assign(Object.assign({},(0,Vl.TM)(Ge)),Su(Ge)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:Ge.zIndexPopupBase+50}));function js(Ge,ct,gt){return gt!==void 0?gt:ct==="year"&&Ge.lang.yearPlaceholder?Ge.lang.yearPlaceholder:ct==="quarter"&&Ge.lang.quarterPlaceholder?Ge.lang.quarterPlaceholder:ct==="month"&&Ge.lang.monthPlaceholder?Ge.lang.monthPlaceholder:ct==="week"&&Ge.lang.weekPlaceholder?Ge.lang.weekPlaceholder:ct==="time"&&Ge.timePickerLocale.placeholder?Ge.timePickerLocale.placeholder:Ge.lang.placeholder}function wc(Ge,ct,gt){return gt!==void 0?gt:ct==="year"&&Ge.lang.yearPlaceholder?Ge.lang.rangeYearPlaceholder:ct==="quarter"&&Ge.lang.quarterPlaceholder?Ge.lang.rangeQuarterPlaceholder:ct==="month"&&Ge.lang.monthPlaceholder?Ge.lang.rangeMonthPlaceholder:ct==="week"&&Ge.lang.weekPlaceholder?Ge.lang.rangeWeekPlaceholder:ct==="time"&&Ge.timePickerLocale.placeholder?Ge.timePickerLocale.rangePlaceholder:Ge.lang.rangePlaceholder}function Lu(Ge,ct){const gt={adjustX:1,adjustY:1};switch(ct){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:gt};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:gt};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:gt};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:gt};default:return{points:Ge==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:gt}}}function zu(Ge){return Ge?Array.isArray(Ge)?Ge:[Ge]:[]}function iu(Ge){const{format:ct,picker:gt,showHour:Xt,showMinute:en,showSecond:qn,use12Hours:Wn}=Ge,wr=zu(ct)[0],br=Object.assign({},Ge);return ct&&Array.isArray(ct)&&(br.format=wr),wr&&typeof wr=="string"&&(!wr.includes("s")&&qn===void 0&&(br.showSecond=!1),!wr.includes("m")&&en===void 0&&(br.showMinute=!1),!wr.includes("H")&&!wr.includes("h")&&!wr.includes("K")&&!wr.includes("k")&&Xt===void 0&&(br.showHour=!1),(wr.includes("a")||wr.includes("A"))&&Wn===void 0&&(br.use12Hours=!0)),gt==="time"?br:(typeof wr=="function"&&delete br.format,{showTime:br})}function ic(Ge,ct,gt){if(Ge===!1)return!1;const Xt={clearIcon:ct!=null?ct:gt};return typeof Ge=="object"?Object.assign(Object.assign({},Xt),Ge):Xt}var ac=te(3113);function zc(Ge){return me.createElement(ac.ZP,Object.assign({size:"small",type:"primary"},Ge))}var Au={button:zc},Ia=function(Ge,ct){var gt={};for(var Xt in Ge)Object.prototype.hasOwnProperty.call(Ge,Xt)&&ct.indexOf(Xt)<0&&(gt[Xt]=Ge[Xt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,Xt=Object.getOwnPropertySymbols(Ge);en<Xt.length;en++)ct.indexOf(Xt[en])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Xt[en])&&(gt[Xt[en]]=Ge[Xt[en]]);return gt};function Ju(Ge){return(0,me.forwardRef)((gt,Xt)=>{const{prefixCls:en,getPopupContainer:qn,className:Wn,placement:wr,size:br,disabled:Ir,bordered:zi=!0,placeholder:Yr,popupClassName:Ur,dropdownClassName:di,status:xi,clearIcon:mr,allowClear:Tr,rootClassName:vi}=gt,ka=Ia(gt,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),da=me.useRef(null),{getPrefixCls:Pa,direction:La,getPopupContainer:Ma}=(0,me.useContext)(os.E_),ya=Pa("picker",en),{compactSize:Xo,compactItemClassnames:Mo}=(0,wu.ri)(ya,La),{format:Qo,showTime:sl,picker:vl}=gt,Dl=Pa(),[Rl,$o]=hu(ya),nl=Object.assign(Object.assign({},sl?iu(Object.assign({format:Qo,picker:vl},sl)):{}),vl==="time"?iu(Object.assign(Object.assign({format:Qo},gt),{picker:vl})):{}),dl=(0,du.Z)(Vt=>{var mn;return(mn=br!=null?br:Xo)!==null&&mn!==void 0?mn:Vt}),zl=me.useContext(cs.Z),Ql=Ir!=null?Ir:zl,Sl=(0,me.useContext)(ps.aM),{hasFeedback:fl,status:fs,feedbackIcon:ws}=Sl,ht=me.createElement(me.Fragment,null,vl==="time"?me.createElement(mt,null):me.createElement(Te,null),fl&&ws);(0,me.useImperativeHandle)(Xt,()=>({focus:()=>{var Vt;return(Vt=da.current)===null||Vt===void 0?void 0:Vt.focus()},blur:()=>{var Vt;return(Vt=da.current)===null||Vt===void 0?void 0:Vt.blur()}}));const[bt]=(0,Bo.Z)("Calendar",fu.Z),Zt=Object.assign(Object.assign({},bt),gt.locale);return Rl(me.createElement(Yo,Object.assign({separator:me.createElement("span",{"aria-label":"to",className:`${ya}-separator`},me.createElement(zt,null)),disabled:Ql,ref:da,dropdownAlign:Lu(La,wr),placeholder:wc(Zt,vl,Yr),suffixIcon:ht,prevIcon:me.createElement("span",{className:`${ya}-prev-icon`}),nextIcon:me.createElement("span",{className:`${ya}-next-icon`}),superPrevIcon:me.createElement("span",{className:`${ya}-super-prev-icon`}),superNextIcon:me.createElement("span",{className:`${ya}-super-next-icon`}),transitionName:`${Dl}-slide-up`},ka,nl,{className:tt()({[`${ya}-${dl}`]:dl,[`${ya}-borderless`]:!zi},(0,Ts.Z)(ya,(0,Ts.F)(fs,xi),fl),$o,Mo,Wn,vi),locale:Zt.lang,prefixCls:ya,getPopupContainer:qn||Ma,generateConfig:Ge,components:Au,direction:La,dropdownClassName:tt()($o,Ur||di,vi),allowClear:ic(Tr,mr,me.createElement(Lt.Z,null))})))})}var Al=function(Ge,ct){var gt={};for(var Xt in Ge)Object.prototype.hasOwnProperty.call(Ge,Xt)&&ct.indexOf(Xt)<0&&(gt[Xt]=Ge[Xt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,Xt=Object.getOwnPropertySymbols(Ge);en<Xt.length;en++)ct.indexOf(Xt[en])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Xt[en])&&(gt[Xt[en]]=Ge[Xt[en]]);return gt};function Nl(Ge){function ct(br,Ir){const zi=Ir==="TimePicker"?"timePicker":"datePicker",Yr=(0,me.forwardRef)((Ur,di)=>{const{prefixCls:xi,getPopupContainer:mr,style:Tr,className:vi,rootClassName:ka,size:da,bordered:Pa=!0,placement:La,placeholder:Ma,popupClassName:ya,dropdownClassName:Xo,disabled:Mo,status:Qo,clearIcon:sl,allowClear:vl}=Ur,Dl=Al(Ur,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Rl,direction:$o,getPopupContainer:nl,[zi]:dl}=(0,me.useContext)(os.E_),zl=Rl("picker",xi),{compactSize:Ql,compactItemClassnames:Sl}=(0,wu.ri)(zl,$o),fl=me.useRef(null),{format:fs,showTime:ws}=Ur,[ht,bt]=hu(zl);(0,me.useImperativeHandle)(di,()=>({focus:()=>{var hi;return(hi=fl.current)===null||hi===void 0?void 0:hi.focus()},blur:()=>{var hi;return(hi=fl.current)===null||hi===void 0?void 0:hi.blur()}}));const Zt={showToday:!0};let Vt={};br&&(Vt.picker=br);const mn=br||Ur.picker;Vt=Object.assign(Object.assign(Object.assign({},Vt),ws?iu(Object.assign({format:fs,picker:mn},ws)):{}),mn==="time"?iu(Object.assign(Object.assign({format:fs},Ur),{picker:mn})):{});const sn=Rl(),Kn=(0,du.Z)(hi=>{var Ki;return(Ki=da!=null?da:Ql)!==null&&Ki!==void 0?Ki:hi}),Rn=me.useContext(cs.Z),Tn=Mo!=null?Mo:Rn,fr=(0,me.useContext)(ps.aM),{hasFeedback:lr,status:ur,feedbackIcon:Kr}=fr,Zr=me.createElement(me.Fragment,null,mn==="time"?me.createElement(mt,null):me.createElement(Te,null),lr&&Kr),[Jr]=(0,Bo.Z)("DatePicker",fu.Z),yi=Object.assign(Object.assign({},Jr),Ur.locale);return ht(me.createElement(Ys,Object.assign({ref:fl,placeholder:js(yi,mn,Ma),suffixIcon:Zr,dropdownAlign:Lu($o,La),prevIcon:me.createElement("span",{className:`${zl}-prev-icon`}),nextIcon:me.createElement("span",{className:`${zl}-next-icon`}),superPrevIcon:me.createElement("span",{className:`${zl}-super-prev-icon`}),superNextIcon:me.createElement("span",{className:`${zl}-super-next-icon`}),transitionName:`${sn}-slide-up`},Zt,Dl,Vt,{locale:yi.lang,className:tt()({[`${zl}-${Kn}`]:Kn,[`${zl}-borderless`]:!Pa},(0,Ts.Z)(zl,(0,Ts.F)(ur,Qo),lr),bt,Sl,dl==null?void 0:dl.className,vi,ka),style:Object.assign(Object.assign({},dl==null?void 0:dl.style),Tr),prefixCls:zl,getPopupContainer:mr||nl,generateConfig:Ge,components:Au,direction:$o,disabled:Tn,dropdownClassName:tt()(bt,ka,ya||Xo),allowClear:ic(vl,sl,me.createElement(Lt.Z,null))})))});return Ir&&(Yr.displayName=Ir),Yr}const gt=ct(),Xt=ct("week","WeekPicker"),en=ct("month","MonthPicker"),qn=ct("year","YearPicker"),Wn=ct("time","TimePicker"),wr=ct("quarter","QuarterPicker");return{DatePicker:gt,WeekPicker:Xt,MonthPicker:en,YearPicker:qn,TimePicker:Wn,QuarterPicker:wr}}const $l=null;function au(Ge){const{DatePicker:ct,WeekPicker:gt,MonthPicker:Xt,YearPicker:en,TimePicker:qn,QuarterPicker:Wn}=Nl(Ge),wr=Ju(Ge),br=ct;return br.WeekPicker=gt,br.MonthPicker=Xt,br.YearPicker=en,br.RangePicker=wr,br.TimePicker=qn,br.QuarterPicker=Wn,br}var Zs=au;const eu=Zs(Ke);function Ks(Ge){const ct=Lu(Ge.direction,Ge.placement);return ct.overflow.adjustY=!1,ct.overflow.adjustX=!1,Object.assign(Object.assign({},Ge),{dropdownAlign:ct})}const Ws=(0,Oe.Z)(eu,"picker",null,Ks);eu._InternalPanelDoNotUseOrYouWillBeFired=Ws;const ou=(0,Oe.Z)(eu.RangePicker,"picker",null,Ks);eu._InternalRangePanelDoNotUseOrYouWillBeFired=ou,eu.generatePicker=Zs;var lu=eu},28103:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ae}});var ee=te(92310),de=te.n(ee),Ce=te(59301),We=te(36355),xe=te(17313),Ee=te(83116),fe=te(37613);const be=ge=>{const{componentCls:we,sizePaddingEdgeHorizontal:Se,colorSplit:Ne,lineWidth:ke,textPaddingInline:Ye,orientationMargin:et,verticalMarginInline:Ke}=ge;return{[we]:Object.assign(Object.assign({},(0,xe.Wf)(ge)),{borderBlockStart:`${ke}px solid ${Ne}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Ke,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ke}px solid ${Ne}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ge.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${we}-with-text`]:{display:"flex",alignItems:"center",margin:`${ge.dividerHorizontalWithTextGutterMargin}px 0`,color:ge.colorTextHeading,fontWeight:500,fontSize:ge.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${Ne}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ke}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${we}-with-text-left`]:{"&::before":{width:`${et*100}%`},"&::after":{width:`${100-et*100}%`}},[`&-horizontal${we}-with-text-right`]:{"&::before":{width:`${100-et*100}%`},"&::after":{width:`${et*100}%`}},[`${we}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Ye},"&-dashed":{background:"none",borderColor:Ne,borderStyle:"dashed",borderWidth:`${ke}px 0 0`},[`&-horizontal${we}-with-text${we}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${we}-dashed`]:{borderInlineStartWidth:ke,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${we}-with-text`]:{color:ge.colorText,fontWeight:"normal",fontSize:ge.fontSize},[`&-horizontal${we}-with-text-left${we}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${we}-inner-text`]:{paddingInlineStart:Se}},[`&-horizontal${we}-with-text-right${we}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${we}-inner-text`]:{paddingInlineEnd:Se}}})}};var Fe=(0,Ee.Z)("Divider",ge=>{const we=(0,fe.TS)(ge,{dividerHorizontalWithTextGutterMargin:ge.margin,dividerHorizontalGutterMargin:ge.marginLG,sizePaddingEdgeHorizontal:0});return[be(we)]},ge=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ge.marginXS})),He=function(ge,we){var Se={};for(var Ne in ge)Object.prototype.hasOwnProperty.call(ge,Ne)&&we.indexOf(Ne)<0&&(Se[Ne]=ge[Ne]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ne=Object.getOwnPropertySymbols(ge);ke<Ne.length;ke++)we.indexOf(Ne[ke])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ne[ke])&&(Se[Ne[ke]]=ge[Ne[ke]]);return Se},Ae=ge=>{const{getPrefixCls:we,direction:Se,divider:Ne}=Ce.useContext(We.E_),{prefixCls:ke,type:Ye="horizontal",orientation:et="center",orientationMargin:Ke,className:Oe,rootClassName:_e,children:me,dashed:Re,plain:Le,style:Pe}=ge,De=He(ge,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ze=we("divider",ke),[Te,xt]=Fe(ze),Ze=et.length>0?`-${et}`:et,vt=!!me,ot=et==="left"&&Ke!=null,mt=et==="right"&&Ke!=null,Lt=de()(ze,Ne==null?void 0:Ne.className,xt,`${ze}-${Ye}`,{[`${ze}-with-text`]:vt,[`${ze}-with-text${Ze}`]:vt,[`${ze}-dashed`]:!!Re,[`${ze}-plain`]:!!Le,[`${ze}-rtl`]:Se==="rtl",[`${ze}-no-default-orientation-margin-left`]:ot,[`${ze}-no-default-orientation-margin-right`]:mt},Oe,_e),It=Ce.useMemo(()=>typeof Ke=="number"?Ke:/^\d+$/.test(Ke)?Number(Ke):Ke,[Ke]),Qe=Object.assign(Object.assign({},ot&&{marginLeft:It}),mt&&{marginRight:It});return Te(Ce.createElement("div",Object.assign({className:Lt,style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),Pe)},De,{role:"separator"}),me&&Ye!=="vertical"&&Ce.createElement("span",{className:`${ze}-inner-text`,style:Qe},me)))}},43428:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Qt}});var ee=te(92310),de=te.n(ee),Ce=te(85899),We=te(72190),xe=te(43403),Ee=te(34280),fe=te(59301),be=fe.createContext(null),Fe=fe.createContext({}),He=be,rt=te(18642),Ae=te(60499),ge=te(77900),we=te(10228),Se=te(26112),Ne=te(70425),ke=function(Wt){var Ie=Wt.prefixCls,he=Wt.className,ue=Wt.style,ve=Wt.children,ye=Wt.containerRef,se=Wt.id,$e=Wt.onMouseEnter,wt=Wt.onMouseOver,lt=Wt.onMouseLeave,Je=Wt.onClick,Pt=Wt.onKeyDown,Dt=Wt.onKeyUp,yt={onMouseEnter:$e,onMouseOver:wt,onMouseLeave:lt,onClick:Je,onKeyDown:Pt,onKeyUp:Dt},jt=fe.useContext(Fe),En=jt.panel,_t=(0,Ne.useComposeRef)(En,ye);return fe.createElement(fe.Fragment,null,fe.createElement("div",(0,Ae.Z)({id:se,className:de()("".concat(Ie,"-content"),he),style:(0,Ce.Z)({},ue),"aria-modal":"true",role:"dialog",ref:_t},yt),ve))},Ye=ke,et=te(48736);function Ke(Ut){return typeof Ut=="string"&&String(Number(Ut))===Ut?((0,et.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ut)):Ut}function Oe(Ut){warning(!("wrapperClassName"in Ut),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ut.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var _e={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function me(Ut,Wt){var Ie,he,ue,ve,ye=Ut.prefixCls,se=Ut.open,$e=Ut.placement,wt=Ut.inline,lt=Ut.push,Je=Ut.forceRender,Pt=Ut.autoFocus,Dt=Ut.keyboard,yt=Ut.rootClassName,jt=Ut.rootStyle,En=Ut.zIndex,_t=Ut.className,Yt=Ut.id,wn=Ut.style,Ft=Ut.motion,it=Ut.width,Et=Ut.height,an=Ut.children,un=Ut.contentWrapperStyle,vn=Ut.mask,gn=Ut.maskClosable,Xn=Ut.maskMotion,ir=Ut.maskClassName,Dr=Ut.maskStyle,kr=Ut.afterOpenChange,Bn=Ut.onClose,jr=Ut.onMouseEnter,ci=Ut.onMouseOver,_r=Ut.onMouseLeave,Nr=Ut.onClick,ai=Ut.onKeyDown,pi=Ut.onKeyUp,Mn=fe.useRef(),pr=fe.useRef(),Rr=fe.useRef();fe.useImperativeHandle(Wt,function(){return Mn.current});var Gr=function(Pn){var Sn=Pn.keyCode,rr=Pn.shiftKey;switch(Sn){case we.Z.TAB:{if(Sn===we.Z.TAB){if(!rr&&document.activeElement===Rr.current){var gr;(gr=pr.current)===null||gr===void 0||gr.focus({preventScroll:!0})}else if(rr&&document.activeElement===pr.current){var Cr;(Cr=Rr.current)===null||Cr===void 0||Cr.focus({preventScroll:!0})}}break}case we.Z.ESC:{Bn&&Dt&&(Pn.stopPropagation(),Bn(Pn));break}}};fe.useEffect(function(){if(se&&Pt){var _n;(_n=Mn.current)===null||_n===void 0||_n.focus({preventScroll:!0})}},[se]);var zr=fe.useState(!1),ei=(0,We.Z)(zr,2),Hr=ei[0],fi=ei[1],Pr=fe.useContext(He),dr;lt===!1?dr={distance:0}:lt===!0?dr={}:dr=lt||{};var oi=(Ie=(he=(ue=dr)===null||ue===void 0?void 0:ue.distance)!==null&&he!==void 0?he:Pr==null?void 0:Pr.pushDistance)!==null&&Ie!==void 0?Ie:180,$t=fe.useMemo(function(){return{pushDistance:oi,push:function(){fi(!0)},pull:function(){fi(!1)}}},[oi]);fe.useEffect(function(){if(se){var _n;Pr==null||(_n=Pr.push)===null||_n===void 0||_n.call(Pr)}else{var Pn;Pr==null||(Pn=Pr.pull)===null||Pn===void 0||Pn.call(Pr)}},[se]),fe.useEffect(function(){return function(){var _n;Pr==null||(_n=Pr.pull)===null||_n===void 0||_n.call(Pr)}},[]);var pt=vn&&fe.createElement(ge.default,(0,Ae.Z)({key:"mask"},Xn,{visible:se}),function(_n,Pn){var Sn=_n.className,rr=_n.style;return fe.createElement("div",{className:de()("".concat(ye,"-mask"),Sn,ir),style:(0,Ce.Z)((0,Ce.Z)({},rr),Dr),onClick:gn&&se?Bn:void 0,ref:Pn})}),Bt=typeof Ft=="function"?Ft($e):Ft,At={};if(Hr&&oi)switch($e){case"top":At.transform="translateY(".concat(oi,"px)");break;case"bottom":At.transform="translateY(".concat(-oi,"px)");break;case"left":At.transform="translateX(".concat(oi,"px)");break;default:At.transform="translateX(".concat(-oi,"px)");break}$e==="left"||$e==="right"?At.width=Ke(it):At.height=Ke(Et);var Ct={onMouseEnter:jr,onMouseOver:ci,onMouseLeave:_r,onClick:Nr,onKeyDown:ai,onKeyUp:pi},Gt=fe.createElement(ge.default,(0,Ae.Z)({key:"panel"},Bt,{visible:se,forceRender:Je,onVisibleChanged:function(Pn){kr==null||kr(Pn)},removeOnLeave:!1,leavedClassName:"".concat(ye,"-content-wrapper-hidden")}),function(_n,Pn){var Sn=_n.className,rr=_n.style;return fe.createElement("div",(0,Ae.Z)({className:de()("".concat(ye,"-content-wrapper"),Sn),style:(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},At),rr),un)},(0,Se.Z)(Ut,{data:!0})),fe.createElement(Ye,(0,Ae.Z)({id:Yt,containerRef:Pn,prefixCls:ye,className:_t,style:wn},Ct),an))}),nn=(0,Ce.Z)({},jt);return En&&(nn.zIndex=En),fe.createElement(He.Provider,{value:$t},fe.createElement("div",{className:de()(ye,"".concat(ye,"-").concat($e),yt,(ve={},(0,rt.Z)(ve,"".concat(ye,"-open"),se),(0,rt.Z)(ve,"".concat(ye,"-inline"),wt),ve)),style:nn,tabIndex:-1,ref:Mn,onKeyDown:Gr},pt,fe.createElement("div",{tabIndex:0,ref:pr,style:_e,"aria-hidden":"true","data-sentinel":"start"}),Gt,fe.createElement("div",{tabIndex:0,ref:Rr,style:_e,"aria-hidden":"true","data-sentinel":"end"})))}var Re=fe.forwardRef(me),Le=Re,Pe=function(Wt){var Ie=Wt.open,he=Ie===void 0?!1:Ie,ue=Wt.prefixCls,ve=ue===void 0?"rc-drawer":ue,ye=Wt.placement,se=ye===void 0?"right":ye,$e=Wt.autoFocus,wt=$e===void 0?!0:$e,lt=Wt.keyboard,Je=lt===void 0?!0:lt,Pt=Wt.width,Dt=Pt===void 0?378:Pt,yt=Wt.mask,jt=yt===void 0?!0:yt,En=Wt.maskClosable,_t=En===void 0?!0:En,Yt=Wt.getContainer,wn=Wt.forceRender,Ft=Wt.afterOpenChange,it=Wt.destroyOnClose,Et=Wt.onMouseEnter,an=Wt.onMouseOver,un=Wt.onMouseLeave,vn=Wt.onClick,gn=Wt.onKeyDown,Xn=Wt.onKeyUp,ir=Wt.panelRef,Dr=fe.useState(!1),kr=(0,We.Z)(Dr,2),Bn=kr[0],jr=kr[1],ci=fe.useState(!1),_r=(0,We.Z)(ci,2),Nr=_r[0],ai=_r[1];(0,Ee.Z)(function(){ai(!0)},[]);var pi=Nr?he:!1,Mn=fe.useRef(),pr=fe.useRef();(0,Ee.Z)(function(){pi&&(pr.current=document.activeElement)},[pi]);var Rr=function(fi){var Pr;if(jr(fi),Ft==null||Ft(fi),!fi&&pr.current&&!((Pr=Mn.current)!==null&&Pr!==void 0&&Pr.contains(pr.current))){var dr;(dr=pr.current)===null||dr===void 0||dr.focus({preventScroll:!0})}},Gr=fe.useMemo(function(){return{panel:ir}},[ir]);if(!wn&&!Bn&&!pi&&it)return null;var zr={onMouseEnter:Et,onMouseOver:an,onMouseLeave:un,onClick:vn,onKeyDown:gn,onKeyUp:Xn},ei=(0,Ce.Z)((0,Ce.Z)({},Wt),{},{open:pi,prefixCls:ve,placement:se,autoFocus:wt,keyboard:Je,width:Dt,mask:jt,maskClosable:_t,inline:Yt===!1,afterOpenChange:Rr,ref:Mn},zr);return fe.createElement(Fe.Provider,{value:Gr},fe.createElement(xe.Z,{open:pi||wn||Bn,autoDestroy:!1,getContainer:Yt,autoLock:jt&&(pi||Bn)},fe.createElement(Le,ei)))},De=Pe,ze=De,Te=te(62892),xt=te(36355),Ze=te(32441),vt=te(47729),mt=Ut=>{const{prefixCls:Wt,title:Ie,footer:he,extra:ue,closeIcon:ve,closable:ye,onClose:se,headerStyle:$e,drawerStyle:wt,bodyStyle:lt,footerStyle:Je,children:Pt}=Ut,Dt=fe.useCallback(Yt=>fe.createElement("button",{type:"button",onClick:se,"aria-label":"Close",className:`${Wt}-close`},Yt),[se]),[yt,jt]=(0,vt.Z)(ye,ve,Dt,void 0,!0),En=fe.useMemo(()=>!Ie&&!yt?null:fe.createElement("div",{style:$e,className:de()(`${Wt}-header`,{[`${Wt}-header-close-only`]:yt&&!Ie&&!ue})},fe.createElement("div",{className:`${Wt}-header-title`},jt,Ie&&fe.createElement("div",{className:`${Wt}-title`},Ie)),ue&&fe.createElement("div",{className:`${Wt}-extra`},ue)),[yt,jt,ue,$e,Wt,Ie]),_t=fe.useMemo(()=>{if(!he)return null;const Yt=`${Wt}-footer`;return fe.createElement("div",{className:Yt,style:Je},he)},[he,Je,Wt]);return fe.createElement("div",{className:`${Wt}-wrapper-body`,style:wt},En,fe.createElement("div",{className:`${Wt}-body`,style:lt},Pt),_t)},Lt=te(33234),It=te(83116),Qe=te(37613),st=Ut=>{const{componentCls:Wt,motionDurationSlow:Ie}=Ut,he={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ie}`}}};return{[Wt]:{[`${Wt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ie}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Wt}-panel-motion`]:{"&-left":[he,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[he,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[he,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[he,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const zt=Ut=>{const{componentCls:Wt,zIndexPopup:Ie,colorBgMask:he,colorBgElevated:ue,motionDurationSlow:ve,motionDurationMid:ye,padding:se,paddingLG:$e,fontSizeLG:wt,lineHeightLG:lt,lineWidth:Je,lineType:Pt,colorSplit:Dt,marginSM:yt,colorIcon:jt,colorIconHover:En,colorText:_t,fontWeightStrong:Yt,footerPaddingBlock:wn,footerPaddingInline:Ft}=Ut,it=`${Wt}-content-wrapper`;return{[Wt]:{position:"fixed",inset:0,zIndex:Ie,pointerEvents:"none","&-pure":{position:"relative",background:ue,[`&${Wt}-left`]:{boxShadow:Ut.boxShadowDrawerLeft},[`&${Wt}-right`]:{boxShadow:Ut.boxShadowDrawerRight},[`&${Wt}-top`]:{boxShadow:Ut.boxShadowDrawerUp},[`&${Wt}-bottom`]:{boxShadow:Ut.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Wt}-mask`]:{position:"absolute",inset:0,zIndex:Ie,background:he,pointerEvents:"auto"},[it]:{position:"absolute",zIndex:Ie,maxWidth:"100vw",transition:`all ${ve}`,"&-hidden":{display:"none"}},[`&-left > ${it}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ut.boxShadowDrawerLeft},[`&-right > ${it}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ut.boxShadowDrawerRight},[`&-top > ${it}`]:{top:0,insetInline:0,boxShadow:Ut.boxShadowDrawerUp},[`&-bottom > ${it}`]:{bottom:0,insetInline:0,boxShadow:Ut.boxShadowDrawerDown},[`${Wt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ue,pointerEvents:"auto"},[`${Wt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Wt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${se}px ${$e}px`,fontSize:wt,lineHeight:lt,borderBottom:`${Je}px ${Pt} ${Dt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Wt}-extra`]:{flex:"none"},[`${Wt}-close`]:{display:"inline-block",marginInlineEnd:yt,color:jt,fontWeight:Yt,fontSize:wt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ye}`,textRendering:"auto","&:focus, &:hover":{color:En,textDecoration:"none"}},[`${Wt}-title`]:{flex:1,margin:0,color:_t,fontWeight:Ut.fontWeightStrong,fontSize:wt,lineHeight:lt},[`${Wt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:$e,overflow:"auto"},[`${Wt}-footer`]:{flexShrink:0,padding:`${wn}px ${Ft}px`,borderTop:`${Je}px ${Pt} ${Dt}`},"&-rtl":{direction:"rtl"}}}};var ut=(0,It.Z)("Drawer",Ut=>{const Wt=(0,Qe.TS)(Ut,{});return[zt(Wt),st(Wt)]},Ut=>({zIndexPopup:Ut.zIndexPopupBase,footerPaddingBlock:Ut.paddingXS,footerPaddingInline:Ut.padding})),tt=te(11575),at=function(Ut,Wt){var Ie={};for(var he in Ut)Object.prototype.hasOwnProperty.call(Ut,he)&&Wt.indexOf(he)<0&&(Ie[he]=Ut[he]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,he=Object.getOwnPropertySymbols(Ut);ue<he.length;ue++)Wt.indexOf(he[ue])<0&&Object.prototype.propertyIsEnumerable.call(Ut,he[ue])&&(Ie[he[ue]]=Ut[he[ue]]);return Ie};const Nt=null,on={distance:180},Ht=Ut=>{var Wt;const{rootClassName:Ie,width:he,height:ue,size:ve="default",mask:ye=!0,push:se=on,open:$e,afterOpenChange:wt,onClose:lt,prefixCls:Je,getContainer:Pt,style:Dt,className:yt,visible:jt,afterVisibleChange:En}=Ut,_t=at(Ut,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Yt,getPrefixCls:wn,direction:Ft,drawer:it}=fe.useContext(xt.E_),Et=wn("drawer",Je),[an,un]=ut(Et),vn=Pt===void 0&&Yt?()=>Yt(document.body):Pt,gn=de()({"no-mask":!ye,[`${Et}-rtl`]:Ft==="rtl"},Ie,un),Xn=fe.useMemo(()=>he!=null?he:ve==="large"?736:378,[he,ve]),ir=fe.useMemo(()=>ue!=null?ue:ve==="large"?736:378,[ue,ve]),Dr={motionName:(0,Te.m)(Et,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},kr=jr=>({motionName:(0,Te.m)(Et,`panel-motion-${jr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Bn=(0,tt.H)();return an(fe.createElement(Lt.BR,null,fe.createElement(Ze.Ux,{status:!0,override:!0},fe.createElement(ze,Object.assign({prefixCls:Et,onClose:lt,maskMotion:Dr,motion:kr},_t,{open:$e!=null?$e:jt,mask:ye,push:se,width:Xn,height:ir,style:Object.assign(Object.assign({},it==null?void 0:it.style),Dt),className:de()(it==null?void 0:it.className,yt),rootClassName:gn,getContainer:vn,afterOpenChange:wt!=null?wt:En,panelRef:Bn}),fe.createElement(mt,Object.assign({prefixCls:Et},_t,{onClose:lt}))))))},Fn=Ut=>{const{prefixCls:Wt,style:Ie,className:he,placement:ue="right"}=Ut,ve=at(Ut,["prefixCls","style","className","placement"]),{getPrefixCls:ye}=fe.useContext(xt.E_),se=ye("drawer",Wt),[$e,wt]=ut(se),lt=de()(se,`${se}-pure`,`${se}-${ue}`,wt,he);return $e(fe.createElement("div",{className:lt,style:Ie},fe.createElement(mt,Object.assign({prefixCls:se},ve))))};Ht._InternalPanelDoNotUseOrYouWillBeFired=Fn;var Qt=Ht},91857:function(tn,kt,te){"use strict";var ee=te(59301),de=te(38819),Ce=te(92310),We=te.n(Ce),xe=te(31561),Ee=te(70425),fe=te(18929),be=te(2738),Fe=te(79676),He=te(53487),rt=te(92343),Ae=te(36355),ge=te(20834),we=te(40875),Se=te(88088),Ne=te(47211);const ke=null,Ye=_e=>{const{menu:me,arrow:Re,prefixCls:Le,children:Pe,trigger:De,disabled:ze,dropdownRender:Te,getPopupContainer:xt,overlayClassName:Ze,rootClassName:vt,open:ot,onOpenChange:mt,visible:Lt,onVisibleChange:It,mouseEnterDelay:Qe=.15,mouseLeaveDelay:Me=.1,autoAdjustOverflow:st=!0,placement:zt="",overlay:ut,transitionName:tt}=_e,{getPopupContainer:at,getPrefixCls:Nt,direction:on}=ee.useContext(Ae.E_),Ht=ee.useMemo(()=>{const yt=Nt();return tt!==void 0?tt:zt.includes("top")?`${yt}-slide-down`:`${yt}-slide-up`},[Nt,zt,tt]),Fn=ee.useMemo(()=>zt?zt.includes("Center")?zt.slice(0,zt.indexOf("Center")):zt:on==="rtl"?"bottomRight":"bottomLeft",[zt,on]),Qt=Nt("dropdown",Le),[Ut,Wt]=(0,Ne.Z)(Qt),[,Ie]=(0,Se.Z)(),he=ee.Children.only(Pe),ue=(0,rt.Tm)(he,{className:We()(`${Qt}-trigger`,{[`${Qt}-rtl`]:on==="rtl"},he.props.className),disabled:ze}),ve=ze?[]:De;let ye;ve&&ve.includes("contextMenu")&&(ye=!0);const[se,$e]=(0,fe.Z)(!1,{value:ot!=null?ot:Lt}),wt=(0,Ee.useEvent)(yt=>{mt==null||mt(yt),It==null||It(yt),$e(yt)}),lt=We()(Ze,vt,Wt,{[`${Qt}-rtl`]:on==="rtl"}),Je=(0,Fe.Z)({arrowPointAtCenter:typeof Re=="object"&&Re.pointAtCenter,autoAdjustOverflow:st,offset:Ie.marginXXS,arrowWidth:Re?Ie.sizePopupArrow:0,borderRadius:Ie.borderRadius}),Pt=ee.useCallback(()=>{$e(!1)},[]),Dt=()=>{let yt;return me!=null&&me.items?yt=ee.createElement(ge.default,Object.assign({},me)):typeof ut=="function"?yt=ut():yt=ut,Te&&(yt=Te(yt)),yt=ee.Children.only(typeof yt=="string"?ee.createElement("span",null,yt):yt),ee.createElement(we.J,{prefixCls:`${Qt}-menu`,expandIcon:ee.createElement("span",{className:`${Qt}-menu-submenu-arrow`},ee.createElement(de.Z,{className:`${Qt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:jt=>{let{mode:En}=jt}},yt)};return Ut(ee.createElement(xe.Z,Object.assign({alignPoint:ye},(0,be.Z)(_e,["rootClassName"]),{mouseEnterDelay:Qe,mouseLeaveDelay:Me,visible:se,builtinPlacements:Je,arrow:!!Re,overlayClassName:lt,prefixCls:Qt,getPopupContainer:xt||at,transitionName:Ht,trigger:ve,overlay:Dt,placement:Fn,onVisibleChange:wt}),ue))};function et(_e){return Object.assign(Object.assign({},_e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ke=(0,He.Z)(Ye,"dropdown",_e=>_e,et),Oe=_e=>ee.createElement(Ke,Object.assign({},_e),ee.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=Oe,kt.Z=Ye},38854:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Se}});var ee=te(91857),de=te(92310),Ce=te.n(de),We=te(59301),xe=te(18785),Ee=te(3113),fe=te(36355),be=te(81327),Fe=te(33234),He=te(47211),rt=function(Ne,ke){var Ye={};for(var et in Ne)Object.prototype.hasOwnProperty.call(Ne,et)&&ke.indexOf(et)<0&&(Ye[et]=Ne[et]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,et=Object.getOwnPropertySymbols(Ne);Ke<et.length;Ke++)ke.indexOf(et[Ke])<0&&Object.prototype.propertyIsEnumerable.call(Ne,et[Ke])&&(Ye[et[Ke]]=Ne[et[Ke]]);return Ye};const Ae=Ne=>{const{getPopupContainer:ke,getPrefixCls:Ye,direction:et}=We.useContext(fe.E_),{prefixCls:Ke,type:Oe="default",danger:_e,disabled:me,loading:Re,onClick:Le,htmlType:Pe,children:De,className:ze,menu:Te,arrow:xt,autoFocus:Ze,overlay:vt,trigger:ot,align:mt,open:Lt,onOpenChange:It,placement:Qe,getPopupContainer:Me,href:st,icon:zt=We.createElement(xe.Z,null),title:ut,buttonsRender:tt=Dt=>Dt,mouseEnterDelay:at,mouseLeaveDelay:Nt,overlayClassName:on,overlayStyle:Ht,destroyPopupOnHide:Fn,dropdownRender:Qt}=Ne,Ut=rt(Ne,["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"]),Wt=Ye("dropdown",Ke),Ie=`${Wt}-button`,[he,ue]=(0,He.Z)(Wt),ve={menu:Te,arrow:xt,autoFocus:Ze,align:mt,disabled:me,trigger:me?[]:ot,onOpenChange:It,getPopupContainer:Me||ke,mouseEnterDelay:at,mouseLeaveDelay:Nt,overlayClassName:on,overlayStyle:Ht,destroyPopupOnHide:Fn,dropdownRender:Qt},{compactSize:ye,compactItemClassnames:se}=(0,Fe.ri)(Wt,et),$e=Ce()(Ie,se,ze,ue);"overlay"in Ne&&(ve.overlay=vt),"open"in Ne&&(ve.open=Lt),"placement"in Ne?ve.placement=Qe:ve.placement=et==="rtl"?"bottomLeft":"bottomRight";const wt=We.createElement(Ee.ZP,{type:Oe,danger:_e,disabled:me,loading:Re,onClick:Le,htmlType:Pe,href:st,title:ut},De),lt=We.createElement(Ee.ZP,{type:Oe,danger:_e,icon:zt}),[Je,Pt]=tt([wt,lt]);return he(We.createElement(be.Z.Compact,Object.assign({className:$e,size:ye,block:!0},Ut),Je,We.createElement(ee.Z,Object.assign({},ve),Pt)))};Ae.__ANT_BUTTON=!0;var ge=Ae;const we=ee.Z;we.Button=ge;var Se=we},47211:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return rt}});var ee=te(17313),de=te(13826),Ce=te(92899),We=te(29878),xe=te(19447),Ee=te(83116),fe=te(37613),Fe=Ae=>{const{componentCls:ge,menuCls:we,colorError:Se,colorTextLightSolid:Ne}=Ae,ke=`${we}-item`;return{[`${ge}, ${ge}-menu-submenu`]:{[`${we} ${ke}`]:{[`&${ke}-danger:not(${ke}-disabled)`]:{color:Se,"&:hover":{color:Ne,backgroundColor:Se}}}}}};const He=Ae=>{const{componentCls:ge,menuCls:we,zIndexPopup:Se,dropdownArrowDistance:Ne,sizePopupArrow:ke,antCls:Ye,iconCls:et,motionDurationMid:Ke,dropdownPaddingVertical:Oe,fontSize:_e,dropdownEdgeChildPadding:me,colorTextDisabled:Re,fontSizeIcon:Le,controlPaddingHorizontal:Pe,colorBgElevated:De}=Ae;return[{[ge]:Object.assign(Object.assign({},(0,ee.Wf)(Ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Se,display:"block","&::before":{position:"absolute",insetBlock:-Ne+ke/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Ye}-btn`]:{[`& > ${et}-down, & > ${Ye}-btn-icon > ${et}-down`]:{fontSize:Le}},[`${ge}-wrap`]:{position:"relative",[`${Ye}-btn > ${et}-down`]:{fontSize:Le},[`${et}-down::before`]:{transition:`transform ${Ke}`}},[`${ge}-wrap-open`]:{[`${et}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ye}-slide-down-enter${Ye}-slide-down-enter-active${ge}-placement-bottomLeft,
|
|
|
&${Ye}-slide-down-appear${Ye}-slide-down-appear-active${ge}-placement-bottomLeft,
|
|
|
&${Ye}-slide-down-enter${Ye}-slide-down-enter-active${ge}-placement-bottom,
|
|
|
&${Ye}-slide-down-appear${Ye}-slide-down-appear-active${ge}-placement-bottom,
|
|
|
&${Ye}-slide-down-enter${Ye}-slide-down-enter-active${ge}-placement-bottomRight,
|
|
|
&${Ye}-slide-down-appear${Ye}-slide-down-appear-active${ge}-placement-bottomRight`]:{animationName:de.fJ},[`&${Ye}-slide-up-enter${Ye}-slide-up-enter-active${ge}-placement-topLeft,
|
|
|
&${Ye}-slide-up-appear${Ye}-slide-up-appear-active${ge}-placement-topLeft,
|
|
|
&${Ye}-slide-up-enter${Ye}-slide-up-enter-active${ge}-placement-top,
|
|
|
&${Ye}-slide-up-appear${Ye}-slide-up-appear-active${ge}-placement-top,
|
|
|
&${Ye}-slide-up-enter${Ye}-slide-up-enter-active${ge}-placement-topRight,
|
|
|
&${Ye}-slide-up-appear${Ye}-slide-up-appear-active${ge}-placement-topRight`]:{animationName:de.Qt},[`&${Ye}-slide-down-leave${Ye}-slide-down-leave-active${ge}-placement-bottomLeft,
|
|
|
&${Ye}-slide-down-leave${Ye}-slide-down-leave-active${ge}-placement-bottom,
|
|
|
&${Ye}-slide-down-leave${Ye}-slide-down-leave-active${ge}-placement-bottomRight`]:{animationName:de.Uw},[`&${Ye}-slide-up-leave${Ye}-slide-up-leave-active${ge}-placement-topLeft,
|
|
|
&${Ye}-slide-up-leave${Ye}-slide-up-leave-active${ge}-placement-top,
|
|
|
&${Ye}-slide-up-leave${Ye}-slide-up-leave-active${ge}-placement-topRight`]:{animationName:de.ly}})},(0,xe.ZP)(Ae,{colorBg:De,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ge} ${we}`]:{position:"relative",margin:0},[`${we}-submenu-popup`]:{position:"absolute",zIndex:Se,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ge}, ${ge}-menu-submenu`]:{[we]:Object.assign(Object.assign({padding:me,listStyleType:"none",backgroundColor:De,backgroundClip:"padding-box",borderRadius:Ae.borderRadiusLG,outline:"none",boxShadow:Ae.boxShadowSecondary},(0,ee.Qy)(Ae)),{[`${we}-item-group-title`]:{padding:`${Oe}px ${Pe}px`,color:Ae.colorTextDescription,transition:`all ${Ke}`},[`${we}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${we}-item-icon`]:{minWidth:_e,marginInlineEnd:Ae.marginXS,fontSize:Ae.fontSizeSM},[`${we}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Ke}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${we}-item, ${we}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Oe}px ${Pe}px`,color:Ae.colorText,fontWeight:"normal",fontSize:_e,lineHeight:Ae.lineHeight,cursor:"pointer",transition:`all ${Ke}`,borderRadius:Ae.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ae.controlItemBgHover}},(0,ee.Qy)(Ae)),{"&-selected":{color:Ae.colorPrimary,backgroundColor:Ae.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ae.controlItemBgActiveHover}},"&-disabled":{color:Re,cursor:"not-allowed","&:hover":{color:Re,backgroundColor:De,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ae.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ae.colorSplit},[`${ge}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ae.paddingXS,[`${ge}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ae.colorTextDescription,fontSize:Le,fontStyle:"normal"}}}),[`${we}-item-group-list`]:{margin:`0 ${Ae.marginXS}px`,padding:0,listStyle:"none"},[`${we}-submenu-title`]:{paddingInlineEnd:Pe+Ae.fontSizeSM},[`${we}-submenu-vertical`]:{position:"relative"},[`${we}-submenu${we}-submenu-disabled ${ge}-menu-submenu-title`]:{[`&, ${ge}-menu-submenu-arrow-icon`]:{color:Re,backgroundColor:De,cursor:"not-allowed"}},[`${we}-submenu-selected ${ge}-menu-submenu-title`]:{color:Ae.colorPrimary}})}},[(0,de.oN)(Ae,"slide-up"),(0,de.oN)(Ae,"slide-down"),(0,Ce.Fm)(Ae,"move-up"),(0,Ce.Fm)(Ae,"move-down"),(0,We._y)(Ae,"zoom-big")]]};var rt=(0,Ee.Z)("Dropdown",(Ae,ge)=>{let{rootPrefixCls:we}=ge;const{marginXXS:Se,sizePopupArrow:Ne,controlHeight:ke,fontSize:Ye,lineHeight:et,paddingXXS:Ke,componentCls:Oe,borderRadiusLG:_e}=Ae,me=(ke-Ye*et)/2,{dropdownArrowOffset:Re}=(0,xe.fS)({contentRadius:_e}),Le=(0,fe.TS)(Ae,{menuCls:`${Oe}-menu`,rootPrefixCls:we,dropdownArrowDistance:Ne/2+Se,dropdownArrowOffset:Re,dropdownPaddingVertical:me,dropdownEdgeChildPadding:Ke});return[He(Le),Fe(Le)]},Ae=>({zIndexPopup:Ae.zIndexPopupBase+50}))},64165:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ke}});var ee=te(92310),de=te.n(ee),Ce=te(59301),We=te(36355),xe=te(9763),Ee=te(64993),fe=te(88088),Fe=()=>{const[,Oe]=(0,fe.Z)(),me=new Ee.C(Oe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return Ce.createElement("svg",{style:me,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},Ce.createElement("g",{fill:"none",fillRule:"evenodd"},Ce.createElement("g",{transform:"translate(24 31.67)"},Ce.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),Ce.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"}),Ce.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)"}),Ce.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"}),Ce.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"})),Ce.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"}),Ce.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},Ce.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),Ce.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},rt=()=>{const[,Oe]=(0,fe.Z)(),{colorFill:_e,colorFillTertiary:me,colorFillQuaternary:Re,colorBgContainer:Le}=Oe,{borderColor:Pe,shadowColor:De,contentColor:ze}=(0,Ce.useMemo)(()=>({borderColor:new Ee.C(_e).onBackground(Le).toHexShortString(),shadowColor:new Ee.C(me).onBackground(Le).toHexShortString(),contentColor:new Ee.C(Re).onBackground(Le).toHexShortString()}),[_e,me,Re,Le]);return Ce.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},Ce.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},Ce.createElement("ellipse",{fill:De,cx:"32",cy:"33",rx:"32",ry:"7"}),Ce.createElement("g",{fillRule:"nonzero",stroke:Pe},Ce.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"}),Ce.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:ze}))))},Ae=te(83116),ge=te(37613);const we=Oe=>{const{componentCls:_e,margin:me,marginXS:Re,marginXL:Le,fontSize:Pe,lineHeight:De}=Oe;return{[_e]:{marginInline:Re,fontSize:Pe,lineHeight:De,textAlign:"center",[`${_e}-image`]:{height:Oe.emptyImgHeight,marginBottom:Re,opacity:Oe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:Oe.colorText},[`${_e}-footer`]:{marginTop:me},"&-normal":{marginBlock:Le,color:Oe.colorTextDisabled,[`${_e}-description`]:{color:Oe.colorTextDisabled},[`${_e}-image`]:{height:Oe.emptyImgHeightMD}},"&-small":{marginBlock:Re,color:Oe.colorTextDisabled,[`${_e}-image`]:{height:Oe.emptyImgHeightSM}}}}};var Se=(0,Ae.Z)("Empty",Oe=>{const{componentCls:_e,controlHeightLG:me}=Oe,Re=(0,ge.TS)(Oe,{emptyImgCls:`${_e}-img`,emptyImgHeight:me*2.5,emptyImgHeightMD:me,emptyImgHeightSM:me*.875});return[we(Re)]}),Ne=function(Oe,_e){var me={};for(var Re in Oe)Object.prototype.hasOwnProperty.call(Oe,Re)&&_e.indexOf(Re)<0&&(me[Re]=Oe[Re]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Re=Object.getOwnPropertySymbols(Oe);Le<Re.length;Le++)_e.indexOf(Re[Le])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Re[Le])&&(me[Re[Le]]=Oe[Re[Le]]);return me};const ke=Ce.createElement(Fe,null),Ye=Ce.createElement(rt,null),et=Oe=>{var{className:_e,rootClassName:me,prefixCls:Re,image:Le=ke,description:Pe,children:De,imageStyle:ze,style:Te}=Oe,xt=Ne(Oe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Ze,direction:vt,empty:ot}=Ce.useContext(We.E_),mt=Ze("empty",Re),[Lt,It]=Se(mt),[Qe]=(0,xe.Z)("Empty"),Me=typeof Pe!="undefined"?Pe:Qe==null?void 0:Qe.description,st=typeof Me=="string"?Me:"empty";let zt=null;return typeof Le=="string"?zt=Ce.createElement("img",{alt:st,src:Le}):zt=Le,Lt(Ce.createElement("div",Object.assign({className:de()(It,mt,ot==null?void 0:ot.className,{[`${mt}-normal`]:Le===Ye,[`${mt}-rtl`]:vt==="rtl"},_e,me),style:Object.assign(Object.assign({},ot==null?void 0:ot.style),Te)},xt),Ce.createElement("div",{className:`${mt}-image`,style:ze},zt),Me&&Ce.createElement("div",{className:`${mt}-description`},Me),De&&Ce.createElement("div",{className:`${mt}-footer`},De)))};et.PRESENTED_IMAGE_DEFAULT=ke,et.PRESENTED_IMAGE_SIMPLE=Ye;var Ke=et},78241:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return oi}});var ee=te(77654),de=te(92310),Ce=te.n(de),We=te(77900),xe=te(59301),Ee=te(62892),fe=te(32441);function be($t){const[pt,Bt]=xe.useState($t);return xe.useEffect(()=>{const At=setTimeout(()=>{Bt($t)},$t.length?0:10);return()=>{clearTimeout(At)}},[$t]),pt}var Fe=te(17313),He=te(29878),rt=te(8378),Ae=te(37613),ge=te(83116),Se=$t=>{const{componentCls:pt}=$t,Bt=`${pt}-show-help`,At=`${pt}-show-help-item`;return{[Bt]:{transition:`opacity ${$t.motionDurationSlow} ${$t.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[At]:{overflow:"hidden",transition:`height ${$t.motionDurationSlow} ${$t.motionEaseInOut},
|
|
|
opacity ${$t.motionDurationSlow} ${$t.motionEaseInOut},
|
|
|
transform ${$t.motionDurationSlow} ${$t.motionEaseInOut} !important`,[`&${At}-appear, &${At}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${At}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ne=$t=>({legend:{display:"block",width:"100%",marginBottom:$t.marginLG,padding:0,color:$t.colorTextDescription,fontSize:$t.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${$t.lineWidth}px ${$t.lineType} ${$t.colorBorder}`},label:{fontSize:$t.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 ${$t.controlOutlineWidth}px ${$t.controlOutline}`},output:{display:"block",paddingTop:15,color:$t.colorText,fontSize:$t.fontSize,lineHeight:$t.lineHeight}}),ke=($t,pt)=>{const{formItemCls:Bt}=$t;return{[Bt]:{[`${Bt}-label > label`]:{height:pt},[`${Bt}-control-input`]:{minHeight:pt}}}},Ye=$t=>{const{componentCls:pt}=$t;return{[$t.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)($t)),Ne($t)),{[`${pt}-text`]:{display:"inline-block",paddingInlineEnd:$t.paddingSM},"&-small":Object.assign({},ke($t,$t.controlHeightSM)),"&-large":Object.assign({},ke($t,$t.controlHeightLG))})}},et=$t=>{const{formItemCls:pt,iconCls:Bt,componentCls:At,rootPrefixCls:Ct,labelRequiredMarkColor:Gt,labelColor:nn,labelFontSize:_n,labelHeight:Pn,labelColonMarginInlineStart:Sn,labelColonMarginInlineEnd:rr,itemMarginBottom:gr}=$t;return{[pt]:Object.assign(Object.assign({},(0,Fe.Wf)($t)),{marginBottom:gr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${Ct}-row`]:{display:"none"},"&-has-warning":{[`${pt}-split`]:{color:$t.colorError}},"&-has-error":{[`${pt}-split`]:{color:$t.colorWarning}},[`${pt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${$t.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Pn,color:nn,fontSize:_n,[`> ${Bt}`]:{fontSize:$t.fontSize,verticalAlign:"top"},[`&${pt}-required:not(${pt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:$t.marginXXS,color:Gt,fontSize:$t.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${At}-hide-required-mark &`]:{display:"none"}},[`${pt}-optional`]:{display:"inline-block",marginInlineStart:$t.marginXXS,color:$t.colorTextDescription,[`${At}-hide-required-mark &`]:{display:"none"}},[`${pt}-tooltip`]:{color:$t.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:$t.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Sn,marginInlineEnd:rr},[`&${pt}-no-colon::after`]:{content:'"\\a0"'}}},[`${pt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ct}-col-'"]):not([class*="' ${Ct}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:$t.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[pt]:{"&-explain, &-extra":{clear:"both",color:$t.colorTextDescription,fontSize:$t.fontSize,lineHeight:$t.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:$t.controlHeightSM,transition:`color ${$t.motionDurationMid} ${$t.motionEaseOut}`},"&-explain":{"&-error":{color:$t.colorError},"&-warning":{color:$t.colorWarning}}},[`&-with-help ${pt}-explain`]:{height:"auto",opacity:1},[`${pt}-feedback-icon`]:{fontSize:$t.fontSize,textAlign:"center",visibility:"visible",animationName:He.kr,animationDuration:$t.motionDurationMid,animationTimingFunction:$t.motionEaseOutBack,pointerEvents:"none","&-success":{color:$t.colorSuccess},"&-error":{color:$t.colorError},"&-warning":{color:$t.colorWarning},"&-validating":{color:$t.colorPrimary}}})}},Ke=$t=>{const{componentCls:pt,formItemCls:Bt}=$t;return{[`${pt}-horizontal`]:{[`${Bt}-label`]:{flexGrow:0},[`${Bt}-control`]:{flex:"1 1 0",minWidth:0},[`${Bt}-label[class$='-24'], ${Bt}-label[class*='-24 ']`]:{[`& + ${Bt}-control`]:{minWidth:"unset"}}}}},Oe=$t=>{const{componentCls:pt,formItemCls:Bt}=$t;return{[`${pt}-inline`]:{display:"flex",flexWrap:"wrap",[Bt]:{flex:"none",marginInlineEnd:$t.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Bt}-label,
|
|
|
> ${Bt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Bt}-label`]:{flex:"none"},[`${pt}-text`]:{display:"inline-block"},[`${Bt}-has-feedback`]:{display:"inline-block"}}}}},_e=$t=>({padding:$t.verticalLabelPadding,margin:$t.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),me=$t=>{const{componentCls:pt,formItemCls:Bt,rootPrefixCls:At}=$t;return{[`${Bt} ${Bt}-label`]:_e($t),[pt]:{[Bt]:{flexWrap:"wrap",[`${Bt}-label, ${Bt}-control`]:{[`&:not([class*=" ${At}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Re=$t=>{const{componentCls:pt,formItemCls:Bt,rootPrefixCls:At}=$t;return{[`${pt}-vertical`]:{[Bt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${pt}-item-control`]:{width:"100%"}}},[`${pt}-vertical ${Bt}-label,
|
|
|
.${At}-col-24${Bt}-label,
|
|
|
.${At}-col-xl-24${Bt}-label`]:_e($t),[`@media (max-width: ${$t.screenXSMax}px)`]:[me($t),{[pt]:{[`.${At}-col-xs-24${Bt}-label`]:_e($t)}}],[`@media (max-width: ${$t.screenSMMax}px)`]:{[pt]:{[`.${At}-col-sm-24${Bt}-label`]:_e($t)}},[`@media (max-width: ${$t.screenMDMax}px)`]:{[pt]:{[`.${At}-col-md-24${Bt}-label`]:_e($t)}},[`@media (max-width: ${$t.screenLGMax}px)`]:{[pt]:{[`.${At}-col-lg-24${Bt}-label`]:_e($t)}}}},Le=($t,pt)=>(0,Ae.TS)($t,{formItemCls:`${$t.componentCls}-item`,rootPrefixCls:pt});var Pe=(0,ge.Z)("Form",($t,pt)=>{let{rootPrefixCls:Bt}=pt;const At=Le($t,Bt);return[Ye(At),et(At),Se(At),Ke(At),Oe(At),Re(At),(0,rt.Z)(At),He.kr]},$t=>({labelRequiredMarkColor:$t.colorError,labelColor:$t.colorTextHeading,labelFontSize:$t.fontSize,labelHeight:$t.controlHeight,labelColonMarginInlineStart:$t.marginXXS/2,labelColonMarginInlineEnd:$t.marginXS,itemMarginBottom:$t.marginLG,verticalLabelPadding:`0 0 ${$t.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const De=[];function ze($t,pt,Bt){let At=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof $t=="string"?$t:`${pt}-${At}`,error:$t,errorStatus:Bt}}var xt=$t=>{let{help:pt,helpStatus:Bt,errors:At=De,warnings:Ct=De,className:Gt,fieldId:nn,onVisibleChanged:_n}=$t;const{prefixCls:Pn}=xe.useContext(fe.Rk),Sn=`${Pn}-item-explain`,[,rr]=Pe(Pn),gr=(0,xe.useMemo)(()=>(0,Ee.Z)(Pn),[Pn]),Cr=be(At),bn=be(Ct),$n=xe.useMemo(()=>pt!=null?[ze(pt,"help",Bt)]:[].concat((0,ee.Z)(Cr.map((pn,An)=>ze(pn,"error","error",An))),(0,ee.Z)(bn.map((pn,An)=>ze(pn,"warning","warning",An)))),[pt,Bt,Cr,bn]),Jt={};return nn&&(Jt.id=`${nn}_help`),xe.createElement(We.default,{motionDeadline:gr.motionDeadline,motionName:`${Pn}-show-help`,visible:!!$n.length,onVisibleChanged:_n},pn=>{const{className:An,style:dn}=pn;return xe.createElement("div",Object.assign({},Jt,{className:Ce()(Sn,An,Gt,rr),style:dn,role:"alert"}),xe.createElement(We.CSSMotionList,Object.assign({keys:$n},(0,Ee.Z)(Pn),{motionName:`${Pn}-show-help-item`,component:!1}),Hn=>{const{key:ln,error:jn,errorStatus:Mt,className:cn,style:hn}=Hn;return xe.createElement("div",{key:ln,className:Ce()(cn,{[`${Sn}-${Mt}`]:Mt}),style:hn},jn)}))})},Ze=te(95013),vt=te(36355),ot=te(1684),mt=te(52946),Lt=te(19716),It=te(16722);const Qe=["parentNode"],Me="form_item";function st($t){return $t===void 0||$t===!1?[]:Array.isArray($t)?$t:[$t]}function zt($t,pt){if(!$t.length)return;const Bt=$t.join("_");return pt?`${pt}_${Bt}`:Qe.includes(Bt)?`${Me}_${Bt}`:Bt}function ut($t,pt,Bt,At,Ct,Gt){let nn=At;return Gt!==void 0?nn=Gt:Bt.validating?nn="validating":$t.length?nn="error":pt.length?nn="warning":(Bt.touched||Ct&&Bt.validated)&&(nn="success"),nn}function tt($t){return st($t).join("_")}function at($t){const[pt]=(0,Ze.useForm)(),Bt=xe.useRef({}),At=xe.useMemo(()=>$t!=null?$t:Object.assign(Object.assign({},pt),{__INTERNAL__:{itemRef:Ct=>Gt=>{const nn=tt(Ct);Gt?Bt.current[nn]=Gt:delete Bt.current[nn]}},scrollToField:function(Ct){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const nn=st(Ct),_n=zt(nn,At.__INTERNAL__.name),Pn=_n?document.getElementById(_n):null;Pn&&(0,It.Z)(Pn,Object.assign({scrollMode:"if-needed",block:"nearest"},Gt))},getFieldInstance:Ct=>{const Gt=tt(Ct);return Bt.current[Gt]}}),[$t,pt]);return[At]}var Nt=te(28726),on=function($t,pt){var Bt={};for(var At in $t)Object.prototype.hasOwnProperty.call($t,At)&&pt.indexOf(At)<0&&(Bt[At]=$t[At]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,At=Object.getOwnPropertySymbols($t);Ct<At.length;Ct++)pt.indexOf(At[Ct])<0&&Object.prototype.propertyIsEnumerable.call($t,At[Ct])&&(Bt[At[Ct]]=$t[At[Ct]]);return Bt};const Ht=($t,pt)=>{const Bt=xe.useContext(ot.Z),{getPrefixCls:At,direction:Ct,form:Gt}=xe.useContext(vt.E_),{prefixCls:nn,className:_n,rootClassName:Pn,size:Sn,disabled:rr=Bt,form:gr,colon:Cr,labelAlign:bn,labelWrap:$n,labelCol:Jt,wrapperCol:pn,hideRequiredMark:An,layout:dn="horizontal",scrollToFirstError:Hn,requiredMark:ln,onFinishFailed:jn,name:Mt,style:cn,feedbackIcons:hn}=$t,In=on($t,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ln=(0,Lt.Z)(Sn),Un=xe.useContext(Nt.Z),Gn=(0,xe.useMemo)(()=>ln!==void 0?ln:Gt&&Gt.requiredMark!==void 0?Gt.requiredMark:!An,[An,ln,Gt]),cr=Cr!=null?Cr:Gt==null?void 0:Gt.colon,Sr=At("form",nn),[Wr,gi]=Pe(Sr),ki=Ce()(Sr,`${Sr}-${dn}`,{[`${Sr}-hide-required-mark`]:Gn===!1,[`${Sr}-rtl`]:Ct==="rtl",[`${Sr}-${Ln}`]:Ln},gi,Gt==null?void 0:Gt.className,_n,Pn),[si]=at(gr),{__INTERNAL__:wi}=si;wi.name=Mt;const Qr=(0,xe.useMemo)(()=>({name:Mt,labelAlign:bn,labelCol:Jt,labelWrap:$n,wrapperCol:pn,vertical:dn==="vertical",colon:cr,requiredMark:Gn,itemRef:wi.itemRef,form:si,feedbackIcons:hn}),[Mt,bn,Jt,pn,dn,cr,Gn,si,hn]);xe.useImperativeHandle(pt,()=>si);const Gi=($i,Ai)=>{if($i){let li={block:"nearest"};typeof $i=="object"&&(li=$i),si.scrollToField(Ai,li)}},Hi=$i=>{if(jn==null||jn($i),$i.errorFields.length){const Ai=$i.errorFields[0].name;if(Hn!==void 0){Gi(Hn,Ai);return}Gt&&Gt.scrollToFirstError!==void 0&&Gi(Gt.scrollToFirstError,Ai)}};return Wr(xe.createElement(ot.n,{disabled:rr},xe.createElement(mt.q,{size:Ln},xe.createElement(fe.RV,Object.assign({},{validateMessages:Un}),xe.createElement(fe.q3.Provider,{value:Qr},xe.createElement(Ze.default,Object.assign({id:Mt},In,{name:Mt,onFinishFailed:Hi,form:si,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),cn),className:ki})))))))};var Qt=xe.forwardRef(Ht),Ut=te(41799),Wt=te(8654),Ie=te(92343),he=te(11592);function ue($t){if(typeof $t=="function")return $t;const pt=(0,he.Z)($t);return pt.length<=1?pt[0]:pt}const ve=()=>{const{status:$t,errors:pt=[],warnings:Bt=[]}=(0,xe.useContext)(fe.aM);return{status:$t,errors:pt,warnings:Bt}};ve.Context=fe.aM;var ye=ve,se=te(16089);function $e($t){const[pt,Bt]=xe.useState($t),At=(0,xe.useRef)(null),Ct=(0,xe.useRef)([]),Gt=(0,xe.useRef)(!1);xe.useEffect(()=>(Gt.current=!1,()=>{Gt.current=!0,se.Z.cancel(At.current),At.current=null}),[]);function nn(_n){Gt.current||(At.current===null&&(Ct.current=[],At.current=(0,se.Z)(()=>{At.current=null,Bt(Pn=>{let Sn=Pn;return Ct.current.forEach(rr=>{Sn=rr(Sn)}),Sn})})),Ct.current.push(_n))}return[pt,nn]}function wt(){const{itemRef:$t}=xe.useContext(fe.q3),pt=xe.useRef({});function Bt(At,Ct){const Gt=Ct&&typeof Ct=="object"&&Ct.ref,nn=At.join("_");return(pt.current.name!==nn||pt.current.originRef!==Gt)&&(pt.current.name=nn,pt.current.originRef=Gt,pt.current.ref=(0,Wt.sQ)($t(At),Gt)),pt.current.ref}return Bt}var lt=te(29194),Je=te(34280),Pt=te(2738),Dt=te(27382),yt=te(37028);const jt=$t=>{const{formItemCls:pt}=$t;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${pt}-control`]:{display:"flex"}}}};var En=(0,ge.b)(["Form","item-item"],($t,pt)=>{let{rootPrefixCls:Bt}=pt;const At=Le($t,Bt);return[jt(At)]}),Yt=$t=>{const{prefixCls:pt,status:Bt,wrapperCol:At,children:Ct,errors:Gt,warnings:nn,_internalItemRender:_n,extra:Pn,help:Sn,fieldId:rr,marginBottom:gr,onErrorVisibleChanged:Cr}=$t,bn=`${pt}-item`,$n=xe.useContext(fe.q3),Jt=At||$n.wrapperCol||{},pn=Ce()(`${bn}-control`,Jt.className),An=xe.useMemo(()=>Object.assign({},$n),[$n]);delete An.labelCol,delete An.wrapperCol;const dn=xe.createElement("div",{className:`${bn}-control-input`},xe.createElement("div",{className:`${bn}-control-input-content`},Ct)),Hn=xe.useMemo(()=>({prefixCls:pt,status:Bt}),[pt,Bt]),ln=gr!==null||Gt.length||nn.length?xe.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},xe.createElement(fe.Rk.Provider,{value:Hn},xe.createElement(xt,{fieldId:rr,errors:Gt,warnings:nn,help:Sn,helpStatus:Bt,className:`${bn}-explain-connected`,onVisibleChanged:Cr})),!!gr&&xe.createElement("div",{style:{width:0,height:gr}})):null,jn={};rr&&(jn.id=`${rr}_extra`);const Mt=Pn?xe.createElement("div",Object.assign({},jn,{className:`${bn}-extra`}),Pn):null,cn=_n&&_n.mark==="pro_table_render"&&_n.render?_n.render($t,{input:dn,errorList:ln,extra:Mt}):xe.createElement(xe.Fragment,null,dn,ln,Mt);return xe.createElement(fe.q3.Provider,{value:An},xe.createElement(yt.Z,Object.assign({},Jt,{className:pn}),cn),xe.createElement(En,{prefixCls:pt}))},wn=te(61485),Ft=te(31724),it=te(9763),Et=te(6848),an=function($t,pt){var Bt={};for(var At in $t)Object.prototype.hasOwnProperty.call($t,At)&&pt.indexOf(At)<0&&(Bt[At]=$t[At]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,At=Object.getOwnPropertySymbols($t);Ct<At.length;Ct++)pt.indexOf(At[Ct])<0&&Object.prototype.propertyIsEnumerable.call($t,At[Ct])&&(Bt[At[Ct]]=$t[At[Ct]]);return Bt};function un($t){return $t?typeof $t=="object"&&!xe.isValidElement($t)?$t:{title:$t}:null}var gn=$t=>{let{prefixCls:pt,label:Bt,htmlFor:At,labelCol:Ct,labelAlign:Gt,colon:nn,required:_n,requiredMark:Pn,tooltip:Sn}=$t;var rr;const[gr]=(0,it.Z)("Form"),{vertical:Cr,labelAlign:bn,labelCol:$n,labelWrap:Jt,colon:pn}=xe.useContext(fe.q3);if(!Bt)return null;const An=Ct||$n||{},dn=Gt||bn,Hn=`${pt}-item-label`,ln=Ce()(Hn,dn==="left"&&`${Hn}-left`,An.className,{[`${Hn}-wrap`]:!!Jt});let jn=Bt;const Mt=nn===!0||pn!==!1&&nn!==!1;Mt&&!Cr&&typeof Bt=="string"&&Bt.trim()!==""&&(jn=Bt.replace(/[:|:]\s*$/,""));const hn=un(Sn);if(hn){const{icon:Gn=xe.createElement(wn.Z,null)}=hn,cr=an(hn,["icon"]),Sr=xe.createElement(Et.Z,Object.assign({},cr),xe.cloneElement(Gn,{className:`${pt}-item-tooltip`,title:""}));jn=xe.createElement(xe.Fragment,null,jn,Sr)}const In=Pn==="optional",Ln=typeof Pn=="function";Ln?jn=Pn(jn,{required:!!_n}):In&&!_n&&(jn=xe.createElement(xe.Fragment,null,jn,xe.createElement("span",{className:`${pt}-item-optional`,title:""},(gr==null?void 0:gr.optional)||((rr=Ft.Z.Form)===null||rr===void 0?void 0:rr.optional))));const Un=Ce()({[`${pt}-item-required`]:_n,[`${pt}-item-required-mark-optional`]:In||Ln,[`${pt}-item-no-colon`]:!Mt});return xe.createElement(yt.Z,Object.assign({},An,{className:ln}),xe.createElement("label",{htmlFor:At,className:Un,title:typeof Bt=="string"?Bt:""},jn))},Xn=te(29679),ir=te(19248),Dr=te(96512),kr=te(58617);const Bn={success:Xn.Z,warning:Dr.Z,error:ir.Z,validating:kr.Z};function jr($t){let{children:pt,errors:Bt,warnings:At,hasFeedback:Ct,validateStatus:Gt,prefixCls:nn,meta:_n,noStyle:Pn}=$t;const Sn=`${nn}-item`,{feedbackIcons:rr}=xe.useContext(fe.q3),gr=ut(Bt,At,_n,null,!!Ct,Gt),{isFormItemInput:Cr,status:bn}=xe.useContext(fe.aM),$n=xe.useMemo(()=>{var Jt;let pn;if(Ct){const Hn=Ct!==!0&&Ct.icons||rr,ln=gr&&((Jt=Hn==null?void 0:Hn({status:gr,errors:Bt,warnings:At}))===null||Jt===void 0?void 0:Jt[gr]),jn=gr&&Bn[gr];pn=ln!==!1&&jn?xe.createElement("span",{className:Ce()(`${Sn}-feedback-icon`,`${Sn}-feedback-icon-${gr}`)},ln||xe.createElement(jn,null)):null}let An=!0,dn=gr||"";return Pn&&(An=Cr,dn=(gr!=null?gr:bn)||""),{status:dn,errors:Bt,warnings:At,hasFeedback:!!Ct,feedbackIcon:pn,isFormItemInput:An}},[gr,Ct,Pn,Cr,bn]);return xe.createElement(fe.aM.Provider,{value:$n},pt)}var ci=function($t,pt){var Bt={};for(var At in $t)Object.prototype.hasOwnProperty.call($t,At)&&pt.indexOf(At)<0&&(Bt[At]=$t[At]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,At=Object.getOwnPropertySymbols($t);Ct<At.length;Ct++)pt.indexOf(At[Ct])<0&&Object.prototype.propertyIsEnumerable.call($t,At[Ct])&&(Bt[At[Ct]]=$t[At[Ct]]);return Bt};function _r($t){const{prefixCls:pt,className:Bt,rootClassName:At,style:Ct,help:Gt,errors:nn,warnings:_n,validateStatus:Pn,meta:Sn,hasFeedback:rr,hidden:gr,children:Cr,fieldId:bn,required:$n,isRequired:Jt,onSubItemMetaChange:pn}=$t,An=ci($t,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),dn=`${pt}-item`,{requiredMark:Hn}=xe.useContext(fe.q3),ln=xe.useRef(null),jn=be(nn),Mt=be(_n),cn=Gt!=null,hn=!!(cn||nn.length||_n.length),In=!!ln.current&&(0,lt.Z)(ln.current),[Ln,Un]=xe.useState(null);(0,Je.Z)(()=>{if(hn&&ln.current){const gi=getComputedStyle(ln.current);Un(parseInt(gi.marginBottom,10))}},[hn,In]);const Gn=gi=>{gi||Un(null)},Sr=function(){let gi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ki=gi?jn:Sn.errors,si=gi?Mt:Sn.warnings;return ut(ki,si,Sn,"",!!rr,Pn)}(),Wr=Ce()(dn,Bt,At,{[`${dn}-with-help`]:cn||jn.length||Mt.length,[`${dn}-has-feedback`]:Sr&&rr,[`${dn}-has-success`]:Sr==="success",[`${dn}-has-warning`]:Sr==="warning",[`${dn}-has-error`]:Sr==="error",[`${dn}-is-validating`]:Sr==="validating",[`${dn}-hidden`]:gr});return xe.createElement("div",{className:Wr,style:Ct,ref:ln},xe.createElement(Dt.Z,Object.assign({className:`${dn}-row`},(0,Pt.Z)(An,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),xe.createElement(gn,Object.assign({htmlFor:bn},$t,{requiredMark:Hn,required:$n!=null?$n:Jt,prefixCls:pt})),xe.createElement(Yt,Object.assign({},$t,Sn,{errors:jn,warnings:Mt,prefixCls:pt,status:Sr,help:Gt,marginBottom:Ln,onErrorVisibleChanged:Gn}),xe.createElement(fe.qI.Provider,{value:pn},xe.createElement(jr,{prefixCls:pt,meta:Sn,errors:Sn.errors,warnings:Sn.warnings,hasFeedback:rr,validateStatus:Sr},Cr)))),!!Ln&&xe.createElement("div",{className:`${dn}-margin-offset`,style:{marginBottom:-Ln}}))}const Nr="__SPLIT__",ai=null,pi=xe.memo($t=>{let{children:pt}=$t;return pt},($t,pt)=>$t.value===pt.value&&$t.update===pt.update&&$t.childProps.length===pt.childProps.length&&$t.childProps.every((Bt,At)=>Bt===pt.childProps[At]));function Mn($t){return $t!=null}function pr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Rr($t){const{name:pt,noStyle:Bt,className:At,dependencies:Ct,prefixCls:Gt,shouldUpdate:nn,rules:_n,children:Pn,required:Sn,label:rr,messageVariables:gr,trigger:Cr="onChange",validateTrigger:bn,hidden:$n,help:Jt}=$t,{getPrefixCls:pn}=xe.useContext(vt.E_),{name:An}=xe.useContext(fe.q3),dn=ue(Pn),Hn=typeof dn=="function",ln=xe.useContext(fe.qI),{validateTrigger:jn}=xe.useContext(Ze.FieldContext),Mt=bn!==void 0?bn:jn,cn=Mn(pt),hn=pn("form",Gt),[In,Ln]=Pe(hn),Un=xe.useContext(Ze.ListContext),Gn=xe.useRef(),[cr,Sr]=$e({}),[Wr,gi]=(0,Ut.Z)(()=>pr()),ki=Ai=>{const li=Un==null?void 0:Un.getKey(Ai.name);if(gi(Ai.destroy?pr():Ai,!0),Bt&&Jt!==!1&&ln){let Qi=Ai.name;if(Ai.destroy)Qi=Gn.current||Qi;else if(li!==void 0){const[Pi,xa]=li;Qi=[Pi].concat((0,ee.Z)(xa)),Gn.current=Qi}ln(Ai,Qi)}},si=(Ai,li)=>{Sr(Qi=>{const Pi=Object.assign({},Qi),lo=[].concat((0,ee.Z)(Ai.name.slice(0,-1)),(0,ee.Z)(li)).join(Nr);return Ai.destroy?delete Pi[lo]:Pi[lo]=Ai,Pi})},[wi,Qr]=xe.useMemo(()=>{const Ai=(0,ee.Z)(Wr.errors),li=(0,ee.Z)(Wr.warnings);return Object.values(cr).forEach(Qi=>{Ai.push.apply(Ai,(0,ee.Z)(Qi.errors||[])),li.push.apply(li,(0,ee.Z)(Qi.warnings||[]))}),[Ai,li]},[cr,Wr.errors,Wr.warnings]),Gi=wt();function Hi(Ai,li,Qi){return Bt&&!$n?xe.createElement(jr,{prefixCls:hn,hasFeedback:$t.hasFeedback,validateStatus:$t.validateStatus,meta:Wr,errors:wi,warnings:Qr,noStyle:!0},Ai):xe.createElement(_r,Object.assign({key:"row"},$t,{className:Ce()(At,Ln),prefixCls:hn,fieldId:li,isRequired:Qi,errors:wi,warnings:Qr,meta:Wr,onSubItemMetaChange:si}),Ai)}if(!cn&&!Hn&&!Ct)return In(Hi(dn));let $i={};return typeof rr=="string"?$i.label=rr:pt&&($i.label=String(pt)),gr&&($i=Object.assign(Object.assign({},$i),gr)),In(xe.createElement(Ze.Field,Object.assign({},$t,{messageVariables:$i,trigger:Cr,validateTrigger:Mt,onMetaChange:ki}),(Ai,li,Qi)=>{const Pi=st(pt).length&&li?li.name:[],xa=zt(Pi,An),lo=Sn!==void 0?Sn:!!(_n&&_n.some(Lr=>{if(Lr&&typeof Lr=="object"&&Lr.required&&!Lr.warningOnly)return!0;if(typeof Lr=="function"){const ia=Lr(Qi);return ia&&ia.required&&!ia.warningOnly}return!1})),Vi=Object.assign({},Ai);let Or=null;if(Array.isArray(dn)&&cn)Or=dn;else if(!(Hn&&(!(nn||Ct)||cn))){if(!(Ct&&!Hn&&!cn))if((0,Ie.l$)(dn)){const Lr=Object.assign(Object.assign({},dn.props),Vi);if(Lr.id||(Lr.id=xa),Jt||wi.length>0||Qr.length>0||$t.extra){const ma=[];(Jt||wi.length>0)&&ma.push(`${xa}_help`),$t.extra&&ma.push(`${xa}_extra`),Lr["aria-describedby"]=ma.join(" ")}wi.length>0&&(Lr["aria-invalid"]="true"),lo&&(Lr["aria-required"]="true"),(0,Wt.Yr)(dn)&&(Lr.ref=Gi(Pi,dn)),new Set([].concat((0,ee.Z)(st(Cr)),(0,ee.Z)(st(Mt)))).forEach(ma=>{Lr[ma]=function(){for(var pa,ha,qi,aa,Ao,Di=arguments.length,Ti=new Array(Di),Ea=0;Ea<Di;Ea++)Ti[Ea]=arguments[Ea];(qi=Vi[ma])===null||qi===void 0||(pa=qi).call.apply(pa,[Vi].concat(Ti)),(Ao=(aa=dn.props)[ma])===null||Ao===void 0||(ha=Ao).call.apply(ha,[aa].concat(Ti))}});const Zi=[Lr["aria-required"],Lr["aria-invalid"],Lr["aria-describedby"]];Or=xe.createElement(pi,{value:Vi[$t.valuePropName||"value"],update:dn,childProps:Zi},(0,Ie.Tm)(dn,Lr))}else Hn&&(nn||Ct)&&!cn?Or=dn(Qi):Or=dn}return Hi(Or,xa,lo)}))}const Gr=Rr;Gr.useStatus=ye;var zr=Gr,ei=function($t,pt){var Bt={};for(var At in $t)Object.prototype.hasOwnProperty.call($t,At)&&pt.indexOf(At)<0&&(Bt[At]=$t[At]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,At=Object.getOwnPropertySymbols($t);Ct<At.length;Ct++)pt.indexOf(At[Ct])<0&&Object.prototype.propertyIsEnumerable.call($t,At[Ct])&&(Bt[At[Ct]]=$t[At[Ct]]);return Bt},fi=$t=>{var{prefixCls:pt,children:Bt}=$t,At=ei($t,["prefixCls","children"]);const{getPrefixCls:Ct}=xe.useContext(vt.E_),Gt=Ct("form",pt),nn=xe.useMemo(()=>({prefixCls:Gt,status:"error"}),[Gt]);return xe.createElement(Ze.List,Object.assign({},At),(_n,Pn,Sn)=>xe.createElement(fe.Rk.Provider,{value:nn},Bt(_n.map(rr=>Object.assign(Object.assign({},rr),{fieldKey:rr.key})),Pn,{errors:Sn.errors,warnings:Sn.warnings})))};function Pr(){const{form:$t}=(0,xe.useContext)(fe.q3);return $t}const dr=Qt;dr.Item=zr,dr.List=fi,dr.ErrorList=xt,dr.useForm=at,dr.useFormInstance=Pr,dr.useWatch=Ze.useWatch,dr.Provider=fe.RV,dr.create=()=>{};var oi=dr},8628:function(tn,kt,te){"use strict";var ee=te(59301),de=te(34280),Ce=te(56762),We=te(69507);function xe(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const fe=(0,ee.useRef)({}),be=(0,Ce.Z)(),Fe=(0,We.ZP)();return(0,de.Z)(()=>{const He=Fe.subscribe(rt=>{fe.current=rt,Ee&&be()});return()=>Fe.unsubscribe(He)},[]),fe.current}kt.Z=xe},5871:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return wn}});var ee=te(84105),de=te(87395),Ce=te(92310),We=te.n(Ce),xe=te(60499),Ee=te(18642),fe=te(43749),be=te(72190),Fe=te(42244),He=te(38705),rt=te(17212);function Ae(){return typeof BigInt=="function"}function ge(Ft){return!Ft&&Ft!==0&&!Number.isNaN(Ft)||!String(Ft).trim()}function we(Ft){var it=Ft.trim(),Et=it.startsWith("-");Et&&(it=it.slice(1)),it=it.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),it.startsWith(".")&&(it="0".concat(it));var an=it||"0",un=an.split("."),vn=un[0]||"0",gn=un[1]||"0";vn==="0"&&gn==="0"&&(Et=!1);var Xn=Et?"-":"";return{negative:Et,negativeStr:Xn,trimStr:an,integerStr:vn,decimalStr:gn,fullStr:"".concat(Xn).concat(an)}}function Se(Ft){var it=String(Ft);return!Number.isNaN(Number(it))&&it.includes("e")}function Ne(Ft){var it=String(Ft);if(Se(Ft)){var Et=Number(it.slice(it.indexOf("e-")+2)),an=it.match(/\.(\d+)/);return an!=null&&an[1]&&(Et+=an[1].length),Et}return it.includes(".")&&Ye(it)?it.length-it.indexOf(".")-1:0}function ke(Ft){var it=String(Ft);if(Se(Ft)){if(Ft>Number.MAX_SAFE_INTEGER)return String(Ae()?BigInt(Ft).toString():Number.MAX_SAFE_INTEGER);if(Ft<Number.MIN_SAFE_INTEGER)return String(Ae()?BigInt(Ft).toString():Number.MIN_SAFE_INTEGER);it=Ft.toFixed(Ne(it))}return we(it).fullStr}function Ye(Ft){return typeof Ft=="number"?!Number.isNaN(Ft):Ft?/^\s*-?\d+(\.\d+)?\s*$/.test(Ft)||/^\s*-?\d+\.\s*$/.test(Ft)||/^\s*-?\.\d+\s*$/.test(Ft):!1}var et=function(){function Ft(it){if((0,He.Z)(this,Ft),(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),ge(it)){this.empty=!0;return}if(this.origin=String(it),it==="-"||Number.isNaN(it)){this.nan=!0;return}var Et=it;if(Se(Et)&&(Et=Number(Et)),Et=typeof Et=="string"?Et:ke(Et),Ye(Et)){var an=we(Et);this.negative=an.negative;var un=an.trimStr.split(".");this.integer=BigInt(un[0]);var vn=un[1]||"0";this.decimal=BigInt(vn),this.decimalLen=vn.length}else this.nan=!0}return(0,rt.Z)(Ft,[{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(Et){var an="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Et,"0"));return BigInt(an)}},{key:"negate",value:function(){var Et=new Ft(this.toString());return Et.negative=!Et.negative,Et}},{key:"cal",value:function(Et,an,un){var vn=Math.max(this.getDecimalStr().length,Et.getDecimalStr().length),gn=this.alignDecimal(vn),Xn=Et.alignDecimal(vn),ir=an(gn,Xn).toString(),Dr=un(vn),kr=we(ir),Bn=kr.negativeStr,jr=kr.trimStr,ci="".concat(Bn).concat(jr.padStart(Dr+1,"0"));return new Ft("".concat(ci.slice(0,-Dr),".").concat(ci.slice(-Dr)))}},{key:"add",value:function(Et){if(this.isInvalidate())return new Ft(Et);var an=new Ft(Et);return an.isInvalidate()?this:this.cal(an,function(un,vn){return un+vn},function(un){return un})}},{key:"multi",value:function(Et){var an=new Ft(Et);return this.isInvalidate()||an.isInvalidate()?new Ft(NaN):this.cal(an,function(un,vn){return un*vn},function(un){return un*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(Et){return this.toString()===(Et==null?void 0:Et.toString())}},{key:"lessEquals",value:function(Et){return this.add(Et.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Et?this.isInvalidate()?"":we("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Ft}(),Ke=function(){function Ft(it){if((0,He.Z)(this,Ft),(0,Ee.Z)(this,"origin",""),(0,Ee.Z)(this,"number",void 0),(0,Ee.Z)(this,"empty",void 0),ge(it)){this.empty=!0;return}this.origin=String(it),this.number=Number(it)}return(0,rt.Z)(Ft,[{key:"negate",value:function(){return new Ft(-this.toNumber())}},{key:"add",value:function(Et){if(this.isInvalidate())return new Ft(Et);var an=Number(Et);if(Number.isNaN(an))return this;var un=this.number+an;if(un>Number.MAX_SAFE_INTEGER)return new Ft(Number.MAX_SAFE_INTEGER);if(un<Number.MIN_SAFE_INTEGER)return new Ft(Number.MIN_SAFE_INTEGER);var vn=Math.max(Ne(this.number),Ne(an));return new Ft(un.toFixed(vn))}},{key:"multi",value:function(Et){var an=Number(Et);if(this.isInvalidate()||Number.isNaN(an))return new Ft(NaN);var un=this.number*an;if(un>Number.MAX_SAFE_INTEGER)return new Ft(Number.MAX_SAFE_INTEGER);if(un<Number.MIN_SAFE_INTEGER)return new Ft(Number.MIN_SAFE_INTEGER);var vn=Math.max(Ne(this.number),Ne(an));return new Ft(un.toFixed(vn))}},{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(Et){return this.toNumber()===(Et==null?void 0:Et.toNumber())}},{key:"lessEquals",value:function(Et){return this.add(Et.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Et?this.isInvalidate()?"":ke(this.number):this.origin}}]),Ft}();function Oe(Ft){return Ae()?new et(Ft):new Ke(Ft)}function _e(Ft,it,Et){var an=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Ft==="")return"";var un=we(Ft),vn=un.negativeStr,gn=un.integerStr,Xn=un.decimalStr,ir="".concat(it).concat(Xn),Dr="".concat(vn).concat(gn);if(Et>=0){var kr=Number(Xn[Et]);if(kr>=5&&!an){var Bn=Oe(Ft).add("".concat(vn,"0.").concat("0".repeat(Et)).concat(10-kr));return _e(Bn.toString(),it,Et,an)}return Et===0?Dr:"".concat(Dr).concat(it).concat(Xn.padEnd(Et,"0").slice(0,Et))}return ir===".0"?Dr:"".concat(Dr).concat(ir)}var me=Oe,Re=te(93681),Le=te(34280),Pe=te(8654),De=te(59301),ze=te(48736);function Te(Ft,it){var Et=(0,De.useRef)(null);function an(){try{var vn=Ft.selectionStart,gn=Ft.selectionEnd,Xn=Ft.value,ir=Xn.substring(0,vn),Dr=Xn.substring(gn);Et.current={start:vn,end:gn,value:Xn,beforeTxt:ir,afterTxt:Dr}}catch(kr){}}function un(){if(Ft&&Et.current&&it)try{var vn=Ft.value,gn=Et.current,Xn=gn.beforeTxt,ir=gn.afterTxt,Dr=gn.start,kr=vn.length;if(vn.endsWith(ir))kr=vn.length-Et.current.afterTxt.length;else if(vn.startsWith(Xn))kr=Xn.length;else{var Bn=Xn[Dr-1],jr=vn.indexOf(Bn,Dr-1);jr!==-1&&(kr=jr+1)}Ft.setSelectionRange(kr,kr)}catch(ci){(0,ze.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(ci.message))}}return[an,un]}var xt=te(49658),Ze=function(){var it=(0,De.useState)(!1),Et=(0,be.Z)(it,2),an=Et[0],un=Et[1];return(0,Le.Z)(function(){un((0,xt.Z)())},[]),an},vt=Ze,ot=te(16089),mt=200,Lt=600;function It(Ft){var it=Ft.prefixCls,Et=Ft.upNode,an=Ft.downNode,un=Ft.upDisabled,vn=Ft.downDisabled,gn=Ft.onStep,Xn=De.useRef(),ir=De.useRef([]),Dr=De.useRef();Dr.current=gn;var kr=function(){clearTimeout(Xn.current)},Bn=function(pr,Rr){pr.preventDefault(),kr(),Dr.current(Rr);function Gr(){Dr.current(Rr),Xn.current=setTimeout(Gr,mt)}Xn.current=setTimeout(Gr,Lt)};De.useEffect(function(){return function(){kr(),ir.current.forEach(function(Mn){return ot.Z.cancel(Mn)})}},[]);var jr=vt();if(jr)return null;var ci="".concat(it,"-handler"),_r=We()(ci,"".concat(ci,"-up"),(0,Ee.Z)({},"".concat(ci,"-up-disabled"),un)),Nr=We()(ci,"".concat(ci,"-down"),(0,Ee.Z)({},"".concat(ci,"-down-disabled"),vn)),ai=function(){return ir.current.push((0,ot.Z)(kr))},pi={unselectable:"on",role:"button",onMouseUp:ai,onMouseLeave:ai};return De.createElement("div",{className:"".concat(ci,"-wrap")},De.createElement("span",(0,xe.Z)({},pi,{onMouseDown:function(pr){Bn(pr,!0)},"aria-label":"Increase Value","aria-disabled":un,className:_r}),Et||De.createElement("span",{unselectable:"on",className:"".concat(it,"-handler-up-inner")})),De.createElement("span",(0,xe.Z)({},pi,{onMouseDown:function(pr){Bn(pr,!1)},"aria-label":"Decrease Value","aria-disabled":vn,className:Nr}),an||De.createElement("span",{unselectable:"on",className:"".concat(it,"-handler-down-inner")})))}function Qe(Ft){var it=typeof Ft=="number"?ke(Ft):we(Ft).fullStr,Et=it.includes(".");return Et?we(it.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Ft+"0"}var Me=te(5643),st=function(){var Ft=(0,De.useRef)(0),it=function(){ot.Z.cancel(Ft.current)};return(0,De.useEffect)(function(){return it},[]),function(Et){it(),Ft.current=(0,ot.Z)(function(){Et()})}},zt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],ut=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],tt=function(it,Et){return it||Et.isEmpty()?Et.toString():Et.toNumber()},at=function(it){var Et=me(it);return Et.isInvalidate()?null:Et},Nt=De.forwardRef(function(Ft,it){var Et,an=Ft.prefixCls,un=an===void 0?"rc-input-number":an,vn=Ft.className,gn=Ft.style,Xn=Ft.min,ir=Ft.max,Dr=Ft.step,kr=Dr===void 0?1:Dr,Bn=Ft.defaultValue,jr=Ft.value,ci=Ft.disabled,_r=Ft.readOnly,Nr=Ft.upHandler,ai=Ft.downHandler,pi=Ft.keyboard,Mn=Ft.controls,pr=Mn===void 0?!0:Mn,Rr=Ft.classNames,Gr=Ft.stringMode,zr=Ft.parser,ei=Ft.formatter,Hr=Ft.precision,fi=Ft.decimalSeparator,Pr=Ft.onChange,dr=Ft.onInput,oi=Ft.onPressEnter,$t=Ft.onStep,pt=(0,Fe.Z)(Ft,zt),Bt="".concat(un,"-input"),At=De.useRef(null),Ct=De.useState(!1),Gt=(0,be.Z)(Ct,2),nn=Gt[0],_n=Gt[1],Pn=De.useRef(!1),Sn=De.useRef(!1),rr=De.useRef(!1),gr=De.useState(function(){return me(jr!=null?jr:Bn)}),Cr=(0,be.Z)(gr,2),bn=Cr[0],$n=Cr[1];function Jt(Or){jr===void 0&&$n(Or)}var pn=De.useCallback(function(Or,Lr){if(!Lr)return Hr>=0?Hr:Math.max(Ne(Or),Ne(kr))},[Hr,kr]),An=De.useCallback(function(Or){var Lr=String(Or);if(zr)return zr(Lr);var ia=Lr;return fi&&(ia=ia.replace(fi,".")),ia.replace(/[^\w.-]+/g,"")},[zr,fi]),dn=De.useRef(""),Hn=De.useCallback(function(Or,Lr){if(ei)return ei(Or,{userTyping:Lr,input:String(dn.current)});var ia=typeof Or=="number"?ke(Or):Or;if(!Lr){var Zi=pn(ia,Lr);if(Ye(ia)&&(fi||Zi>=0)){var ma=fi||".";ia=_e(ia,ma,Zi)}}return ia},[ei,pn,fi]),ln=De.useState(function(){var Or=Bn!=null?Bn:jr;return bn.isInvalidate()&&["string","number"].includes((0,fe.Z)(Or))?Number.isNaN(Or)?"":Or:Hn(bn.toString(),!1)}),jn=(0,be.Z)(ln,2),Mt=jn[0],cn=jn[1];dn.current=Mt;function hn(Or,Lr){cn(Hn(Or.isInvalidate()?Or.toString(!1):Or.toString(!Lr),Lr))}var In=De.useMemo(function(){return at(ir)},[ir,Hr]),Ln=De.useMemo(function(){return at(Xn)},[Xn,Hr]),Un=De.useMemo(function(){return!In||!bn||bn.isInvalidate()?!1:In.lessEquals(bn)},[In,bn]),Gn=De.useMemo(function(){return!Ln||!bn||bn.isInvalidate()?!1:bn.lessEquals(Ln)},[Ln,bn]),cr=Te(At.current,nn),Sr=(0,be.Z)(cr,2),Wr=Sr[0],gi=Sr[1],ki=function(Lr){return In&&!Lr.lessEquals(In)?In:Ln&&!Ln.lessEquals(Lr)?Ln:null},si=function(Lr){return!ki(Lr)},wi=function(Lr,ia){var Zi=Lr,ma=si(Zi)||Zi.isEmpty();if(!Zi.isEmpty()&&!ia&&(Zi=ki(Zi)||Zi,ma=!0),!_r&&!ci&&ma){var pa=Zi.toString(),ha=pn(pa,ia);return ha>=0&&(Zi=me(_e(pa,".",ha)),si(Zi)||(Zi=me(_e(pa,".",ha,!0)))),Zi.equals(bn)||(Jt(Zi),Pr==null||Pr(Zi.isEmpty()?null:tt(Gr,Zi)),jr===void 0&&hn(Zi,ia)),Zi}return bn},Qr=st(),Gi=function Or(Lr){if(Wr(),dn.current=Lr,cn(Lr),!Sn.current){var ia=An(Lr),Zi=me(ia);Zi.isNaN()||wi(Zi,!0)}dr==null||dr(Lr),Qr(function(){var ma=Lr;zr||(ma=Lr.replace(/。/g,".")),ma!==Lr&&Or(ma)})},Hi=function(){Sn.current=!0},$i=function(){Sn.current=!1,Gi(At.current.value)},Ai=function(Lr){Gi(Lr.target.value)},li=function(Lr){var ia;if(!(Lr&&Un||!Lr&&Gn)){Pn.current=!1;var Zi=me(rr.current?Qe(kr):kr);Lr||(Zi=Zi.negate());var ma=(bn||me(0)).add(Zi.toString()),pa=wi(ma,!1);$t==null||$t(tt(Gr,pa),{offset:rr.current?Qe(kr):kr,type:Lr?"up":"down"}),(ia=At.current)===null||ia===void 0||ia.focus()}},Qi=function(Lr){var ia=me(An(Mt)),Zi=ia;ia.isNaN()?Zi=wi(bn,Lr):Zi=wi(ia,Lr),jr!==void 0?hn(bn,!1):Zi.isNaN()||hn(Zi,!1)},Pi=function(){Pn.current=!0},xa=function(Lr){var ia=Lr.key,Zi=Lr.shiftKey;Pn.current=!0,rr.current=Zi,ia==="Enter"&&(Sn.current||(Pn.current=!1),Qi(!1),oi==null||oi(Lr)),pi!==!1&&!Sn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(ia)&&(li(ia==="Up"||ia==="ArrowUp"),Lr.preventDefault())},lo=function(){Pn.current=!1,rr.current=!1},Vi=function(){Qi(!1),_n(!1),Pn.current=!1};return(0,Le.o)(function(){bn.isInvalidate()||hn(bn,!1)},[Hr]),(0,Le.o)(function(){var Or=me(jr);$n(Or);var Lr=me(An(Mt));(!Or.equals(Lr)||!Pn.current||ei)&&hn(Or,Pn.current)},[jr]),(0,Le.o)(function(){ei&&gi()},[Mt]),De.createElement("div",{className:We()(un,Rr==null?void 0:Rr.input,vn,(Et={},(0,Ee.Z)(Et,"".concat(un,"-focused"),nn),(0,Ee.Z)(Et,"".concat(un,"-disabled"),ci),(0,Ee.Z)(Et,"".concat(un,"-readonly"),_r),(0,Ee.Z)(Et,"".concat(un,"-not-a-number"),bn.isNaN()),(0,Ee.Z)(Et,"".concat(un,"-out-of-range"),!bn.isInvalidate()&&!si(bn)),Et)),style:gn,onFocus:function(){_n(!0)},onBlur:Vi,onKeyDown:xa,onKeyUp:lo,onCompositionStart:Hi,onCompositionEnd:$i,onBeforeInput:Pi},pr&&De.createElement(It,{prefixCls:un,upNode:Nr,downNode:ai,upDisabled:Un,downDisabled:Gn,onStep:li}),De.createElement("div",{className:"".concat(Bt,"-wrap")},De.createElement("input",(0,xe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Xn,"aria-valuemax":ir,"aria-valuenow":bn.isInvalidate()?null:bn.toString(),step:kr},pt,{ref:(0,Pe.sQ)(At,it),className:Bt,value:Mt,onChange:Ai,disabled:ci,readOnly:_r}))))}),on=De.forwardRef(function(Ft,it){var Et=Ft.disabled,an=Ft.style,un=Ft.prefixCls,vn=Ft.value,gn=Ft.prefix,Xn=Ft.suffix,ir=Ft.addonBefore,Dr=Ft.addonAfter,kr=Ft.classes,Bn=Ft.className,jr=Ft.classNames,ci=(0,Fe.Z)(Ft,ut),_r=De.useRef(null),Nr=function(pi){_r.current&&(0,Me.nH)(_r.current,pi)};return De.createElement(Re.BaseInput,{inputElement:De.createElement(Nt,(0,xe.Z)({prefixCls:un,disabled:Et,classNames:jr,ref:(0,Pe.sQ)(_r,it)},ci)),className:Bn,triggerFocus:Nr,prefixCls:un,value:vn,disabled:Et,style:an,prefix:gn,suffix:Xn,addonAfter:Dr,addonBefore:ir,classes:kr,classNames:jr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});on.displayName="InputNumber";var Ht=on,Fn=Ht,Qt=te(19080),Ut=te(36355),Wt=te(92736),Ie=te(1684),he=te(19716),ue=te(32441),ve=te(33234),ye=te(9937),se=te(17313),$e=te(74207),wt=te(83116),lt=te(37613);const Je=(Ft,it)=>{let{componentCls:Et,borderRadiusSM:an,borderRadiusLG:un}=Ft;const vn=it==="lg"?un:an;return{[`&-${it}`]:{[`${Et}-handler-wrap`]:{borderStartEndRadius:vn,borderEndEndRadius:vn},[`${Et}-handler-up`]:{borderStartEndRadius:vn},[`${Et}-handler-down`]:{borderEndEndRadius:vn}}}},Pt=Ft=>{const{componentCls:it,lineWidth:Et,lineType:an,colorBorder:un,borderRadius:vn,fontSizeLG:gn,controlHeightLG:Xn,controlHeightSM:ir,colorError:Dr,paddingInlineSM:kr,colorTextDescription:Bn,motionDurationMid:jr,handleHoverColor:ci,paddingInline:_r,paddingBlock:Nr,handleBg:ai,handleActiveBg:pi,colorTextDisabled:Mn,borderRadiusSM:pr,borderRadiusLG:Rr,controlWidth:Gr,handleVisible:zr,handleBorderColor:ei}=Ft;return[{[it]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,se.Wf)(Ft)),(0,ye.ik)(Ft)),(0,ye.bi)(Ft,it)),{display:"inline-block",width:Gr,margin:0,padding:0,border:`${Et}px ${an} ${un}`,borderRadius:vn,"&-rtl":{direction:"rtl",[`${it}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:gn,borderRadius:Rr,[`input${it}-input`]:{height:Xn-2*Et}},"&-sm":{padding:0,borderRadius:pr,[`input${it}-input`]:{height:ir-2*Et,padding:`0 ${kr}px`}},"&:hover":Object.assign({},(0,ye.pU)(Ft)),"&-focused":Object.assign({},(0,ye.M1)(Ft)),"&-out-of-range":{[`${it}-input-wrap`]:{input:{color:Dr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,se.Wf)(Ft)),(0,ye.s7)(Ft)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${it}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${it}-group-addon`]:{borderRadius:Rr,fontSize:Ft.fontSizeLG}},"&-sm":{[`${it}-group-addon`]:{borderRadius:pr}},[`${it}-wrapper-disabled > ${it}-group-addon`]:Object.assign({},(0,ye.Xy)(Ft))}}),[`&-disabled ${it}-input`]:{cursor:"not-allowed"},[it]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,se.Wf)(Ft)),{width:"100%",padding:`${Nr}px ${_r}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:vn,outline:0,transition:`all ${jr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,ye.nz)(Ft.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[it]:Object.assign(Object.assign(Object.assign({[`&:hover ${it}-handler-wrap, &-focused ${it}-handler-wrap`]:{opacity:1},[`${it}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Ft.handleWidth,height:"100%",background:ai,borderStartStartRadius:0,borderStartEndRadius:vn,borderEndEndRadius:vn,borderEndStartRadius:0,opacity:zr===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${jr} linear ${jr}`,[`${it}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${it}-handler-up-inner,
|
|
|
${it}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:Ft.handleFontSize}}},[`${it}-handler`]:{height:"50%",overflow:"hidden",color:Bn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Et}px ${an} ${ei}`,transition:`all ${jr} linear`,"&:active":{background:pi},"&:hover":{height:"60%",[`
|
|
|
${it}-handler-up-inner,
|
|
|
${it}-handler-down-inner
|
|
|
`]:{color:ci}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,se.Ro)()),{color:Bn,transition:`all ${jr} linear`,userSelect:"none"})},[`${it}-handler-up`]:{borderStartEndRadius:vn},[`${it}-handler-down`]:{borderBlockStart:`${Et}px ${an} ${ei}`,borderEndEndRadius:vn}},Je(Ft,"lg")),Je(Ft,"sm")),{"&-disabled, &-readonly":{[`${it}-handler-wrap`]:{display:"none"},[`${it}-input`]:{color:"inherit"}},[`
|
|
|
${it}-handler-up-disabled,
|
|
|
${it}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${it}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${it}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Mn}})},{[`${it}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${it}-handler-down`]:{borderBlockStartWidth:0}}}]},Dt=Ft=>{const{componentCls:it,paddingBlock:Et,paddingInline:an,inputAffixPadding:un,controlWidth:vn,borderRadiusLG:gn,borderRadiusSM:Xn}=Ft;return{[`${it}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,ye.ik)(Ft)),(0,ye.bi)(Ft,`${it}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:vn,padding:0,paddingInlineStart:an,"&-lg":{borderRadius:gn},"&-sm":{borderRadius:Xn},[`&:not(${it}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,ye.pU)(Ft)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${it}-disabled`]:{background:"transparent"},[`> div${it}`]:{width:"100%",border:"none",outline:"none",[`&${it}-focused`]:{boxShadow:"none !important"}},[`input${it}-input`]:{padding:`${Et}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${it}-handler-wrap`]:{zIndex:2},[it]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:un},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:an,marginInlineStart:un}}})}};var yt=(0,wt.Z)("InputNumber",Ft=>{const it=(0,lt.TS)(Ft,(0,ye.e5)(Ft));return[Pt(it),Dt(it),(0,$e.c)(it)]},Ft=>Object.assign(Object.assign({},(0,ye.TM)(Ft)),{controlWidth:90,handleWidth:Ft.controlHeightSM-Ft.lineWidth*2,handleFontSize:Ft.fontSize/2,handleVisible:"auto",handleActiveBg:Ft.colorFillAlter,handleBg:Ft.colorBgContainer,handleHoverColor:Ft.colorPrimary,handleBorderColor:Ft.colorBorder})),jt=function(Ft,it){var Et={};for(var an in Ft)Object.prototype.hasOwnProperty.call(Ft,an)&&it.indexOf(an)<0&&(Et[an]=Ft[an]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,an=Object.getOwnPropertySymbols(Ft);un<an.length;un++)it.indexOf(an[un])<0&&Object.prototype.propertyIsEnumerable.call(Ft,an[un])&&(Et[an[un]]=Ft[an[un]]);return Et};const En=De.forwardRef((Ft,it)=>{const{getPrefixCls:Et,direction:an}=De.useContext(Ut.E_),un=De.useRef(null);De.useImperativeHandle(it,()=>un.current);const{className:vn,rootClassName:gn,size:Xn,disabled:ir,prefixCls:Dr,addonBefore:kr,addonAfter:Bn,prefix:jr,bordered:ci=!0,readOnly:_r,status:Nr,controls:ai}=Ft,pi=jt(Ft,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Mn=Et("input-number",Dr),[pr,Rr]=yt(Mn),{compactSize:Gr,compactItemClassnames:zr}=(0,ve.ri)(Mn,an);let ei=De.createElement(de.Z,{className:`${Mn}-handler-up-inner`}),Hr=De.createElement(ee.Z,{className:`${Mn}-handler-down-inner`});const fi=typeof ai=="boolean"?ai:void 0;typeof ai=="object"&&(ei=typeof ai.upIcon=="undefined"?ei:De.createElement("span",{className:`${Mn}-handler-up-inner`},ai.upIcon),Hr=typeof ai.downIcon=="undefined"?Hr:De.createElement("span",{className:`${Mn}-handler-down-inner`},ai.downIcon));const{hasFeedback:Pr,status:dr,isFormItemInput:oi,feedbackIcon:$t}=De.useContext(ue.aM),pt=(0,Qt.F)(dr,Nr),Bt=(0,he.Z)(Pn=>{var Sn;return(Sn=Xn!=null?Xn:Gr)!==null&&Sn!==void 0?Sn:Pn}),At=De.useContext(Ie.Z),Ct=ir!=null?ir:At,Gt=We()({[`${Mn}-lg`]:Bt==="large",[`${Mn}-sm`]:Bt==="small",[`${Mn}-rtl`]:an==="rtl",[`${Mn}-borderless`]:!ci,[`${Mn}-in-form-item`]:oi},(0,Qt.Z)(Mn,pt),zr,Rr),nn=`${Mn}-group`,_n=De.createElement(Fn,Object.assign({ref:un,disabled:Ct,className:We()(vn,gn),upHandler:ei,downHandler:Hr,prefixCls:Mn,readOnly:_r,controls:fi,prefix:jr,suffix:Pr&&$t,addonAfter:Bn&&De.createElement(ve.BR,null,De.createElement(ue.Ux,{override:!0,status:!0},Bn)),addonBefore:kr&&De.createElement(ve.BR,null,De.createElement(ue.Ux,{override:!0,status:!0},kr)),classNames:{input:Gt},classes:{affixWrapper:We()((0,Qt.Z)(`${Mn}-affix-wrapper`,pt,Pr),{[`${Mn}-affix-wrapper-sm`]:Bt==="small",[`${Mn}-affix-wrapper-lg`]:Bt==="large",[`${Mn}-affix-wrapper-rtl`]:an==="rtl",[`${Mn}-affix-wrapper-borderless`]:!ci},Rr),wrapper:We()({[`${nn}-rtl`]:an==="rtl",[`${Mn}-wrapper-disabled`]:Ct},Rr),group:We()({[`${Mn}-group-wrapper-sm`]:Bt==="small",[`${Mn}-group-wrapper-lg`]:Bt==="large",[`${Mn}-group-wrapper-rtl`]:an==="rtl"},(0,Qt.Z)(`${Mn}-group-wrapper`,pt,Pr),Rr)}},pi));return pr(_n)}),_t=En,Yt=Ft=>De.createElement(Wt.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},De.createElement(En,Object.assign({},Ft)));_t._InternalPanelDoNotUseOrYouWillBeFired=Yt;var wn=_t},9432:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return et},n:function(){return ke}});var ee=te(19248),de=te(92310),Ce=te.n(de),We=te(93681),xe=te(8654),Ee=te(59301),fe=te(19080),be=te(36355),Fe=te(1684),He=te(19716),rt=te(32441),Ae=te(33234),ge=te(59412),we=te(9937);function Se(Ke){return!!(Ke.prefix||Ke.suffix||Ke.allowClear)}var Ne=function(Ke,Oe){var _e={};for(var me in Ke)Object.prototype.hasOwnProperty.call(Ke,me)&&Oe.indexOf(me)<0&&(_e[me]=Ke[me]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,me=Object.getOwnPropertySymbols(Ke);Re<me.length;Re++)Oe.indexOf(me[Re])<0&&Object.prototype.propertyIsEnumerable.call(Ke,me[Re])&&(_e[me[Re]]=Ke[me[Re]]);return _e};function ke(Ke,Oe){if(!Ke)return;Ke.focus(Oe);const{cursor:_e}=Oe||{};if(_e){const me=Ke.value.length;switch(_e){case"start":Ke.setSelectionRange(0,0);break;case"end":Ke.setSelectionRange(me,me);break;default:Ke.setSelectionRange(0,me);break}}}var et=(0,Ee.forwardRef)((Ke,Oe)=>{var _e;const{prefixCls:me,bordered:Re=!0,status:Le,size:Pe,disabled:De,onBlur:ze,onFocus:Te,suffix:xt,allowClear:Ze,addonAfter:vt,addonBefore:ot,className:mt,style:Lt,styles:It,rootClassName:Qe,onChange:Me,classNames:st}=Ke,zt=Ne(Ke,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ut,direction:tt,input:at}=Ee.useContext(be.E_),Nt=ut("input",me),on=(0,Ee.useRef)(null),[Ht,Fn]=(0,we.ZP)(Nt),{compactSize:Qt,compactItemClassnames:Ut}=(0,Ae.ri)(Nt,tt),Wt=(0,He.Z)(En=>{var _t;return(_t=Pe!=null?Pe:Qt)!==null&&_t!==void 0?_t:En}),Ie=Ee.useContext(Fe.Z),he=De!=null?De:Ie,{status:ue,hasFeedback:ve,feedbackIcon:ye}=(0,Ee.useContext)(rt.aM),se=(0,fe.F)(ue,Le),$e=Se(Ke)||!!ve,wt=(0,Ee.useRef)($e);(0,Ee.useEffect)(()=>{var En;$e&&wt.current,wt.current=$e},[$e]);const lt=(0,ge.Z)(on,!0),Je=En=>{lt(),ze==null||ze(En)},Pt=En=>{lt(),Te==null||Te(En)},Dt=En=>{lt(),Me==null||Me(En)},yt=(ve||xt)&&Ee.createElement(Ee.Fragment,null,xt,ve&&ye);let jt;return typeof Ze=="object"&&(Ze!=null&&Ze.clearIcon)?jt=Ze:Ze&&(jt={clearIcon:Ee.createElement(ee.Z,null)}),Ht(Ee.createElement(We.default,Object.assign({ref:(0,xe.sQ)(Oe,on),prefixCls:Nt,autoComplete:at==null?void 0:at.autoComplete},zt,{disabled:he,onBlur:Je,onFocus:Pt,style:Object.assign(Object.assign({},at==null?void 0:at.style),Lt),styles:Object.assign(Object.assign({},at==null?void 0:at.styles),It),suffix:yt,allowClear:jt,className:Ce()(mt,Qe,Ut,at==null?void 0:at.className),onChange:Dt,addonAfter:vt&&Ee.createElement(Ae.BR,null,Ee.createElement(rt.Ux,{override:!0,status:!0},vt)),addonBefore:ot&&Ee.createElement(Ae.BR,null,Ee.createElement(rt.Ux,{override:!0,status:!0},ot)),classNames:Object.assign(Object.assign(Object.assign({},st),at==null?void 0:at.classNames),{input:Ce()({[`${Nt}-sm`]:Wt==="small",[`${Nt}-lg`]:Wt==="large",[`${Nt}-rtl`]:tt==="rtl",[`${Nt}-borderless`]:!Re},!$e&&(0,fe.Z)(Nt,se),st==null?void 0:st.input,(_e=at==null?void 0:at.classNames)===null||_e===void 0?void 0:_e.input,Fn)}),classes:{affixWrapper:Ce()({[`${Nt}-affix-wrapper-sm`]:Wt==="small",[`${Nt}-affix-wrapper-lg`]:Wt==="large",[`${Nt}-affix-wrapper-rtl`]:tt==="rtl",[`${Nt}-affix-wrapper-borderless`]:!Re},(0,fe.Z)(`${Nt}-affix-wrapper`,se,ve),Fn),wrapper:Ce()({[`${Nt}-group-rtl`]:tt==="rtl"},Fn),group:Ce()({[`${Nt}-group-wrapper-sm`]:Wt==="small",[`${Nt}-group-wrapper-lg`]:Wt==="large",[`${Nt}-group-wrapper-rtl`]:tt==="rtl",[`${Nt}-group-wrapper-disabled`]:he},(0,fe.Z)(`${Nt}-group-wrapper`,se,ve),Fn)}})))})},1643:function(tn,kt,te){"use strict";var ee=te(19248),de=te(92310),Ce=te.n(de),We=te(9296),xe=te(59301),Ee=te(19080),fe=te(36355),be=te(1684),Fe=te(19716),He=te(32441),rt=te(9432),Ae=te(9937),ge=function(Se,Ne){var ke={};for(var Ye in Se)Object.prototype.hasOwnProperty.call(Se,Ye)&&Ne.indexOf(Ye)<0&&(ke[Ye]=Se[Ye]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ye=Object.getOwnPropertySymbols(Se);et<Ye.length;et++)Ne.indexOf(Ye[et])<0&&Object.prototype.propertyIsEnumerable.call(Se,Ye[et])&&(ke[Ye[et]]=Se[Ye[et]]);return ke};const we=(0,xe.forwardRef)((Se,Ne)=>{const{prefixCls:ke,bordered:Ye=!0,size:et,disabled:Ke,status:Oe,allowClear:_e,showCount:me,classNames:Re,rootClassName:Le,className:Pe}=Se,De=ge(Se,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:ze,direction:Te}=xe.useContext(fe.E_),xt=(0,Fe.Z)(et),Ze=xe.useContext(be.Z),vt=Ke!=null?Ke:Ze,{status:ot,hasFeedback:mt,feedbackIcon:Lt}=xe.useContext(He.aM),It=(0,Ee.F)(ot,Oe),Qe=xe.useRef(null);xe.useImperativeHandle(Ne,()=>{var tt;return{resizableTextArea:(tt=Qe.current)===null||tt===void 0?void 0:tt.resizableTextArea,focus:at=>{var Nt,on;(0,rt.n)((on=(Nt=Qe.current)===null||Nt===void 0?void 0:Nt.resizableTextArea)===null||on===void 0?void 0:on.textArea,at)},blur:()=>{var at;return(at=Qe.current)===null||at===void 0?void 0:at.blur()}}});const Me=ze("input",ke);let st;typeof _e=="object"&&(_e!=null&&_e.clearIcon)?st=_e:_e&&(st={clearIcon:xe.createElement(ee.Z,null)});const[zt,ut]=(0,Ae.ZP)(Me);return zt(xe.createElement(We.default,Object.assign({},De,{disabled:vt,allowClear:st,className:Ce()(Pe,Le),classes:{affixWrapper:Ce()(`${Me}-textarea-affix-wrapper`,{[`${Me}-affix-wrapper-rtl`]:Te==="rtl",[`${Me}-affix-wrapper-borderless`]:!Ye,[`${Me}-affix-wrapper-sm`]:xt==="small",[`${Me}-affix-wrapper-lg`]:xt==="large",[`${Me}-textarea-show-count`]:me},(0,Ee.Z)(`${Me}-affix-wrapper`,It),ut)},classNames:Object.assign(Object.assign({},Re),{textarea:Ce()({[`${Me}-borderless`]:!Ye,[`${Me}-sm`]:xt==="small",[`${Me}-lg`]:xt==="large"},(0,Ee.Z)(Me,It),ut,Re==null?void 0:Re.textarea)}),prefixCls:Me,suffix:mt&&xe.createElement("span",{className:`${Me}-textarea-suffix`},Lt),showCount:me,ref:Qe})))});kt.Z=we},59412:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return de}});var ee=te(59301);function de(Ce,We){const xe=(0,ee.useRef)([]),Ee=()=>{xe.current.push(setTimeout(()=>{var fe,be,Fe,He;!((fe=Ce.current)===null||fe===void 0)&&fe.input&&((be=Ce.current)===null||be===void 0?void 0:be.input.getAttribute("type"))==="password"&&(!((Fe=Ce.current)===null||Fe===void 0)&&Fe.input.hasAttribute("value"))&&((He=Ce.current)===null||He===void 0||He.input.removeAttribute("value"))}))};return(0,ee.useEffect)(()=>(We&&Ee(),()=>xe.current.forEach(fe=>{fe&&clearTimeout(fe)})),[]),Ee}},92832:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return xt}});var ee=te(92310),de=te.n(ee),Ce=te(59301),We=te(36355),xe=te(32441),Ee=te(9937),be=Ze=>{const{getPrefixCls:vt,direction:ot}=(0,Ce.useContext)(We.E_),{prefixCls:mt,className:Lt}=Ze,It=vt("input-group",mt),Qe=vt("input"),[Me,st]=(0,Ee.ZP)(Qe),zt=de()(It,{[`${It}-lg`]:Ze.size==="large",[`${It}-sm`]:Ze.size==="small",[`${It}-compact`]:Ze.compact,[`${It}-rtl`]:ot==="rtl"},st,Lt),ut=(0,Ce.useContext)(xe.aM),tt=(0,Ce.useMemo)(()=>Object.assign(Object.assign({},ut),{isFormItemInput:!1}),[ut]);return Me(Ce.createElement("span",{className:zt,style:Ze.style,onMouseEnter:Ze.onMouseEnter,onMouseLeave:Ze.onMouseLeave,onFocus:Ze.onFocus,onBlur:Ze.onBlur},Ce.createElement(xe.aM.Provider,{value:tt},Ze.children)))},Fe=te(9432),He=te(73331),rt=te(15277),Ae=te(2738),ge=te(8654),we=te(59412),Se=function(Ze,vt){var ot={};for(var mt in Ze)Object.prototype.hasOwnProperty.call(Ze,mt)&&vt.indexOf(mt)<0&&(ot[mt]=Ze[mt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,mt=Object.getOwnPropertySymbols(Ze);Lt<mt.length;Lt++)vt.indexOf(mt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(Ze,mt[Lt])&&(ot[mt[Lt]]=Ze[mt[Lt]]);return ot};const Ne=Ze=>Ze?Ce.createElement(rt.Z,null):Ce.createElement(He.Z,null),ke={click:"onClick",hover:"onMouseOver"};var et=Ce.forwardRef((Ze,vt)=>{const{visibilityToggle:ot=!0}=Ze,mt=typeof ot=="object"&&ot.visible!==void 0,[Lt,It]=(0,Ce.useState)(()=>mt?ot.visible:!1),Qe=(0,Ce.useRef)(null);Ce.useEffect(()=>{mt&&It(ot.visible)},[mt,ot]);const Me=(0,we.Z)(Qe),st=()=>{const{disabled:he}=Ze;he||(Lt&&Me(),It(ue=>{var ve;const ye=!ue;return typeof ot=="object"&&((ve=ot.onVisibleChange)===null||ve===void 0||ve.call(ot,ye)),ye}))},zt=he=>{const{action:ue="click",iconRender:ve=Ne}=Ze,ye=ke[ue]||"",se=ve(Lt),$e={[ye]:st,className:`${he}-icon`,key:"passwordIcon",onMouseDown:wt=>{wt.preventDefault()},onMouseUp:wt=>{wt.preventDefault()}};return Ce.cloneElement(Ce.isValidElement(se)?se:Ce.createElement("span",null,se),$e)},{className:ut,prefixCls:tt,inputPrefixCls:at,size:Nt}=Ze,on=Se(Ze,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ht}=Ce.useContext(We.E_),Fn=Ht("input",at),Qt=Ht("input-password",tt),Ut=ot&&zt(Qt),Wt=de()(Qt,ut,{[`${Qt}-${Nt}`]:!!Nt}),Ie=Object.assign(Object.assign({},(0,Ae.Z)(on,["suffix","iconRender","visibilityToggle"])),{type:Lt?"text":"password",className:Wt,prefixCls:Fn,suffix:Ut});return Nt&&(Ie.size=Nt),Ce.createElement(Fe.Z,Object.assign({ref:(0,ge.sQ)(vt,Qe)},Ie))}),Ke=te(47472),Oe=te(92343),_e=te(3113),me=te(19716),Re=te(33234),Le=function(Ze,vt){var ot={};for(var mt in Ze)Object.prototype.hasOwnProperty.call(Ze,mt)&&vt.indexOf(mt)<0&&(ot[mt]=Ze[mt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,mt=Object.getOwnPropertySymbols(Ze);Lt<mt.length;Lt++)vt.indexOf(mt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(Ze,mt[Lt])&&(ot[mt[Lt]]=Ze[mt[Lt]]);return ot},De=Ce.forwardRef((Ze,vt)=>{const{prefixCls:ot,inputPrefixCls:mt,className:Lt,size:It,suffix:Qe,enterButton:Me=!1,addonAfter:st,loading:zt,disabled:ut,onSearch:tt,onChange:at,onCompositionStart:Nt,onCompositionEnd:on}=Ze,Ht=Le(Ze,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Fn,direction:Qt}=Ce.useContext(We.E_),Ut=Ce.useRef(!1),Wt=Fn("input-search",ot),Ie=Fn("input",mt),{compactSize:he}=(0,Re.ri)(Wt,Qt),ue=(0,me.Z)(Yt=>{var wn;return(wn=It!=null?It:he)!==null&&wn!==void 0?wn:Yt}),ve=Ce.useRef(null),ye=Yt=>{Yt&&Yt.target&&Yt.type==="click"&&tt&&tt(Yt.target.value,Yt,{source:"clear"}),at&&at(Yt)},se=Yt=>{var wn;document.activeElement===((wn=ve.current)===null||wn===void 0?void 0:wn.input)&&Yt.preventDefault()},$e=Yt=>{var wn,Ft;tt&&tt((Ft=(wn=ve.current)===null||wn===void 0?void 0:wn.input)===null||Ft===void 0?void 0:Ft.value,Yt,{source:"input"})},wt=Yt=>{Ut.current||zt||$e(Yt)},lt=typeof Me=="boolean"?Ce.createElement(Ke.Z,null):null,Je=`${Wt}-button`;let Pt;const Dt=Me||{},yt=Dt.type&&Dt.type.__ANT_BUTTON===!0;yt||Dt.type==="button"?Pt=(0,Oe.Tm)(Dt,Object.assign({onMouseDown:se,onClick:Yt=>{var wn,Ft;(Ft=(wn=Dt==null?void 0:Dt.props)===null||wn===void 0?void 0:wn.onClick)===null||Ft===void 0||Ft.call(wn,Yt),$e(Yt)},key:"enterButton"},yt?{className:Je,size:ue}:{})):Pt=Ce.createElement(_e.ZP,{className:Je,type:Me?"primary":void 0,size:ue,disabled:ut,key:"enterButton",onMouseDown:se,onClick:$e,loading:zt,icon:lt},Me),st&&(Pt=[Pt,(0,Oe.Tm)(st,{key:"addonAfter"})]);const jt=de()(Wt,{[`${Wt}-rtl`]:Qt==="rtl",[`${Wt}-${ue}`]:!!ue,[`${Wt}-with-button`]:!!Me},Lt),En=Yt=>{Ut.current=!0,Nt==null||Nt(Yt)},_t=Yt=>{Ut.current=!1,on==null||on(Yt)};return Ce.createElement(Fe.Z,Object.assign({ref:(0,ge.sQ)(ve,vt),onPressEnter:wt},Ht,{size:ue,onCompositionStart:En,onCompositionEnd:_t,prefixCls:Ie,addonAfter:Pt,suffix:Qe,onChange:ye,className:jt,disabled:ut}))}),ze=te(1643);const Te=Fe.Z;Te.Group=be,Te.Search=De,Te.TextArea=ze.Z,Te.Password=et;var xt=Te},9937:function(tn,kt,te){"use strict";te.d(kt,{M1:function(){return fe},TM:function(){return Oe},Xy:function(){return be},bi:function(){return rt},e5:function(){return Ke},ik:function(){return Ae},nz:function(){return xe},pU:function(){return Ee},s7:function(){return ge},x0:function(){return He}});var ee=te(17313),de=te(74207),Ce=te(37613),We=te(83116);const xe=_e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:_e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Ee=_e=>({borderColor:_e.hoverBorderColor}),fe=_e=>({borderColor:_e.activeBorderColor,boxShadow:_e.activeShadow,outline:0}),be=_e=>({color:_e.colorTextDisabled,backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},Ee((0,Ce.TS)(_e,{hoverBorderColor:_e.colorBorder})))}),Fe=_e=>{const{paddingBlockLG:me,fontSizeLG:Re,lineHeightLG:Le,borderRadiusLG:Pe,paddingInlineLG:De}=_e;return{padding:`${me}px ${De}px`,fontSize:Re,lineHeight:Le,borderRadius:Pe}},He=_e=>({padding:`${_e.paddingBlockSM}px ${_e.paddingInlineSM}px`,borderRadius:_e.borderRadiusSM}),rt=(_e,me)=>{const{componentCls:Re,colorError:Le,colorWarning:Pe,errorActiveShadow:De,warningActiveShadow:ze,colorErrorBorderHover:Te,colorWarningBorderHover:xt}=_e;return{[`&-status-error:not(${me}-disabled):not(${me}-borderless)${me}`]:{borderColor:Le,"&:hover":{borderColor:Te},"&:focus, &-focused":Object.assign({},fe((0,Ce.TS)(_e,{activeBorderColor:Le,activeShadow:De}))),[`${Re}-prefix, ${Re}-suffix`]:{color:Le}},[`&-status-warning:not(${me}-disabled):not(${me}-borderless)${me}`]:{borderColor:Pe,"&:hover":{borderColor:xt},"&:focus, &-focused":Object.assign({},fe((0,Ce.TS)(_e,{activeBorderColor:Pe,activeShadow:ze}))),[`${Re}-prefix, ${Re}-suffix`]:{color:Pe}}}},Ae=_e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${_e.paddingBlock}px ${_e.paddingInline}px`,color:_e.colorText,fontSize:_e.fontSize,lineHeight:_e.lineHeight,backgroundColor:_e.colorBgContainer,backgroundImage:"none",borderWidth:_e.lineWidth,borderStyle:_e.lineType,borderColor:_e.colorBorder,borderRadius:_e.borderRadius,transition:`all ${_e.motionDurationMid}`},xe(_e.colorTextPlaceholder)),{"&:hover":Object.assign({},Ee(_e)),"&:focus, &-focused":Object.assign({},fe(_e)),"&-disabled, &[disabled]":Object.assign({},be(_e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:_e.controlHeight,lineHeight:_e.lineHeight,verticalAlign:"bottom",transition:`all ${_e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Fe(_e)),"&-sm":Object.assign({},He(_e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),ge=_e=>{const{componentCls:me,antCls:Re}=_e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:_e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${me}, &-lg > ${me}-group-addon`]:Object.assign({},Fe(_e)),[`&-sm ${me}, &-sm > ${me}-group-addon`]:Object.assign({},He(_e)),[`&-lg ${Re}-select-single ${Re}-select-selector`]:{height:_e.controlHeightLG},[`&-sm ${Re}-select-single ${Re}-select-selector`]:{height:_e.controlHeightSM},[`> ${me}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${me}-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 ${_e.paddingInline}px`,color:_e.colorText,fontWeight:"normal",fontSize:_e.fontSize,textAlign:"center",backgroundColor:_e.colorFillAlter,border:`${_e.lineWidth}px ${_e.lineType} ${_e.colorBorder}`,borderRadius:_e.borderRadius,transition:`all ${_e.motionDurationSlow}`,lineHeight:1,[`${Re}-select`]:{margin:`-${_e.paddingBlock+1}px -${_e.paddingInline}px`,[`&${Re}-select-single:not(${Re}-select-customize-input)`]:{[`${Re}-select-selector`]:{backgroundColor:"inherit",border:`${_e.lineWidth}px ${_e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${Re}-select-selector`]:{color:_e.colorPrimary}}},[`${Re}-cascader-picker`]:{margin:`-9px -${_e.paddingInline}px`,backgroundColor:"transparent",[`${Re}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${me}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${me}-search-with-button &`]:{zIndex:0}}},[`> ${me}:first-child, ${me}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Re}-select ${Re}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${me}-affix-wrapper`]:{[`&:not(:first-child) ${me}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${me}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${me}:last-child, ${me}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Re}-select ${Re}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${me}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${me}-search &`]:{borderStartStartRadius:_e.borderRadius,borderEndStartRadius:_e.borderRadius}},[`&:not(:first-child), ${me}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${me}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ee.dF)()),{[`${me}-group-addon, ${me}-group-wrap, > ${me}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:_e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${me}-affix-wrapper,
|
|
|
& > ${me}-number-affix-wrapper,
|
|
|
& > ${Re}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-_e.lineWidth,borderInlineEndWidth:_e.lineWidth},[`${me}`]:{float:"none"},[`& > ${Re}-select > ${Re}-select-selector,
|
|
|
& > ${Re}-select-auto-complete ${me},
|
|
|
& > ${Re}-cascader-picker ${me},
|
|
|
& > ${me}-group-wrapper ${me}`]:{borderInlineEndWidth:_e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${Re}-select-focused`]:{zIndex:1},[`& > ${Re}-select > ${Re}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${Re}-select:first-child > ${Re}-select-selector,
|
|
|
& > ${Re}-select-auto-complete:first-child ${me},
|
|
|
& > ${Re}-cascader-picker:first-child ${me}`]:{borderStartStartRadius:_e.borderRadius,borderEndStartRadius:_e.borderRadius},[`& > *:last-child,
|
|
|
& > ${Re}-select:last-child > ${Re}-select-selector,
|
|
|
& > ${Re}-cascader-picker:last-child ${me},
|
|
|
& > ${Re}-cascader-picker-focused:last-child ${me}`]:{borderInlineEndWidth:_e.lineWidth,borderStartEndRadius:_e.borderRadius,borderEndEndRadius:_e.borderRadius},[`& > ${Re}-select-auto-complete ${me}`]:{verticalAlign:"top"},[`${me}-group-wrapper + ${me}-group-wrapper`]:{marginInlineStart:-_e.lineWidth,[`${me}-affix-wrapper`]:{borderRadius:0}},[`${me}-group-wrapper:not(:last-child)`]:{[`&${me}-search > ${me}-group`]:{[`& > ${me}-group-addon > ${me}-search-button`]:{borderRadius:0},[`& > ${me}`]:{borderStartStartRadius:_e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:_e.borderRadius}}}})}},we=_e=>{const{componentCls:me,controlHeightSM:Re,lineWidth:Le}=_e,De=(Re-Le*2-16)/2;return{[me]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ee.Wf)(_e)),Ae(_e)),rt(_e,me)),{'&[type="color"]':{height:_e.controlHeight,[`&${me}-lg`]:{height:_e.controlHeightLG},[`&${me}-sm`]:{height:Re,paddingTop:De,paddingBottom:De}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Se=_e=>{const{componentCls:me}=_e;return{[`${me}-clear-icon`]:{margin:0,color:_e.colorTextQuaternary,fontSize:_e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${_e.motionDurationSlow}`,"&:hover":{color:_e.colorTextTertiary},"&:active":{color:_e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${_e.inputAffixPadding}px`}}}},Ne=_e=>{const{componentCls:me,inputAffixPadding:Re,colorTextDescription:Le,motionDurationSlow:Pe,colorIcon:De,colorIconHover:ze,iconCls:Te}=_e;return{[`${me}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ae(_e)),{display:"inline-flex",[`&:not(${me}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},Ee(_e)),{zIndex:1,[`${me}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${me}[disabled]`]:{background:"transparent"}},[`> input${me}`]:{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"'},[`${me}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:_e.paddingXS}},"&-show-count-suffix":{color:Le},"&-show-count-has-suffix":{marginInlineEnd:_e.paddingXXS},"&-prefix":{marginInlineEnd:Re},"&-suffix":{marginInlineStart:Re}}}),Se(_e)),{[`${Te}${me}-password-icon`]:{color:De,cursor:"pointer",transition:`all ${Pe}`,"&:hover":{color:ze}}}),rt(_e,`${me}-affix-wrapper`))}},ke=_e=>{const{componentCls:me,colorError:Re,colorWarning:Le,borderRadiusLG:Pe,borderRadiusSM:De}=_e;return{[`${me}-group`]:Object.assign(Object.assign(Object.assign({},(0,ee.Wf)(_e)),ge(_e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${me}-group-addon`]:{borderRadius:Pe,fontSize:_e.fontSizeLG}},"&-sm":{[`${me}-group-addon`]:{borderRadius:De}},"&-status-error":{[`${me}-group-addon`]:{color:Re,borderColor:Re}},"&-status-warning":{[`${me}-group-addon`]:{color:Le,borderColor:Le}},"&-disabled":{[`${me}-group-addon`]:Object.assign({},be(_e))},[`&:not(${me}-compact-first-item):not(${me}-compact-last-item)${me}-compact-item`]:{[`${me}, ${me}-group-addon`]:{borderRadius:0}},[`&:not(${me}-compact-last-item)${me}-compact-first-item`]:{[`${me}, ${me}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${me}-compact-first-item)${me}-compact-last-item`]:{[`${me}, ${me}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Ye=_e=>{const{componentCls:me,antCls:Re}=_e,Le=`${me}-search`;return{[Le]:{[`${me}`]:{"&:hover, &:focus":{borderColor:_e.colorPrimaryHover,[`+ ${me}-group-addon ${Le}-button:not(${Re}-btn-primary)`]:{borderInlineStartColor:_e.colorPrimaryHover}}},[`${me}-affix-wrapper`]:{borderRadius:0},[`${me}-lg`]:{lineHeight:_e.lineHeightLG-2e-4},[`> ${me}-group`]:{[`> ${me}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Le}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:_e.borderRadius,borderEndEndRadius:_e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${Le}-button:not(${Re}-btn-primary)`]:{color:_e.colorTextDescription,"&:hover":{color:_e.colorPrimaryHover},"&:active":{color:_e.colorPrimaryActive},[`&${Re}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Le}-button`]:{height:_e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Le}-button`]:{height:_e.controlHeightLG},[`&-small ${Le}-button`]:{height:_e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${me}-compact-item`]:{[`&:not(${me}-compact-last-item)`]:{[`${me}-group-addon`]:{[`${me}-search-button`]:{marginInlineEnd:-_e.lineWidth,borderRadius:0}}},[`&:not(${me}-compact-first-item)`]:{[`${me},${me}-affix-wrapper`]:{borderRadius:0}},[`> ${me}-group-addon ${me}-search-button,
|
|
|
> ${me},
|
|
|
${me}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${me}-affix-wrapper-focused`]:{zIndex:2}}}}},et=_e=>{const{componentCls:me,paddingLG:Re}=_e,Le=`${me}-textarea`;return{[Le]:{position:"relative","&-show-count":{[`> ${me}`]:{height:"100%"},[`${me}-data-count`]:{position:"absolute",bottom:-_e.fontSize*_e.lineHeight,insetInlineEnd:0,color:_e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${me}`]:{paddingInlineEnd:Re}},[`&-affix-wrapper${Le}-has-feedback`]:{[`${me}`]:{paddingInlineEnd:Re}},[`&-affix-wrapper${me}-affix-wrapper`]:{padding:0,[`> textarea${me}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${me}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${me}-clear-icon`]:{position:"absolute",insetInlineEnd:_e.paddingXS,insetBlockStart:_e.paddingXS},[`${Le}-suffix`]:{position:"absolute",top:0,insetInlineEnd:_e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function Ke(_e){return(0,Ce.TS)(_e,{inputAffixPadding:_e.paddingXXS})}const Oe=_e=>{const{controlHeight:me,fontSize:Re,lineHeight:Le,lineWidth:Pe,controlHeightSM:De,controlHeightLG:ze,fontSizeLG:Te,lineHeightLG:xt,paddingSM:Ze,controlPaddingHorizontalSM:vt,controlPaddingHorizontal:ot,colorFillAlter:mt,colorPrimaryHover:Lt,controlOutlineWidth:It,controlOutline:Qe,colorErrorOutline:Me,colorWarningOutline:st}=_e;return{paddingBlock:Math.max(Math.round((me-Re*Le)/2*10)/10-Pe,3),paddingBlockSM:Math.max(Math.round((De-Re*Le)/2*10)/10-Pe,0),paddingBlockLG:Math.ceil((ze-Te*xt)/2*10)/10-Pe,paddingInline:Ze-Pe,paddingInlineSM:vt-Pe,paddingInlineLG:ot-Pe,addonBg:mt,activeBorderColor:Lt,hoverBorderColor:Lt,activeShadow:`0 0 0 ${It}px ${Qe}`,errorActiveShadow:`0 0 0 ${It}px ${Me}`,warningActiveShadow:`0 0 0 ${It}px ${st}`}};kt.ZP=(0,We.Z)("Input",_e=>{const me=(0,Ce.TS)(_e,Ke(_e));return[we(me),et(me),Ne(me),ke(me),Ye(me),(0,de.c)(me)]},Oe)},45818:function(tn,kt,te){"use strict";te.d(kt,{D:function(){return Ke},Z:function(){return me}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(Le,Pe){return de.createElement(xe.Z,(0,ee.Z)({},Le,{ref:Pe,icon:We}))},fe=de.forwardRef(Ee),be=fe,Fe=te(33853),He=te(38819),rt=te(92310),Ae=te.n(rt),ge=te(2738),Se=Re=>!isNaN(parseFloat(Re))&&isFinite(Re),Ne=te(36355),ke=te(84966),Ye=function(Re,Le){var Pe={};for(var De in Re)Object.prototype.hasOwnProperty.call(Re,De)&&Le.indexOf(De)<0&&(Pe[De]=Re[De]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,De=Object.getOwnPropertySymbols(Re);ze<De.length;ze++)Le.indexOf(De[ze])<0&&Object.prototype.propertyIsEnumerable.call(Re,De[ze])&&(Pe[De[ze]]=Re[De[ze]]);return Pe};const et={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ke=de.createContext({}),Oe=(()=>{let Re=0;return function(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Re+=1,`${Le}${Re}`}})();var me=de.forwardRef((Re,Le)=>{const{prefixCls:Pe,className:De,trigger:ze,children:Te,defaultCollapsed:xt=!1,theme:Ze="dark",style:vt={},collapsible:ot=!1,reverseArrow:mt=!1,width:Lt=200,collapsedWidth:It=80,zeroWidthTriggerStyle:Qe,breakpoint:Me,onCollapse:st,onBreakpoint:zt}=Re,ut=Ye(Re,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:tt}=(0,de.useContext)(ke.Gs),[at,Nt]=(0,de.useState)("collapsed"in Re?Re.collapsed:xt),[on,Ht]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in Re&&Nt(Re.collapsed)},[Re.collapsed]);const Fn=(ue,ve)=>{"collapsed"in Re||Nt(ue),st==null||st(ue,ve)},Qt=(0,de.useRef)();Qt.current=ue=>{Ht(ue.matches),zt==null||zt(ue.matches),at!==ue.matches&&Fn(ue.matches,"responsive")},(0,de.useEffect)(()=>{function ue(ye){return Qt.current(ye)}let ve;if(typeof window!="undefined"){const{matchMedia:ye}=window;if(ye&&Me&&Me in et){ve=ye(`(max-width: ${et[Me]})`);try{ve.addEventListener("change",ue)}catch(se){ve.addListener(ue)}ue(ve)}}return()=>{try{ve==null||ve.removeEventListener("change",ue)}catch(ye){ve==null||ve.removeListener(ue)}}},[Me]),(0,de.useEffect)(()=>{const ue=Oe("ant-sider-");return tt.addSider(ue),()=>tt.removeSider(ue)},[]);const Ut=()=>{Fn(!at,"clickTrigger")},{getPrefixCls:Wt}=(0,de.useContext)(Ne.E_),Ie=()=>{const ue=Wt("layout-sider",Pe),ve=(0,ge.Z)(ut,["collapsed"]),ye=at?It:Lt,se=Se(ye)?`${ye}px`:String(ye),$e=parseFloat(String(It||0))===0?de.createElement("span",{onClick:Ut,className:Ae()(`${ue}-zero-width-trigger`,`${ue}-zero-width-trigger-${mt?"right":"left"}`),style:Qe},ze||de.createElement(be,null)):null,Je={expanded:mt?de.createElement(He.Z,null):de.createElement(Fe.Z,null),collapsed:mt?de.createElement(Fe.Z,null):de.createElement(He.Z,null)}[at?"collapsed":"expanded"],Pt=ze!==null?$e||de.createElement("div",{className:`${ue}-trigger`,onClick:Ut,style:{width:se}},ze||Je):null,Dt=Object.assign(Object.assign({},vt),{flex:`0 0 ${se}`,maxWidth:se,minWidth:se,width:se}),yt=Ae()(ue,`${ue}-${Ze}`,{[`${ue}-collapsed`]:!!at,[`${ue}-has-trigger`]:ot&&ze!==null&&!$e,[`${ue}-below`]:!!on,[`${ue}-zero-width`]:parseFloat(se)===0},De);return de.createElement("aside",Object.assign({className:yt},ve,{style:Dt,ref:Le}),de.createElement("div",{className:`${ue}-children`},Te),ot||on&&$e?Pt:null)},he=de.useMemo(()=>({siderCollapsed:at}),[at]);return de.createElement(Ke.Provider,{value:he},Ie())})},84966:function(tn,kt,te){"use strict";te.d(kt,{VY:function(){return Ke},$_:function(){return et},h4:function(){return Ye},Gs:function(){return ge},ZP:function(){return Oe}});var ee=te(77654),de=te(92310),Ce=te.n(de),We=te(2738),xe=te(59301),Ee=te(36355),fe=te(83116),Fe=_e=>{const{componentCls:me,bodyBg:Re,lightSiderBg:Le,lightTriggerBg:Pe,lightTriggerColor:De}=_e;return{[`${me}-sider-light`]:{background:Le,[`${me}-sider-trigger`]:{color:De,background:Pe},[`${me}-sider-zero-width-trigger`]:{color:De,background:Pe,border:`1px solid ${Re}`,borderInlineStart:0}}}};const He=_e=>{const{antCls:me,componentCls:Re,colorText:Le,triggerColor:Pe,footerBg:De,triggerBg:ze,headerHeight:Te,headerPadding:xt,headerColor:Ze,footerPadding:vt,triggerHeight:ot,zeroTriggerHeight:mt,zeroTriggerWidth:Lt,motionDurationMid:It,motionDurationSlow:Qe,fontSize:Me,borderRadius:st,bodyBg:zt,headerBg:ut,siderBg:tt}=_e;return{[Re]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:zt,"&, *":{boxSizing:"border-box"},[`&${Re}-has-sider`]:{flexDirection:"row",[`> ${Re}, > ${Re}-content`]:{width:0}},[`${Re}-header, &${Re}-footer`]:{flex:"0 0 auto"},[`${Re}-sider`]:{position:"relative",minWidth:0,background:tt,transition:`all ${It}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${me}-menu${me}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ot},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ot,color:Pe,lineHeight:`${ot}px`,textAlign:"center",background:ze,cursor:"pointer",transition:`all ${It}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-Lt,zIndex:1,width:Lt,height:mt,color:Pe,fontSize:_e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:tt,borderStartStartRadius:0,borderStartEndRadius:st,borderEndEndRadius:st,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Lt,borderStartStartRadius:st,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:st}}}}},Fe(_e)),{"&-rtl":{direction:"rtl"}}),[`${Re}-header`]:{height:Te,padding:xt,color:Ze,lineHeight:`${Te}px`,background:ut,[`${me}-menu`]:{lineHeight:"inherit"}},[`${Re}-footer`]:{padding:vt,color:Le,fontSize:Me,background:De},[`${Re}-content`]:{flex:"auto",minHeight:0}}};var rt=(0,fe.Z)("Layout",_e=>[He(_e)],_e=>{const{colorBgLayout:me,controlHeight:Re,controlHeightLG:Le,colorText:Pe,controlHeightSM:De,marginXXS:ze,colorTextLightSolid:Te,colorBgContainer:xt}=_e,Ze=Le*1.25;return{colorBgHeader:"#001529",colorBgBody:me,colorBgTrigger:"#002140",bodyBg:me,headerBg:"#001529",headerHeight:Re*2,headerPadding:`0 ${Ze}px`,headerColor:Pe,footerPadding:`${De}px ${Ze}px`,footerBg:me,siderBg:"#001529",triggerHeight:Le+ze*2,triggerBg:"#002140",triggerColor:Te,zeroTriggerWidth:Le,zeroTriggerHeight:Le,lightSiderBg:xt,lightTriggerBg:xt,lightTriggerColor:Pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ae=function(_e,me){var Re={};for(var Le in _e)Object.prototype.hasOwnProperty.call(_e,Le)&&me.indexOf(Le)<0&&(Re[Le]=_e[Le]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Le=Object.getOwnPropertySymbols(_e);Pe<Le.length;Pe++)me.indexOf(Le[Pe])<0&&Object.prototype.propertyIsEnumerable.call(_e,Le[Pe])&&(Re[Le[Pe]]=_e[Le[Pe]]);return Re};const ge=xe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function we(_e){let{suffixCls:me,tagName:Re,displayName:Le}=_e;return Pe=>xe.forwardRef((ze,Te)=>xe.createElement(Pe,Object.assign({ref:Te,suffixCls:me,tagName:Re},ze)))}const Se=xe.forwardRef((_e,me)=>{const{prefixCls:Re,suffixCls:Le,className:Pe,tagName:De}=_e,ze=Ae(_e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=xe.useContext(Ee.E_),xt=Te("layout",Re),[Ze,vt]=rt(xt),ot=Le?`${xt}-${Le}`:xt;return Ze(xe.createElement(De,Object.assign({className:Ce()(Re||ot,Pe,vt),ref:me},ze)))}),Ne=xe.forwardRef((_e,me)=>{const{direction:Re}=xe.useContext(Ee.E_),[Le,Pe]=xe.useState([]),{prefixCls:De,className:ze,rootClassName:Te,children:xt,hasSider:Ze,tagName:vt,style:ot}=_e,mt=Ae(_e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Lt=(0,We.Z)(mt,["suffixCls"]),{getPrefixCls:It,layout:Qe}=xe.useContext(Ee.E_),Me=It("layout",De),[st,zt]=rt(Me),ut=Ce()(Me,{[`${Me}-has-sider`]:typeof Ze=="boolean"?Ze:Le.length>0,[`${Me}-rtl`]:Re==="rtl"},Qe==null?void 0:Qe.className,ze,Te,zt),tt=xe.useMemo(()=>({siderHook:{addSider:at=>{Pe(Nt=>[].concat((0,ee.Z)(Nt),[at]))},removeSider:at=>{Pe(Nt=>Nt.filter(on=>on!==at))}}}),[]);return st(xe.createElement(ge.Provider,{value:tt},xe.createElement(vt,Object.assign({ref:me,className:ut,style:Object.assign(Object.assign({},Qe==null?void 0:Qe.style),ot)},Lt),xt)))}),ke=we({tagName:"div",displayName:"Layout"})(Ne),Ye=we({suffixCls:"header",tagName:"header",displayName:"Header"})(Se),et=we({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Se),Ke=we({suffixCls:"content",tagName:"main",displayName:"Content"})(Se);var Oe=ke},40875:function(tn,kt,te){"use strict";te.d(kt,{J:function(){return Ee}});var ee=te(59301),de=te(33234),Ce=te(70425),We=function(fe,be){var Fe={};for(var He in fe)Object.prototype.hasOwnProperty.call(fe,He)&&be.indexOf(He)<0&&(Fe[He]=fe[He]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,He=Object.getOwnPropertySymbols(fe);rt<He.length;rt++)be.indexOf(He[rt])<0&&Object.prototype.propertyIsEnumerable.call(fe,He[rt])&&(Fe[He[rt]]=fe[He[rt]]);return Fe};const xe=ee.createContext(null),Ee=ee.forwardRef((fe,be)=>{const{children:Fe}=fe,He=We(fe,["children"]),rt=ee.useContext(xe),Ae=ee.useMemo(()=>Object.assign(Object.assign({},rt),He),[rt,He.prefixCls,He.mode,He.selectable]);return ee.createElement(xe.Provider,{value:Ae},ee.createElement(de.BR,null,(0,Ce.supportNodeRef)(Fe)?ee.cloneElement(Fe,{ref:be}):Fe))});kt.Z=xe},20834:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return he}});var ee=te(15285),de=te(59301),Ce=te(45818),We=te(92310),xe=te.n(We),Ee=te(36355),fe=function(ue,ve){var ye={};for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&ve.indexOf(se)<0&&(ye[se]=ue[se]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,se=Object.getOwnPropertySymbols(ue);$e<se.length;$e++)ve.indexOf(se[$e])<0&&Object.prototype.propertyIsEnumerable.call(ue,se[$e])&&(ye[se[$e]]=ue[se[$e]]);return ye},Fe=ue=>{const{prefixCls:ve,className:ye,dashed:se}=ue,$e=fe(ue,["prefixCls","className","dashed"]),{getPrefixCls:wt}=de.useContext(Ee.E_),lt=wt("menu",ve),Je=xe()({[`${lt}-item-divider-dashed`]:!!se},ye);return de.createElement(ee.iz,Object.assign({className:Je},$e))},He=te(11592),rt=te(2738),Ae=te(6848),ge=te(92343),Se=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ke=ue=>{var ve;const{className:ye,children:se,icon:$e,title:wt,danger:lt}=ue,{prefixCls:Je,firstLevel:Pt,direction:Dt,disableMenuItemTitleTooltip:yt,inlineCollapsed:jt}=de.useContext(Se),En=Et=>{const an=de.createElement("span",{className:`${Je}-title-content`},se);return(!$e||(0,ge.l$)(se)&&se.type==="span")&&se&&Et&&Pt&&typeof se=="string"?de.createElement("div",{className:`${Je}-inline-collapsed-noicon`},se.charAt(0)):an},{siderCollapsed:_t}=de.useContext(Ce.D);let Yt=wt;typeof wt=="undefined"?Yt=Pt?se:"":wt===!1&&(Yt="");const wn={title:Yt};!_t&&!jt&&(wn.title=null,wn.open=!1);const Ft=(0,He.Z)(se).length;let it=de.createElement(ee.ck,Object.assign({},(0,rt.Z)(ue,["title","icon","danger"]),{className:xe()({[`${Je}-item-danger`]:lt,[`${Je}-item-only-child`]:($e?Ft+1:Ft)===1},ye),title:typeof wt=="string"?wt:void 0}),(0,ge.Tm)($e,{className:xe()((0,ge.l$)($e)?(ve=$e.props)===null||ve===void 0?void 0:ve.className:"",`${Je}-item-icon`)}),En(jt));return yt||(it=de.createElement(Ae.Z,Object.assign({},wn,{placement:Dt==="rtl"?"left":"right",overlayClassName:`${Je}-inline-collapsed-tooltip`}),it)),it},et=ue=>{var ve;const{popupClassName:ye,icon:se,title:$e,theme:wt}=ue,lt=de.useContext(Se),{prefixCls:Je,inlineCollapsed:Pt,theme:Dt}=lt,yt=(0,ee.Xl)();let jt;if(!se)jt=Pt&&!yt.length&&$e&&typeof $e=="string"?de.createElement("div",{className:`${Je}-inline-collapsed-noicon`},$e.charAt(0)):de.createElement("span",{className:`${Je}-title-content`},$e);else{const _t=(0,ge.l$)($e)&&$e.type==="span";jt=de.createElement(de.Fragment,null,(0,ge.Tm)(se,{className:xe()((0,ge.l$)(se)?(ve=se.props)===null||ve===void 0?void 0:ve.className:"",`${Je}-item-icon`)}),_t?$e:de.createElement("span",{className:`${Je}-title-content`},$e))}const En=de.useMemo(()=>Object.assign(Object.assign({},lt),{firstLevel:!1}),[lt]);return de.createElement(Se.Provider,{value:En},de.createElement(ee.Wd,Object.assign({},(0,rt.Z)(ue,["icon"]),{title:jt,popupClassName:xe()(Je,ye,`${Je}-${wt||Dt}`)})))},Ke=te(18785),Oe=te(70425),_e=te(62892),me=te(40875),Re=function(ue,ve){var ye={};for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&ve.indexOf(se)<0&&(ye[se]=ue[se]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,se=Object.getOwnPropertySymbols(ue);$e<se.length;$e++)ve.indexOf(se[$e])<0&&Object.prototype.propertyIsEnumerable.call(ue,se[$e])&&(ye[se[$e]]=ue[se[$e]]);return ye};function Le(ue){return(ue||[]).map((ve,ye)=>{if(ve&&typeof ve=="object"){const se=ve,{label:$e,children:wt,key:lt,type:Je}=se,Pt=Re(se,["label","children","key","type"]),Dt=lt!=null?lt:`tmp-${ye}`;return wt||Je==="group"?Je==="group"?de.createElement(ee.BW,Object.assign({key:Dt},Pt,{title:$e}),Le(wt)):de.createElement(et,Object.assign({key:Dt},Pt,{title:$e}),Le(wt)):Je==="divider"?de.createElement(Fe,Object.assign({key:Dt},Pt)):de.createElement(ke,Object.assign({key:Dt},Pt),$e)}return null}).filter(ve=>ve)}function Pe(ue){return de.useMemo(()=>ue&&Le(ue),[ue])}var De=te(64993),ze=te(17313),Te=te(8378),xt=te(13826),Ze=te(29878),vt=te(83116),ot=te(37613),Lt=ue=>{const{componentCls:ve,motionDurationSlow:ye,horizontalLineHeight:se,colorSplit:$e,lineWidth:wt,lineType:lt,itemPaddingInline:Je}=ue;return{[`${ve}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${wt}px ${lt} ${$e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ve}-item, ${ve}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Je},[`> ${ve}-item:hover,
|
|
|
> ${ve}-item-active,
|
|
|
> ${ve}-submenu ${ve}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ve}-item, ${ve}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${ve}-submenu-arrow`]:{display:"none"}}}},Qe=ue=>{let{componentCls:ve,menuArrowOffset:ye}=ue;return{[`${ve}-rtl`]:{direction:"rtl"},[`${ve}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ve}-rtl${ve}-vertical,
|
|
|
${ve}-submenu-rtl ${ve}-vertical`]:{[`${ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ye})`},"&::after":{transform:`rotate(45deg) translateY(${ye})`}}}}};const Me=ue=>Object.assign({},(0,ze.oN)(ue));var zt=(ue,ve)=>{const{componentCls:ye,itemColor:se,itemSelectedColor:$e,groupTitleColor:wt,itemBg:lt,subMenuItemBg:Je,itemSelectedBg:Pt,activeBarHeight:Dt,activeBarWidth:yt,activeBarBorderWidth:jt,motionDurationSlow:En,motionEaseInOut:_t,motionEaseOut:Yt,itemPaddingInline:wn,motionDurationMid:Ft,itemHoverColor:it,lineType:Et,colorSplit:an,itemDisabledColor:un,dangerItemColor:vn,dangerItemHoverColor:gn,dangerItemSelectedColor:Xn,dangerItemActiveBg:ir,dangerItemSelectedBg:Dr,itemHoverBg:kr,itemActiveBg:Bn,menuSubMenuBg:jr,horizontalItemSelectedColor:ci,horizontalItemSelectedBg:_r,horizontalItemBorderRadius:Nr,horizontalItemHoverBg:ai,popupBg:pi}=ue;return{[`${ye}-${ve}, ${ye}-${ve} > ${ye}`]:{color:se,background:lt,[`&${ye}-root:focus-visible`]:Object.assign({},Me(ue)),[`${ye}-item-group-title`]:{color:wt},[`${ye}-submenu-selected`]:{[`> ${ye}-submenu-title`]:{color:$e}},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${un} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:it}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:kr},"&:active":{backgroundColor:Bn}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:kr},"&:active":{backgroundColor:Bn}}},[`${ye}-item-danger`]:{color:vn,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:gn}},[`&${ye}-item:active`]:{background:ir}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:$e,[`&${ye}-item-danger`]:{color:Xn},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:Pt,[`&${ye}-item-danger`]:{backgroundColor:Dr}},[`${ye}-item, ${ye}-submenu-title`]:{[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},Me(ue))},[`&${ye}-submenu > ${ye}`]:{backgroundColor:jr},[`&${ye}-popup > ${ye}`]:{backgroundColor:pi},[`&${ye}-horizontal`]:Object.assign(Object.assign({},ve==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:jt,marginTop:-jt,marginBottom:0,borderRadius:Nr,"&::after":{position:"absolute",insetInline:wn,bottom:0,borderBottom:`${Dt}px solid transparent`,transition:`border-color ${En} ${_t}`,content:'""'},"&:hover, &-active, &-open":{background:ai,"&::after":{borderBottomWidth:Dt,borderBottomColor:ci}},"&-selected":{color:ci,backgroundColor:_r,"&:hover":{backgroundColor:_r},"&::after":{borderBottomWidth:Dt,borderBottomColor:ci}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${jt}px ${Et} ${an}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:Je},[`${ye}-item, ${ye}-submenu-title`]:jt&&yt?{width:`calc(100% + ${jt}px)`}:{},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${yt}px solid ${$e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ft} ${Yt}`,`opacity ${Ft} ${Yt}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:Xn}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ft} ${_t}`,`opacity ${Ft} ${_t}`].join(",")}}}}}};const ut=ue=>{const{componentCls:ve,itemHeight:ye,itemMarginInline:se,padding:$e,menuArrowSize:wt,marginXS:lt,itemMarginBlock:Je}=ue,Pt=$e+wt+lt;return{[`${ve}-item`]:{position:"relative",overflow:"hidden"},[`${ve}-item, ${ve}-submenu-title`]:{height:ye,lineHeight:`${ye}px`,paddingInline:$e,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:Je,width:`calc(100% - ${se*2}px)`},[`> ${ve}-item,
|
|
|
> ${ve}-submenu > ${ve}-submenu-title`]:{height:ye,lineHeight:`${ye}px`},[`${ve}-item-group-list ${ve}-submenu-title,
|
|
|
${ve}-submenu-title`]:{paddingInlineEnd:Pt}}};var at=ue=>{const{componentCls:ve,iconCls:ye,itemHeight:se,colorTextLightSolid:$e,dropdownWidth:wt,controlHeightLG:lt,motionDurationMid:Je,motionEaseOut:Pt,paddingXL:Dt,itemMarginInline:yt,fontSizeLG:jt,motionDurationSlow:En,paddingXS:_t,boxShadowSecondary:Yt,collapsedWidth:wn,collapsedIconSize:Ft}=ue,it={height:se,lineHeight:`${se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ve]:{"&-inline, &-vertical":Object.assign({[`&${ve}-root`]:{boxShadow:"none"}},ut(ue))},[`${ve}-submenu-popup`]:{[`${ve}-vertical`]:Object.assign(Object.assign({},ut(ue)),{boxShadow:Yt})}},{[`${ve}-submenu-popup ${ve}-vertical${ve}-sub`]:{minWidth:wt,maxHeight:`calc(100vh - ${lt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ve}-inline`]:{width:"100%",[`&${ve}-root`]:{[`${ve}-item, ${ve}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${En}`,`background ${En}`,`padding ${Je} ${Pt}`].join(","),[`> ${ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ve}-sub${ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ve}-submenu > ${ve}-submenu-title`]:it,[`& ${ve}-item-group-title`]:{paddingInlineStart:Dt}},[`${ve}-item`]:it}},{[`${ve}-inline-collapsed`]:{width:wn,[`&${ve}-root`]:{[`${ve}-item, ${ve}-submenu ${ve}-submenu-title`]:{[`> ${ve}-inline-collapsed-noicon`]:{fontSize:jt,textAlign:"center"}}},[`> ${ve}-item,
|
|
|
> ${ve}-item-group > ${ve}-item-group-list > ${ve}-item,
|
|
|
> ${ve}-item-group > ${ve}-item-group-list > ${ve}-submenu > ${ve}-submenu-title,
|
|
|
> ${ve}-submenu > ${ve}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${jt/2}px - ${yt}px)`,textOverflow:"clip",[`
|
|
|
${ve}-submenu-arrow,
|
|
|
${ve}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${ve}-item-icon, ${ye}`]:{margin:0,fontSize:Ft,lineHeight:`${se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ve}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ve}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:$e}},[`${ve}-item-group-title`]:Object.assign(Object.assign({},ze.vS),{paddingInline:_t})}}]};const Nt=ue=>{const{componentCls:ve,motionDurationSlow:ye,motionDurationMid:se,motionEaseInOut:$e,motionEaseOut:wt,iconCls:lt,iconSize:Je,iconMarginInlineEnd:Pt}=ue;return{[`${ve}-item, ${ve}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding ${ye} ${$e}`].join(","),[`${ve}-item-icon, ${lt}`]:{minWidth:Je,fontSize:Je,transition:[`font-size ${se} ${wt}`,`margin ${ye} ${$e}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${ye} ${$e}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${ve}-item-icon`]:Object.assign({},(0,ze.Ro)()),[`&${ve}-item-only-child`]:{[`> ${lt}, > ${ve}-item-icon`]:{marginInlineEnd:0}}},[`${ve}-item-disabled, ${ve}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ve}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},on=ue=>{const{componentCls:ve,motionDurationSlow:ye,motionEaseInOut:se,borderRadius:$e,menuArrowSize:wt,menuArrowOffset:lt}=ue;return{[`${ve}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ue.margin,width:wt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${se}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:wt*.6,height:wt*.15,backgroundColor:"currentcolor",borderRadius:$e,transition:[`background ${ye} ${se}`,`transform ${ye} ${se}`,`top ${ye} ${se}`,`color ${ye} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${lt})`},"&::after":{transform:`rotate(-45deg) translateY(${lt})`}}}}},Ht=ue=>{const{antCls:ve,componentCls:ye,fontSize:se,motionDurationSlow:$e,motionDurationMid:wt,motionEaseInOut:lt,paddingXS:Je,padding:Pt,colorSplit:Dt,lineWidth:yt,zIndexPopup:jt,borderRadiusLG:En,subMenuItemBorderRadius:_t,menuArrowSize:Yt,menuArrowOffset:wn,lineType:Ft,menuPanelMaskInset:it,groupTitleLineHeight:Et,groupTitleFontSize:an}=ue;return[{"":{[`${ye}`]:Object.assign(Object.assign({},(0,ze.dF)()),{"&-hidden":{display:"none"}})},[`${ye}-submenu-hidden`]:{display:"none"}},{[ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(ue)),(0,ze.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${$e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ye}-item`]:{flex:"none"}},[`${ye}-item, ${ye}-submenu, ${ye}-submenu-title`]:{borderRadius:ue.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${Je}px ${Pt}px`,fontSize:an,lineHeight:Et,transition:`all ${$e}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${$e} ${lt}`,`background ${$e} ${lt}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${$e} ${lt}`,`background ${$e} ${lt}`,`padding ${wt} ${lt}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${$e} ${lt}`,`padding ${$e} ${lt}`].join(",")},[`${ye}-title-content`]:{transition:`color ${$e}`},[`${ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Dt,borderStyle:Ft,borderWidth:0,borderTopWidth:yt,marginBlock:yt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Nt(ue)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${se*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:jt,borderRadius:En,boxShadow:"none",transformOrigin:"0 0",[`&${ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${it}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:it},"\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},[`> ${ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:En},Nt(ue)),on(ue)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:_t},[`${ye}-submenu-title::after`]:{transition:`transform ${$e} ${lt}`}})}}),on(ue)),{[`&-inline-collapsed ${ye}-submenu-arrow,
|
|
|
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${wn})`},"&::after":{transform:`rotate(45deg) translateX(-${wn})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(-${Yt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${wn})`},"&::before":{transform:`rotate(45deg) translateX(${wn})`}}})},{[`${ve}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]};var Fn=(ue,ve)=>(0,vt.Z)("Menu",se=>{if(ve===!1)return[];const{colorBgElevated:$e,colorPrimary:wt,colorTextLightSolid:lt,controlHeightLG:Je,fontSize:Pt,darkItemColor:Dt,darkDangerItemColor:yt,darkItemBg:jt,darkSubMenuItemBg:En,darkItemSelectedColor:_t,darkItemSelectedBg:Yt,darkDangerItemSelectedBg:wn,darkItemHoverBg:Ft,darkGroupTitleColor:it,darkItemHoverColor:Et,darkItemDisabledColor:an,darkDangerItemHoverColor:un,darkDangerItemSelectedColor:vn,darkDangerItemActiveBg:gn}=se,Xn=Pt/7*5,ir=(0,ot.TS)(se,{menuArrowSize:Xn,menuHorizontalHeight:Je*1.15,menuArrowOffset:`${Xn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:$e}),Dr=(0,ot.TS)(ir,{itemColor:Dt,itemHoverColor:Et,groupTitleColor:it,itemSelectedColor:_t,itemBg:jt,popupBg:jt,subMenuItemBg:En,itemActiveBg:"transparent",itemSelectedBg:Yt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ft,itemDisabledColor:an,dangerItemColor:yt,dangerItemHoverColor:un,dangerItemSelectedColor:vn,dangerItemActiveBg:gn,dangerItemSelectedBg:wn,menuSubMenuBg:En,horizontalItemSelectedColor:lt,horizontalItemSelectedBg:wt});return[Ht(ir),Lt(ir),at(ir),zt(ir,"light"),zt(Dr,"dark"),Qe(ir),(0,Te.Z)(ir),(0,xt.oN)(ir,"slide-up"),(0,xt.oN)(ir,"slide-down"),(0,Ze._y)(ir,"zoom-big")]},se=>{const{colorPrimary:$e,colorError:wt,colorTextDisabled:lt,colorErrorBg:Je,colorText:Pt,colorTextDescription:Dt,colorBgContainer:yt,colorFillAlter:jt,colorFillContent:En,lineWidth:_t,lineWidthBold:Yt,controlItemBgActive:wn,colorBgTextHover:Ft,controlHeightLG:it,lineHeight:Et,colorBgElevated:an,marginXXS:un,padding:vn,fontSize:gn,controlHeightSM:Xn,fontSizeLG:ir,colorTextLightSolid:Dr,colorErrorHover:kr}=se,Bn=new De.C(Dr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:$e,horizontalItemHoverColor:$e,colorGroupTitle:Dt,groupTitleColor:Dt,colorItemTextSelected:$e,itemSelectedColor:$e,colorItemTextSelectedHorizontal:$e,horizontalItemSelectedColor:$e,colorItemBg:yt,itemBg:yt,colorItemBgHover:Ft,itemHoverBg:Ft,colorItemBgActive:En,itemActiveBg:wn,colorSubItemBg:jt,subMenuItemBg:jt,colorItemBgSelected:wn,itemSelectedBg:wn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Yt,activeBarHeight:Yt,colorActiveBarBorderSize:_t,activeBarBorderWidth:_t,colorItemTextDisabled:lt,itemDisabledColor:lt,colorDangerItemText:wt,dangerItemColor:wt,colorDangerItemTextHover:wt,dangerItemHoverColor:wt,colorDangerItemTextSelected:wt,dangerItemSelectedColor:wt,colorDangerItemBgActive:Je,dangerItemActiveBg:Je,colorDangerItemBgSelected:Je,dangerItemSelectedBg:Je,itemMarginInline:se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:it,groupTitleLineHeight:Et,collapsedWidth:it*2,popupBg:an,itemMarginBlock:un,itemPaddingInline:vn,horizontalLineHeight:`${it*1.15}px`,iconSize:gn,iconMarginInlineEnd:Xn-gn,collapsedIconSize:ir,groupTitleFontSize:gn,darkItemDisabledColor:new De.C(Dr).setAlpha(.25).toRgbString(),darkItemColor:Bn,darkDangerItemColor:wt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Dr,darkItemSelectedBg:$e,darkDangerItemSelectedBg:wt,darkItemHoverBg:"transparent",darkGroupTitleColor:Bn,darkItemHoverColor:Dr,darkDangerItemHoverColor:kr,darkDangerItemSelectedColor:Dr,darkDangerItemActiveBg:wt}},{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),Qt=function(ue,ve){var ye={};for(var se in ue)Object.prototype.hasOwnProperty.call(ue,se)&&ve.indexOf(se)<0&&(ye[se]=ue[se]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,se=Object.getOwnPropertySymbols(ue);$e<se.length;$e++)ve.indexOf(se[$e])<0&&Object.prototype.propertyIsEnumerable.call(ue,se[$e])&&(ye[se[$e]]=ue[se[$e]]);return ye},Wt=(0,de.forwardRef)((ue,ve)=>{var ye,se;const $e=de.useContext(me.Z),wt=$e||{},{getPrefixCls:lt,getPopupContainer:Je,direction:Pt,menu:Dt}=de.useContext(Ee.E_),yt=lt(),{prefixCls:jt,className:En,style:_t,theme:Yt="light",expandIcon:wn,_internalDisableMenuItemTitleTooltip:Ft,inlineCollapsed:it,siderCollapsed:Et,items:an,children:un,rootClassName:vn,mode:gn,selectable:Xn,onClick:ir,overflowedIndicatorPopupClassName:Dr}=ue,kr=Qt(ue,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Bn=(0,rt.Z)(kr,["collapsedWidth"]),jr=Pe(an)||un;(ye=wt.validator)===null||ye===void 0||ye.call(wt,{mode:gn});const ci=(0,Oe.useEvent)(function(){var Hr;ir==null||ir.apply(void 0,arguments),(Hr=wt.onClick)===null||Hr===void 0||Hr.call(wt)}),_r=wt.mode||gn,Nr=Xn!=null?Xn:wt.selectable,ai=de.useMemo(()=>Et!==void 0?Et:it,[it,Et]),pi={horizontal:{motionName:`${yt}-slide-up`},inline:(0,_e.Z)(yt),other:{motionName:`${yt}-zoom-big`}},Mn=lt("menu",jt||wt.prefixCls),[pr,Rr]=Fn(Mn,!$e),Gr=xe()(`${Mn}-${Yt}`,Dt==null?void 0:Dt.className,En);let zr;if(typeof wn=="function")zr=wn;else if(wn===null||wn===!1)zr=null;else if(wt.expandIcon===null||wt.expandIcon===!1)zr=null;else{const Hr=wn!=null?wn:wt.expandIcon;zr=(0,ge.Tm)(Hr,{className:xe()(`${Mn}-submenu-expand-icon`,(0,ge.l$)(Hr)?(se=Hr.props)===null||se===void 0?void 0:se.className:"")})}const ei=de.useMemo(()=>({prefixCls:Mn,inlineCollapsed:ai||!1,direction:Pt,firstLevel:!0,theme:Yt,mode:_r,disableMenuItemTitleTooltip:Ft}),[Mn,ai,Pt,Ft,Yt]);return pr(de.createElement(me.Z.Provider,{value:null},de.createElement(Se.Provider,{value:ei},de.createElement(ee.ZP,Object.assign({getPopupContainer:Je,overflowedIndicator:de.createElement(Ke.Z,null),overflowedIndicatorPopupClassName:xe()(Mn,`${Mn}-${Yt}`,Dr),mode:_r,selectable:Nr,onClick:ci},Bn,{inlineCollapsed:ai,style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),_t),className:Gr,prefixCls:Mn,direction:Pt,defaultMotions:pi,expandIcon:zr,ref:ve,rootClassName:xe()(vn,Rr)}),jr))))});const Ie=(0,de.forwardRef)((ue,ve)=>{const ye=(0,de.useRef)(null),se=de.useContext(Ce.D);return(0,de.useImperativeHandle)(ve,()=>({menu:ye.current,focus:$e=>{var wt;(wt=ye.current)===null||wt===void 0||wt.focus($e)}})),de.createElement(Wt,Object.assign({ref:ye},ue,se))});Ie.Item=ke,Ie.SubMenu=et,Ie.Divider=Fe,Ie.ItemGroup=ee.BW;var he=Ie},58421:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return wt}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},We=Ce,xe=te(7657),Ee=function(Je,Pt){return de.createElement(xe.Z,(0,ee.Z)({},Je,{ref:Pt,icon:We}))},fe=de.forwardRef(Ee),be=fe,Fe=te(49198),He=te(33853),rt=te(38819),Ae=te(92310),ge=te.n(Ae),we=te(18642),Se=te(85899),Ne=te(38705),ke=te(17212),Ye=te(39153),et=te(55401),Ke=te(26112),Oe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},_e=Oe,me=te(91735),Re=function(lt){(0,Ye.Z)(Pt,lt);var Je=(0,et.Z)(Pt);function Pt(){var Dt;(0,Ne.Z)(this,Pt);for(var yt=arguments.length,jt=new Array(yt),En=0;En<yt;En++)jt[En]=arguments[En];return Dt=Je.call.apply(Je,[this].concat(jt)),Dt.state={goInputText:""},Dt.getValidValue=function(){var _t=Dt.state.goInputText;return!_t||Number.isNaN(_t)?void 0:Number(_t)},Dt.buildOptionText=function(_t){return"".concat(_t," ").concat(Dt.props.locale.items_per_page)},Dt.changeSize=function(_t){Dt.props.changeSize(Number(_t))},Dt.handleChange=function(_t){Dt.setState({goInputText:_t.target.value})},Dt.handleBlur=function(_t){var Yt=Dt.props,wn=Yt.goButton,Ft=Yt.quickGo,it=Yt.rootPrefixCls,Et=Dt.state.goInputText;wn||Et===""||(Dt.setState({goInputText:""}),!(_t.relatedTarget&&(_t.relatedTarget.className.indexOf("".concat(it,"-item-link"))>=0||_t.relatedTarget.className.indexOf("".concat(it,"-item"))>=0))&&Ft(Dt.getValidValue()))},Dt.go=function(_t){var Yt=Dt.state.goInputText;Yt!==""&&(_t.keyCode===_e.ENTER||_t.type==="click")&&(Dt.setState({goInputText:""}),Dt.props.quickGo(Dt.getValidValue()))},Dt}return(0,ke.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var yt=this.props,jt=yt.pageSize,En=yt.pageSizeOptions;return En.some(function(_t){return _t.toString()===jt.toString()})?En:En.concat([jt.toString()]).sort(function(_t,Yt){var wn=Number.isNaN(Number(_t))?0:Number(_t),Ft=Number.isNaN(Number(Yt))?0:Number(Yt);return wn-Ft})}},{key:"render",value:function(){var yt=this,jt=this.props,En=jt.pageSize,_t=jt.locale,Yt=jt.rootPrefixCls,wn=jt.changeSize,Ft=jt.quickGo,it=jt.goButton,Et=jt.selectComponentClass,an=jt.buildOptionText,un=jt.selectPrefixCls,vn=jt.disabled,gn=this.state.goInputText,Xn="".concat(Yt,"-options"),ir=Et,Dr=null,kr=null,Bn=null;if(!wn&&!Ft)return null;var jr=this.getPageSizeOptions();if(wn&&ir){var ci=jr.map(function(_r,Nr){return de.createElement(ir.Option,{key:Nr,value:_r.toString()},(an||yt.buildOptionText)(_r))});Dr=de.createElement(ir,{disabled:vn,prefixCls:un,showSearch:!1,className:"".concat(Xn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(En||jr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Nr){return Nr.parentNode},"aria-label":_t.page_size,defaultOpen:!1},ci)}return Ft&&(it&&(Bn=typeof it=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:vn,className:"".concat(Xn,"-quick-jumper-button")},_t.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},it)),kr=de.createElement("div",{className:"".concat(Xn,"-quick-jumper")},_t.jump_to,de.createElement("input",{disabled:vn,type:"text",value:gn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":_t.page}),_t.page,Bn)),de.createElement("li",{className:"".concat(Xn)},Dr,kr)}}]),Pt}(de.Component);Re.defaultProps={pageSizeOptions:["10","20","50","100"]};var Le=Re,Pe=function(Je){var Pt,Dt=Je.rootPrefixCls,yt=Je.page,jt=Je.active,En=Je.className,_t=Je.showTitle,Yt=Je.onClick,wn=Je.onKeyPress,Ft=Je.itemRender,it="".concat(Dt,"-item"),Et=ge()(it,"".concat(it,"-").concat(yt),(Pt={},(0,we.Z)(Pt,"".concat(it,"-active"),jt),(0,we.Z)(Pt,"".concat(it,"-disabled"),!yt),(0,we.Z)(Pt,Je.className,En),Pt)),an=function(){Yt(yt)},un=function(Xn){wn(Xn,Yt,yt)},vn=Ft(yt,"page",de.createElement("a",{rel:"nofollow"},yt));return vn?de.createElement("li",{title:_t?yt.toString():null,className:Et,onClick:an,onKeyPress:un,tabIndex:0},vn):null},De=Pe;function ze(){}function Te(lt){var Je=Number(lt);return typeof Je=="number"&&!Number.isNaN(Je)&&isFinite(Je)&&Math.floor(Je)===Je}var xt=function(Je,Pt,Dt){return Dt};function Ze(lt,Je,Pt){var Dt=typeof lt=="undefined"?Je.pageSize:lt;return Math.floor((Pt.total-1)/Dt)+1}var vt=function(lt){(0,Ye.Z)(Pt,lt);var Je=(0,et.Z)(Pt);function Pt(Dt){var yt;(0,Ne.Z)(this,Pt),yt=Je.call(this,Dt),yt.paginationNode=de.createRef(),yt.getJumpPrevPage=function(){return Math.max(1,yt.state.current-(yt.props.showLessItems?3:5))},yt.getJumpNextPage=function(){return Math.min(Ze(void 0,yt.state,yt.props),yt.state.current+(yt.props.showLessItems?3:5))},yt.getItemIcon=function(wn,Ft){var it=yt.props.prefixCls,Et=wn||de.createElement("button",{type:"button","aria-label":Ft,className:"".concat(it,"-item-link")});return typeof wn=="function"&&(Et=de.createElement(wn,(0,Se.Z)({},yt.props))),Et},yt.isValid=function(wn){var Ft=yt.props.total;return Te(wn)&&wn!==yt.state.current&&Te(Ft)&&Ft>0},yt.shouldDisplayQuickJumper=function(){var wn=yt.props,Ft=wn.showQuickJumper,it=wn.total,Et=yt.state.pageSize;return it<=Et?!1:Ft},yt.handleKeyDown=function(wn){(wn.keyCode===_e.ARROW_UP||wn.keyCode===_e.ARROW_DOWN)&&wn.preventDefault()},yt.handleKeyUp=function(wn){var Ft=yt.getValidValue(wn),it=yt.state.currentInputValue;Ft!==it&&yt.setState({currentInputValue:Ft}),wn.keyCode===_e.ENTER?yt.handleChange(Ft):wn.keyCode===_e.ARROW_UP?yt.handleChange(Ft-1):wn.keyCode===_e.ARROW_DOWN&&yt.handleChange(Ft+1)},yt.handleBlur=function(wn){var Ft=yt.getValidValue(wn);yt.handleChange(Ft)},yt.changePageSize=function(wn){var Ft=yt.state.current,it=Ze(wn,yt.state,yt.props);Ft=Ft>it?it:Ft,it===0&&(Ft=yt.state.current),typeof wn=="number"&&("pageSize"in yt.props||yt.setState({pageSize:wn}),"current"in yt.props||yt.setState({current:Ft,currentInputValue:Ft})),yt.props.onShowSizeChange(Ft,wn),"onChange"in yt.props&&yt.props.onChange&&yt.props.onChange(Ft,wn)},yt.handleChange=function(wn){var Ft=yt.props,it=Ft.disabled,Et=Ft.onChange,an=yt.state,un=an.pageSize,vn=an.current,gn=an.currentInputValue;if(yt.isValid(wn)&&!it){var Xn=Ze(void 0,yt.state,yt.props),ir=wn;return wn>Xn?ir=Xn:wn<1&&(ir=1),"current"in yt.props||yt.setState({current:ir}),ir!==gn&&yt.setState({currentInputValue:ir}),Et(ir,un),ir}return vn},yt.prev=function(){yt.hasPrev()&&yt.handleChange(yt.state.current-1)},yt.next=function(){yt.hasNext()&&yt.handleChange(yt.state.current+1)},yt.jumpPrev=function(){yt.handleChange(yt.getJumpPrevPage())},yt.jumpNext=function(){yt.handleChange(yt.getJumpNextPage())},yt.hasPrev=function(){return yt.state.current>1},yt.hasNext=function(){return yt.state.current<Ze(void 0,yt.state,yt.props)},yt.runIfEnter=function(wn,Ft){if(wn.key==="Enter"||wn.charCode===13){for(var it=arguments.length,Et=new Array(it>2?it-2:0),an=2;an<it;an++)Et[an-2]=arguments[an];Ft.apply(void 0,Et)}},yt.runIfEnterPrev=function(wn){yt.runIfEnter(wn,yt.prev)},yt.runIfEnterNext=function(wn){yt.runIfEnter(wn,yt.next)},yt.runIfEnterJumpPrev=function(wn){yt.runIfEnter(wn,yt.jumpPrev)},yt.runIfEnterJumpNext=function(wn){yt.runIfEnter(wn,yt.jumpNext)},yt.handleGoTO=function(wn){(wn.keyCode===_e.ENTER||wn.type==="click")&&yt.handleChange(yt.state.currentInputValue)},yt.renderPrev=function(wn){var Ft=yt.props,it=Ft.prevIcon,Et=Ft.itemRender,an=Et(wn,"prev",yt.getItemIcon(it,"prev page")),un=!yt.hasPrev();return(0,de.isValidElement)(an)?(0,de.cloneElement)(an,{disabled:un}):an},yt.renderNext=function(wn){var Ft=yt.props,it=Ft.nextIcon,Et=Ft.itemRender,an=Et(wn,"next",yt.getItemIcon(it,"next page")),un=!yt.hasNext();return(0,de.isValidElement)(an)?(0,de.cloneElement)(an,{disabled:un}):an};var jt=Dt.onChange!==ze,En="current"in Dt;En&&!jt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var _t=Dt.defaultCurrent;"current"in Dt&&(_t=Dt.current);var Yt=Dt.defaultPageSize;return"pageSize"in Dt&&(Yt=Dt.pageSize),_t=Math.min(_t,Ze(Yt,void 0,Dt)),yt.state={current:_t,currentInputValue:_t,pageSize:Yt},yt}return(0,ke.Z)(Pt,[{key:"componentDidUpdate",value:function(yt,jt){var En=this.props.prefixCls;if(jt.current!==this.state.current&&this.paginationNode.current){var _t=this.paginationNode.current.querySelector(".".concat(En,"-item-").concat(jt.current));if(_t&&document.activeElement===_t){var Yt;_t==null||(Yt=_t.blur)===null||Yt===void 0||Yt.call(_t)}}}},{key:"getValidValue",value:function(yt){var jt=yt.target.value,En=Ze(void 0,this.state,this.props),_t=this.state.currentInputValue,Yt;return jt===""?Yt=jt:Number.isNaN(Number(jt))?Yt=_t:jt>=En?Yt=En:Yt=Number(jt),Yt}},{key:"getShowSizeChanger",value:function(){var yt=this.props,jt=yt.showSizeChanger,En=yt.total,_t=yt.totalBoundaryShowSizeChanger;return typeof jt!="undefined"?jt:En>_t}},{key:"render",value:function(){var yt=this.props,jt=yt.prefixCls,En=yt.className,_t=yt.style,Yt=yt.disabled,wn=yt.hideOnSinglePage,Ft=yt.total,it=yt.locale,Et=yt.showQuickJumper,an=yt.showLessItems,un=yt.showTitle,vn=yt.showTotal,gn=yt.simple,Xn=yt.itemRender,ir=yt.showPrevNextJumpers,Dr=yt.jumpPrevIcon,kr=yt.jumpNextIcon,Bn=yt.selectComponentClass,jr=yt.selectPrefixCls,ci=yt.pageSizeOptions,_r=this.state,Nr=_r.current,ai=_r.pageSize,pi=_r.currentInputValue;if(wn===!0&&Ft<=ai)return null;var Mn=Ze(void 0,this.state,this.props),pr=[],Rr=null,Gr=null,zr=null,ei=null,Hr=null,fi=Et&&Et.goButton,Pr=an?1:2,dr=Nr-1>0?Nr-1:0,oi=Nr+1<Mn?Nr+1:Mn,$t=(0,Ke.Z)(this.props,{aria:!0,data:!0}),pt=vn&&de.createElement("li",{className:"".concat(jt,"-total-text")},vn(Ft,[Ft===0?0:(Nr-1)*ai+1,Nr*ai>Ft?Ft:Nr*ai]));if(gn){fi&&(typeof fi=="boolean"?Hr=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},it.jump_to_confirm):Hr=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},fi),Hr=de.createElement("li",{title:un?"".concat(it.jump_to).concat(Nr,"/").concat(Mn):null,className:"".concat(jt,"-simple-pager")},Hr));var Bt=this.renderPrev(dr);return de.createElement("ul",(0,ee.Z)({className:ge()(jt,"".concat(jt,"-simple"),(0,we.Z)({},"".concat(jt,"-disabled"),Yt),En),style:_t,ref:this.paginationNode},$t),pt,Bt?de.createElement("li",{title:un?it.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ge()("".concat(jt,"-prev"),(0,we.Z)({},"".concat(jt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Bt):null,de.createElement("li",{title:un?"".concat(Nr,"/").concat(Mn):null,className:"".concat(jt,"-simple-pager")},de.createElement("input",{type:"text",value:pi,disabled:Yt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(jt,"-slash")},"/"),Mn),de.createElement("li",{title:un?it.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ge()("".concat(jt,"-next"),(0,we.Z)({},"".concat(jt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(oi)),Hr)}if(Mn<=3+Pr*2){var At={locale:it,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:un,itemRender:Xn};Mn||pr.push(de.createElement(De,(0,ee.Z)({},At,{key:"noPager",page:1,className:"".concat(jt,"-item-disabled")})));for(var Ct=1;Ct<=Mn;Ct+=1){var Gt=Nr===Ct;pr.push(de.createElement(De,(0,ee.Z)({},At,{key:Ct,page:Ct,active:Gt})))}}else{var nn=an?it.prev_3:it.prev_5,_n=an?it.next_3:it.next_5,Pn=Xn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Dr,"prev page")),Sn=Xn(this.getJumpNextPage(),"jump-next",this.getItemIcon(kr,"next page"));ir&&(Rr=Pn?de.createElement("li",{title:un?nn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ge()("".concat(jt,"-jump-prev"),(0,we.Z)({},"".concat(jt,"-jump-prev-custom-icon"),!!Dr))},Pn):null,Gr=Sn?de.createElement("li",{title:un?_n:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ge()("".concat(jt,"-jump-next"),(0,we.Z)({},"".concat(jt,"-jump-next-custom-icon"),!!kr))},Sn):null),ei=de.createElement(De,{locale:it,last:!0,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Mn,page:Mn,active:!1,showTitle:un,itemRender:Xn}),zr=de.createElement(De,{locale:it,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:un,itemRender:Xn});var rr=Math.max(1,Nr-Pr),gr=Math.min(Nr+Pr,Mn);Nr-1<=Pr&&(gr=1+Pr*2),Mn-Nr<=Pr&&(rr=Mn-Pr*2);for(var Cr=rr;Cr<=gr;Cr+=1){var bn=Nr===Cr;pr.push(de.createElement(De,{locale:it,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Cr,page:Cr,active:bn,showTitle:un,itemRender:Xn}))}Nr-1>=Pr*2&&Nr!==3&&(pr[0]=(0,de.cloneElement)(pr[0],{className:"".concat(jt,"-item-after-jump-prev")}),pr.unshift(Rr)),Mn-Nr>=Pr*2&&Nr!==Mn-2&&(pr[pr.length-1]=(0,de.cloneElement)(pr[pr.length-1],{className:"".concat(jt,"-item-before-jump-next")}),pr.push(Gr)),rr!==1&&pr.unshift(zr),gr!==Mn&&pr.push(ei)}var $n=!this.hasPrev()||!Mn,Jt=!this.hasNext()||!Mn,pn=this.renderPrev(dr),An=this.renderNext(oi);return de.createElement("ul",(0,ee.Z)({className:ge()(jt,En,(0,we.Z)({},"".concat(jt,"-disabled"),Yt)),style:_t,ref:this.paginationNode},$t),pt,pn?de.createElement("li",{title:un?it.prev_page:null,onClick:this.prev,tabIndex:$n?null:0,onKeyPress:this.runIfEnterPrev,className:ge()("".concat(jt,"-prev"),(0,we.Z)({},"".concat(jt,"-disabled"),$n)),"aria-disabled":$n},pn):null,pr,An?de.createElement("li",{title:un?it.next_page:null,onClick:this.next,tabIndex:Jt?null:0,onKeyPress:this.runIfEnterNext,className:ge()("".concat(jt,"-next"),(0,we.Z)({},"".concat(jt,"-disabled"),Jt)),"aria-disabled":Jt},An):null,de.createElement(Le,{disabled:Yt,locale:it,rootPrefixCls:jt,selectComponentClass:Bn,selectPrefixCls:jr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Nr,pageSize:ai,pageSizeOptions:ci,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:fi}))}}],[{key:"getDerivedStateFromProps",value:function(yt,jt){var En={};if("current"in yt&&(En.current=yt.current,yt.current!==jt.current&&(En.currentInputValue=En.current)),"pageSize"in yt&&yt.pageSize!==jt.pageSize){var _t=jt.current,Yt=Ze(yt.pageSize,jt,yt);_t=_t>Yt?Yt:_t,"current"in yt||(En.current=_t,En.currentInputValue=_t),En.pageSize=yt.pageSize}return En}}]),Pt}(de.Component);vt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ze,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ze,locale:me.Z,style:{},itemRender:xt,totalBoundaryShowSizeChanger:50};var ot=vt,mt=te(22075),Lt=te(36355),It=te(19716),Qe=te(8628),Me=te(9763),st=te(57809);const zt=lt=>de.createElement(st.default,Object.assign({},lt,{showSearch:!0,size:"small"})),ut=lt=>de.createElement(st.default,Object.assign({},lt,{showSearch:!0,size:"middle"}));zt.Option=st.default.Option,ut.Option=st.default.Option;var tt=te(9937),at=te(17313),Nt=te(83116),on=te(37613);const Ht=lt=>{const{componentCls:Je}=lt;return{[`${Je}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Je}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Je}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed"}}},[`&${Je}-disabled`]:{cursor:"not-allowed",[`${Je}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:lt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:lt.colorBorder,backgroundColor:lt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:lt.itemActiveBgDisabled},a:{color:lt.itemActiveColorDisabled}}},[`${Je}-item-link`]:{color:lt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Je}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Je}-simple-pager`]:{color:lt.colorTextDisabled},[`${Je}-jump-prev, ${Je}-jump-next`]:{[`${Je}-item-link-icon`]:{opacity:0},[`${Je}-item-ellipsis`]:{opacity:1}}},[`&${Je}-simple`]:{[`${Je}-prev, ${Je}-next`]:{[`&${Je}-disabled ${Je}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=lt=>{const{componentCls:Je}=lt;return{[`&${Je}-mini ${Je}-total-text, &${Je}-mini ${Je}-simple-pager`]:{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`},[`&${Je}-mini ${Je}-item`]:{minWidth:lt.itemSizeSM,height:lt.itemSizeSM,margin:0,lineHeight:`${lt.itemSizeSM-2}px`},[`&${Je}-mini:not(${Je}-disabled) ${Je}-item:not(${Je}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive}},[`&${Je}-mini ${Je}-prev, &${Je}-mini ${Je}-next`]:{minWidth:lt.itemSizeSM,height:lt.itemSizeSM,margin:0,lineHeight:`${lt.itemSizeSM}px`},[`&${Je}-mini:not(${Je}-disabled)`]:{[`${Je}-prev, ${Je}-next`]:{[`&:hover ${Je}-item-link`]:{backgroundColor:lt.colorBgTextHover},[`&:active ${Je}-item-link`]:{backgroundColor:lt.colorBgTextActive},[`&${Je}-disabled:hover ${Je}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Je}-mini ${Je}-prev ${Je}-item-link,
|
|
|
&${Je}-mini ${Je}-next ${Je}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`}},[`&${Je}-mini ${Je}-jump-prev, &${Je}-mini ${Je}-jump-next`]:{height:lt.itemSizeSM,marginInlineEnd:0,lineHeight:`${lt.itemSizeSM}px`},[`&${Je}-mini ${Je}-options`]:{marginInlineStart:lt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:lt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,tt.x0)(lt)),{width:lt.paginationMiniQuickJumperInputWidth,height:lt.controlHeightSM})}}}},Qt=lt=>{const{componentCls:Je}=lt;return{[`
|
|
|
&${Je}-simple ${Je}-prev,
|
|
|
&${Je}-simple ${Je}-next
|
|
|
`]:{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`,verticalAlign:"top",[`${Je}-item-link`]:{height:lt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive},"&::after":{height:lt.itemSizeSM,lineHeight:`${lt.itemSizeSM}px`}}},[`&${Je}-simple ${Je}-simple-pager`]:{display:"inline-block",height:lt.itemSizeSM,marginInlineEnd:lt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:lt.marginXS,padding:`0 ${lt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:lt.itemInputBg,border:`${lt.lineWidth}px ${lt.lineType} ${lt.colorBorder}`,borderRadius:lt.borderRadius,outline:"none",transition:`border-color ${lt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:lt.colorPrimary},"&:focus":{borderColor:lt.colorPrimaryHover,boxShadow:`${lt.inputOutlineOffset}px 0 ${lt.controlOutlineWidth}px ${lt.controlOutline}`},"&[disabled]":{color:lt.colorTextDisabled,backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,cursor:"not-allowed"}}}}},Ut=lt=>{const{componentCls:Je}=lt;return{[`${Je}-jump-prev, ${Je}-jump-next`]:{outline:0,[`${Je}-item-container`]:{position:"relative",[`${Je}-item-link-icon`]:{color:lt.colorPrimary,fontSize:lt.fontSizeSM,opacity:0,transition:`all ${lt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Je}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:lt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:lt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:lt.paginationEllipsisTextIndent,opacity:1,transition:`all ${lt.motionDurationMid}`}},"&:hover":{[`${Je}-item-link-icon`]:{opacity:1},[`${Je}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Je}-prev,
|
|
|
${Je}-jump-prev,
|
|
|
${Je}-jump-next
|
|
|
`]:{marginInlineEnd:lt.marginXS},[`
|
|
|
${Je}-prev,
|
|
|
${Je}-next,
|
|
|
${Je}-jump-prev,
|
|
|
${Je}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:lt.itemSize,height:lt.itemSize,color:lt.colorText,fontFamily:lt.fontFamily,lineHeight:`${lt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:lt.borderRadius,cursor:"pointer",transition:`all ${lt.motionDurationMid}`},[`${Je}-prev, ${Je}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:lt.colorText,cursor:"pointer",userSelect:"none"},[`${Je}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:lt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${lt.lineWidth}px ${lt.lineType} transparent`,borderRadius:lt.borderRadius,outline:"none",transition:`all ${lt.motionDurationMid}`},[`&:hover ${Je}-item-link`]:{backgroundColor:lt.colorBgTextHover},[`&:active ${Je}-item-link`]:{backgroundColor:lt.colorBgTextActive},[`&${Je}-disabled:hover`]:{[`${Je}-item-link`]:{backgroundColor:"transparent"}}},[`${Je}-slash`]:{marginInlineEnd:lt.paginationSlashMarginInlineEnd,marginInlineStart:lt.paginationSlashMarginInlineStart},[`${Je}-options`]:{display:"inline-block",marginInlineStart:lt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:lt.controlHeight,marginInlineStart:lt.marginXS,lineHeight:`${lt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,tt.ik)(lt)),{width:lt.controlHeightLG*1.25,height:lt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:lt.marginXS,marginInlineEnd:lt.marginXS})}}}},Wt=lt=>{const{componentCls:Je}=lt;return{[`${Je}-item`]:{display:"inline-block",minWidth:lt.itemSize,height:lt.itemSize,marginInlineEnd:lt.marginXS,fontFamily:lt.fontFamily,lineHeight:`${lt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${lt.lineWidth}px ${lt.lineType} transparent`,borderRadius:lt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${lt.paginationItemPaddingInline}px`,color:lt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Je}-item-active)`]:{"&:hover":{transition:`all ${lt.motionDurationMid}`,backgroundColor:lt.colorBgTextHover},"&:active":{backgroundColor:lt.colorBgTextActive}},"&-active":{fontWeight:lt.fontWeightStrong,backgroundColor:lt.itemActiveBg,borderColor:lt.colorPrimary,a:{color:lt.colorPrimary},"&:hover":{borderColor:lt.colorPrimaryHover},"&:hover a":{color:lt.colorPrimaryHover}}}}},Ie=lt=>{const{componentCls:Je}=lt;return{[Je]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,at.Wf)(lt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Je}-total-text`]:{display:"inline-block",height:lt.itemSize,marginInlineEnd:lt.marginXS,lineHeight:`${lt.itemSize-2}px`,verticalAlign:"middle"}}),Wt(lt)),Ut(lt)),Qt(lt)),Fn(lt)),Ht(lt)),{[`@media only screen and (max-width: ${lt.screenLG}px)`]:{[`${Je}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${lt.screenSM}px)`]:{[`${Je}-options`]:{display:"none"}}}),[`&${lt.componentCls}-rtl`]:{direction:"rtl"}}},he=lt=>{const{componentCls:Je}=lt;return{[`${Je}${Je}-disabled:not(${Je}-mini)`]:{"&, &:hover":{[`${Je}-item-link`]:{borderColor:lt.colorBorder}},"&:focus-visible":{[`${Je}-item-link`]:{borderColor:lt.colorBorder}},[`${Je}-item, ${Je}-item-link`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,[`&:hover:not(${Je}-item-active)`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,a:{color:lt.colorTextDisabled}},[`&${Je}-item-active`]:{backgroundColor:lt.itemActiveBgDisabled}},[`${Je}-prev, ${Je}-next`]:{"&:hover button":{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder,color:lt.colorTextDisabled},[`${Je}-item-link`]:{backgroundColor:lt.colorBgContainerDisabled,borderColor:lt.colorBorder}}},[`${Je}:not(${Je}-mini)`]:{[`${Je}-prev, ${Je}-next`]:{"&:hover button":{borderColor:lt.colorPrimaryHover,backgroundColor:lt.itemBg},[`${Je}-item-link`]:{backgroundColor:lt.itemLinkBg,borderColor:lt.colorBorder},[`&:hover ${Je}-item-link`]:{borderColor:lt.colorPrimary,backgroundColor:lt.itemBg,color:lt.colorPrimary},[`&${Je}-disabled`]:{[`${Je}-item-link`]:{borderColor:lt.colorBorder,color:lt.colorTextDisabled}}},[`${Je}-item`]:{backgroundColor:lt.itemBg,border:`${lt.lineWidth}px ${lt.lineType} ${lt.colorBorder}`,[`&:hover:not(${Je}-item-active)`]:{borderColor:lt.colorPrimary,backgroundColor:lt.itemBg,a:{color:lt.colorPrimary}},"&-active":{borderColor:lt.colorPrimary}}}}},ue=lt=>{const{componentCls:Je}=lt;return{[`${Je}:not(${Je}-disabled)`]:{[`${Je}-item`]:Object.assign({},(0,at.Qy)(lt)),[`${Je}-jump-prev, ${Je}-jump-next`]:{"&:focus-visible":Object.assign({[`${Je}-item-link-icon`]:{opacity:1},[`${Je}-item-ellipsis`]:{opacity:0}},(0,at.oN)(lt))},[`${Je}-prev, ${Je}-next`]:{[`&:focus-visible ${Je}-item-link`]:Object.assign({},(0,at.oN)(lt))}}}};var ve=(0,Nt.Z)("Pagination",lt=>{const Je=(0,on.TS)(lt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:lt.marginXXS/2,paginationMiniQuickJumperInputWidth:lt.controlHeightLG*1.1,paginationItemPaddingInline:lt.marginXXS*1.5,paginationEllipsisLetterSpacing:lt.marginXXS/2,paginationSlashMarginInlineStart:lt.marginXXS,paginationSlashMarginInlineEnd:lt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,tt.e5)(lt),(0,tt.TM)(lt));return[Ie(Je),ue(Je),lt.wireframe&&he(Je)]},lt=>({itemBg:lt.colorBgContainer,itemSize:lt.controlHeight,itemSizeSM:lt.controlHeightSM,itemActiveBg:lt.colorBgContainer,itemLinkBg:lt.colorBgContainer,itemActiveColorDisabled:lt.colorTextDisabled,itemActiveBgDisabled:lt.controlItemBgActiveDisabled,itemInputBg:lt.colorBgContainer,miniOptionsSizeChangerTop:0})),ye=function(lt,Je){var Pt={};for(var Dt in lt)Object.prototype.hasOwnProperty.call(lt,Dt)&&Je.indexOf(Dt)<0&&(Pt[Dt]=lt[Dt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Dt=Object.getOwnPropertySymbols(lt);yt<Dt.length;yt++)Je.indexOf(Dt[yt])<0&&Object.prototype.propertyIsEnumerable.call(lt,Dt[yt])&&(Pt[Dt[yt]]=lt[Dt[yt]]);return Pt},$e=lt=>{const{prefixCls:Je,selectPrefixCls:Pt,className:Dt,rootClassName:yt,style:jt,size:En,locale:_t,selectComponentClass:Yt,responsive:wn,showSizeChanger:Ft}=lt,it=ye(lt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Et}=(0,Qe.Z)(wn),{getPrefixCls:an,direction:un,pagination:vn={}}=de.useContext(Lt.E_),gn=an("pagination",Je),[Xn,ir]=ve(gn),Dr=Ft!=null?Ft:vn.showSizeChanger,kr=de.useMemo(()=>{const Mn=de.createElement("span",{className:`${gn}-item-ellipsis`},"\u2022\u2022\u2022"),pr=de.createElement("button",{className:`${gn}-item-link`,type:"button",tabIndex:-1},un==="rtl"?de.createElement(rt.Z,null):de.createElement(He.Z,null)),Rr=de.createElement("button",{className:`${gn}-item-link`,type:"button",tabIndex:-1},un==="rtl"?de.createElement(He.Z,null):de.createElement(rt.Z,null)),Gr=de.createElement("a",{className:`${gn}-item-link`},de.createElement("div",{className:`${gn}-item-container`},un==="rtl"?de.createElement(Fe.Z,{className:`${gn}-item-link-icon`}):de.createElement(be,{className:`${gn}-item-link-icon`}),Mn)),zr=de.createElement("a",{className:`${gn}-item-link`},de.createElement("div",{className:`${gn}-item-container`},un==="rtl"?de.createElement(be,{className:`${gn}-item-link-icon`}):de.createElement(Fe.Z,{className:`${gn}-item-link-icon`}),Mn));return{prevIcon:pr,nextIcon:Rr,jumpPrevIcon:Gr,jumpNextIcon:zr}},[un,gn]),[Bn]=(0,Me.Z)("Pagination",mt.Z),jr=Object.assign(Object.assign({},Bn),_t),ci=(0,It.Z)(En),_r=ci==="small"||!!(Et&&!ci&&wn),Nr=an("select",Pt),ai=ge()({[`${gn}-mini`]:_r,[`${gn}-rtl`]:un==="rtl"},vn==null?void 0:vn.className,Dt,yt,ir),pi=Object.assign(Object.assign({},vn==null?void 0:vn.style),jt);return Xn(de.createElement(ot,Object.assign({},kr,it,{style:pi,prefixCls:gn,selectPrefixCls:Nr,className:ai,selectComponentClass:Yt||(_r?zt:ut),locale:jr,showSizeChanger:Dr})))},wt=$e},39722:function(tn,kt,te){"use strict";te.d(kt,{t5:function(){return He}});var ee=te(92310),de=te.n(ee),Ce=te(55477),We=te(59301),xe=te(36355),Ee=te(77578),fe=te(17356),be=function(Ae,ge){var we={};for(var Se in Ae)Object.prototype.hasOwnProperty.call(Ae,Se)&&ge.indexOf(Se)<0&&(we[Se]=Ae[Se]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Se=Object.getOwnPropertySymbols(Ae);Ne<Se.length;Ne++)ge.indexOf(Se[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Se[Ne])&&(we[Se[Ne]]=Ae[Se[Ne]]);return we};const Fe=(Ae,ge,we)=>{if(!(!ge&&!we))return We.createElement(We.Fragment,null,ge&&We.createElement("div",{className:`${Ae}-title`},(0,Ee.Z)(ge)),We.createElement("div",{className:`${Ae}-inner-content`},(0,Ee.Z)(we)))},He=Ae=>{const{hashId:ge,prefixCls:we,className:Se,style:Ne,placement:ke="top",title:Ye,content:et,children:Ke}=Ae;return We.createElement("div",{className:de()(ge,we,`${we}-pure`,`${we}-placement-${ke}`,Se),style:Ne},We.createElement("div",{className:`${we}-arrow`}),We.createElement(Ce.G,Object.assign({},Ae,{className:ge,prefixCls:we}),Ke||Fe(we,Ye,et)))},rt=Ae=>{const{prefixCls:ge}=Ae,we=be(Ae,["prefixCls"]),{getPrefixCls:Se}=We.useContext(xe.E_),Ne=Se("popover",ge),[ke,Ye]=(0,fe.Z)(Ne);return ke(We.createElement(He,Object.assign({},we,{prefixCls:Ne,hashId:Ye})))};kt.ZP=rt},60324:function(tn,kt,te){"use strict";var ee=te(92310),de=te.n(ee),Ce=te(59301),We=te(77578),xe=te(62892),Ee=te(36355),fe=te(6848),be=te(39722),Fe=te(17356),He=function(ge,we){var Se={};for(var Ne in ge)Object.prototype.hasOwnProperty.call(ge,Ne)&&we.indexOf(Ne)<0&&(Se[Ne]=ge[Ne]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ne=Object.getOwnPropertySymbols(ge);ke<Ne.length;ke++)we.indexOf(Ne[ke])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ne[ke])&&(Se[Ne[ke]]=ge[Ne[ke]]);return Se};const rt=ge=>{let{title:we,content:Se,prefixCls:Ne}=ge;return Ce.createElement(Ce.Fragment,null,we&&Ce.createElement("div",{className:`${Ne}-title`},(0,We.Z)(we)),Ce.createElement("div",{className:`${Ne}-inner-content`},(0,We.Z)(Se)))},Ae=Ce.forwardRef((ge,we)=>{const{prefixCls:Se,title:Ne,content:ke,overlayClassName:Ye,placement:et="top",trigger:Ke="hover",mouseEnterDelay:Oe=.1,mouseLeaveDelay:_e=.1,overlayStyle:me={}}=ge,Re=He(ge,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Le}=Ce.useContext(Ee.E_),Pe=Le("popover",Se),[De,ze]=(0,Fe.Z)(Pe),Te=Le(),xt=de()(Ye,ze);return De(Ce.createElement(fe.Z,Object.assign({placement:et,trigger:Ke,mouseEnterDelay:Oe,mouseLeaveDelay:_e,overlayStyle:me},Re,{prefixCls:Pe,overlayClassName:xt,ref:we,overlay:Ne||ke?Ce.createElement(rt,{prefixCls:Pe,title:Ne,content:ke}):null,transitionName:(0,xe.m)(Te,"zoom-big",Re.transitionName),"data-popover-inject":!0})))});Ae._InternalPanelDoNotUseOrYouWillBeFired=be.ZP,kt.Z=Ae},17356:function(tn,kt,te){"use strict";var ee=te(17313),de=te(29878),Ce=te(19447),We=te(33166),xe=te(83116),Ee=te(37613);const fe=He=>{const{componentCls:rt,popoverColor:Ae,minWidth:ge,fontWeightStrong:we,popoverPadding:Se,boxShadowSecondary:Ne,colorTextHeading:ke,borderRadiusLG:Ye,zIndexPopup:et,marginXS:Ke,colorBgElevated:Oe,popoverBg:_e}=He;return[{[rt]:Object.assign(Object.assign({},(0,ee.Wf)(He)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:et,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":Oe,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${rt}-content`]:{position:"relative"},[`${rt}-inner`]:{backgroundColor:_e,backgroundClip:"padding-box",borderRadius:Ye,boxShadow:Ne,padding:Se},[`${rt}-title`]:{minWidth:ge,marginBottom:Ke,color:ke,fontWeight:we},[`${rt}-inner-content`]:{color:Ae}})},(0,Ce.ZP)(He,{colorBg:"var(--antd-arrow-background-color)"}),{[`${rt}-pure`]:{position:"relative",maxWidth:"none",margin:He.sizePopupArrow,display:"inline-block",[`${rt}-content`]:{display:"inline-block"}}}]},be=He=>{const{componentCls:rt}=He;return{[rt]:We.i.map(Ae=>{const ge=He[`${Ae}6`];return{[`&${rt}-${Ae}`]:{"--antd-arrow-background-color":ge,[`${rt}-inner`]:{backgroundColor:ge},[`${rt}-arrow`]:{background:"transparent"}}}})}},Fe=He=>{const{componentCls:rt,lineWidth:Ae,lineType:ge,colorSplit:we,paddingSM:Se,controlHeight:Ne,fontSize:ke,lineHeight:Ye,padding:et}=He,Ke=Ne-Math.round(ke*Ye),Oe=Ke/2,_e=Ke/2-Ae,me=et;return{[rt]:{[`${rt}-inner`]:{padding:0},[`${rt}-title`]:{margin:0,padding:`${Oe}px ${me}px ${_e}px`,borderBottom:`${Ae}px ${ge} ${we}`},[`${rt}-inner-content`]:{padding:`${Se}px ${me}px`}}}};kt.Z=(0,xe.Z)("Popover",He=>{const{colorBgElevated:rt,colorText:Ae,wireframe:ge}=He,we=(0,Ee.TS)(He,{popoverPadding:12,popoverBg:rt,popoverColor:Ae});return[fe(we),be(we),ge&&Fe(we),(0,de._y)(we,"zoom-big")]},He=>({width:177,minWidth:177,zIndexPopup:He.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Ft}});var ee=te(59301),de=te(29679),Ce=te(40001),We=te(19248),xe=te(99267),Ee=te(92310),fe=te.n(Ee),be=te(2738),Fe=te(36355),He=te(60499),rt=te(85899),Ae=te(42244),ge={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},we=function(){var Et=(0,ee.useRef)([]),an=(0,ee.useRef)(null);return(0,ee.useEffect)(function(){var un=Date.now(),vn=!1;Et.current.forEach(function(gn){if(gn){vn=!0;var Xn=gn.style;Xn.transitionDuration=".3s, .3s, .3s, .06s",an.current&&un-an.current<100&&(Xn.transitionDuration="0s, 0s")}}),vn&&(an.current=Date.now())}),Et.current},Se=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ne=function(Et){var an=(0,rt.Z)((0,rt.Z)({},ge),Et),un=an.className,vn=an.percent,gn=an.prefixCls,Xn=an.strokeColor,ir=an.strokeLinecap,Dr=an.strokeWidth,kr=an.style,Bn=an.trailColor,jr=an.trailWidth,ci=an.transition,_r=(0,Ae.Z)(an,Se);delete _r.gapPosition;var Nr=Array.isArray(vn)?vn:[vn],ai=Array.isArray(Xn)?Xn:[Xn],pi=we(),Mn=Dr/2,pr=100-Dr/2,Rr="M ".concat(ir==="round"?Mn:0,",").concat(Mn,`
|
|
|
L `).concat(ir==="round"?pr:100,",").concat(Mn),Gr="0 0 100 ".concat(Dr),zr=0;return ee.createElement("svg",(0,He.Z)({className:fe()("".concat(gn,"-line"),un),viewBox:Gr,preserveAspectRatio:"none",style:kr},_r),ee.createElement("path",{className:"".concat(gn,"-line-trail"),d:Rr,strokeLinecap:ir,stroke:Bn,strokeWidth:jr||Dr,fillOpacity:"0"}),Nr.map(function(ei,Hr){var fi=1;switch(ir){case"round":fi=1-Dr/100;break;case"square":fi=1-Dr/2/100;break;default:fi=1;break}var Pr={strokeDasharray:"".concat(ei*fi,"px, 100px"),strokeDashoffset:"-".concat(zr,"px"),transition:ci||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},dr=ai[Hr]||ai[ai.length-1];return zr+=ei,ee.createElement("path",{key:Hr,className:"".concat(gn,"-line-path"),d:Rr,strokeLinecap:ir,stroke:dr,strokeWidth:Dr,fillOpacity:"0",ref:function($t){pi[Hr]=$t},style:Pr})}))},ke=Ne,Ye=te(43749),et=te(72190),Ke=te(47273),Oe=0,_e=(0,Ke.Z)();function me(){var it;return _e?(it=Oe,Oe+=1):it="TEST_OR_SSR",it}var Re=function(it){var Et=ee.useState(),an=(0,et.Z)(Et,2),un=an[0],vn=an[1];return ee.useEffect(function(){vn("rc_progress_".concat(me()))},[]),it||un},Le=function(Et){var an=Et.bg,un=Et.children;return ee.createElement("div",{style:{width:"100%",height:"100%",background:an}},un)};function Pe(it,Et){return Object.keys(it).map(function(an){var un=parseFloat(an),vn="".concat(Math.floor(un*Et),"%");return"".concat(it[an]," ").concat(vn)})}var De=ee.forwardRef(function(it,Et){var an=it.prefixCls,un=it.color,vn=it.gradientId,gn=it.radius,Xn=it.style,ir=it.ptg,Dr=it.strokeLinecap,kr=it.strokeWidth,Bn=it.size,jr=it.gapDegree,ci=un&&(0,Ye.Z)(un)==="object",_r=ci?"#FFF":void 0,Nr=Bn/2,ai=ee.createElement("circle",{className:"".concat(an,"-circle-path"),r:gn,cx:Nr,cy:Nr,stroke:_r,strokeLinecap:Dr,strokeWidth:kr,opacity:ir===0?0:1,style:Xn,ref:Et});if(!ci)return ai;var pi="".concat(vn,"-conic"),Mn=jr?"".concat(180+jr/2,"deg"):"0deg",pr=Pe(un,(360-jr)/360),Rr=Pe(un,1),Gr="conic-gradient(from ".concat(Mn,", ").concat(pr.join(", "),")"),zr="linear-gradient(to ".concat(jr?"bottom":"top",", ").concat(Rr.join(", "),")");return ee.createElement(ee.Fragment,null,ee.createElement("mask",{id:pi},ai),ee.createElement("foreignObject",{x:0,y:0,width:Bn,height:Bn,mask:"url(#".concat(pi,")")},ee.createElement(Le,{bg:zr},ee.createElement(Le,{bg:Gr}))))}),ze=De,Te=100,xt=function(Et,an,un,vn,gn,Xn,ir,Dr,kr,Bn){var jr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ci=un/100*360*((360-Xn)/360),_r=Xn===0?0:{bottom:0,top:180,left:90,right:-90}[ir],Nr=(100-vn)/100*an;kr==="round"&&vn!==100&&(Nr+=Bn/2,Nr>=an&&(Nr=an-.01));var ai=Te/2;return{stroke:typeof Dr=="string"?Dr:void 0,strokeDasharray:"".concat(an,"px ").concat(Et),strokeDashoffset:Nr+jr,transform:"rotate(".concat(gn+ci+_r,"deg)"),transformOrigin:"".concat(ai,"px ").concat(ai,"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}},Ze=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function vt(it){var Et=it!=null?it:[];return Array.isArray(Et)?Et:[Et]}var ot=function(Et){var an=(0,rt.Z)((0,rt.Z)({},ge),Et),un=an.id,vn=an.prefixCls,gn=an.steps,Xn=an.strokeWidth,ir=an.trailWidth,Dr=an.gapDegree,kr=Dr===void 0?0:Dr,Bn=an.gapPosition,jr=an.trailColor,ci=an.strokeLinecap,_r=an.style,Nr=an.className,ai=an.strokeColor,pi=an.percent,Mn=(0,Ae.Z)(an,Ze),pr=Te/2,Rr=Re(un),Gr="".concat(Rr,"-gradient"),zr=pr-Xn/2,ei=Math.PI*2*zr,Hr=kr>0?90+kr/2:-90,fi=ei*((360-kr)/360),Pr=(0,Ye.Z)(gn)==="object"?gn:{count:gn,space:2},dr=Pr.count,oi=Pr.space,$t=vt(pi),pt=vt(ai),Bt=pt.find(function(Sn){return Sn&&(0,Ye.Z)(Sn)==="object"}),At=Bt&&(0,Ye.Z)(Bt)==="object",Ct=At?"butt":ci,Gt=xt(ei,fi,0,100,Hr,kr,Bn,jr,Ct,Xn),nn=we(),_n=function(){var rr=0;return $t.map(function(gr,Cr){var bn=pt[Cr]||pt[pt.length-1],$n=xt(ei,fi,rr,gr,Hr,kr,Bn,bn,Ct,Xn);return rr+=gr,ee.createElement(ze,{key:Cr,color:bn,ptg:gr,radius:zr,prefixCls:vn,gradientId:Gr,style:$n,strokeLinecap:Ct,strokeWidth:Xn,gapDegree:kr,ref:function(pn){nn[Cr]=pn},size:Te})}).reverse()},Pn=function(){var rr=Math.round(dr*($t[0]/100)),gr=100/dr,Cr=0;return new Array(dr).fill(null).map(function(bn,$n){var Jt=$n<=rr-1?pt[0]:jr,pn=Jt&&(0,Ye.Z)(Jt)==="object"?"url(#".concat(Gr,")"):void 0,An=xt(ei,fi,Cr,gr,Hr,kr,Bn,Jt,"butt",Xn,oi);return Cr+=(fi-An.strokeDashoffset+oi)*100/fi,ee.createElement("circle",{key:$n,className:"".concat(vn,"-circle-path"),r:zr,cx:pr,cy:pr,stroke:pn,strokeWidth:Xn,opacity:1,style:An,ref:function(Hn){nn[$n]=Hn}})})};return ee.createElement("svg",(0,He.Z)({className:fe()("".concat(vn,"-circle"),Nr),viewBox:"0 0 ".concat(Te," ").concat(Te),style:_r,id:un,role:"presentation"},Mn),!dr&&ee.createElement("circle",{className:"".concat(vn,"-circle-trail"),r:zr,cx:pr,cy:pr,stroke:jr,strokeLinecap:Ct,strokeWidth:ir||Xn,style:Gt}),dr?Pn():_n())},mt=ot,Lt={Line:ke,Circle:mt},It=te(6848),Qe=te(30071);function Me(it){return!it||it<0?0:it>100?100:it}function st(it){let{success:Et,successPercent:an}=it,un=an;return Et&&"progress"in Et&&(un=Et.progress),Et&&"percent"in Et&&(un=Et.percent),un}const zt=it=>{let{percent:Et,success:an,successPercent:un}=it;const vn=Me(st({success:an,successPercent:un}));return[vn,Me(Me(Et)-vn)]},ut=it=>{let{success:Et={},strokeColor:an}=it;const{strokeColor:un}=Et;return[un||Qe.presetPrimaryColors.green,an||null]},tt=(it,Et,an)=>{var un,vn,gn,Xn;let ir=-1,Dr=-1;if(Et==="step"){const kr=an.steps,Bn=an.strokeWidth;typeof it=="string"||typeof it=="undefined"?(ir=it==="small"?2:14,Dr=Bn!=null?Bn:8):typeof it=="number"?[ir,Dr]=[it,it]:[ir=14,Dr=8]=it,ir*=kr}else if(Et==="line"){const kr=an==null?void 0:an.strokeWidth;typeof it=="string"||typeof it=="undefined"?Dr=kr||(it==="small"?6:8):typeof it=="number"?[ir,Dr]=[it,it]:[ir=-1,Dr=8]=it}else(Et==="circle"||Et==="dashboard")&&(typeof it=="string"||typeof it=="undefined"?[ir,Dr]=it==="small"?[60,60]:[120,120]:typeof it=="number"?[ir,Dr]=[it,it]:(ir=(vn=(un=it[0])!==null&&un!==void 0?un:it[1])!==null&&vn!==void 0?vn:120,Dr=(Xn=(gn=it[0])!==null&&gn!==void 0?gn:it[1])!==null&&Xn!==void 0?Xn:120));return[ir,Dr]},at=3,Nt=it=>at/it*100;var Ht=it=>{const{prefixCls:Et,trailColor:an=null,strokeLinecap:un="round",gapPosition:vn,gapDegree:gn,width:Xn=120,type:ir,children:Dr,success:kr,size:Bn=Xn}=it,[jr,ci]=tt(Bn,"circle");let{strokeWidth:_r}=it;_r===void 0&&(_r=Math.max(Nt(jr),6));const Nr={width:jr,height:ci,fontSize:jr*.15+6},ai=ee.useMemo(()=>{if(gn||gn===0)return gn;if(ir==="dashboard")return 75},[gn,ir]),pi=vn||ir==="dashboard"&&"bottom"||void 0,Mn=Object.prototype.toString.call(it.strokeColor)==="[object Object]",pr=ut({success:kr,strokeColor:it.strokeColor}),Rr=fe()(`${Et}-inner`,{[`${Et}-circle-gradient`]:Mn}),Gr=ee.createElement(mt,{percent:zt(it),strokeWidth:_r,trailWidth:_r,strokeColor:pr,strokeLinecap:un,trailColor:an,prefixCls:Et,gapDegree:ai,gapPosition:pi});return ee.createElement("div",{className:Rr,style:Nr},jr<=20?ee.createElement(It.Z,{title:Dr},ee.createElement("span",null,Gr)):ee.createElement(ee.Fragment,null,Gr,Dr))},Fn=function(it,Et){var an={};for(var un in it)Object.prototype.hasOwnProperty.call(it,un)&&Et.indexOf(un)<0&&(an[un]=it[un]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,un=Object.getOwnPropertySymbols(it);vn<un.length;vn++)Et.indexOf(un[vn])<0&&Object.prototype.propertyIsEnumerable.call(it,un[vn])&&(an[un[vn]]=it[un[vn]]);return an};const Qt=it=>{let Et=[];return Object.keys(it).forEach(an=>{const un=parseFloat(an.replace(/%/g,""));isNaN(un)||Et.push({key:un,value:it[an]})}),Et=Et.sort((an,un)=>an.key-un.key),Et.map(an=>{let{key:un,value:vn}=an;return`${vn} ${un}%`}).join(", ")},Ut=(it,Et)=>{const{from:an=Qe.presetPrimaryColors.blue,to:un=Qe.presetPrimaryColors.blue,direction:vn=Et==="rtl"?"to left":"to right"}=it,gn=Fn(it,["from","to","direction"]);if(Object.keys(gn).length!==0){const Xn=Qt(gn);return{backgroundImage:`linear-gradient(${vn}, ${Xn})`}}return{backgroundImage:`linear-gradient(${vn}, ${an}, ${un})`}};var Ie=it=>{const{prefixCls:Et,direction:an,percent:un,size:vn,strokeWidth:gn,strokeColor:Xn,strokeLinecap:ir="round",children:Dr,trailColor:kr=null,success:Bn}=it,jr=Xn&&typeof Xn!="string"?Ut(Xn,an):{backgroundColor:Xn},ci=ir==="square"||ir==="butt"?0:void 0,_r={backgroundColor:kr||void 0,borderRadius:ci},Nr=vn!=null?vn:[-1,gn||(vn==="small"?6:8)],[ai,pi]=tt(Nr,"line",{strokeWidth:gn}),Mn=Object.assign({width:`${Me(un)}%`,height:pi,borderRadius:ci},jr),pr=st(it),Rr={width:`${Me(pr)}%`,height:pi,borderRadius:ci,backgroundColor:Bn==null?void 0:Bn.strokeColor},Gr={width:ai<0?"100%":ai,height:pi};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${Et}-outer`,style:Gr},ee.createElement("div",{className:`${Et}-inner`,style:_r},ee.createElement("div",{className:`${Et}-bg`,style:Mn}),pr!==void 0?ee.createElement("div",{className:`${Et}-success-bg`,style:Rr}):null)),Dr)},ue=it=>{const{size:Et,steps:an,percent:un=0,strokeWidth:vn=8,strokeColor:gn,trailColor:Xn=null,prefixCls:ir,children:Dr}=it,kr=Math.round(an*(un/100)),Bn=Et==="small"?2:14,jr=Et!=null?Et:[Bn,vn],[ci,_r]=tt(jr,"step",{steps:an,strokeWidth:vn}),Nr=ci/an,ai=new Array(an);for(let pi=0;pi<an;pi++){const Mn=Array.isArray(gn)?gn[pi]:gn;ai[pi]=ee.createElement("div",{key:pi,className:fe()(`${ir}-steps-item`,{[`${ir}-steps-item-active`]:pi<=kr-1}),style:{backgroundColor:pi<=kr-1?Mn:Xn,width:Nr,height:_r}})}return ee.createElement("div",{className:`${ir}-steps-outer`},ai,Dr)},ve=te(36237),ye=te(17313),se=te(83116),$e=te(37613);const wt=it=>{const Et=it?"100%":"-100%";return new ve.Keyframes(`antProgress${it?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Et}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Et}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},lt=it=>{const{componentCls:Et,iconCls:an}=it;return{[Et]:Object.assign(Object.assign({},(0,ye.Wf)(it)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:it.fontSize,marginInlineEnd:it.marginXS,marginBottom:it.marginXS},[`${Et}-outer`]:{display:"inline-block",width:"100%"},[`&${Et}-show-info`]:{[`${Et}-outer`]:{marginInlineEnd:`calc(-2em - ${it.marginXS}px)`,paddingInlineEnd:`calc(2em + ${it.paddingXS}px)`}},[`${Et}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:it.remainingColor,borderRadius:it.lineBorderRadius},[`${Et}-inner:not(${Et}-circle-gradient)`]:{[`${Et}-circle-path`]:{stroke:it.defaultColor}},[`${Et}-success-bg, ${Et}-bg`]:{position:"relative",backgroundColor:it.defaultColor,borderRadius:it.lineBorderRadius,transition:`all ${it.motionDurationSlow} ${it.motionEaseInOutCirc}`},[`${Et}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:it.colorSuccess},[`${Et}-text`]:{display:"inline-block",width:"2em",marginInlineStart:it.marginXS,color:it.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[an]:{fontSize:it.fontSize}},[`&${Et}-status-active`]:{[`${Et}-bg::before`]:{position:"absolute",inset:0,backgroundColor:it.colorBgContainer,borderRadius:it.lineBorderRadius,opacity:0,animationName:wt(),animationDuration:it.progressActiveMotionDuration,animationTimingFunction:it.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Et}-rtl${Et}-status-active`]:{[`${Et}-bg::before`]:{animationName:wt(!0)}},[`&${Et}-status-exception`]:{[`${Et}-bg`]:{backgroundColor:it.colorError},[`${Et}-text`]:{color:it.colorError}},[`&${Et}-status-exception ${Et}-inner:not(${Et}-circle-gradient)`]:{[`${Et}-circle-path`]:{stroke:it.colorError}},[`&${Et}-status-success`]:{[`${Et}-bg`]:{backgroundColor:it.colorSuccess},[`${Et}-text`]:{color:it.colorSuccess}},[`&${Et}-status-success ${Et}-inner:not(${Et}-circle-gradient)`]:{[`${Et}-circle-path`]:{stroke:it.colorSuccess}}})}},Je=it=>{const{componentCls:Et,iconCls:an}=it;return{[Et]:{[`${Et}-circle-trail`]:{stroke:it.remainingColor},[`&${Et}-circle ${Et}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Et}-circle ${Et}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:it.circleTextColor,fontSize:it.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[an]:{fontSize:`${it.fontSize/it.fontSizeSM}em`}},[`${Et}-circle&-status-exception`]:{[`${Et}-text`]:{color:it.colorError}},[`${Et}-circle&-status-success`]:{[`${Et}-text`]:{color:it.colorSuccess}}},[`${Et}-inline-circle`]:{lineHeight:1,[`${Et}-inner`]:{verticalAlign:"bottom"}}}},Pt=it=>{const{componentCls:Et}=it;return{[Et]:{[`${Et}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:it.progressStepMinWidth,marginInlineEnd:it.progressStepMarginInlineEnd,backgroundColor:it.remainingColor,transition:`all ${it.motionDurationSlow}`,"&-active":{backgroundColor:it.defaultColor}}}}}},Dt=it=>{const{componentCls:Et,iconCls:an}=it;return{[Et]:{[`${Et}-small&-line, ${Et}-small&-line ${Et}-text ${an}`]:{fontSize:it.fontSizeSM}}}};var yt=(0,se.Z)("Progress",it=>{const Et=it.marginXXS/2,an=(0,$e.TS)(it,{progressStepMarginInlineEnd:Et,progressStepMinWidth:Et,progressActiveMotionDuration:"2.4s"});return[lt(an),Je(an),Pt(an),Dt(an)]},it=>({circleTextColor:it.colorText,defaultColor:it.colorInfo,remainingColor:it.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),jt=function(it,Et){var an={};for(var un in it)Object.prototype.hasOwnProperty.call(it,un)&&Et.indexOf(un)<0&&(an[un]=it[un]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vn=0,un=Object.getOwnPropertySymbols(it);vn<un.length;vn++)Et.indexOf(un[vn])<0&&Object.prototype.propertyIsEnumerable.call(it,un[vn])&&(an[un[vn]]=it[un[vn]]);return an};const En=null,_t=["normal","exception","active","success"];var wn=ee.forwardRef((it,Et)=>{const{prefixCls:an,className:un,rootClassName:vn,steps:gn,strokeColor:Xn,percent:ir=0,size:Dr="default",showInfo:kr=!0,type:Bn="line",status:jr,format:ci,style:_r}=it,Nr=jt(it,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ai=ee.useMemo(()=>{var $t,pt;const Bt=st(it);return parseInt(Bt!==void 0?($t=Bt!=null?Bt:0)===null||$t===void 0?void 0:$t.toString():(pt=ir!=null?ir:0)===null||pt===void 0?void 0:pt.toString(),10)},[ir,it.success,it.successPercent]),pi=ee.useMemo(()=>!_t.includes(jr)&&ai>=100?"success":jr||"normal",[jr,ai]),{getPrefixCls:Mn,direction:pr,progress:Rr}=ee.useContext(Fe.E_),Gr=Mn("progress",an),[zr,ei]=yt(Gr),Hr=ee.useMemo(()=>{if(!kr)return null;const $t=st(it);let pt;const Bt=ci||(Ct=>`${Ct}%`),At=Bn==="line";return ci||pi!=="exception"&&pi!=="success"?pt=Bt(Me(ir),Me($t)):pi==="exception"?pt=At?ee.createElement(We.Z,null):ee.createElement(xe.Z,null):pi==="success"&&(pt=At?ee.createElement(de.Z,null):ee.createElement(Ce.Z,null)),ee.createElement("span",{className:`${Gr}-text`,title:typeof pt=="string"?pt:void 0},pt)},[kr,ir,ai,pi,Bn,Gr,ci]),fi=Array.isArray(Xn)?Xn[0]:Xn,Pr=typeof Xn=="string"||Array.isArray(Xn)?Xn:void 0;let dr;Bn==="line"?dr=gn?ee.createElement(ue,Object.assign({},it,{strokeColor:Pr,prefixCls:Gr,steps:gn}),Hr):ee.createElement(Ie,Object.assign({},it,{strokeColor:fi,prefixCls:Gr,direction:pr}),Hr):(Bn==="circle"||Bn==="dashboard")&&(dr=ee.createElement(Ht,Object.assign({},it,{strokeColor:fi,prefixCls:Gr,progressStatus:pi}),Hr));const oi=fe()(Gr,`${Gr}-status-${pi}`,`${Gr}-${Bn==="dashboard"&&"circle"||gn&&"steps"||Bn}`,{[`${Gr}-inline-circle`]:Bn==="circle"&&tt(Dr,"circle")[0]<=20,[`${Gr}-show-info`]:kr,[`${Gr}-${Dr}`]:typeof Dr=="string",[`${Gr}-rtl`]:pr==="rtl"},Rr==null?void 0:Rr.className,un,vn,ei);return zr(ee.createElement("div",Object.assign({ref:Et,style:Object.assign(Object.assign({},Rr==null?void 0:Rr.style),_r),className:oi,role:"progressbar","aria-valuenow":ai},(0,be.Z)(Nr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),dr))}),Ft=wn},5112:function(tn,kt,te){"use strict";te.d(kt,{ZP:function(){return Qe}});var ee=te(92310),de=te.n(ee),Ce=te(18929),We=te(26112),xe=te(59301),Ee=te(36355),fe=te(19716);const be=xe.createContext(null),Fe=be.Provider;var He=be;const rt=xe.createContext(null),Ae=rt.Provider;var ge=te(5630),we=te(8654),Se=te(1684),Ne=te(32441),ke=te(17313),Ye=te(83116),et=te(37613);const Ke=Me=>{const{componentCls:st,antCls:zt}=Me,ut=`${st}-group`;return{[ut]:Object.assign(Object.assign({},(0,ke.Wf)(Me)),{display:"inline-block",fontSize:0,[`&${ut}-rtl`]:{direction:"rtl"},[`${zt}-badge ${zt}-badge-count`]:{zIndex:1},[`> ${zt}-badge:not(:first-child) > ${zt}-button-wrapper`]:{borderInlineStart:"none"}})}},Oe=Me=>{const{componentCls:st,wrapperMarginInlineEnd:zt,colorPrimary:ut,radioSize:tt,motionDurationSlow:at,motionDurationMid:Nt,motionEaseInOutCirc:on,colorBgContainer:Ht,colorBorder:Fn,lineWidth:Qt,dotSize:Ut,colorBgContainerDisabled:Wt,colorTextDisabled:Ie,paddingXS:he,dotColorDisabled:ue,lineType:ve,radioDotDisabledSize:ye,wireframe:se,colorWhite:$e}=Me,wt=`${st}-inner`;return{[`${st}-wrapper`]:Object.assign(Object.assign({},(0,ke.Wf)(Me)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:zt,cursor:"pointer",[`&${st}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Me.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${st}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Qt}px ${ve} ${ut}`,borderRadius:"50%",visibility:"hidden",content:'""'},[st]:Object.assign(Object.assign({},(0,ke.Wf)(Me)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${st}-wrapper:hover &,
|
|
|
&:hover ${wt}`]:{borderColor:ut},[`${st}-input:focus-visible + ${wt}`]:Object.assign({},(0,ke.oN)(Me)),[`${st}:hover::after, ${st}-wrapper:hover &::after`]:{visibility:"visible"},[`${st}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:tt,height:tt,marginBlockStart:tt/-2,marginInlineStart:tt/-2,backgroundColor:se?ut:$e,borderBlockStart:0,borderInlineStart:0,borderRadius:tt,transform:"scale(0)",opacity:0,transition:`all ${at} ${on}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:tt,height:tt,backgroundColor:Ht,borderColor:Fn,borderStyle:"solid",borderWidth:Qt,borderRadius:"50%",transition:`all ${Nt}`},[`${st}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${st}-checked`]:{[wt]:{borderColor:ut,backgroundColor:se?Ht:ut,"&::after":{transform:`scale(${Ut/tt})`,opacity:1,transition:`all ${at} ${on}`}}},[`${st}-disabled`]:{cursor:"not-allowed",[wt]:{backgroundColor:Wt,borderColor:Fn,cursor:"not-allowed","&::after":{backgroundColor:ue}},[`${st}-input`]:{cursor:"not-allowed"},[`${st}-disabled + span`]:{color:Ie,cursor:"not-allowed"},[`&${st}-checked`]:{[wt]:{"&::after":{transform:`scale(${ye/tt})`}}}},[`span${st} + *`]:{paddingInlineStart:he,paddingInlineEnd:he}})}},_e=Me=>{const{buttonColor:st,controlHeight:zt,componentCls:ut,lineWidth:tt,lineType:at,colorBorder:Nt,motionDurationSlow:on,motionDurationMid:Ht,buttonPaddingInline:Fn,fontSize:Qt,buttonBg:Ut,fontSizeLG:Wt,controlHeightLG:Ie,controlHeightSM:he,paddingXS:ue,borderRadius:ve,borderRadiusSM:ye,borderRadiusLG:se,buttonCheckedBg:$e,buttonSolidCheckedColor:wt,colorTextDisabled:lt,colorBgContainerDisabled:Je,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:Dt,colorPrimary:yt,colorPrimaryHover:jt,colorPrimaryActive:En,buttonSolidCheckedBg:_t,buttonSolidCheckedHoverBg:Yt,buttonSolidCheckedActiveBg:wn}=Me;return{[`${ut}-button-wrapper`]:{position:"relative",display:"inline-block",height:zt,margin:0,paddingInline:Fn,paddingBlock:0,color:st,fontSize:Qt,lineHeight:`${zt-tt*2}px`,background:Ut,border:`${tt}px ${at} ${Nt}`,borderBlockStartWidth:tt+.02,borderInlineStartWidth:0,borderInlineEndWidth:tt,cursor:"pointer",transition:[`color ${Ht}`,`background ${Ht}`,`box-shadow ${Ht}`].join(","),a:{color:st},[`> ${ut}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-tt,insetInlineStart:-tt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:tt,paddingInline:0,backgroundColor:Nt,transition:`background-color ${on}`,content:'""'}},"&:first-child":{borderInlineStart:`${tt}px ${at} ${Nt}`,borderStartStartRadius:ve,borderEndStartRadius:ve},"&:last-child":{borderStartEndRadius:ve,borderEndEndRadius:ve},"&:first-child:last-child":{borderRadius:ve},[`${ut}-group-large &`]:{height:Ie,fontSize:Wt,lineHeight:`${Ie-tt*2}px`,"&:first-child":{borderStartStartRadius:se,borderEndStartRadius:se},"&:last-child":{borderStartEndRadius:se,borderEndEndRadius:se}},[`${ut}-group-small &`]:{height:he,paddingInline:ue-tt,paddingBlock:0,lineHeight:`${he-tt*2}px`,"&:first-child":{borderStartStartRadius:ye,borderEndStartRadius:ye},"&:last-child":{borderStartEndRadius:ye,borderEndEndRadius:ye}},"&:hover":{position:"relative",color:yt},"&:has(:focus-visible)":Object.assign({},(0,ke.oN)(Me)),[`${ut}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ut}-button-wrapper-disabled)`]:{zIndex:1,color:yt,background:$e,borderColor:yt,"&::before":{backgroundColor:yt},"&:first-child":{borderColor:yt},"&:hover":{color:jt,borderColor:jt,"&::before":{backgroundColor:jt}},"&:active":{color:En,borderColor:En,"&::before":{backgroundColor:En}}},[`${ut}-group-solid &-checked:not(${ut}-button-wrapper-disabled)`]:{color:wt,background:_t,borderColor:_t,"&:hover":{color:wt,background:Yt,borderColor:Yt},"&:active":{color:wt,background:wn,borderColor:wn}},"&-disabled":{color:lt,backgroundColor:Je,borderColor:Nt,cursor:"not-allowed","&:first-child, &:hover":{color:lt,backgroundColor:Je,borderColor:Nt}},[`&-disabled${ut}-button-wrapper-checked`]:{color:Dt,backgroundColor:Pt,borderColor:Nt,boxShadow:"none"}}}},me=Me=>Me-4*2;var Re=(0,Ye.Z)("Radio",Me=>{const{controlOutline:st,controlOutlineWidth:zt,radioSize:ut}=Me,tt=`0 0 0 ${zt}px ${st}`,at=tt,Nt=me(ut),on=(0,et.TS)(Me,{radioDotDisabledSize:Nt,radioFocusShadow:tt,radioButtonFocusShadow:at});return[Ke(on),Oe(on),_e(on)]},Me=>{const{wireframe:st,padding:zt,marginXS:ut,lineWidth:tt,fontSizeLG:at,colorText:Nt,colorBgContainer:on,colorTextDisabled:Ht,controlItemBgActiveDisabled:Fn,colorTextLightSolid:Qt,colorPrimary:Ut,colorPrimaryHover:Wt,colorPrimaryActive:Ie}=Me,he=4,ue=at,ve=st?me(ue):ue-(he+tt)*2;return{radioSize:ue,dotSize:ve,dotColorDisabled:Ht,buttonSolidCheckedColor:Qt,buttonSolidCheckedBg:Ut,buttonSolidCheckedHoverBg:Wt,buttonSolidCheckedActiveBg:Ie,buttonBg:on,buttonCheckedBg:on,buttonColor:Nt,buttonCheckedBgDisabled:Fn,buttonCheckedColorDisabled:Ht,buttonPaddingInline:zt-tt,wrapperMarginInlineEnd:ut}}),Le=te(14088),Pe=te(4572),De=function(Me,st){var zt={};for(var ut in Me)Object.prototype.hasOwnProperty.call(Me,ut)&&st.indexOf(ut)<0&&(zt[ut]=Me[ut]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,ut=Object.getOwnPropertySymbols(Me);tt<ut.length;tt++)st.indexOf(ut[tt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ut[tt])&&(zt[ut[tt]]=Me[ut[tt]]);return zt};const ze=(Me,st)=>{var zt,ut;const tt=xe.useContext(He),at=xe.useContext(rt),{getPrefixCls:Nt,direction:on,radio:Ht}=xe.useContext(Ee.E_),Fn=xe.useRef(null),Qt=(0,we.sQ)(st,Fn),{isFormItemInput:Ut}=xe.useContext(Ne.aM),Wt=En=>{var _t,Yt;(_t=Me.onChange)===null||_t===void 0||_t.call(Me,En),(Yt=tt==null?void 0:tt.onChange)===null||Yt===void 0||Yt.call(tt,En)},{prefixCls:Ie,className:he,rootClassName:ue,children:ve,style:ye}=Me,se=De(Me,["prefixCls","className","rootClassName","children","style"]),$e=Nt("radio",Ie),wt=((tt==null?void 0:tt.optionType)||at)==="button",lt=wt?`${$e}-button`:$e,[Je,Pt]=Re($e),Dt=Object.assign({},se),yt=xe.useContext(Se.Z);tt&&(Dt.name=tt.name,Dt.onChange=Wt,Dt.checked=Me.value===tt.value,Dt.disabled=(zt=Dt.disabled)!==null&&zt!==void 0?zt:tt.disabled),Dt.disabled=(ut=Dt.disabled)!==null&&ut!==void 0?ut:yt;const jt=de()(`${lt}-wrapper`,{[`${lt}-wrapper-checked`]:Dt.checked,[`${lt}-wrapper-disabled`]:Dt.disabled,[`${lt}-wrapper-rtl`]:on==="rtl",[`${lt}-wrapper-in-form-item`]:Ut},Ht==null?void 0:Ht.className,he,ue,Pt);return Je(xe.createElement(Le.Z,{component:"Radio",disabled:Dt.disabled},xe.createElement("label",{className:jt,style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),ye),onMouseEnter:Me.onMouseEnter,onMouseLeave:Me.onMouseLeave},xe.createElement(ge.Z,Object.assign({},Dt,{className:de()(Dt.className,!wt&&Pe.A),type:"radio",prefixCls:lt,ref:Qt})),ve!==void 0?xe.createElement("span",null,ve):null)))};var xt=xe.forwardRef(ze);const Ze=xe.forwardRef((Me,st)=>{const{getPrefixCls:zt,direction:ut}=xe.useContext(Ee.E_),[tt,at]=(0,Ce.Z)(Me.defaultValue,{value:Me.value}),Nt=_t=>{const Yt=tt,wn=_t.target.value;"value"in Me||at(wn);const{onChange:Ft}=Me;Ft&&wn!==Yt&&Ft(_t)},{prefixCls:on,className:Ht,rootClassName:Fn,options:Qt,buttonStyle:Ut="outline",disabled:Wt,children:Ie,size:he,style:ue,id:ve,onMouseEnter:ye,onMouseLeave:se,onFocus:$e,onBlur:wt}=Me,lt=zt("radio",on),Je=`${lt}-group`,[Pt,Dt]=Re(lt);let yt=Ie;Qt&&Qt.length>0&&(yt=Qt.map(_t=>typeof _t=="string"||typeof _t=="number"?xe.createElement(xt,{key:_t.toString(),prefixCls:lt,disabled:Wt,value:_t,checked:tt===_t},_t):xe.createElement(xt,{key:`radio-group-value-options-${_t.value}`,prefixCls:lt,disabled:_t.disabled||Wt,value:_t.value,checked:tt===_t.value,title:_t.title,style:_t.style},_t.label)));const jt=(0,fe.Z)(he),En=de()(Je,`${Je}-${Ut}`,{[`${Je}-${jt}`]:jt,[`${Je}-rtl`]:ut==="rtl"},Ht,Fn,Dt);return Pt(xe.createElement("div",Object.assign({},(0,We.Z)(Me,{aria:!0,data:!0}),{className:En,style:ue,onMouseEnter:ye,onMouseLeave:se,onFocus:$e,onBlur:wt,id:ve,ref:st}),xe.createElement(Fe,{value:{onChange:Nt,value:tt,disabled:Me.disabled,name:Me.name,optionType:Me.optionType}},yt)))});var vt=xe.memo(Ze),ot=function(Me,st){var zt={};for(var ut in Me)Object.prototype.hasOwnProperty.call(Me,ut)&&st.indexOf(ut)<0&&(zt[ut]=Me[ut]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,ut=Object.getOwnPropertySymbols(Me);tt<ut.length;tt++)st.indexOf(ut[tt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ut[tt])&&(zt[ut[tt]]=Me[ut[tt]]);return zt};const mt=(Me,st)=>{const{getPrefixCls:zt}=xe.useContext(Ee.E_),{prefixCls:ut}=Me,tt=ot(Me,["prefixCls"]),at=zt("radio",ut);return xe.createElement(Ae,{value:"button"},xe.createElement(xt,Object.assign({prefixCls:at},tt,{type:"radio",ref:st})))};var Lt=xe.forwardRef(mt);const It=xt;It.Button=Lt,It.Group=vt,It.__ANT_RADIO=!0;var Qe=It},13570:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Me}});var ee=te(60499),de=te(59301),Ce={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"},We=Ce,xe=te(7657),Ee=function(zt,ut){return de.createElement(xe.Z,(0,ee.Z)({},zt,{ref:ut,icon:We}))},fe=de.forwardRef(Ee),be=fe,Fe=te(92310),He=te.n(Fe),rt=te(18642),Ae=te(72190),ge=te(42244),we=te(18929),Se=te(10228),Ne=te(26112);function ke(st,zt){var ut=st.disabled,tt=st.prefixCls,at=st.character,Nt=st.characterRender,on=st.index,Ht=st.count,Fn=st.value,Qt=st.allowHalf,Ut=st.focused,Wt=st.onHover,Ie=st.onClick,he=function(Je){Wt(Je,on)},ue=function(Je){Ie(Je,on)},ve=function(Je){Je.keyCode===Se.Z.ENTER&&Ie(Je,on)},ye=on+1,se=new Set([tt]);Fn===0&&on===0&&Ut?se.add("".concat(tt,"-focused")):Qt&&Fn+.5>=ye&&Fn<ye?(se.add("".concat(tt,"-half")),se.add("".concat(tt,"-active")),Ut&&se.add("".concat(tt,"-focused"))):(ye<=Fn?se.add("".concat(tt,"-full")):se.add("".concat(tt,"-zero")),ye===Fn&&Ut&&se.add("".concat(tt,"-focused")));var $e=typeof at=="function"?at(st):at,wt=de.createElement("li",{className:He()(Array.from(se)),ref:zt},de.createElement("div",{onClick:ut?null:ue,onKeyDown:ut?null:ve,onMouseMove:ut?null:he,role:"radio","aria-checked":Fn>on?"true":"false","aria-posinset":on+1,"aria-setsize":Ht,tabIndex:ut?-1:0},de.createElement("div",{className:"".concat(tt,"-first")},$e),de.createElement("div",{className:"".concat(tt,"-second")},$e)));return Nt&&(wt=Nt(wt,st)),wt}var Ye=de.forwardRef(ke);function et(){var st=de.useRef({});function zt(tt){return st.current[tt]}function ut(tt){return function(at){st.current[tt]=at}}return[zt,ut]}function Ke(st){var zt=st.pageXOffset,ut="scrollLeft";if(typeof zt!="number"){var tt=st.document;zt=tt.documentElement[ut],typeof zt!="number"&&(zt=tt.body[ut])}return zt}function Oe(st){var zt,ut,tt=st.ownerDocument,at=tt.body,Nt=tt&&tt.documentElement,on=st.getBoundingClientRect();return zt=on.left,ut=on.top,zt-=Nt.clientLeft||at.clientLeft||0,ut-=Nt.clientTop||at.clientTop||0,{left:zt,top:ut}}function _e(st){var zt=Oe(st),ut=st.ownerDocument,tt=ut.defaultView||ut.parentWindow;return zt.left+=Ke(tt),zt.left}var me=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Re(st,zt){var ut,tt=st.prefixCls,at=tt===void 0?"rc-rate":tt,Nt=st.className,on=st.defaultValue,Ht=st.value,Fn=st.count,Qt=Fn===void 0?5:Fn,Ut=st.allowHalf,Wt=Ut===void 0?!1:Ut,Ie=st.allowClear,he=Ie===void 0?!0:Ie,ue=st.character,ve=ue===void 0?"\u2605":ue,ye=st.characterRender,se=st.disabled,$e=st.direction,wt=$e===void 0?"ltr":$e,lt=st.tabIndex,Je=lt===void 0?0:lt,Pt=st.autoFocus,Dt=st.onHoverChange,yt=st.onChange,jt=st.onFocus,En=st.onBlur,_t=st.onKeyDown,Yt=st.onMouseLeave,wn=(0,ge.Z)(st,me),Ft=et(),it=(0,Ae.Z)(Ft,2),Et=it[0],an=it[1],un=de.useRef(null),vn=function(){if(!se){var Ct;(Ct=un.current)===null||Ct===void 0||Ct.focus()}};de.useImperativeHandle(zt,function(){return{focus:vn,blur:function(){if(!se){var Ct;(Ct=un.current)===null||Ct===void 0||Ct.blur()}}}});var gn=(0,we.Z)(on||0,{value:Ht}),Xn=(0,Ae.Z)(gn,2),ir=Xn[0],Dr=Xn[1],kr=(0,we.Z)(null),Bn=(0,Ae.Z)(kr,2),jr=Bn[0],ci=Bn[1],_r=function(Ct,Gt){var nn=wt==="rtl",_n=Ct+1;if(Wt){var Pn=Et(Ct),Sn=_e(Pn),rr=Pn.clientWidth;(nn&&Gt-Sn>rr/2||!nn&&Gt-Sn<rr/2)&&(_n-=.5)}return _n},Nr=function(Ct){Dr(Ct),yt==null||yt(Ct)},ai=de.useState(!1),pi=(0,Ae.Z)(ai,2),Mn=pi[0],pr=pi[1],Rr=function(){pr(!0),jt==null||jt()},Gr=function(){pr(!1),En==null||En()},zr=de.useState(null),ei=(0,Ae.Z)(zr,2),Hr=ei[0],fi=ei[1],Pr=function(Ct,Gt){var nn=_r(Gt,Ct.pageX);nn!==jr&&(fi(nn),ci(null)),Dt==null||Dt(nn)},dr=function(Ct){se||(fi(null),ci(null),Dt==null||Dt(void 0)),Ct&&(Yt==null||Yt(Ct))},oi=function(Ct,Gt){var nn=_r(Gt,Ct.pageX),_n=!1;he&&(_n=nn===ir),dr(),Nr(_n?0:nn),ci(_n?nn:null)},$t=function(Ct){var Gt=Ct.keyCode,nn=wt==="rtl",_n=ir;Gt===Se.Z.RIGHT&&_n<Qt&&!nn?(Wt?_n+=.5:_n+=1,Nr(_n),Ct.preventDefault()):Gt===Se.Z.LEFT&&_n>0&&!nn||Gt===Se.Z.RIGHT&&_n>0&&nn?(Wt?_n-=.5:_n-=1,Nr(_n),Ct.preventDefault()):Gt===Se.Z.LEFT&&_n<Qt&&nn&&(Wt?_n+=.5:_n+=1,Nr(_n),Ct.preventDefault()),_t==null||_t(Ct)};de.useEffect(function(){Pt&&!se&&vn()},[]);var pt=new Array(Qt).fill(0).map(function(At,Ct){return de.createElement(Ye,{ref:an(Ct),index:Ct,count:Qt,disabled:se,prefixCls:"".concat(at,"-star"),allowHalf:Wt,value:Hr===null?ir:Hr,onClick:oi,onHover:Pr,key:At||Ct,character:ve,characterRender:ye,focused:Mn})}),Bt=He()(at,Nt,(ut={},(0,rt.Z)(ut,"".concat(at,"-disabled"),se),(0,rt.Z)(ut,"".concat(at,"-rtl"),wt==="rtl"),ut));return de.createElement("ul",(0,ee.Z)({className:Bt,onMouseLeave:dr,tabIndex:se?-1:Je,onFocus:se?null:Rr,onBlur:se?null:Gr,onKeyDown:se?null:$t,ref:un,role:"radiogroup"},(0,Ne.Z)(wn,{aria:!0,data:!0,attr:!0})),pt)}var Le=de.forwardRef(Re),Pe=Le,De=te(36355),ze=te(6848),Te=te(17313),xt=te(83116),Ze=te(37613);const vt=st=>{const{componentCls:zt}=st;return{[`${zt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:st.marginXS},"> div":{transition:`all ${st.motionDurationMid}, outline 0s`,"&:hover":{transform:st.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${st.lineWidth}px dashed ${st.starColor}`,transform:st.starHoverScale}},"&-first, &-second":{color:st.starBg,transition:`all ${st.motionDurationMid}`,userSelect:"none",[st.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${zt}-star-first, &-half ${zt}-star-second`]:{opacity:1},[`&-half ${zt}-star-first, &-full ${zt}-star-second`]:{color:"inherit"}}}},ot=st=>({[`&-rtl${st.componentCls}`]:{direction:"rtl"}}),mt=st=>{const{componentCls:zt}=st;return{[zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Te.Wf)(st)),{display:"inline-block",margin:0,padding:0,color:st.starColor,fontSize:st.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${zt} ${zt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),vt(st)),{[`+ ${zt}-text`]:{display:"inline-block",marginInlineStart:st.marginXS,fontSize:st.fontSize}}),ot(st))}};var Lt=(0,xt.Z)("Rate",st=>{const zt=(0,Ze.TS)(st,{});return[mt(zt)]},st=>({starColor:st.yellow6,starSize:st.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:st.colorFillContent})),It=function(st,zt){var ut={};for(var tt in st)Object.prototype.hasOwnProperty.call(st,tt)&&zt.indexOf(tt)<0&&(ut[tt]=st[tt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,tt=Object.getOwnPropertySymbols(st);at<tt.length;at++)zt.indexOf(tt[at])<0&&Object.prototype.propertyIsEnumerable.call(st,tt[at])&&(ut[tt[at]]=st[tt[at]]);return ut},Me=de.forwardRef((st,zt)=>{const{prefixCls:ut,className:tt,rootClassName:at,style:Nt,tooltips:on,character:Ht=de.createElement(be,null)}=st,Fn=It(st,["prefixCls","className","rootClassName","style","tooltips","character"]),Qt=(se,$e)=>{let{index:wt}=$e;return on?de.createElement(ze.Z,{title:on[wt]},se):se},{getPrefixCls:Ut,direction:Wt,rate:Ie}=de.useContext(De.E_),he=Ut("rate",ut),[ue,ve]=Lt(he),ye=Object.assign(Object.assign({},Ie==null?void 0:Ie.style),Nt);return ue(de.createElement(Pe,Object.assign({ref:zt,character:Ht,characterRender:Qt},Fn,{className:He()(tt,at,ve,Ie==null?void 0:Ie.className),style:ye,prefixCls:he,direction:Wt})))})},57809:function(tn,kt,te){"use strict";var ee=te(92310),de=te.n(ee),Ce=te(77861),We=te(2738),xe=te(59301),Ee=te(53487),fe=te(62892),be=te(19080),Fe=te(36355),He=te(1684),rt=te(93891),Ae=te(19716),ge=te(32441),we=te(33234),Se=te(14154),Ne=te(58582),ke=te(84443),Ye=te(66339),et=function(Re,Le){var Pe={};for(var De in Re)Object.prototype.hasOwnProperty.call(Re,De)&&Le.indexOf(De)<0&&(Pe[De]=Re[De]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,De=Object.getOwnPropertySymbols(Re);ze<De.length;ze++)Le.indexOf(De[ze])<0&&Object.prototype.propertyIsEnumerable.call(Re,De[ze])&&(Pe[De[ze]]=Re[De[ze]]);return Pe};const Ke="SECRET_COMBOBOX_MODE_DO_NOT_USE",Oe=(Re,Le)=>{var Pe,{prefixCls:De,bordered:ze=!0,className:Te,rootClassName:xt,getPopupContainer:Ze,popupClassName:vt,dropdownClassName:ot,listHeight:mt=256,placement:Lt,listItemHeight:It=24,size:Qe,disabled:Me,notFoundContent:st,status:zt,builtinPlacements:ut,dropdownMatchSelectWidth:tt,popupMatchSelectWidth:at,direction:Nt,style:on,allowClear:Ht}=Re,Fn=et(Re,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Qt,getPrefixCls:Ut,renderEmpty:Wt,direction:Ie,virtual:he,popupMatchSelectWidth:ue,popupOverflow:ve,select:ye}=xe.useContext(Fe.E_),se=Ut("select",De),$e=Ut(),wt=Nt!=null?Nt:Ie,{compactSize:lt,compactItemClassnames:Je}=(0,we.ri)(se,wt),[Pt,Dt]=(0,Se.Z)(se),yt=xe.useMemo(()=>{const{mode:pi}=Fn;if(pi!=="combobox")return pi===Ke?"combobox":pi},[Fn.mode]),jt=yt==="multiple"||yt==="tags",En=(0,ke.Z)(Fn.suffixIcon,Fn.showArrow),_t=(Pe=at!=null?at:tt)!==null&&Pe!==void 0?Pe:ue,{status:Yt,hasFeedback:wn,isFormItemInput:Ft,feedbackIcon:it}=xe.useContext(ge.aM),Et=(0,be.F)(Yt,zt);let an;st!==void 0?an=st:yt==="combobox"?an=null:an=(Wt==null?void 0:Wt("Select"))||xe.createElement(rt.Z,{componentName:"Select"});const{suffixIcon:un,itemIcon:vn,removeIcon:gn,clearIcon:Xn}=(0,Ye.Z)(Object.assign(Object.assign({},Fn),{multiple:jt,hasFeedback:wn,feedbackIcon:it,showSuffixIcon:En,prefixCls:se,showArrow:Fn.showArrow,componentName:"Select"})),ir=Ht===!0?{clearIcon:Xn}:Ht,Dr=(0,We.Z)(Fn,["suffixIcon","itemIcon"]),kr=de()(vt||ot,{[`${se}-dropdown-${wt}`]:wt==="rtl"},xt,Dt),Bn=(0,Ae.Z)(pi=>{var Mn;return(Mn=Qe!=null?Qe:lt)!==null&&Mn!==void 0?Mn:pi}),jr=xe.useContext(He.Z),ci=Me!=null?Me:jr,_r=de()({[`${se}-lg`]:Bn==="large",[`${se}-sm`]:Bn==="small",[`${se}-rtl`]:wt==="rtl",[`${se}-borderless`]:!ze,[`${se}-in-form-item`]:Ft},(0,be.Z)(se,Et,wn),Je,ye==null?void 0:ye.className,Te,xt,Dt),Nr=xe.useMemo(()=>Lt!==void 0?Lt:wt==="rtl"?"bottomRight":"bottomLeft",[Lt,wt]),ai=(0,Ne.Z)(ut,ve);return Pt(xe.createElement(Ce.ZP,Object.assign({ref:Le,virtual:he,showSearch:ye==null?void 0:ye.showSearch},Dr,{style:Object.assign(Object.assign({},ye==null?void 0:ye.style),on),dropdownMatchSelectWidth:_t,builtinPlacements:ai,transitionName:(0,fe.m)($e,"slide-up",Fn.transitionName),listHeight:mt,listItemHeight:It,mode:yt,prefixCls:se,placement:Nr,direction:wt,suffixIcon:un,menuItemSelectedIcon:vn,removeIcon:gn,allowClear:ir,notFoundContent:an,className:_r,getPopupContainer:Ze||Qt,dropdownClassName:kr,disabled:ci})))},_e=xe.forwardRef(Oe),me=(0,Ee.Z)(_e);_e.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ke,_e.Option=Ce.Wx,_e.OptGroup=Ce.Xo,_e._InternalPanelDoNotUseOrYouWillBeFired=me,kt.default=_e},14154:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return _e}});var ee=te(17313),de=te(74207),Ce=te(37613),We=te(83116),xe=te(13826),Ee=te(92899);const fe=me=>{const{optionHeight:Re,optionFontSize:Le,optionLineHeight:Pe,optionPadding:De}=me;return{position:"relative",display:"block",minHeight:Re,padding:De,color:me.colorText,fontWeight:"normal",fontSize:Le,lineHeight:Pe,boxSizing:"border-box"}};var Fe=me=>{const{antCls:Re,componentCls:Le}=me,Pe=`${Le}-item`,De=`&${Re}-slide-up-enter${Re}-slide-up-enter-active`,ze=`&${Re}-slide-up-appear${Re}-slide-up-appear-active`,Te=`&${Re}-slide-up-leave${Re}-slide-up-leave-active`,xt=`${Le}-dropdown-placement-`;return[{[`${Le}-dropdown`]:Object.assign(Object.assign({},(0,ee.Wf)(me)),{position:"absolute",top:-9999,zIndex:me.zIndexPopup,boxSizing:"border-box",padding:me.paddingXXS,overflow:"hidden",fontSize:me.fontSize,fontVariant:"initial",backgroundColor:me.colorBgElevated,borderRadius:me.borderRadiusLG,outline:"none",boxShadow:me.boxShadowSecondary,[`
|
|
|
${De}${xt}bottomLeft,
|
|
|
${ze}${xt}bottomLeft
|
|
|
`]:{animationName:xe.fJ},[`
|
|
|
${De}${xt}topLeft,
|
|
|
${ze}${xt}topLeft,
|
|
|
${De}${xt}topRight,
|
|
|
${ze}${xt}topRight
|
|
|
`]:{animationName:xe.Qt},[`${Te}${xt}bottomLeft`]:{animationName:xe.Uw},[`
|
|
|
${Te}${xt}topLeft,
|
|
|
${Te}${xt}topRight
|
|
|
`]:{animationName:xe.ly},"&-hidden":{display:"none"},[`${Pe}`]:Object.assign(Object.assign({},fe(me)),{cursor:"pointer",transition:`background ${me.motionDurationSlow} ease`,borderRadius:me.borderRadiusSM,"&-group":{color:me.colorTextDescription,fontSize:me.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ee.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Pe}-option-disabled)`]:{backgroundColor:me.optionActiveBg},[`&-selected:not(${Pe}-option-disabled)`]:{color:me.optionSelectedColor,fontWeight:me.optionSelectedFontWeight,backgroundColor:me.optionSelectedBg,[`${Pe}-option-state`]:{color:me.colorPrimary}},"&-disabled":{[`&${Pe}-option-selected`]:{backgroundColor:me.colorBgContainerDisabled},color:me.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:me.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,xe.oN)(me,"slide-up"),(0,xe.oN)(me,"slide-down"),(0,Ee.Fm)(me,"move-up"),(0,Ee.Fm)(me,"move-down")]};const He=2,rt=me=>{let{controlHeightSM:Re,controlHeight:Le,lineWidth:Pe}=me;const De=(Le-Re)/2-Pe,ze=Math.ceil(De/2);return[De,ze]};function Ae(me,Re){const{componentCls:Le,iconCls:Pe}=me,De=`${Le}-selection-overflow`,ze=me.multipleSelectItemHeight,[Te]=rt(me),xt=Re?`${Le}-${Re}`:"";return{[`${Le}-multiple${xt}`]:{fontSize:me.fontSize,[De]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Le}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Te-He}px ${He*2}px`,borderRadius:me.borderRadius,[`${Le}-show-search&`]:{cursor:"text"},[`${Le}-disabled&`]:{background:me.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${He}px 0`,lineHeight:`${ze}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${Le}-show-arrow ${Le}-selector,
|
|
|
&${Le}-allow-clear ${Le}-selector
|
|
|
`]:{paddingInlineEnd:me.fontSizeIcon+me.controlPaddingHorizontal},[`${Le}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:ze,marginTop:He,marginBottom:He,lineHeight:`${ze-me.lineWidth*2}px`,background:me.multipleItemBg,border:`${me.lineWidth}px ${me.lineType} ${me.multipleItemBorderColor}`,borderRadius:me.borderRadiusSM,cursor:"default",transition:`font-size ${me.motionDurationSlow}, line-height ${me.motionDurationSlow}, height ${me.motionDurationSlow}`,userSelect:"none",marginInlineEnd:He*2,paddingInlineStart:me.paddingXS,paddingInlineEnd:me.paddingXS/2,[`${Le}-disabled&`]:{color:me.multipleItemColorDisabled,borderColor:me.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:me.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ee.Ro)()),{display:"inline-flex",alignItems:"center",color:me.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Pe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:me.colorIconHover}})},[`${De}-item + ${De}-item`]:{[`${Le}-selection-search`]:{marginInlineStart:0}},[`${Le}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:me.inputPaddingHorizontalBase-Te,"\n &-input,\n &-mirror\n ":{height:ze,fontFamily:me.fontFamily,lineHeight:`${ze}px`,transition:`all ${me.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Le}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:me.inputPaddingHorizontalBase,insetInlineEnd:me.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${me.motionDurationSlow}`}}}}var we=me=>{const{componentCls:Re}=me,Le=(0,Ce.TS)(me,{controlHeight:me.controlHeightSM,multipleSelectItemHeight:me.controlHeightXS,borderRadius:me.borderRadiusSM,borderRadiusSM:me.borderRadiusXS}),Pe=(0,Ce.TS)(me,{fontSize:me.fontSizeLG,controlHeight:me.controlHeightLG,multipleSelectItemHeight:me.multipleItemHeightLG,borderRadius:me.borderRadiusLG,borderRadiusSM:me.borderRadius}),[,De]=rt(me);return[Ae(me),Ae(Le,"sm"),{[`${Re}-multiple${Re}-sm`]:{[`${Re}-selection-placeholder`]:{insetInline:me.controlPaddingHorizontalSM-me.lineWidth},[`${Re}-selection-search`]:{marginInlineStart:De}}},Ae(Pe,"lg")]};function Se(me,Re){const{componentCls:Le,inputPaddingHorizontalBase:Pe,borderRadius:De}=me,ze=me.controlHeight-me.lineWidth*2,Te=Math.ceil(me.fontSize*1.25),xt=Re?`${Le}-${Re}`:"";return{[`${Le}-single${xt}`]:{fontSize:me.fontSize,[`${Le}-selector`]:Object.assign(Object.assign({},(0,ee.Wf)(me)),{display:"flex",borderRadius:De,[`${Le}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Pe,insetInlineEnd:Pe,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${Le}-selection-item,
|
|
|
${Le}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${ze}px`,transition:`all ${me.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${ze}px`}},[`${Le}-selection-item`]:{position:"relative",userSelect:"none"},[`${Le}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Le}-selection-item:after`,`${Le}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${Le}-show-arrow ${Le}-selection-item,
|
|
|
&${Le}-show-arrow ${Le}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:Te},[`&${Le}-open ${Le}-selection-item`]:{color:me.colorTextPlaceholder},[`&:not(${Le}-customize-input)`]:{[`${Le}-selector`]:{width:"100%",height:me.controlHeight,padding:`0 ${Pe}px`,[`${Le}-selection-search-input`]:{height:ze},"&:after":{lineHeight:`${ze}px`}}},[`&${Le}-customize-input`]:{[`${Le}-selector`]:{"&:after":{display:"none"},[`${Le}-selection-search`]:{position:"static",width:"100%"},[`${Le}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Pe}px`,"&:after":{display:"none"}}}}}}}function Ne(me){const{componentCls:Re}=me,Le=me.controlPaddingHorizontalSM-me.lineWidth;return[Se(me),Se((0,Ce.TS)(me,{controlHeight:me.controlHeightSM,borderRadius:me.borderRadiusSM}),"sm"),{[`${Re}-single${Re}-sm`]:{[`&:not(${Re}-customize-input)`]:{[`${Re}-selection-search`]:{insetInlineStart:Le,insetInlineEnd:Le},[`${Re}-selector`]:{padding:`0 ${Le}px`},[`&${Re}-show-arrow ${Re}-selection-search`]:{insetInlineEnd:Le+me.fontSize*1.5},[`
|
|
|
&${Re}-show-arrow ${Re}-selection-item,
|
|
|
&${Re}-show-arrow ${Re}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:me.fontSize*1.5}}}},Se((0,Ce.TS)(me,{controlHeight:me.singleItemHeightLG,fontSize:me.fontSizeLG,borderRadius:me.borderRadiusLG}),"lg")]}const ke=me=>{const{componentCls:Re,selectorBg:Le}=me;return{position:"relative",backgroundColor:Le,border:`${me.lineWidth}px ${me.lineType} ${me.colorBorder}`,transition:`all ${me.motionDurationMid} ${me.motionEaseInOut}`,input:{cursor:"pointer"},[`${Re}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Re}-disabled&`]:{color:me.colorTextDisabled,background:me.colorBgContainerDisabled,cursor:"not-allowed",[`${Re}-multiple&`]:{background:me.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Ye=function(me,Re){let Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Pe,borderHoverColor:De,outlineColor:ze,antCls:Te}=Re,xt=Le?{[`${Pe}-selector`]:{borderColor:De}}:{};return{[me]:{[`&:not(${Pe}-disabled):not(${Pe}-customize-input):not(${Te}-pagination-size-changer)`]:Object.assign(Object.assign({},xt),{[`${Pe}-focused& ${Pe}-selector`]:{borderColor:De,boxShadow:`0 0 0 ${Re.controlOutlineWidth}px ${ze}`,outline:0},[`&:hover ${Pe}-selector`]:{borderColor:De}})}}},et=me=>{const{componentCls:Re}=me;return{[`${Re}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Ke=me=>{const{componentCls:Re,inputPaddingHorizontalBase:Le,iconCls:Pe}=me;return{[Re]:Object.assign(Object.assign({},(0,ee.Wf)(me)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Re}-customize-input) ${Re}-selector`]:Object.assign(Object.assign({},ke(me)),et(me)),[`${Re}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ee.vS),[`${Re}-selection-placeholder`]:Object.assign(Object.assign({},ee.vS),{flex:1,color:me.colorTextPlaceholder,pointerEvents:"none"}),[`${Re}-arrow`]:Object.assign(Object.assign({},(0,ee.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Le,height:me.fontSizeIcon,marginTop:-me.fontSizeIcon/2,color:me.colorTextQuaternary,fontSize:me.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Pe]:{verticalAlign:"top",transition:`transform ${me.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Re}-suffix)`]:{pointerEvents:"auto"}},[`${Re}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Re}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Le,zIndex:1,display:"inline-block",width:me.fontSizeIcon,height:me.fontSizeIcon,marginTop:-me.fontSizeIcon/2,color:me.colorTextQuaternary,fontSize:me.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:me.clearBg,cursor:"pointer",opacity:0,transition:`color ${me.motionDurationMid} ease, opacity ${me.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:me.colorTextTertiary}},"&:hover":{[`${Re}-clear`]:{opacity:1}}}),[`${Re}-has-feedback`]:{[`${Re}-clear`]:{insetInlineEnd:Le+me.fontSize+me.paddingXS}}}},Oe=me=>{const{componentCls:Re}=me;return[{[Re]:{[`&-borderless ${Re}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Re}-in-form-item`]:{width:"100%"}}},Ke(me),Ne(me),we(me),Fe(me),{[`${Re}-rtl`]:{direction:"rtl"}},Ye(Re,(0,Ce.TS)(me,{borderHoverColor:me.colorPrimaryHover,outlineColor:me.controlOutline})),Ye(`${Re}-status-error`,(0,Ce.TS)(me,{borderHoverColor:me.colorErrorHover,outlineColor:me.colorErrorOutline}),!0),Ye(`${Re}-status-warning`,(0,Ce.TS)(me,{borderHoverColor:me.colorWarningHover,outlineColor:me.colorWarningOutline}),!0),(0,de.c)(me,{borderElCls:`${Re}-selector`,focusElCls:`${Re}-focused`})]};var _e=(0,We.Z)("Select",(me,Re)=>{let{rootPrefixCls:Le}=Re;const Pe=(0,Ce.TS)(me,{rootPrefixCls:Le,inputPaddingHorizontalBase:me.paddingSM-1,multipleSelectItemHeight:me.multipleItemHeight});return[Oe(Pe)]},me=>{const{fontSize:Re,lineHeight:Le,controlHeight:Pe,controlPaddingHorizontal:De,zIndexPopupBase:ze,colorText:Te,fontWeightStrong:xt,controlItemBgActive:Ze,controlItemBgHover:vt,colorBgContainer:ot,colorFillSecondary:mt,controlHeightLG:Lt,controlHeightSM:It,colorBgContainerDisabled:Qe,colorTextDisabled:Me}=me;return{zIndexPopup:ze+50,optionSelectedColor:Te,optionSelectedFontWeight:xt,optionSelectedBg:Ze,optionActiveBg:vt,optionPadding:`${(Pe-Re*Le)/2}px ${De}px`,optionFontSize:Re,optionLineHeight:Le,optionHeight:Pe,selectorBg:ot,clearBg:ot,singleItemHeightLG:Lt,multipleItemBg:mt,multipleItemBorderColor:"transparent",multipleItemHeight:It,multipleItemHeightLG:Pe,multipleSelectorBgDisabled:Qe,multipleItemColorDisabled:Me,multipleItemBorderColorDisabled:"transparent"}})},58582:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return de}});const ee=Ce=>{const xe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Ce==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},xe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},xe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},xe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},xe),{points:["br","tr"],offset:[0,-4]})}};function de(Ce,We){return Ce||ee(We)}},84443:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ee}});function ee(de,Ce){return Ce!==void 0?Ce:de!==null}},66339:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});var ee=te(40001),de=te(19248),Ce=te(99267),We=te(84105),xe=te(58617),Ee=te(47472),fe=te(59301);function be(Fe){let{suffixIcon:He,clearIcon:rt,menuItemSelectedIcon:Ae,removeIcon:ge,loading:we,multiple:Se,hasFeedback:Ne,prefixCls:ke,showSuffixIcon:Ye,feedbackIcon:et,showArrow:Ke,componentName:Oe}=Fe;const _e=rt!=null?rt:fe.createElement(de.Z,null),me=De=>He===null&&!Ne&&!Ke?null:fe.createElement(fe.Fragment,null,Ye!==!1&&De,Ne&&et);let Re=null;if(He!==void 0)Re=me(He);else if(we)Re=me(fe.createElement(xe.Z,{spin:!0}));else{const De=`${ke}-suffix`;Re=ze=>{let{open:Te,showSearch:xt}=ze;return me(Te&&xt?fe.createElement(Ee.Z,{className:De}):fe.createElement(We.Z,{className:De}))}}let Le=null;Ae!==void 0?Le=Ae:Se?Le=fe.createElement(ee.Z,null):Le=null;let Pe=null;return ge!==void 0?Pe=ge:Pe=fe.createElement(Ce.Z,null),{clearIcon:_e,suffixIcon:Re,itemIcon:Le,removeIcon:Pe}}},61621:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ve}});var ee=te(92310),de=te.n(ee),Ce=te(59301),We=te(36355),xe=te(2738),fe=ye=>{const{prefixCls:se,className:$e,style:wt,size:lt,shape:Je}=ye,Pt=de()({[`${se}-lg`]:lt==="large",[`${se}-sm`]:lt==="small"}),Dt=de()({[`${se}-circle`]:Je==="circle",[`${se}-square`]:Je==="square",[`${se}-round`]:Je==="round"}),yt=Ce.useMemo(()=>typeof lt=="number"?{width:lt,height:lt,lineHeight:`${lt}px`}:{},[lt]);return Ce.createElement("span",{className:de()(se,Pt,Dt,$e),style:Object.assign(Object.assign({},yt),wt)})},be=te(36237),Fe=te(83116),He=te(37613);const rt=new be.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ae=ye=>({height:ye,lineHeight:`${ye}px`}),ge=ye=>Object.assign({width:ye},Ae(ye)),we=ye=>({background:ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:rt,animationDuration:ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Se=ye=>Object.assign({width:ye*5,minWidth:ye*5},Ae(ye)),Ne=ye=>{const{skeletonAvatarCls:se,gradientFromColor:$e,controlHeight:wt,controlHeightLG:lt,controlHeightSM:Je}=ye;return{[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:$e},ge(wt)),[`${se}${se}-circle`]:{borderRadius:"50%"},[`${se}${se}-lg`]:Object.assign({},ge(lt)),[`${se}${se}-sm`]:Object.assign({},ge(Je))}},ke=ye=>{const{controlHeight:se,borderRadiusSM:$e,skeletonInputCls:wt,controlHeightLG:lt,controlHeightSM:Je,gradientFromColor:Pt}=ye;return{[`${wt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:$e},Se(se)),[`${wt}-lg`]:Object.assign({},Se(lt)),[`${wt}-sm`]:Object.assign({},Se(Je))}},Ye=ye=>Object.assign({width:ye},Ae(ye)),et=ye=>{const{skeletonImageCls:se,imageSizeBase:$e,gradientFromColor:wt,borderRadiusSM:lt}=ye;return{[`${se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:wt,borderRadius:lt},Ye($e*2)),{[`${se}-path`]:{fill:"#bfbfbf"},[`${se}-svg`]:Object.assign(Object.assign({},Ye($e)),{maxWidth:$e*4,maxHeight:$e*4}),[`${se}-svg${se}-svg-circle`]:{borderRadius:"50%"}}),[`${se}${se}-circle`]:{borderRadius:"50%"}}},Ke=(ye,se,$e)=>{const{skeletonButtonCls:wt}=ye;return{[`${$e}${wt}-circle`]:{width:se,minWidth:se,borderRadius:"50%"},[`${$e}${wt}-round`]:{borderRadius:se}}},Oe=ye=>Object.assign({width:ye*2,minWidth:ye*2},Ae(ye)),_e=ye=>{const{borderRadiusSM:se,skeletonButtonCls:$e,controlHeight:wt,controlHeightLG:lt,controlHeightSM:Je,gradientFromColor:Pt}=ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${$e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:se,width:wt*2,minWidth:wt*2},Oe(wt))},Ke(ye,wt,$e)),{[`${$e}-lg`]:Object.assign({},Oe(lt))}),Ke(ye,lt,`${$e}-lg`)),{[`${$e}-sm`]:Object.assign({},Oe(Je))}),Ke(ye,Je,`${$e}-sm`))},me=ye=>{const{componentCls:se,skeletonAvatarCls:$e,skeletonTitleCls:wt,skeletonParagraphCls:lt,skeletonButtonCls:Je,skeletonInputCls:Pt,skeletonImageCls:Dt,controlHeight:yt,controlHeightLG:jt,controlHeightSM:En,gradientFromColor:_t,padding:Yt,marginSM:wn,borderRadius:Ft,titleHeight:it,blockRadius:Et,paragraphLiHeight:an,controlHeightXS:un,paragraphMarginTop:vn}=ye;return{[`${se}`]:{display:"table",width:"100%",[`${se}-header`]:{display:"table-cell",paddingInlineEnd:Yt,verticalAlign:"top",[`${$e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_t},ge(yt)),[`${$e}-circle`]:{borderRadius:"50%"},[`${$e}-lg`]:Object.assign({},ge(jt)),[`${$e}-sm`]:Object.assign({},ge(En))},[`${se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${wt}`]:{width:"100%",height:it,background:_t,borderRadius:Et,[`+ ${lt}`]:{marginBlockStart:En}},[`${lt}`]:{padding:0,"> li":{width:"100%",height:an,listStyle:"none",background:_t,borderRadius:Et,"+ li":{marginBlockStart:un}}},[`${lt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${se}-content`]:{[`${wt}, ${lt} > li`]:{borderRadius:Ft}}},[`${se}-with-avatar ${se}-content`]:{[`${wt}`]:{marginBlockStart:wn,[`+ ${lt}`]:{marginBlockStart:vn}}},[`${se}${se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},_e(ye)),Ne(ye)),ke(ye)),et(ye)),[`${se}${se}-block`]:{width:"100%",[`${Je}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${se}${se}-active`]:{[`
|
|
|
${wt},
|
|
|
${lt} > li,
|
|
|
${$e},
|
|
|
${Je},
|
|
|
${Pt},
|
|
|
${Dt}
|
|
|
`]:Object.assign({},we(ye))}}};var Re=(0,Fe.Z)("Skeleton",ye=>{const{componentCls:se}=ye,$e=(0,He.TS)(ye,{skeletonAvatarCls:`${se}-avatar`,skeletonTitleCls:`${se}-title`,skeletonParagraphCls:`${se}-paragraph`,skeletonButtonCls:`${se}-button`,skeletonInputCls:`${se}-input`,skeletonImageCls:`${se}-image`,imageSizeBase:ye.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ye.gradientFromColor} 25%, ${ye.gradientToColor} 37%, ${ye.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[me($e)]},ye=>{const{colorFillContent:se,colorFill:$e}=ye,wt=se,lt=$e;return{color:wt,colorGradientEnd:lt,gradientFromColor:wt,gradientToColor:lt,titleHeight:ye.controlHeight/2,blockRadius:ye.borderRadiusSM,paragraphMarginTop:ye.marginLG+ye.marginXXS,paragraphLiHeight:ye.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Pe=ye=>{const{prefixCls:se,className:$e,rootClassName:wt,active:lt,shape:Je="circle",size:Pt="default"}=ye,{getPrefixCls:Dt}=Ce.useContext(We.E_),yt=Dt("skeleton",se),[jt,En]=Re(yt),_t=(0,xe.Z)(ye,["prefixCls","className"]),Yt=de()(yt,`${yt}-element`,{[`${yt}-active`]:lt},$e,wt,En);return jt(Ce.createElement("div",{className:Yt},Ce.createElement(fe,Object.assign({prefixCls:`${yt}-avatar`,shape:Je,size:Pt},_t))))},ze=ye=>{const{prefixCls:se,className:$e,rootClassName:wt,active:lt,block:Je=!1,size:Pt="default"}=ye,{getPrefixCls:Dt}=Ce.useContext(We.E_),yt=Dt("skeleton",se),[jt,En]=Re(yt),_t=(0,xe.Z)(ye,["prefixCls"]),Yt=de()(yt,`${yt}-element`,{[`${yt}-active`]:lt,[`${yt}-block`]:Je},$e,wt,En);return jt(Ce.createElement("div",{className:Yt},Ce.createElement(fe,Object.assign({prefixCls:`${yt}-button`,size:Pt},_t))))};const Te="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 Ze=ye=>{const{prefixCls:se,className:$e,rootClassName:wt,style:lt,active:Je}=ye,{getPrefixCls:Pt}=Ce.useContext(We.E_),Dt=Pt("skeleton",se),[yt,jt]=Re(Dt),En=de()(Dt,`${Dt}-element`,{[`${Dt}-active`]:Je},$e,wt,jt);return yt(Ce.createElement("div",{className:En},Ce.createElement("div",{className:de()(`${Dt}-image`,$e),style:lt},Ce.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Dt}-image-svg`},Ce.createElement("path",{d:Te,className:`${Dt}-image-path`})))))},ot=ye=>{const{prefixCls:se,className:$e,rootClassName:wt,active:lt,block:Je,size:Pt="default"}=ye,{getPrefixCls:Dt}=Ce.useContext(We.E_),yt=Dt("skeleton",se),[jt,En]=Re(yt),_t=(0,xe.Z)(ye,["prefixCls"]),Yt=de()(yt,`${yt}-element`,{[`${yt}-active`]:lt,[`${yt}-block`]:Je},$e,wt,En);return jt(Ce.createElement("div",{className:Yt},Ce.createElement(fe,Object.assign({prefixCls:`${yt}-input`,size:Pt},_t))))},mt=te(60499),Lt={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"},It=Lt,Qe=te(7657),Me=function(se,$e){return Ce.createElement(Qe.Z,(0,mt.Z)({},se,{ref:$e,icon:It}))},st=Ce.forwardRef(Me),zt=st,tt=ye=>{const{prefixCls:se,className:$e,rootClassName:wt,style:lt,active:Je,children:Pt}=ye,{getPrefixCls:Dt}=Ce.useContext(We.E_),yt=Dt("skeleton",se),[jt,En]=Re(yt),_t=de()(yt,`${yt}-element`,{[`${yt}-active`]:Je},En,$e,wt),Yt=Pt!=null?Pt:Ce.createElement(zt,null);return jt(Ce.createElement("div",{className:_t},Ce.createElement("div",{className:de()(`${yt}-image`,$e),style:lt},Yt)))},at=te(77654),on=ye=>{const se=Dt=>{const{width:yt,rows:jt=2}=ye;if(Array.isArray(yt))return yt[Dt];if(jt-1===Dt)return yt},{prefixCls:$e,className:wt,style:lt,rows:Je}=ye,Pt=(0,at.Z)(Array(Je)).map((Dt,yt)=>Ce.createElement("li",{key:yt,style:{width:se(yt)}}));return Ce.createElement("ul",{className:de()($e,wt),style:lt},Pt)},Fn=ye=>{let{prefixCls:se,className:$e,width:wt,style:lt}=ye;return Ce.createElement("h3",{className:de()(se,$e),style:Object.assign({width:wt},lt)})};function Qt(ye){return ye&&typeof ye=="object"?ye:{}}function Ut(ye,se){return ye&&!se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Wt(ye,se){return!ye&&se?{width:"38%"}:ye&&se?{width:"50%"}:{}}function Ie(ye,se){const $e={};return(!ye||!se)&&($e.width="61%"),!ye&&se?$e.rows=3:$e.rows=2,$e}const he=ye=>{const{prefixCls:se,loading:$e,className:wt,rootClassName:lt,style:Je,children:Pt,avatar:Dt=!1,title:yt=!0,paragraph:jt=!0,active:En,round:_t}=ye,{getPrefixCls:Yt,direction:wn,skeleton:Ft}=Ce.useContext(We.E_),it=Yt("skeleton",se),[Et,an]=Re(it);if($e||!("loading"in ye)){const un=!!Dt,vn=!!yt,gn=!!jt;let Xn;if(un){const kr=Object.assign(Object.assign({prefixCls:`${it}-avatar`},Ut(vn,gn)),Qt(Dt));Xn=Ce.createElement("div",{className:`${it}-header`},Ce.createElement(fe,Object.assign({},kr)))}let ir;if(vn||gn){let kr;if(vn){const jr=Object.assign(Object.assign({prefixCls:`${it}-title`},Wt(un,gn)),Qt(yt));kr=Ce.createElement(Fn,Object.assign({},jr))}let Bn;if(gn){const jr=Object.assign(Object.assign({prefixCls:`${it}-paragraph`},Ie(un,vn)),Qt(jt));Bn=Ce.createElement(on,Object.assign({},jr))}ir=Ce.createElement("div",{className:`${it}-content`},kr,Bn)}const Dr=de()(it,{[`${it}-with-avatar`]:un,[`${it}-active`]:En,[`${it}-rtl`]:wn==="rtl",[`${it}-round`]:_t},Ft==null?void 0:Ft.className,wt,lt,an);return Et(Ce.createElement("div",{className:Dr,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),Je)},Xn,ir))}return typeof Pt!="undefined"?Pt:null};he.Button=ze,he.Avatar=Pe,he.Input=ot,he.Image=Ze,he.Node=tt;var ue=he,ve=ue},31797:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return Re}});var ee=te(59301),de=te(56762),Ce=te(92343),We=te(92310),xe=te.n(We),Ee=te(36355),fe=te(61621),Fe=Le=>{const{value:Pe,formatter:De,precision:ze,decimalSeparator:Te,groupSeparator:xt="",prefixCls:Ze}=Le;let vt;if(typeof De=="function")vt=De(Pe);else{const ot=String(Pe),mt=ot.match(/^(-?)(\d*)(\.(\d+))?$/);if(!mt||ot==="-")vt=ot;else{const Lt=mt[1];let It=mt[2]||"0",Qe=mt[4]||"";It=It.replace(/\B(?=(\d{3})+(?!\d))/g,xt),typeof ze=="number"&&(Qe=Qe.padEnd(ze,"0").slice(0,ze>0?ze:0)),Qe&&(Qe=`${Te}${Qe}`),vt=[ee.createElement("span",{key:"int",className:`${Ze}-content-value-int`},Lt,It),Qe&&ee.createElement("span",{key:"decimal",className:`${Ze}-content-value-decimal`},Qe)]}}return ee.createElement("span",{className:`${Ze}-content-value`},vt)},He=te(17313),rt=te(83116),Ae=te(37613);const ge=Le=>{const{componentCls:Pe,marginXXS:De,padding:ze,colorTextDescription:Te,titleFontSize:xt,colorTextHeading:Ze,contentFontSize:vt,fontFamily:ot}=Le;return{[`${Pe}`]:Object.assign(Object.assign({},(0,He.Wf)(Le)),{[`${Pe}-title`]:{marginBottom:De,color:Te,fontSize:xt},[`${Pe}-skeleton`]:{paddingTop:ze},[`${Pe}-content`]:{color:Ze,fontSize:vt,fontFamily:ot,[`${Pe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Pe}-content-prefix, ${Pe}-content-suffix`]:{display:"inline-block"},[`${Pe}-content-prefix`]:{marginInlineEnd:De},[`${Pe}-content-suffix`]:{marginInlineStart:De}}})}};var we=(0,rt.Z)("Statistic",Le=>{const Pe=(0,Ae.TS)(Le,{});return[ge(Pe)]},Le=>{const{fontSizeHeading3:Pe,fontSize:De}=Le;return{titleFontSize:De,contentFontSize:Pe}}),Ne=Le=>{const{prefixCls:Pe,className:De,rootClassName:ze,style:Te,valueStyle:xt,value:Ze=0,title:vt,valueRender:ot,prefix:mt,suffix:Lt,loading:It=!1,onMouseEnter:Qe,onMouseLeave:Me,decimalSeparator:st=".",groupSeparator:zt=","}=Le,{getPrefixCls:ut,direction:tt,statistic:at}=ee.useContext(Ee.E_),Nt=ut("statistic",Pe),[on,Ht]=we(Nt),Fn=ee.createElement(Fe,Object.assign({decimalSeparator:st,groupSeparator:zt,prefixCls:Nt},Le,{value:Ze})),Qt=xe()(Nt,{[`${Nt}-rtl`]:tt==="rtl"},at==null?void 0:at.className,De,ze,Ht);return on(ee.createElement("div",{className:Qt,style:Object.assign(Object.assign({},at==null?void 0:at.style),Te),onMouseEnter:Qe,onMouseLeave:Me},vt&&ee.createElement("div",{className:`${Nt}-title`},vt),ee.createElement(fe.Z,{paragraph:!1,loading:It,className:`${Nt}-skeleton`},ee.createElement("div",{style:xt,className:`${Nt}-content`},mt&&ee.createElement("span",{className:`${Nt}-content-prefix`},mt),ot?ot(Fn):Fn,Lt&&ee.createElement("span",{className:`${Nt}-content-suffix`},Lt)))))};const ke=[["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 Ye(Le,Pe){let De=Le;const ze=/\[[^\]]*]/g,Te=(Pe.match(ze)||[]).map(ot=>ot.slice(1,-1)),xt=Pe.replace(ze,"[]"),Ze=ke.reduce((ot,mt)=>{let[Lt,It]=mt;if(ot.includes(Lt)){const Qe=Math.floor(De/It);return De-=Qe*It,ot.replace(new RegExp(`${Lt}+`,"g"),Me=>{const st=Me.length;return Qe.toString().padStart(st,"0")})}return ot},xt);let vt=0;return Ze.replace(ze,()=>{const ot=Te[vt];return vt+=1,ot})}function et(Le,Pe){const{format:De=""}=Pe,ze=new Date(Le).getTime(),Te=Date.now(),xt=Math.max(ze-Te,0);return Ye(xt,De)}const Ke=1e3/30;function Oe(Le){return new Date(Le).getTime()}const _e=Le=>{const{value:Pe,format:De="HH:mm:ss",onChange:ze,onFinish:Te}=Le,xt=(0,de.Z)(),Ze=ee.useRef(null),vt=()=>{Te==null||Te(),Ze.current&&(clearInterval(Ze.current),Ze.current=null)},ot=()=>{const It=Oe(Pe);It>=Date.now()&&(Ze.current=setInterval(()=>{xt(),ze==null||ze(It-Date.now()),It<Date.now()&&vt()},Ke))};ee.useEffect(()=>(ot(),()=>{Ze.current&&(clearInterval(Ze.current),Ze.current=null)}),[Pe]);const mt=(It,Qe)=>et(It,Object.assign(Object.assign({},Qe),{format:De})),Lt=It=>(0,Ce.Tm)(It,{title:void 0});return ee.createElement(Ne,Object.assign({},Le,{valueRender:Lt,formatter:mt}))};var me=ee.memo(_e);Ne.Countdown=me;var Re=Ne},8378:function(tn,kt){"use strict";const te=ee=>({[ee.componentCls]:{[`${ee.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ee.motionDurationMid} ${ee.motionEaseInOut},
|
|
|
opacity ${ee.motionDurationMid} ${ee.motionEaseInOut} !important`}},[`${ee.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ee.motionDurationMid} ${ee.motionEaseInOut},
|
|
|
opacity ${ee.motionDurationMid} ${ee.motionEaseInOut} !important`}}});kt.Z=te},92899:function(tn,kt,te){"use strict";te.d(kt,{Fm:function(){return Ae}});var ee=te(36237),de=te(95406);const Ce=new ee.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),We=new ee.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),xe=new ee.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 ee.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),fe=new ee.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),be=new ee.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Fe=new ee.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),He=new ee.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),rt={"move-up":{inKeyframes:Fe,outKeyframes:He},"move-down":{inKeyframes:Ce,outKeyframes:We},"move-left":{inKeyframes:xe,outKeyframes:Ee},"move-right":{inKeyframes:fe,outKeyframes:be}},Ae=(ge,we)=>{const{antCls:Se}=ge,Ne=`${Se}-${we}`,{inKeyframes:ke,outKeyframes:Ye}=rt[we];return[(0,de.R)(Ne,ke,Ye,ge.motionDurationMid),{[`
|
|
|
${Ne}-enter,
|
|
|
${Ne}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:ge.motionEaseOutCirc},[`${Ne}-leave`]:{animationTimingFunction:ge.motionEaseInOutCirc}}]}},13826:function(tn,kt,te){"use strict";te.d(kt,{Qt:function(){return xe},Uw:function(){return We},fJ:function(){return Ce},ly:function(){return Ee},oN:function(){return Ae}});var ee=te(36237),de=te(95406);const Ce=new ee.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),We=new ee.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),xe=new ee.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ee=new ee.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),fe=new ee.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),be=new ee.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Fe=new ee.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),He=new ee.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),rt={"slide-up":{inKeyframes:Ce,outKeyframes:We},"slide-down":{inKeyframes:xe,outKeyframes:Ee},"slide-left":{inKeyframes:fe,outKeyframes:be},"slide-right":{inKeyframes:Fe,outKeyframes:He}},Ae=(ge,we)=>{const{antCls:Se}=ge,Ne=`${Se}-${we}`,{inKeyframes:ke,outKeyframes:Ye}=rt[we];return[(0,de.R)(Ne,ke,Ye,ge.motionDurationMid),{[`
|
|
|
${Ne}-enter,
|
|
|
${Ne}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:ge.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Ne}-leave`]:{animationTimingFunction:ge.motionEaseInQuint}}]}},15969:function(tn,kt,te){"use strict";te.d(kt,{N:function(){return ee}});const ee=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},78673:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return xt}});var ee=te(58617),de=te(92310),Ce=te.n(de),We=te(60499),xe=te(18642),Ee=te(72190),fe=te(42244),be=te(59301),Fe=te(18929),He=te(10228),rt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ae=be.forwardRef(function(Ze,vt){var ot,mt=Ze.prefixCls,Lt=mt===void 0?"rc-switch":mt,It=Ze.className,Qe=Ze.checked,Me=Ze.defaultChecked,st=Ze.disabled,zt=Ze.loadingIcon,ut=Ze.checkedChildren,tt=Ze.unCheckedChildren,at=Ze.onClick,Nt=Ze.onChange,on=Ze.onKeyDown,Ht=(0,fe.Z)(Ze,rt),Fn=(0,Fe.Z)(!1,{value:Qe,defaultValue:Me}),Qt=(0,Ee.Z)(Fn,2),Ut=Qt[0],Wt=Qt[1];function Ie(ye,se){var $e=Ut;return st||($e=ye,Wt($e),Nt==null||Nt($e,se)),$e}function he(ye){ye.which===He.Z.LEFT?Ie(!1,ye):ye.which===He.Z.RIGHT&&Ie(!0,ye),on==null||on(ye)}function ue(ye){var se=Ie(!Ut,ye);at==null||at(se,ye)}var ve=Ce()(Lt,It,(ot={},(0,xe.Z)(ot,"".concat(Lt,"-checked"),Ut),(0,xe.Z)(ot,"".concat(Lt,"-disabled"),st),ot));return be.createElement("button",(0,We.Z)({},Ht,{type:"button",role:"switch","aria-checked":Ut,disabled:st,className:ve,ref:vt,onKeyDown:he,onClick:ue}),zt,be.createElement("span",{className:"".concat(Lt,"-inner")},be.createElement("span",{className:"".concat(Lt,"-inner-checked")},ut),be.createElement("span",{className:"".concat(Lt,"-inner-unchecked")},tt)))});Ae.displayName="Switch";var ge=Ae,we=te(14088),Se=te(36355),Ne=te(1684),ke=te(19716),Ye=te(64993),et=te(17313),Ke=te(83116),Oe=te(37613);const _e=Ze=>{const{componentCls:vt,trackHeightSM:ot,trackPadding:mt,trackMinWidthSM:Lt,innerMinMarginSM:It,innerMaxMarginSM:Qe,handleSizeSM:Me}=Ze,st=`${vt}-inner`;return{[vt]:{[`&${vt}-small`]:{minWidth:Lt,height:ot,lineHeight:`${ot}px`,[`${vt}-inner`]:{paddingInlineStart:Qe,paddingInlineEnd:It,[`${st}-checked`]:{marginInlineStart:`calc(-100% + ${Me+mt*2}px - ${Qe*2}px)`,marginInlineEnd:`calc(100% - ${Me+mt*2}px + ${Qe*2}px)`},[`${st}-unchecked`]:{marginTop:-ot,marginInlineStart:0,marginInlineEnd:0}},[`${vt}-handle`]:{width:Me,height:Me},[`${vt}-loading-icon`]:{top:(Me-Ze.switchLoadingIconSize)/2,fontSize:Ze.switchLoadingIconSize},[`&${vt}-checked`]:{[`${vt}-inner`]:{paddingInlineStart:It,paddingInlineEnd:Qe,[`${st}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${st}-unchecked`]:{marginInlineStart:`calc(100% - ${Me+mt*2}px + ${Qe*2}px)`,marginInlineEnd:`calc(-100% + ${Me+mt*2}px - ${Qe*2}px)`}},[`${vt}-handle`]:{insetInlineStart:`calc(100% - ${Me+mt}px)`}},[`&:not(${vt}-disabled):active`]:{[`&:not(${vt}-checked) ${st}`]:{[`${st}-unchecked`]:{marginInlineStart:Ze.marginXXS/2,marginInlineEnd:-Ze.marginXXS/2}},[`&${vt}-checked ${st}`]:{[`${st}-checked`]:{marginInlineStart:-Ze.marginXXS/2,marginInlineEnd:Ze.marginXXS/2}}}}}}},me=Ze=>{const{componentCls:vt,handleSize:ot}=Ze;return{[vt]:{[`${vt}-loading-icon${Ze.iconCls}`]:{position:"relative",top:(ot-Ze.fontSize)/2,color:Ze.switchLoadingIconColor,verticalAlign:"top"},[`&${vt}-checked ${vt}-loading-icon`]:{color:Ze.switchColor}}}},Re=Ze=>{const{componentCls:vt,motion:ot,trackPadding:mt,handleBg:Lt,handleShadow:It,handleSize:Qe}=Ze,Me=`${vt}-handle`;return{[vt]:{[Me]:{position:"absolute",top:mt,insetInlineStart:mt,width:Qe,height:Qe,transition:`all ${Ze.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Lt,borderRadius:Qe/2,boxShadow:It,transition:`all ${Ze.switchDuration} ease-in-out`,content:'""'}},[`&${vt}-checked ${Me}`]:{insetInlineStart:`calc(100% - ${Qe+mt}px)`},[`&:not(${vt}-disabled):active`]:ot?{[`${Me}::before`]:{insetInlineEnd:Ze.switchHandleActiveInset,insetInlineStart:0},[`&${vt}-checked ${Me}::before`]:{insetInlineEnd:0,insetInlineStart:Ze.switchHandleActiveInset}}:{}}}},Le=Ze=>{const{componentCls:vt,trackHeight:ot,trackPadding:mt,innerMinMargin:Lt,innerMaxMargin:It,handleSize:Qe}=Ze,Me=`${vt}-inner`;return{[vt]:{[Me]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:It,paddingInlineEnd:Lt,transition:`padding-inline-start ${Ze.switchDuration} ease-in-out, padding-inline-end ${Ze.switchDuration} ease-in-out`,[`${Me}-checked, ${Me}-unchecked`]:{display:"block",color:Ze.colorTextLightSolid,fontSize:Ze.fontSizeSM,transition:`margin-inline-start ${Ze.switchDuration} ease-in-out, margin-inline-end ${Ze.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Me}-checked`]:{marginInlineStart:`calc(-100% + ${Qe+mt*2}px - ${It*2}px)`,marginInlineEnd:`calc(100% - ${Qe+mt*2}px + ${It*2}px)`},[`${Me}-unchecked`]:{marginTop:-ot,marginInlineStart:0,marginInlineEnd:0}},[`&${vt}-checked ${Me}`]:{paddingInlineStart:Lt,paddingInlineEnd:It,[`${Me}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Me}-unchecked`]:{marginInlineStart:`calc(100% - ${Qe+mt*2}px + ${It*2}px)`,marginInlineEnd:`calc(-100% + ${Qe+mt*2}px - ${It*2}px)`}},[`&:not(${vt}-disabled):active`]:{[`&:not(${vt}-checked) ${Me}`]:{[`${Me}-unchecked`]:{marginInlineStart:mt*2,marginInlineEnd:-mt*2}},[`&${vt}-checked ${Me}`]:{[`${Me}-checked`]:{marginInlineStart:-mt*2,marginInlineEnd:mt*2}}}}}},Pe=Ze=>{const{componentCls:vt,trackHeight:ot,trackMinWidth:mt}=Ze;return{[vt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(Ze)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:mt,height:ot,lineHeight:`${ot}px`,verticalAlign:"middle",background:Ze.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ze.motionDurationMid}`,userSelect:"none",[`&:hover:not(${vt}-disabled)`]:{background:Ze.colorTextTertiary}}),(0,et.Qy)(Ze)),{[`&${vt}-checked`]:{background:Ze.switchColor,[`&:hover:not(${vt}-disabled)`]:{background:Ze.colorPrimaryHover}},[`&${vt}-loading, &${vt}-disabled`]:{cursor:"not-allowed",opacity:Ze.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${vt}-rtl`]:{direction:"rtl"}})}};var De=(0,Ke.Z)("Switch",Ze=>{const vt=(0,Oe.TS)(Ze,{switchDuration:Ze.motionDurationMid,switchColor:Ze.colorPrimary,switchDisabledOpacity:Ze.opacityLoading,switchLoadingIconSize:Ze.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Ze.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Pe(vt),Le(vt),Re(vt),me(vt),_e(vt)]},Ze=>{const{fontSize:vt,lineHeight:ot,controlHeight:mt,colorWhite:Lt}=Ze,It=vt*ot,Qe=mt/2,Me=2,st=It-Me*2,zt=Qe-Me*2;return{trackHeight:It,trackHeightSM:Qe,trackMinWidth:st*2+Me*4,trackMinWidthSM:zt*2+Me*2,trackPadding:Me,handleBg:Lt,handleSize:st,handleSizeSM:zt,handleShadow:`0 2px 4px 0 ${new Ye.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:st/2,innerMaxMargin:st+Me+Me*2,innerMinMarginSM:zt/2,innerMaxMarginSM:zt+Me+Me*2}}),ze=function(Ze,vt){var ot={};for(var mt in Ze)Object.prototype.hasOwnProperty.call(Ze,mt)&&vt.indexOf(mt)<0&&(ot[mt]=Ze[mt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,mt=Object.getOwnPropertySymbols(Ze);Lt<mt.length;Lt++)vt.indexOf(mt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(Ze,mt[Lt])&&(ot[mt[Lt]]=Ze[mt[Lt]]);return ot};const Te=be.forwardRef((Ze,vt)=>{const{prefixCls:ot,size:mt,disabled:Lt,loading:It,className:Qe,rootClassName:Me,style:st}=Ze,zt=ze(Ze,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:ut,direction:tt,switch:at}=be.useContext(Se.E_),Nt=be.useContext(Ne.Z),on=(Lt!=null?Lt:Nt)||It,Ht=ut("switch",ot),Fn=be.createElement("div",{className:`${Ht}-handle`},It&&be.createElement(ee.Z,{className:`${Ht}-loading-icon`})),[Qt,Ut]=De(Ht),Wt=(0,ke.Z)(mt),Ie=Ce()(at==null?void 0:at.className,{[`${Ht}-small`]:Wt==="small",[`${Ht}-loading`]:It,[`${Ht}-rtl`]:tt==="rtl"},Qe,Me,Ut),he=Object.assign(Object.assign({},at==null?void 0:at.style),st);return Qt(be.createElement(we.Z,{component:"Switch"},be.createElement(ge,Object.assign({},zt,{prefixCls:Ht,className:Ie,style:he,disabled:on,ref:vt,loadingIcon:Fn}))))});Te.__ANT_SWITCH=!0;var xt=Te},1710:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return ws}});var ee={},de="rc-table-internal-hook",Ce=te(72190),We=te(6089),xe=te(34280),Ee=te(13697),fe=te(59301),be=te(4676);function Fe(ht){var bt=fe.createContext(void 0),Zt=function(mn){var sn=mn.value,Kn=mn.children,Rn=fe.useRef(sn);Rn.current=sn;var Tn=fe.useState(function(){return{getValue:function(){return Rn.current},listeners:new Set}}),fr=(0,Ce.Z)(Tn,1),lr=fr[0];return(0,xe.Z)(function(){(0,be.unstable_batchedUpdates)(function(){lr.listeners.forEach(function(ur){ur(sn)})})},[sn]),fe.createElement(bt.Provider,{value:lr},Kn)};return{Context:bt,Provider:Zt,defaultValue:ht}}function He(ht,bt){var Zt=(0,We.Z)(typeof bt=="function"?bt:function(ur){if(bt===void 0)return ur;if(!Array.isArray(bt))return ur[bt];var Kr={};return bt.forEach(function(Zr){Kr[Zr]=ur[Zr]}),Kr}),Vt=fe.useContext(ht==null?void 0:ht.Context),mn=Vt||{},sn=mn.listeners,Kn=mn.getValue,Rn=fe.useRef();Rn.current=Zt(Vt?Kn():ht==null?void 0:ht.defaultValue);var Tn=fe.useState({}),fr=(0,Ce.Z)(Tn,2),lr=fr[1];return(0,xe.Z)(function(){if(!Vt)return;function ur(Kr){var Zr=Zt(Kr);(0,Ee.Z)(Rn.current,Zr,!0)||lr({})}return sn.add(ur),function(){sn.delete(ur)}},[Vt]),Rn.current}var rt=te(60499),Ae=te(8654);function ge(){var ht=fe.createContext(null);function bt(){return fe.useContext(ht)}function Zt(mn,sn){var Kn=(0,Ae.Yr)(mn),Rn=function(fr,lr){var ur=Kn?{ref:lr}:{},Kr=fe.useRef(0),Zr=fe.useRef(fr),Jr=bt();return Jr!==null?fe.createElement(mn,(0,rt.Z)({},fr,ur)):((!sn||sn(Zr.current,fr))&&(Kr.current+=1),Zr.current=fr,fe.createElement(ht.Provider,{value:Kr.current},fe.createElement(mn,(0,rt.Z)({},fr,ur))))};return Kn?fe.forwardRef(Rn):Rn}function Vt(mn,sn){var Kn=(0,Ae.Yr)(mn),Rn=function(fr,lr){var ur=Kn?{ref:lr}:{};return bt(),fe.createElement(mn,(0,rt.Z)({},fr,ur))};return Kn?fe.memo(fe.forwardRef(Rn),sn):fe.memo(Rn,sn)}return{makeImmutable:Zt,responseImmutable:Vt,useImmutableMark:bt}}var we=ge(),Se=we.makeImmutable,Ne=we.responseImmutable,ke=we.useImmutableMark,Ye=ge(),et=Ye.makeImmutable,Ke=Ye.responseImmutable,Oe=Ye.useImmutableMark,_e=Fe(),me=_e;function Re(ht,bt){var Zt=fe.useRef(0);Zt.current+=1;var Vt=fe.useRef(ht),mn=[];Object.keys(ht||{}).map(function(Kn){var Rn;(ht==null?void 0:ht[Kn])!==((Rn=Vt.current)===null||Rn===void 0?void 0:Rn[Kn])&&mn.push(Kn)}),Vt.current=ht;var sn=fe.useRef([]);return mn.length&&(sn.current=mn),fe.useDebugValue(Zt.current),fe.useDebugValue(sn.current.join(", ")),bt&&console.log("".concat(bt,":"),Zt.current,sn.current),Zt.current}var Le=null,Pe=fe.memo(function(){var ht=Re();return fe.createElement("h1",null,"Render Times: ",ht)});Pe.displayName="RenderBlock";var De=te(43749),ze=te(85899),Te=te(18642),xt=te(92310),Ze=te.n(xt),vt=te(80547),ot=te(97938),mt=te(48736),Lt=fe.createContext({renderWithProps:!1}),It=Lt,Qe="RC_TABLE_KEY";function Me(ht){return ht==null?[]:Array.isArray(ht)?ht:[ht]}function st(ht){var bt=[],Zt={};return ht.forEach(function(Vt){for(var mn=Vt||{},sn=mn.key,Kn=mn.dataIndex,Rn=sn||Me(Kn).join("-")||Qe;Zt[Rn];)Rn="".concat(Rn,"_next");Zt[Rn]=!0,bt.push(Rn)}),bt}function zt(ht){return ht!=null}function ut(ht){return ht&&(0,De.Z)(ht)==="object"&&!Array.isArray(ht)&&!fe.isValidElement(ht)}function tt(ht,bt,Zt,Vt,mn,sn){var Kn=fe.useContext(It),Rn=Oe(),Tn=(0,vt.Z)(function(){if(zt(Vt))return[Vt];var fr=bt==null||bt===""?[]:Array.isArray(bt)?bt:[bt],lr=(0,ot.Z)(ht,fr),ur=lr,Kr=void 0;if(mn){var Zr=mn(lr,ht,Zt);ut(Zr)?(ur=Zr.children,Kr=Zr.props,Kn.renderWithProps=!0):ur=Zr}return[ur,Kr]},[Rn,ht,Vt,bt,mn,Zt],function(fr,lr){if(sn){var ur=(0,Ce.Z)(fr,2),Kr=ur[1],Zr=(0,Ce.Z)(lr,2),Jr=Zr[1];return sn(Jr,Kr)}return Kn.renderWithProps?!0:!(0,Ee.Z)(fr,lr,!0)});return Tn}function at(ht,bt,Zt,Vt){var mn=ht+bt-1;return ht<=Vt&&mn>=Zt}function Nt(ht,bt){return He(me,function(Zt){var Vt=at(ht,bt||1,Zt.hoverStartRow,Zt.hoverEndRow);return[Vt,Zt.onHover]})}var on=function(bt){var Zt=bt.ellipsis,Vt=bt.rowType,mn=bt.children,sn,Kn=Zt===!0?{showTitle:!0}:Zt;return Kn&&(Kn.showTitle||Vt==="header")&&(typeof mn=="string"||typeof mn=="number"?sn=mn.toString():fe.isValidElement(mn)&&typeof mn.props.children=="string"&&(sn=mn.props.children)),sn};function Ht(ht){var bt,Zt,Vt,mn,sn,Kn,Rn,Tn,fr=ht.component,lr=ht.children,ur=ht.ellipsis,Kr=ht.scope,Zr=ht.prefixCls,Jr=ht.className,yi=ht.align,hi=ht.record,Ki=ht.render,Ii=ht.dataIndex,Ji=ht.renderIndex,Na=ht.shouldCellUpdate,Ja=ht.index,Da=ht.rowType,Wa=ht.colSpan,bo=ht.rowSpan,ra=ht.fixLeft,Oa=ht.fixRight,fa=ht.firstFixLeft,Si=ht.lastFixLeft,Ui=ht.firstFixRight,sr=ht.lastFixRight,Po=ht.appendNode,Ga=ht.additionalProps,ji=Ga===void 0?{}:Ga,so=ht.isSticky,xo="".concat(Zr,"-cell"),Do=He(me,["supportSticky","allColumnsFixedLeft"]),Io=Do.supportSticky,Bl=Do.allColumnsFixedLeft,Ko=tt(hi,Ii,Ji,lr,Ki,Na),za=(0,Ce.Z)(Ko,2),Hl=za[0],Xa=za[1],to={},ll=typeof ra=="number"&&Io,Jl=typeof Oa=="number"&&Io;ll&&(to.position="sticky",to.left=ra),Jl&&(to.position="sticky",to.right=Oa);var no=(bt=(Zt=(Vt=Xa==null?void 0:Xa.colSpan)!==null&&Vt!==void 0?Vt:ji.colSpan)!==null&&Zt!==void 0?Zt:Wa)!==null&&bt!==void 0?bt:1,Ua=(mn=(sn=(Kn=Xa==null?void 0:Xa.rowSpan)!==null&&Kn!==void 0?Kn:ji.rowSpan)!==null&&sn!==void 0?sn:bo)!==null&&mn!==void 0?mn:1,eo=Nt(Ja,Ua),Ta=(0,Ce.Z)(eo,2),Ca=Ta[0],$r=Ta[1],Yi=function(ro){var Es;hi&&$r(Ja,Ja+Ua-1),ji==null||(Es=ji.onMouseEnter)===null||Es===void 0||Es.call(ji,ro)},co=function(ro){var Es;hi&&$r(-1,-1),ji==null||(Es=ji.onMouseLeave)===null||Es===void 0||Es.call(ji,ro)};if(no===0||Ua===0)return null;var _o=(Rn=ji.title)!==null&&Rn!==void 0?Rn:on({rowType:Da,ellipsis:ur,children:Hl}),Ms=Ze()(xo,Jr,(Tn={},(0,Te.Z)(Tn,"".concat(xo,"-fix-left"),ll&&Io),(0,Te.Z)(Tn,"".concat(xo,"-fix-left-first"),fa&&Io),(0,Te.Z)(Tn,"".concat(xo,"-fix-left-last"),Si&&Io),(0,Te.Z)(Tn,"".concat(xo,"-fix-left-all"),Si&&Bl&&Io),(0,Te.Z)(Tn,"".concat(xo,"-fix-right"),Jl&&Io),(0,Te.Z)(Tn,"".concat(xo,"-fix-right-first"),Ui&&Io),(0,Te.Z)(Tn,"".concat(xo,"-fix-right-last"),sr&&Io),(0,Te.Z)(Tn,"".concat(xo,"-ellipsis"),ur),(0,Te.Z)(Tn,"".concat(xo,"-with-append"),Po),(0,Te.Z)(Tn,"".concat(xo,"-fix-sticky"),(ll||Jl)&&so&&Io),(0,Te.Z)(Tn,"".concat(xo,"-row-hover"),!Xa&&Ca),Tn),ji.className,Xa==null?void 0:Xa.className),xs={};yi&&(xs.textAlign=yi);var su=(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({},to),ji.style),xs),Xa==null?void 0:Xa.style),sa=Hl;return(0,De.Z)(sa)==="object"&&!Array.isArray(sa)&&!fe.isValidElement(sa)&&(sa=null),ur&&(Si||Ui)&&(sa=fe.createElement("span",{className:"".concat(xo,"-content")},sa)),fe.createElement(fr,(0,rt.Z)({},Xa,ji,{className:Ms,style:su,title:_o,scope:Kr,onMouseEnter:Yi,onMouseLeave:co,colSpan:no!==1?no:null,rowSpan:Ua!==1?Ua:null}),Po,sa)}var Fn=fe.memo(Ht);function Qt(ht,bt,Zt,Vt,mn,sn){var Kn=Zt[ht]||{},Rn=Zt[bt]||{},Tn,fr;Kn.fixed==="left"?Tn=Vt.left[mn==="rtl"?bt:ht]:Rn.fixed==="right"&&(fr=Vt.right[mn==="rtl"?ht:bt]);var lr=!1,ur=!1,Kr=!1,Zr=!1,Jr=Zt[bt+1],yi=Zt[ht-1],hi=!(sn!=null&&sn.children);if(mn==="rtl"){if(Tn!==void 0){var Ki=yi&&yi.fixed==="left";Zr=!Ki&&hi}else if(fr!==void 0){var Ii=Jr&&Jr.fixed==="right";Kr=!Ii&&hi}}else if(Tn!==void 0){var Ji=Jr&&Jr.fixed==="left";lr=!Ji&&hi}else if(fr!==void 0){var Na=yi&&yi.fixed==="right";ur=!Na&&hi}return{fixLeft:Tn,fixRight:fr,lastFixLeft:lr,firstFixRight:ur,lastFixRight:Kr,firstFixLeft:Zr,isSticky:Vt.isSticky}}var Ut=fe.createContext({}),Wt=Ut;function Ie(ht){var bt=ht.className,Zt=ht.index,Vt=ht.children,mn=ht.colSpan,sn=mn===void 0?1:mn,Kn=ht.rowSpan,Rn=ht.align,Tn=He(me,["prefixCls","direction"]),fr=Tn.prefixCls,lr=Tn.direction,ur=fe.useContext(Wt),Kr=ur.scrollColumnIndex,Zr=ur.stickyOffsets,Jr=ur.flattenColumns,yi=ur.columns,hi=Zt+sn-1,Ki=hi+1===Kr?sn+1:sn,Ii=Qt(Zt,Zt+Ki-1,Jr,Zr,lr,yi==null?void 0:yi[Zt]);return fe.createElement(Fn,(0,rt.Z)({className:bt,index:Zt,component:"td",prefixCls:fr,record:null,dataIndex:null,align:Rn,colSpan:Ki,rowSpan:Kn,render:function(){return Vt}},Ii))}var he=te(42244),ue=["children"];function ve(ht){var bt=ht.children,Zt=(0,he.Z)(ht,ue);return fe.createElement("tr",Zt,bt)}function ye(ht){var bt=ht.children;return bt}ye.Row=ve,ye.Cell=Ie;var se=ye;function $e(ht){var bt=ht.children,Zt=ht.stickyOffsets,Vt=ht.flattenColumns,mn=ht.columns,sn=He(me,"prefixCls"),Kn=Vt.length-1,Rn=Vt[Kn],Tn=fe.useMemo(function(){return{stickyOffsets:Zt,flattenColumns:Vt,scrollColumnIndex:Rn!=null&&Rn.scrollbar?Kn:null,columns:mn}},[Rn,Vt,Kn,Zt,mn]);return fe.createElement(Wt.Provider,{value:Tn},fe.createElement("tfoot",{className:"".concat(sn,"-summary")},bt))}var wt=Ke($e),lt=se,Je=te(70425),Pt=te(29301),Dt=te(29194),yt=te(24514),jt=te(75152),En=te(26112);function _t(ht,bt,Zt,Vt,mn,sn,Kn){ht.push({record:bt,indent:Zt,index:Kn});var Rn=sn(bt),Tn=mn==null?void 0:mn.has(Rn);if(bt&&Array.isArray(bt[Vt])&&Tn)for(var fr=0;fr<bt[Vt].length;fr+=1)_t(ht,bt[Vt][fr],Zt+1,Vt,mn,sn,fr)}function Yt(ht,bt,Zt,Vt){var mn=fe.useMemo(function(){if(Zt!=null&&Zt.size){for(var sn=[],Kn=0;Kn<(ht==null?void 0:ht.length);Kn+=1){var Rn=ht[Kn];_t(sn,Rn,0,bt,Zt,Vt,Kn)}return sn}return ht==null?void 0:ht.map(function(Tn,fr){return{record:Tn,indent:0,index:fr}})},[ht,bt,Zt,Vt]);return mn}function wn(ht){var bt=ht.prefixCls,Zt=ht.children,Vt=ht.component,mn=ht.cellComponent,sn=ht.className,Kn=ht.expanded,Rn=ht.colSpan,Tn=ht.isEmpty,fr=He(me,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),lr=fr.scrollbarSize,ur=fr.fixHeader,Kr=fr.fixColumn,Zr=fr.componentWidth,Jr=fr.horizonScroll,yi=Zt;return(Tn?Jr&&Zr:Kr)&&(yi=fe.createElement("div",{style:{width:Zr-(ur?lr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(bt,"-expanded-row-fixed")},yi)),fe.createElement(Vt,{className:sn,style:{display:Kn?null:"none"}},fe.createElement(Fn,{component:mn,prefixCls:bt,colSpan:Rn},yi))}var Ft=wn;function it(ht,bt,Zt,Vt){var mn=He(me,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),sn=mn.flattenColumns,Kn=mn.expandableType,Rn=mn.expandedKeys,Tn=mn.childrenColumnName,fr=mn.onTriggerExpand,lr=mn.rowExpandable,ur=mn.onRow,Kr=mn.expandRowByClick,Zr=mn.rowClassName,Jr=Kn==="nest",yi=Kn==="row"&&(!lr||lr(ht)),hi=yi||Jr,Ki=Rn&&Rn.has(bt),Ii=Tn&&ht&&ht[Tn],Ji=(0,Je.useEvent)(fr),Na=ur==null?void 0:ur(ht,Zt),Ja=Na==null?void 0:Na.onClick,Da=function(Oa){Kr&&hi&&fr(ht,Oa);for(var fa=arguments.length,Si=new Array(fa>1?fa-1:0),Ui=1;Ui<fa;Ui++)Si[Ui-1]=arguments[Ui];Ja==null||Ja.apply(void 0,[Oa].concat(Si))},Wa;typeof Zr=="string"?Wa=Zr:typeof Zr=="function"&&(Wa=Zr(ht,Zt,Vt));var bo=st(sn);return(0,ze.Z)((0,ze.Z)({},mn),{},{columnsKey:bo,nestExpandable:Jr,expanded:Ki,hasNestChildren:Ii,record:ht,onTriggerExpand:Ji,rowSupportExpand:yi,expandable:hi,rowProps:(0,ze.Z)((0,ze.Z)({},Na),{},{className:Ze()(Wa,Na==null?void 0:Na.className),onClick:Da})})}function Et(ht,bt,Zt,Vt,mn){var sn=ht.record,Kn=ht.prefixCls,Rn=ht.columnsKey,Tn=ht.fixedInfoList,fr=ht.expandIconColumnIndex,lr=ht.nestExpandable,ur=ht.indentSize,Kr=ht.expandIcon,Zr=ht.expanded,Jr=ht.hasNestChildren,yi=ht.onTriggerExpand,hi=Rn[Zt],Ki=Tn[Zt],Ii;Zt===(fr||0)&&lr&&(Ii=fe.createElement(fe.Fragment,null,fe.createElement("span",{style:{paddingLeft:"".concat(ur*Vt,"px")},className:"".concat(Kn,"-row-indent indent-level-").concat(Vt)}),Kr({prefixCls:Kn,expanded:Zr,expandable:Jr,record:sn,onExpand:yi})));var Ji;return bt.onCell&&(Ji=bt.onCell(sn,mn)),{key:hi,fixedInfo:Ki,appendCellNode:Ii,additionalCellProps:Ji||{}}}function an(ht){var bt=ht.className,Zt=ht.style,Vt=ht.record,mn=ht.index,sn=ht.renderIndex,Kn=ht.rowKey,Rn=ht.indent,Tn=Rn===void 0?0:Rn,fr=ht.rowComponent,lr=ht.cellComponent,ur=ht.scopeCellComponent,Kr=it(Vt,Kn,mn,Tn),Zr=Kr.prefixCls,Jr=Kr.flattenColumns,yi=Kr.expandedRowClassName,hi=Kr.expandedRowRender,Ki=Kr.rowProps,Ii=Kr.expanded,Ji=Kr.rowSupportExpand,Na=fe.useState(!1),Ja=(0,Ce.Z)(Na,2),Da=Ja[0],Wa=Ja[1];fe.useEffect(function(){Ii&&Wa(!0)},[Ii]);var bo=fe.createElement(fr,(0,rt.Z)({},Ki,{"data-row-key":Kn,className:Ze()(bt,"".concat(Zr,"-row"),"".concat(Zr,"-row-level-").concat(Tn),Ki==null?void 0:Ki.className),style:(0,ze.Z)((0,ze.Z)({},Zt),Ki==null?void 0:Ki.style)}),Jr.map(function(Si,Ui){var sr=Si.render,Po=Si.dataIndex,Ga=Si.className,ji=Et(Kr,Si,Ui,Tn,mn),so=ji.key,xo=ji.fixedInfo,Do=ji.appendCellNode,Io=ji.additionalCellProps;return fe.createElement(Fn,(0,rt.Z)({className:Ga,ellipsis:Si.ellipsis,align:Si.align,scope:Si.rowScope,component:Si.rowScope?ur:lr,prefixCls:Zr,key:so,record:Vt,index:mn,renderIndex:sn,dataIndex:Po,render:sr,shouldCellUpdate:Si.shouldCellUpdate},xo,{appendNode:Do,additionalProps:Io}))})),ra;if(Ji&&(Da||Ii)){var Oa=hi(Vt,mn,Tn+1,Ii),fa=yi&&yi(Vt,mn,Tn);ra=fe.createElement(Ft,{expanded:Ii,className:Ze()("".concat(Zr,"-expanded-row"),"".concat(Zr,"-expanded-row-level-").concat(Tn+1),fa),prefixCls:Zr,component:fr,cellComponent:lr,colSpan:Jr.length,isEmpty:!1},Oa)}return fe.createElement(fe.Fragment,null,bo,ra)}an.displayName="BodyRow";var un=Ke(an);function vn(ht){var bt=ht.columnKey,Zt=ht.onColumnResize,Vt=fe.useRef();return fe.useEffect(function(){Vt.current&&Zt(bt,Vt.current.offsetWidth)},[]),fe.createElement(Pt.Z,{data:bt},fe.createElement("td",{ref:Vt,style:{padding:0,border:0,height:0}},fe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function gn(ht){var bt=ht.prefixCls,Zt=ht.columnsKey,Vt=ht.onColumnResize;return fe.createElement("tr",{"aria-hidden":"true",className:"".concat(bt,"-measure-row"),style:{height:0,fontSize:0}},fe.createElement(Pt.Z.Collection,{onBatchResize:function(sn){sn.forEach(function(Kn){var Rn=Kn.data,Tn=Kn.size;Vt(Rn,Tn.offsetWidth)})}},Zt.map(function(mn){return fe.createElement(vn,{key:mn,columnKey:mn,onColumnResize:Vt})})))}function Xn(ht){var bt=ht.data,Zt=ht.measureColumnWidth,Vt=He(me,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),mn=Vt.prefixCls,sn=Vt.getComponent,Kn=Vt.onColumnResize,Rn=Vt.flattenColumns,Tn=Vt.getRowKey,fr=Vt.expandedKeys,lr=Vt.childrenColumnName,ur=Vt.emptyNode,Kr=Yt(bt,lr,fr,Tn),Zr=fe.useRef({renderWithProps:!1}),Jr=sn(["body","wrapper"],"tbody"),yi=sn(["body","row"],"tr"),hi=sn(["body","cell"],"td"),Ki=sn(["body","cell"],"th"),Ii;bt.length?Ii=Kr.map(function(Na,Ja){var Da=Na.record,Wa=Na.indent,bo=Na.index,ra=Tn(Da,Ja);return fe.createElement(un,{key:ra,rowKey:ra,record:Da,index:Ja,renderIndex:bo,rowComponent:yi,cellComponent:hi,scopeCellComponent:Ki,getRowKey:Tn,indent:Wa})}):Ii=fe.createElement(Ft,{expanded:!0,className:"".concat(mn,"-placeholder"),prefixCls:mn,component:yi,cellComponent:hi,colSpan:Rn.length,isEmpty:!0},ur);var Ji=st(Rn);return fe.createElement(It.Provider,{value:Zr.current},fe.createElement(Jr,{className:"".concat(mn,"-tbody")},Zt&&fe.createElement(gn,{prefixCls:mn,columnsKey:Ji,onColumnResize:Kn}),Ii))}Xn.displayName="Body";var ir=Ke(Xn),Dr=["expandable"],kr="RC_TABLE_INTERNAL_COL_DEFINE";function Bn(ht){var bt=ht.expandable,Zt=(0,he.Z)(ht,Dr),Vt;return"expandable"in ht?Vt=(0,ze.Z)((0,ze.Z)({},Zt),bt):Vt=Zt,Vt.showExpandColumn===!1&&(Vt.expandIconColumnIndex=-1),Vt}var jr=["columnType"];function ci(ht){for(var bt=ht.colWidths,Zt=ht.columns,Vt=ht.columCount,mn=[],sn=Vt||Zt.length,Kn=!1,Rn=sn-1;Rn>=0;Rn-=1){var Tn=bt[Rn],fr=Zt&&Zt[Rn],lr=fr&&fr[kr];if(Tn||lr||Kn){var ur=lr||{},Kr=ur.columnType,Zr=(0,he.Z)(ur,jr);mn.unshift(fe.createElement("col",(0,rt.Z)({key:Rn,style:{width:Tn}},Zr))),Kn=!0}}return fe.createElement("colgroup",null,mn)}var _r=ci,Nr=te(77654),ai=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pi(ht,bt){return(0,fe.useMemo)(function(){for(var Zt=[],Vt=0;Vt<bt;Vt+=1){var mn=ht[Vt];if(mn!==void 0)Zt[Vt]=mn;else return null}return Zt},[ht.join("_"),bt])}var Mn=fe.forwardRef(function(ht,bt){var Zt=ht.className,Vt=ht.noData,mn=ht.columns,sn=ht.flattenColumns,Kn=ht.colWidths,Rn=ht.columCount,Tn=ht.stickyOffsets,fr=ht.direction,lr=ht.fixHeader,ur=ht.stickyTopOffset,Kr=ht.stickyBottomOffset,Zr=ht.stickyClassName,Jr=ht.onScroll,yi=ht.maxContentScroll,hi=ht.children,Ki=(0,he.Z)(ht,ai),Ii=He(me,["prefixCls","scrollbarSize","isSticky"]),Ji=Ii.prefixCls,Na=Ii.scrollbarSize,Ja=Ii.isSticky,Da=Ja&&!lr?0:Na,Wa=fe.useRef(null),bo=fe.useCallback(function(Ga){(0,Ae.mH)(bt,Ga),(0,Ae.mH)(Wa,Ga)},[]);fe.useEffect(function(){var Ga;function ji(so){var xo=so,Do=xo.currentTarget,Io=xo.deltaX;Io&&(Jr({currentTarget:Do,scrollLeft:Do.scrollLeft+Io}),so.preventDefault())}return(Ga=Wa.current)===null||Ga===void 0||Ga.addEventListener("wheel",ji),function(){var so;(so=Wa.current)===null||so===void 0||so.removeEventListener("wheel",ji)}},[]);var ra=fe.useMemo(function(){return sn.every(function(Ga){return Ga.width})},[sn]),Oa=sn[sn.length-1],fa={fixed:Oa?Oa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ji,"-cell-scrollbar")}}},Si=(0,fe.useMemo)(function(){return Da?[].concat((0,Nr.Z)(mn),[fa]):mn},[Da,mn]),Ui=(0,fe.useMemo)(function(){return Da?[].concat((0,Nr.Z)(sn),[fa]):sn},[Da,sn]),sr=(0,fe.useMemo)(function(){var Ga=Tn.right,ji=Tn.left;return(0,ze.Z)((0,ze.Z)({},Tn),{},{left:fr==="rtl"?[].concat((0,Nr.Z)(ji.map(function(so){return so+Da})),[0]):ji,right:fr==="rtl"?Ga:[].concat((0,Nr.Z)(Ga.map(function(so){return so+Da})),[0]),isSticky:Ja})},[Da,Tn,Ja]),Po=pi(Kn,Rn);return fe.createElement("div",{style:(0,ze.Z)({overflow:"hidden"},Ja?{top:ur,bottom:Kr}:{}),ref:bo,className:Ze()(Zt,(0,Te.Z)({},Zr,!!Zr))},fe.createElement("table",{style:{tableLayout:"fixed",visibility:Vt||Po?null:"hidden"}},(!Vt||!yi||ra)&&fe.createElement(_r,{colWidths:Po?[].concat((0,Nr.Z)(Po),[Da]):[],columCount:Rn+1,columns:Ui}),hi((0,ze.Z)((0,ze.Z)({},Ki),{},{stickyOffsets:sr,columns:Si,flattenColumns:Ui}))))});Mn.displayName="FixedHolder";var pr=fe.memo(Mn);function Rr(ht){var bt=ht.cells,Zt=ht.stickyOffsets,Vt=ht.flattenColumns,mn=ht.rowComponent,sn=ht.cellComponent,Kn=ht.tdCellComponent,Rn=ht.onHeaderRow,Tn=ht.index,fr=He(me,["prefixCls","direction"]),lr=fr.prefixCls,ur=fr.direction,Kr;Rn&&(Kr=Rn(bt.map(function(Jr){return Jr.column}),Tn));var Zr=st(bt.map(function(Jr){return Jr.column}));return fe.createElement(mn,Kr,bt.map(function(Jr,yi){var hi=Jr.column,Ki=Qt(Jr.colStart,Jr.colEnd,Vt,Zt,ur,hi),Ii;return hi&&hi.onHeaderCell&&(Ii=Jr.column.onHeaderCell(hi)),fe.createElement(Fn,(0,rt.Z)({},Jr,{scope:hi.title?Jr.colSpan>1?"colgroup":"col":null,ellipsis:hi.ellipsis,align:hi.align,component:hi.title?sn:Kn,prefixCls:lr,key:Zr[yi]},Ki,{additionalProps:Ii,rowType:"header"}))}))}Rr.displayName="HeaderRow";var Gr=Rr;function zr(ht){var bt=[];function Zt(Kn,Rn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;bt[Tn]=bt[Tn]||[];var fr=Rn,lr=Kn.filter(Boolean).map(function(ur){var Kr={key:ur.key,className:ur.className||"",children:ur.title,column:ur,colStart:fr},Zr=1,Jr=ur.children;return Jr&&Jr.length>0&&(Zr=Zt(Jr,fr,Tn+1).reduce(function(yi,hi){return yi+hi},0),Kr.hasSubColumns=!0),"colSpan"in ur&&(Zr=ur.colSpan),"rowSpan"in ur&&(Kr.rowSpan=ur.rowSpan),Kr.colSpan=Zr,Kr.colEnd=Kr.colStart+Zr-1,bt[Tn].push(Kr),fr+=Zr,Zr});return lr}Zt(ht,0);for(var Vt=bt.length,mn=function(Rn){bt[Rn].forEach(function(Tn){!("rowSpan"in Tn)&&!Tn.hasSubColumns&&(Tn.rowSpan=Vt-Rn)})},sn=0;sn<Vt;sn+=1)mn(sn);return bt}function ei(ht){var bt=ht.stickyOffsets,Zt=ht.columns,Vt=ht.flattenColumns,mn=ht.onHeaderRow,sn=He(me,["prefixCls","getComponent"]),Kn=sn.prefixCls,Rn=sn.getComponent,Tn=fe.useMemo(function(){return zr(Zt)},[Zt]),fr=Rn(["header","wrapper"],"thead"),lr=Rn(["header","row"],"tr"),ur=Rn(["header","cell"],"th"),Kr=Rn(["header","cell"],"td");return fe.createElement(fr,{className:"".concat(Kn,"-thead")},Tn.map(function(Zr,Jr){var yi=fe.createElement(Gr,{key:Jr,flattenColumns:Vt,cells:Zr,stickyOffsets:bt,rowComponent:lr,cellComponent:ur,tdCellComponent:Kr,onHeaderRow:mn,index:Jr});return yi}))}var Hr=Ke(ei),fi=te(11592);function Pr(ht){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof bt=="number"?bt:bt.endsWith("%")?ht*parseFloat(bt)/100:null}function dr(ht,bt){return fe.useMemo(function(){if(bt&&bt>0){var Zt=0,Vt=0;ht.forEach(function(fr){var lr=Pr(bt,fr.width);lr?Zt+=lr:Vt+=1});var mn=bt-Zt,sn=Vt,Kn=mn/Vt,Rn=0,Tn=ht.map(function(fr){var lr=(0,ze.Z)({},fr),ur=Pr(bt,lr.width);if(ur)lr.width=ur;else{var Kr=Math.floor(Kn);lr.width=sn===1?mn:Kr,mn-=Kr,sn-=1}return Rn+=lr.width,lr});return[Tn,Rn]}return[ht,bt]},[ht,bt])}var oi=["children"],$t=["fixed"];function pt(ht){return(0,fi.Z)(ht).filter(function(bt){return fe.isValidElement(bt)}).map(function(bt){var Zt=bt.key,Vt=bt.props,mn=Vt.children,sn=(0,he.Z)(Vt,oi),Kn=(0,ze.Z)({key:Zt},sn);return mn&&(Kn.children=pt(mn)),Kn})}function Bt(ht){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ht.filter(function(Zt){return Zt&&(0,De.Z)(Zt)==="object"}).reduce(function(Zt,Vt,mn){var sn=Vt.fixed,Kn=sn===!0?"left":sn,Rn="".concat(bt,"-").concat(mn),Tn=Vt.children;return Tn&&Tn.length>0?[].concat((0,Nr.Z)(Zt),(0,Nr.Z)(Bt(Tn,Rn).map(function(fr){return(0,ze.Z)({fixed:Kn},fr)}))):[].concat((0,Nr.Z)(Zt),[(0,ze.Z)((0,ze.Z)({key:Rn},Vt),{},{fixed:Kn})])},[])}function At(ht){for(var bt=!0,Zt=0;Zt<ht.length;Zt+=1){var Vt=ht[Zt];if(bt&&Vt.fixed!=="left")bt=!1;else if(!bt&&Vt.fixed==="left"){warning(!1,"Index ".concat(Zt-1," of `columns` missing `fixed='left'` prop."));break}}for(var mn=!0,sn=ht.length-1;sn>=0;sn-=1){var Kn=ht[sn];if(mn&&Kn.fixed!=="right")mn=!1;else if(!mn&&Kn.fixed==="right"){warning(!1,"Index ".concat(sn+1," of `columns` missing `fixed='right'` prop."));break}}}function Ct(ht){return ht.map(function(bt){var Zt=bt.fixed,Vt=(0,he.Z)(bt,$t),mn=Zt;return Zt==="left"?mn="right":Zt==="right"&&(mn="left"),(0,ze.Z)({fixed:mn},Vt)})}function Gt(ht,bt){var Zt=ht.prefixCls,Vt=ht.columns,mn=ht.children,sn=ht.expandable,Kn=ht.expandedKeys,Rn=ht.columnTitle,Tn=ht.getRowKey,fr=ht.onTriggerExpand,lr=ht.expandIcon,ur=ht.rowExpandable,Kr=ht.expandIconColumnIndex,Zr=ht.direction,Jr=ht.expandRowByClick,yi=ht.columnWidth,hi=ht.fixed,Ki=ht.scrollWidth,Ii=fe.useMemo(function(){return Vt||pt(mn)},[Vt,mn]),Ji=fe.useMemo(function(){if(sn){var Oa,fa=Ii.slice();if(!fa.includes(ee)){var Si=Kr||0;Si>=0&&fa.splice(Si,0,ee)}var Ui=fa.indexOf(ee);fa=fa.filter(function(ji,so){return ji!==ee||so===Ui});var sr=Ii[Ui],Po;(hi==="left"||hi)&&!Kr?Po="left":(hi==="right"||hi)&&Kr===Ii.length?Po="right":Po=sr?sr.fixed:null;var Ga=(Oa={},(0,Te.Z)(Oa,kr,{className:"".concat(Zt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Te.Z)(Oa,"title",Rn),(0,Te.Z)(Oa,"fixed",Po),(0,Te.Z)(Oa,"className","".concat(Zt,"-row-expand-icon-cell")),(0,Te.Z)(Oa,"width",yi),(0,Te.Z)(Oa,"render",function(so,xo,Do){var Io=Tn(xo,Do),Bl=Kn.has(Io),Ko=ur?ur(xo):!0,za=lr({prefixCls:Zt,expanded:Bl,expandable:Ko,record:xo,onExpand:fr});return Jr?fe.createElement("span",{onClick:function(Xa){return Xa.stopPropagation()}},za):za}),Oa);return fa.map(function(ji){return ji===ee?Ga:ji})}return Ii.filter(function(ji){return ji!==ee})},[sn,Ii,Tn,Kn,lr,Zr]),Na=fe.useMemo(function(){var Oa=Ji;return bt&&(Oa=bt(Oa)),Oa.length||(Oa=[{render:function(){return null}}]),Oa},[bt,Ji,Zr]),Ja=fe.useMemo(function(){return Zr==="rtl"?Ct(Bt(Na)):Bt(Na)},[Na,Zr,Ki]),Da=dr(Ja,Ki),Wa=(0,Ce.Z)(Da,2),bo=Wa[0],ra=Wa[1];return[Na,bo,ra]}var nn=Gt;function _n(ht){var bt,Zt=ht.prefixCls,Vt=ht.record,mn=ht.onExpand,sn=ht.expanded,Kn=ht.expandable,Rn="".concat(Zt,"-row-expand-icon");if(!Kn)return fe.createElement("span",{className:Ze()(Rn,"".concat(Zt,"-row-spaced"))});var Tn=function(lr){mn(Vt,lr),lr.stopPropagation()};return fe.createElement("span",{className:Ze()(Rn,(bt={},(0,Te.Z)(bt,"".concat(Zt,"-row-expanded"),sn),(0,Te.Z)(bt,"".concat(Zt,"-row-collapsed"),!sn),bt)),onClick:Tn})}function Pn(ht,bt,Zt){var Vt=[];function mn(sn){(sn||[]).forEach(function(Kn,Rn){Vt.push(bt(Kn,Rn)),mn(Kn[Zt])})}return mn(ht),Vt}function Sn(ht,bt,Zt){var Vt=Bn(ht),mn=Vt.expandIcon,sn=Vt.expandedRowKeys,Kn=Vt.defaultExpandedRowKeys,Rn=Vt.defaultExpandAllRows,Tn=Vt.expandedRowRender,fr=Vt.onExpand,lr=Vt.onExpandedRowsChange,ur=Vt.childrenColumnName,Kr=mn||_n,Zr=ur||"children",Jr=fe.useMemo(function(){return Tn?"row":ht.expandable&&ht.internalHooks===de&&ht.expandable.__PARENT_RENDER_ICON__||bt.some(function(Ja){return Ja&&(0,De.Z)(Ja)==="object"&&Ja[Zr]})?"nest":!1},[!!Tn,bt]),yi=fe.useState(function(){return Kn||(Rn?Pn(bt,Zt,Zr):[])}),hi=(0,Ce.Z)(yi,2),Ki=hi[0],Ii=hi[1],Ji=fe.useMemo(function(){return new Set(sn||Ki||[])},[sn,Ki]),Na=fe.useCallback(function(Ja){var Da=Zt(Ja,bt.indexOf(Ja)),Wa,bo=Ji.has(Da);bo?(Ji.delete(Da),Wa=(0,Nr.Z)(Ji)):Wa=[].concat((0,Nr.Z)(Ji),[Da]),Ii(Wa),fr&&fr(!bo,Ja),lr&&lr(Wa)},[Zt,Ji,bt,fr,lr]);return[Vt,Jr,Ji,Kr,Zr,Na]}function rr(ht,bt,Zt,Vt){var mn=ht.map(function(sn,Kn){return Qt(Kn,Kn,ht,bt,Zt,Vt==null?void 0:Vt[Kn])});return(0,vt.Z)(function(){return mn},[mn],function(sn,Kn){return!(0,Ee.Z)(sn,Kn)})}function gr(ht){var bt=(0,fe.useRef)(ht),Zt=(0,fe.useState)({}),Vt=(0,Ce.Z)(Zt,2),mn=Vt[1],sn=(0,fe.useRef)(null),Kn=(0,fe.useRef)([]);function Rn(Tn){Kn.current.push(Tn);var fr=Promise.resolve();sn.current=fr,fr.then(function(){if(sn.current===fr){var lr=Kn.current,ur=bt.current;Kn.current=[],lr.forEach(function(Kr){bt.current=Kr(bt.current)}),sn.current=null,ur!==bt.current&&mn({})}})}return(0,fe.useEffect)(function(){return function(){sn.current=null}},[]),[bt.current,Rn]}function Cr(ht){var bt=(0,fe.useRef)(ht||null),Zt=(0,fe.useRef)();function Vt(){window.clearTimeout(Zt.current)}function mn(Kn){bt.current=Kn,Vt(),Zt.current=window.setTimeout(function(){bt.current=null,Zt.current=void 0},100)}function sn(){return bt.current}return(0,fe.useEffect)(function(){return Vt},[]),[mn,sn]}function bn(){var ht=fe.useState(-1),bt=(0,Ce.Z)(ht,2),Zt=bt[0],Vt=bt[1],mn=fe.useState(-1),sn=(0,Ce.Z)(mn,2),Kn=sn[0],Rn=sn[1],Tn=fe.useCallback(function(fr,lr){Vt(fr),Rn(lr)},[]);return[Zt,Kn,Tn]}var $n=te(47273),Jt=(0,$n.Z)()?window:null;function pn(ht,bt){var Zt=(0,De.Z)(ht)==="object"?ht:{},Vt=Zt.offsetHeader,mn=Vt===void 0?0:Vt,sn=Zt.offsetSummary,Kn=sn===void 0?0:sn,Rn=Zt.offsetScroll,Tn=Rn===void 0?0:Rn,fr=Zt.getContainer,lr=fr===void 0?function(){return Jt}:fr,ur=lr()||Jt;return fe.useMemo(function(){var Kr=!!ht;return{isSticky:Kr,stickyClassName:Kr?"".concat(bt,"-sticky-holder"):"",offsetHeader:mn,offsetSummary:Kn,offsetScroll:Tn,container:ur}},[Tn,mn,Kn,bt,ur])}function An(ht,bt,Zt){var Vt=(0,fe.useMemo)(function(){for(var mn=[],sn=[],Kn=0,Rn=0,Tn=0;Tn<bt;Tn+=1)if(Zt==="rtl"){sn[Tn]=Rn,Rn+=ht[Tn]||0;var fr=bt-Tn-1;mn[fr]=Kn,Kn+=ht[fr]||0}else{mn[Tn]=Kn,Kn+=ht[Tn]||0;var lr=bt-Tn-1;sn[lr]=Rn,Rn+=ht[lr]||0}return{left:mn,right:sn}},[ht,bt,Zt]);return Vt}var dn=An;function Hn(ht){var bt=ht.className,Zt=ht.children;return fe.createElement("div",{className:bt},Zt)}var ln=Hn,jn=te(8224),Mt=te(55468),cn=function(bt,Zt){var Vt,mn,sn=bt.scrollBodyRef,Kn=bt.onScroll,Rn=bt.offsetScroll,Tn=bt.container,fr=He(me,"prefixCls"),lr=((Vt=sn.current)===null||Vt===void 0?void 0:Vt.scrollWidth)||0,ur=((mn=sn.current)===null||mn===void 0?void 0:mn.clientWidth)||0,Kr=lr&&ur*(ur/lr),Zr=fe.useRef(),Jr=gr({scrollLeft:0,isHiddenScrollBar:!1}),yi=(0,Ce.Z)(Jr,2),hi=yi[0],Ki=yi[1],Ii=fe.useRef({delta:0,x:0}),Ji=fe.useState(!1),Na=(0,Ce.Z)(Ji,2),Ja=Na[0],Da=Na[1],Wa=function(){Da(!1)},bo=function(Ui){Ui.persist(),Ii.current.delta=Ui.pageX-hi.scrollLeft,Ii.current.x=0,Da(!0),Ui.preventDefault()},ra=function(Ui){var sr,Po=Ui||((sr=window)===null||sr===void 0?void 0:sr.event),Ga=Po.buttons;if(!Ja||Ga===0){Ja&&Da(!1);return}var ji=Ii.current.x+Ui.pageX-Ii.current.x-Ii.current.delta;ji<=0&&(ji=0),ji+Kr>=ur&&(ji=ur-Kr),Kn({scrollLeft:ji/ur*(lr+2)}),Ii.current.x=Ui.pageX},Oa=function(){if(sn.current){var Ui=(0,Mt.os)(sn.current).top,sr=Ui+sn.current.offsetHeight,Po=Tn===window?document.documentElement.scrollTop+window.innerHeight:(0,Mt.os)(Tn).top+Tn.clientHeight;sr-(0,jt.Z)()<=Po||Ui>=Po-Rn?Ki(function(Ga){return(0,ze.Z)((0,ze.Z)({},Ga),{},{isHiddenScrollBar:!0})}):Ki(function(Ga){return(0,ze.Z)((0,ze.Z)({},Ga),{},{isHiddenScrollBar:!1})})}},fa=function(Ui){Ki(function(sr){return(0,ze.Z)((0,ze.Z)({},sr),{},{scrollLeft:Ui/lr*ur||0})})};return fe.useImperativeHandle(Zt,function(){return{setScrollLeft:fa}}),fe.useEffect(function(){var Si=(0,jn.Z)(document.body,"mouseup",Wa,!1),Ui=(0,jn.Z)(document.body,"mousemove",ra,!1);return Oa(),function(){Si.remove(),Ui.remove()}},[Kr,Ja]),fe.useEffect(function(){var Si=(0,jn.Z)(Tn,"scroll",Oa,!1),Ui=(0,jn.Z)(window,"resize",Oa,!1);return function(){Si.remove(),Ui.remove()}},[Tn]),fe.useEffect(function(){hi.isHiddenScrollBar||Ki(function(Si){var Ui=sn.current;return Ui?(0,ze.Z)((0,ze.Z)({},Si),{},{scrollLeft:Ui.scrollLeft/Ui.scrollWidth*Ui.clientWidth}):Si})},[hi.isHiddenScrollBar]),lr<=ur||!Kr||hi.isHiddenScrollBar?null:fe.createElement("div",{style:{height:(0,jt.Z)(),width:ur,bottom:Rn},className:"".concat(fr,"-sticky-scroll")},fe.createElement("div",{onMouseDown:bo,ref:Zr,className:Ze()("".concat(fr,"-sticky-scroll-bar"),(0,Te.Z)({},"".concat(fr,"-sticky-scroll-bar-active"),Ja)),style:{width:"".concat(Kr,"px"),transform:"translate3d(".concat(hi.scrollLeft,"px, 0, 0)")}}))},hn=fe.forwardRef(cn);function In(ht){return null}var Ln=In;function Un(ht){return null}var Gn=Un,cr="rc-table",Sr=[],Wr={};function gi(){return"No Data"}function ki(ht){var bt,Zt=(0,ze.Z)({rowKey:"key",prefixCls:cr,emptyText:gi},ht),Vt=Zt.prefixCls,mn=Zt.className,sn=Zt.rowClassName,Kn=Zt.style,Rn=Zt.data,Tn=Zt.rowKey,fr=Zt.scroll,lr=Zt.tableLayout,ur=Zt.direction,Kr=Zt.title,Zr=Zt.footer,Jr=Zt.summary,yi=Zt.caption,hi=Zt.id,Ki=Zt.showHeader,Ii=Zt.components,Ji=Zt.emptyText,Na=Zt.onRow,Ja=Zt.onHeaderRow,Da=Zt.internalHooks,Wa=Zt.transformColumns,bo=Zt.internalRefs,ra=Zt.tailor,Oa=Zt.sticky,fa=Rn||Sr,Si=!!fa.length,Ui=Da===de,sr=fe.useCallback(function(Cl,Pl){return(0,ot.Z)(Ii,Cl)||Pl},[Ii]),Po=fe.useMemo(function(){return typeof Tn=="function"?Tn:function(Cl){var Pl=Cl&&Cl[Tn];return Pl}},[Tn]),Ga=sr(["body"]),ji=bn(),so=(0,Ce.Z)(ji,3),xo=so[0],Do=so[1],Io=so[2],Bl=Sn(Zt,fa,Po),Ko=(0,Ce.Z)(Bl,6),za=Ko[0],Hl=Ko[1],Xa=Ko[2],to=Ko[3],ll=Ko[4],Jl=Ko[5],no=fr==null?void 0:fr.x,Ua=fe.useState(0),eo=(0,Ce.Z)(Ua,2),Ta=eo[0],Ca=eo[1],$r=nn((0,ze.Z)((0,ze.Z)((0,ze.Z)({},Zt),za),{},{expandable:!!za.expandedRowRender,columnTitle:za.columnTitle,expandedKeys:Xa,getRowKey:Po,onTriggerExpand:Jl,expandIcon:to,expandIconColumnIndex:za.expandIconColumnIndex,direction:ur,scrollWidth:Ui&&ra&&typeof no=="number"?no:null}),Ui?Wa:null),Yi=(0,Ce.Z)($r,3),co=Yi[0],_o=Yi[1],Ms=Yi[2],xs=Ms!=null?Ms:no,su=fe.useMemo(function(){return{columns:co,flattenColumns:_o}},[co,_o]),sa=fe.useRef(),ns=fe.useRef(),ro=fe.useRef(),Es=fe.useRef(),Ss=fe.useRef(),ol=fe.useState(!1),Ni=(0,Ce.Z)(ol,2),yl=Ni[0],Ro=Ni[1],Gl=fe.useState(!1),wo=(0,Ce.Z)(Gl,2),bl=wo[0],As=wo[1],Ml=gr(new Map),qa=(0,Ce.Z)(Ml,2),io=qa[0],Yl=qa[1],Iu=st(_o),Vs=Iu.map(function(Cl){return io.get(Cl)}),tu=fe.useMemo(function(){return Vs},[Vs.join("_")]),Js=dn(tu,_o.length,ur),es=fr&&zt(fr.y),ls=fr&&zt(xs)||!!za.fixed,Fs=ls&&_o.some(function(Cl){var Pl=Cl.fixed;return Pl}),Hu=fe.useRef(),Rs=pn(Oa,Vt),Fu=Rs.isSticky,Xu=Rs.offsetHeader,Hc=Rs.offsetSummary,hl=Rs.offsetScroll,kl=Rs.stickyClassName,ks=Rs.container,Ol=fe.useMemo(function(){return Jr==null?void 0:Jr(fa)},[Jr,fa]),zs=(es||Fu)&&fe.isValidElement(Ol)&&Ol.type===se&&Ol.props.fixed,Hs,Xs,ju;es&&(Xs={overflowY:"scroll",maxHeight:fr.y}),ls&&(Hs={overflowX:"auto"},es||(Xs={overflowY:"hidden"}),ju={width:xs===!0?"auto":xs,minWidth:"100%"});var jc=fe.useCallback(function(Cl,Pl){(0,Dt.Z)(sa.current)&&Yl(function(ru){if(ru.get(Cl)!==Pl){var Ku=new Map(ru);return Ku.set(Cl,Pl),Ku}return ru})},[]),cc=Cr(null),Zu=(0,Ce.Z)(cc,2),ml=Zu[0],rs=Zu[1];function Ou(Cl,Pl){Pl&&(typeof Pl=="function"?Pl(Cl):Pl.scrollLeft!==Cl&&(Pl.scrollLeft=Cl,Pl.scrollLeft!==Cl&&setTimeout(function(){Pl.scrollLeft=Cl},0)))}var oc=(0,We.Z)(function(Cl){var Pl=Cl.currentTarget,ru=Cl.scrollLeft,Ku=ur==="rtl",_u=typeof ru=="number"?ru:Pl.scrollLeft,$c=Pl||Wr;if(!rs()||rs()===$c){var Ls;ml($c),Ou(_u,ns.current),Ou(_u,ro.current),Ou(_u,Ss.current),Ou(_u,(Ls=Hu.current)===null||Ls===void 0?void 0:Ls.setScrollLeft)}var ku=Pl||ns.current;if(ku){var ed=ku.scrollWidth,sc=ku.clientWidth;if(ed===sc){Ro(!1),As(!1);return}Ku?(Ro(-_u<ed-sc),As(-_u>0)):(Ro(_u>0),As(_u<ed-sc))}}),qs=function(){ls&&ro.current?oc({currentTarget:ro.current}):(Ro(!1),As(!1))},Zc=function(Pl){var ru=Pl.width;ru!==Ta&&(qs(),Ca(sa.current?sa.current.offsetWidth:ru))},Ps=fe.useRef(!1);fe.useEffect(function(){Ps.current&&qs()},[ls,Rn,co.length]),fe.useEffect(function(){Ps.current=!0},[]);var Fc=fe.useState(0),Jc=(0,Ce.Z)(Fc,2),Kc=Jc[0],gc=Jc[1],Sc=fe.useState(!0),lc=(0,Ce.Z)(Sc,2),Xi=lc[0],Xc=lc[1];fe.useEffect(function(){(!ra||!Ui)&&(ro.current instanceof Element?gc((0,jt.o)(ro.current).width):gc((0,jt.o)(Es.current).width)),Xc((0,yt.G)("position","sticky"))},[]),fe.useEffect(function(){Ui&&bo&&(bo.body.current=ro.current)});var Ac=fe.useCallback(function(Cl){return fe.createElement(fe.Fragment,null,fe.createElement(Hr,Cl),zs==="top"&&fe.createElement(wt,Cl,Ol))},[zs,Ol]),Wc=fe.useCallback(function(Cl){return fe.createElement(wt,Cl,Ol)},[Ol]),_l=sr(["table"],"table"),dc=fe.useMemo(function(){return lr||(Fs?xs==="max-content"?"auto":"fixed":es||Fu||_o.some(function(Cl){var Pl=Cl.ellipsis;return Pl})?"fixed":"auto")},[es,Fs,_o,lr,Fu]),fc,vc={colWidths:tu,columCount:_o.length,stickyOffsets:Js,onHeaderRow:Ja,fixHeader:es,scroll:fr},ss=fe.useMemo(function(){return Si?null:typeof Ji=="function"?Ji():Ji},[Si,Ji]),qc=fe.createElement(ir,{data:fa,measureColumnWidth:es||ls||Fu}),kc=fe.createElement(_r,{colWidths:_o.map(function(Cl){var Pl=Cl.width;return Pl}),columns:_o}),qu=yi!=null?fe.createElement("caption",{className:"".concat(Vt,"-caption")},yi):void 0,Pc=(0,En.Z)(Zt,{data:!0}),$u=(0,En.Z)(Zt,{aria:!0});if(es||Fu){var ec;typeof Ga=="function"?(ec=Ga(fa,{scrollbarSize:Kc,ref:ro,onScroll:oc}),vc.colWidths=_o.map(function(Cl,Pl){var ru=Cl.width,Ku=Pl===_o.length-1?ru-Kc:ru;return typeof Ku=="number"&&!Number.isNaN(Ku)?Ku:0})):ec=fe.createElement("div",{style:(0,ze.Z)((0,ze.Z)({},Hs),Xs),onScroll:oc,ref:ro,className:Ze()("".concat(Vt,"-body"))},fe.createElement(_l,(0,rt.Z)({style:(0,ze.Z)((0,ze.Z)({},ju),{},{tableLayout:dc})},$u),qu,kc,qc,!zs&&Ol&&fe.createElement(wt,{stickyOffsets:Js,flattenColumns:_o,columns:co},Ol)));var nu=(0,ze.Z)((0,ze.Z)((0,ze.Z)({noData:!fa.length,maxContentScroll:ls&&xs==="max-content"},vc),su),{},{direction:ur,stickyClassName:kl,onScroll:oc});fc=fe.createElement(fe.Fragment,null,Ki!==!1&&fe.createElement(pr,(0,rt.Z)({},nu,{stickyTopOffset:Xu,className:"".concat(Vt,"-header"),ref:ns}),Ac),ec,zs&&zs!=="top"&&fe.createElement(pr,(0,rt.Z)({},nu,{stickyBottomOffset:Hc,className:"".concat(Vt,"-summary"),ref:Ss}),Wc),Fu&&fe.createElement(hn,{ref:Hu,offsetScroll:hl,scrollBodyRef:ro,onScroll:oc,container:ks}))}else fc=fe.createElement("div",{style:(0,ze.Z)((0,ze.Z)({},Hs),Xs),className:Ze()("".concat(Vt,"-content")),onScroll:oc,ref:ro},fe.createElement(_l,(0,rt.Z)({style:(0,ze.Z)((0,ze.Z)({},ju),{},{tableLayout:dc})},$u),qu,kc,Ki!==!1&&fe.createElement(Hr,(0,rt.Z)({},vc,su)),qc,Ol&&fe.createElement(wt,{stickyOffsets:Js,flattenColumns:_o,columns:co},Ol)));var bu=fe.createElement("div",(0,rt.Z)({className:Ze()(Vt,mn,(bt={},(0,Te.Z)(bt,"".concat(Vt,"-rtl"),ur==="rtl"),(0,Te.Z)(bt,"".concat(Vt,"-ping-left"),yl),(0,Te.Z)(bt,"".concat(Vt,"-ping-right"),bl),(0,Te.Z)(bt,"".concat(Vt,"-layout-fixed"),lr==="fixed"),(0,Te.Z)(bt,"".concat(Vt,"-fixed-header"),es),(0,Te.Z)(bt,"".concat(Vt,"-fixed-column"),Fs),(0,Te.Z)(bt,"".concat(Vt,"-scroll-horizontal"),ls),(0,Te.Z)(bt,"".concat(Vt,"-has-fix-left"),_o[0]&&_o[0].fixed),(0,Te.Z)(bt,"".concat(Vt,"-has-fix-right"),_o[_o.length-1]&&_o[_o.length-1].fixed==="right"),bt)),style:Kn,id:hi,ref:sa},Pc),Kr&&fe.createElement(ln,{className:"".concat(Vt,"-title")},Kr(fa)),fe.createElement("div",{ref:Es,className:"".concat(Vt,"-container")},fc),Zr&&fe.createElement(ln,{className:"".concat(Vt,"-footer")},Zr(fa)));ls&&(bu=fe.createElement(Pt.Z,{onResize:Zc},bu));var Us=rr(_o,Js,ur,co),tc=fe.useMemo(function(){return{scrollX:xs,prefixCls:Vt,getComponent:sr,scrollbarSize:Kc,direction:ur,fixedInfoList:Us,isSticky:Fu,supportSticky:Xi,componentWidth:Ta,fixHeader:es,fixColumn:Fs,horizonScroll:ls,tableLayout:dc,rowClassName:sn,expandedRowClassName:za.expandedRowClassName,expandIcon:to,expandableType:Hl,expandRowByClick:za.expandRowByClick,expandedRowRender:za.expandedRowRender,onTriggerExpand:Jl,expandIconColumnIndex:za.expandIconColumnIndex,indentSize:za.indentSize,allColumnsFixedLeft:_o.every(function(Cl){return Cl.fixed==="left"}),emptyNode:ss,columns:co,flattenColumns:_o,onColumnResize:jc,hoverStartRow:xo,hoverEndRow:Do,onHover:Io,rowExpandable:za.rowExpandable,onRow:Na,getRowKey:Po,expandedKeys:Xa,childrenColumnName:ll}},[xs,Vt,sr,Kc,ur,Us,Fu,Xi,Ta,es,Fs,ls,dc,sn,za.expandedRowClassName,to,Hl,za.expandRowByClick,za.expandedRowRender,Jl,za.expandIconColumnIndex,za.indentSize,ss,co,_o,jc,xo,Do,Io,za.rowExpandable,Na,Po,Xa,ll]);return fe.createElement(me.Provider,{value:tc},bu)}function si(ht){return et(ki,ht)}var wi=si();wi.EXPAND_COLUMN=ee,wi.INTERNAL_HOOKS=de,wi.Column=Ln,wi.ColumnGroup=Gn,wi.Summary=lt;var Qr=wi,Gi=te(48911),Hi=Fe(null),$i=Fe(null);function Ai(ht,bt,Zt){var Vt=bt||1;return Zt[ht+Vt]-(Zt[ht]||0)}function li(ht){var bt=ht.rowInfo,Zt=ht.column,Vt=ht.colIndex,mn=ht.indent,sn=ht.index,Kn=ht.renderIndex,Rn=ht.record,Tn=ht.style,fr=ht.className,lr=ht.inverse,ur=ht.getHeight,Kr=Zt.render,Zr=Zt.dataIndex,Jr=Zt.className,yi=Zt.width,hi=He($i,["columnsOffset"]),Ki=hi.columnsOffset,Ii=Et(bt,Zt,Vt,mn,sn),Ji=Ii.key,Na=Ii.fixedInfo,Ja=Ii.appendCellNode,Da=Ii.additionalCellProps,Wa=Da.style,bo=Da.colSpan,ra=bo===void 0?1:bo,Oa=Da.rowSpan,fa=Oa===void 0?1:Oa,Si=Vt-1,Ui=Ai(Si,ra,Ki),sr=ra>1?yi-Ui:0,Po=(0,ze.Z)((0,ze.Z)((0,ze.Z)({},Wa),Tn),{},{flex:"0 0 ".concat(Ui,"px"),width:"".concat(Ui,"px"),marginRight:sr,pointerEvents:"auto"}),Ga=fe.useMemo(function(){return lr?fa<=1:ra===0||fa===0||fa>1},[fa,ra,lr]);Ga?Po.visibility="hidden":lr&&(Po.height=ur==null?void 0:ur(fa));var ji=Ga?function(){return null}:Kr,so={};return(fa===0||ra===0)&&(so.rowSpan=1,so.colSpan=1),fe.createElement(Fn,(0,rt.Z)({className:Ze()(Jr,fr),ellipsis:Zt.ellipsis,align:Zt.align,scope:Zt.rowScope,component:"div",prefixCls:bt.prefixCls,key:Ji,record:Rn,index:sn,renderIndex:Kn,dataIndex:Zr,render:ji,shouldCellUpdate:Zt.shouldCellUpdate},Na,{appendNode:Ja,additionalProps:(0,ze.Z)((0,ze.Z)({},Da),{},{style:Po},so)}))}var Qi=li,Pi=["data","index","className","rowKey","style","extra","getHeight"],xa=fe.forwardRef(function(ht,bt){var Zt=ht.data,Vt=ht.index,mn=ht.className,sn=ht.rowKey,Kn=ht.style,Rn=ht.extra,Tn=ht.getHeight,fr=(0,he.Z)(ht,Pi),lr=Zt.record,ur=Zt.indent,Kr=Zt.index,Zr=He(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Jr=Zr.scrollX,yi=Zr.flattenColumns,hi=Zr.prefixCls,Ki=Zr.fixColumn,Ii=Zr.componentWidth,Ji=it(lr,sn,Vt,ur),Na=Ji.rowSupportExpand,Ja=Ji.expanded,Da=Ji.rowProps,Wa=Ji.expandedRowRender,bo=Ji.expandedRowClassName,ra;if(Na&&Ja){var Oa=Wa(lr,Vt,ur+1,Ja),fa=bo==null?void 0:bo(lr,Vt,ur),Si={};Ki&&(Si={style:(0,Te.Z)({},"--virtual-width","".concat(Ii,"px"))});var Ui="".concat(hi,"-expanded-row-cell");ra=fe.createElement("div",{className:Ze()("".concat(hi,"-expanded-row"),"".concat(hi,"-expanded-row-level-").concat(ur+1),fa)},fe.createElement(Fn,{component:"div",prefixCls:hi,className:Ze()(Ui,(0,Te.Z)({},"".concat(Ui,"-fixed"),Ki)),additionalProps:Si},Oa))}var sr=(0,ze.Z)((0,ze.Z)({},Kn),{},{width:Jr});Rn&&(sr.position="absolute",sr.pointerEvents="none");var Po=fe.createElement("div",(0,rt.Z)({},Da,fr,{ref:Na?null:bt,className:Ze()(mn,"".concat(hi,"-row"),Da==null?void 0:Da.className,(0,Te.Z)({},"".concat(hi,"-row-extra"),Rn)),style:(0,ze.Z)((0,ze.Z)({},sr),Da==null?void 0:Da.style)}),yi.map(function(Ga,ji){return fe.createElement(Qi,{key:ji,rowInfo:Ji,column:Ga,colIndex:ji,indent:ur,index:Vt,renderIndex:Kr,record:lr,inverse:Rn,getHeight:Tn})}));return Na?fe.createElement("div",{ref:bt},Po,ra):Po}),lo=Ke(xa),Vi=lo,Or=fe.forwardRef(function(ht,bt){var Zt=ht.data,Vt=ht.onScroll,mn=He(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),sn=mn.flattenColumns,Kn=mn.onColumnResize,Rn=mn.getRowKey,Tn=mn.expandedKeys,fr=mn.prefixCls,lr=mn.childrenColumnName,ur=mn.emptyNode,Kr=mn.scrollX,Zr=He(Hi),Jr=Zr.scrollY,yi=Zr.listItemHeight,hi=fe.useRef(),Ki=Yt(Zt,lr,Tn,Rn),Ii=fe.useMemo(function(){var ra=0;return sn.map(function(Oa){var fa=Oa.width,Si=Oa.key;return ra+=fa,[Si,fa,ra]})},[sn]),Ji=fe.useMemo(function(){return Ii.map(function(ra){return ra[2]})},[Ii]);fe.useEffect(function(){Ii.forEach(function(ra){var Oa=(0,Ce.Z)(ra,2),fa=Oa[0],Si=Oa[1];Kn(fa,Si)})},[Ii]),fe.useImperativeHandle(bt,function(){var ra={};return Object.defineProperty(ra,"scrollLeft",{get:function(){var fa;return((fa=hi.current)===null||fa===void 0?void 0:fa.getScrollInfo().x)||0},set:function(fa){var Si;(Si=hi.current)===null||Si===void 0||Si.scrollTo({left:fa})}}),ra});var Na=function(Oa,fa){var Si,Ui=(Si=Ki[fa])===null||Si===void 0?void 0:Si.record,sr=Oa.onCell;if(sr){var Po,Ga=sr(Ui,fa);return(Po=Ga==null?void 0:Ga.rowSpan)!==null&&Po!==void 0?Po:1}return 1},Ja=function(Oa){var fa=Oa.start,Si=Oa.end,Ui=Oa.getSize,sr=Oa.offsetY;if(Si<0)return null;for(var Po=sn.filter(function(no){return Na(no,fa)===0}),Ga=fa,ji=function(Ua){if(Po=Po.filter(function(eo){return Na(eo,Ua)===0}),!Po.length)return Ga=Ua,"break"},so=fa;so>=0;so-=1){var xo=ji(so);if(xo==="break")break}for(var Do=sn.filter(function(no){return Na(no,Si)!==1}),Io=Si,Bl=function(Ua){if(Do=Do.filter(function(eo){return Na(eo,Ua)!==1}),!Do.length)return Io=Math.max(Ua-1,Si),"break"},Ko=Si;Ko<Ki.length;Ko+=1){var za=Bl(Ko);if(za==="break")break}for(var Hl=[],Xa=function(Ua){var eo=Ki[Ua];if(!eo)return"continue";sn.some(function(Ta){return Na(Ta,Ua)>1})&&Hl.push(Ua)},to=Ga;to<=Io;to+=1)var ll=Xa(to);var Jl=Hl.map(function(no){var Ua=Ki[no],eo=Rn(Ua.record,no),Ta=function(Yi){var co=no+Yi-1,_o=Rn(Ki[co].record,co),Ms=Ui(eo,_o);return Ms.bottom-Ms.top},Ca=Ui(eo);return fe.createElement(Vi,{key:no,data:Ua,rowKey:eo,index:no,style:{top:-sr+Ca.top},extra:!0,getHeight:Ta})});return Jl},Da=fe.useMemo(function(){return{columnsOffset:Ji}},[Ji]),Wa="".concat(fr,"-tbody"),bo;return Ki.length?bo=fe.createElement(Gi.Z,{fullHeight:!1,ref:hi,className:Ze()(Wa,"".concat(Wa,"-virtual")),height:Jr,itemHeight:yi||24,data:Ki,itemKey:function(Oa){return Rn(Oa.record)},scrollWidth:Kr,onVirtualScroll:function(Oa){var fa=Oa.x;Vt({scrollLeft:fa})},extraRender:Ja},function(ra,Oa,fa){var Si=Rn(ra.record,Oa);return fe.createElement(Vi,(0,rt.Z)({data:ra,rowKey:Si,index:Oa},fa))}):bo=fe.createElement("div",{className:Ze()("".concat(fr,"-placeholder"))},fe.createElement(Fn,{component:"div",prefixCls:fr},ur)),fe.createElement($i.Provider,{value:Da},bo)}),Lr=Ke(Or),ia=Lr,Zi=function(bt,Zt){var Vt=Zt.ref,mn=Zt.onScroll;return fe.createElement(ia,{ref:Vt,data:bt,onScroll:mn})},ma=100;function pa(ht){var bt=ht.columns,Zt=ht.scroll,Vt=ht.prefixCls,mn=Vt===void 0?cr:Vt,sn=ht.className,Kn=ht.listItemHeight,Rn=Zt||{},Tn=Rn.x,fr=Rn.y;typeof Tn!="number"&&(Tn=((bt||[]).length+1)*ma),typeof fr!="number"&&(fr=500);var lr=fe.useMemo(function(){return{scrollY:fr,listItemHeight:Kn}},[fr,Kn]);return fe.createElement(Hi.Provider,{value:lr},fe.createElement(Qr,(0,rt.Z)({},ht,{className:Ze()(sn,"".concat(mn,"-virtual")),scroll:(0,ze.Z)((0,ze.Z)({},Zt),{},{x:Tn}),components:{body:Zi},columns:bt,internalHooks:de,tailor:!0})))}function ha(ht){return et(pa,ht)}var qi=ha(),aa=null;function Ao(ht){return null}var Di=Ao;function Ti(ht){return null}var Ea=Ti,_a=te(2738),jo=te(68031),Zo=te(36355),ko=te(93891),vo=te(19716),Ar=te(8628),il=te(31724),_i=te(58421),Li=te(71418),Mi=te(88088);function ea(ht){return function(Zt){let{prefixCls:Vt,onExpand:mn,record:sn,expanded:Kn,expandable:Rn}=Zt;const Tn=`${Vt}-row-expand-icon`;return fe.createElement("button",{type:"button",onClick:fr=>{mn(sn,fr),fr.stopPropagation()},className:Ze()(Tn,{[`${Tn}-spaced`]:!Rn,[`${Tn}-expanded`]:Rn&&Kn,[`${Tn}-collapsed`]:Rn&&!Kn}),"aria-label":Kn?ht.collapse:ht.expand,"aria-expanded":Kn})}}var mo=ea;function Vo(ht,bt){return"key"in ht&&ht.key!==void 0&&ht.key!==null?ht.key:ht.dataIndex?Array.isArray(ht.dataIndex)?ht.dataIndex.join("."):ht.dataIndex:bt}function qo(ht,bt){return bt?`${bt}-${ht}`:`${ht}`}function Uo(ht,bt){return typeof ht=="function"?ht(bt):ht}function Co(ht,bt){const Zt=Uo(ht,bt);return Object.prototype.toString.call(Zt)==="[object Object]"?"":Zt}var ul={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Wl=ul,Il=te(7657),ms=function(bt,Zt){return fe.createElement(Il.Z,(0,rt.Z)({},bt,{ref:Zt,icon:Wl}))},Qa=fe.forwardRef(ms),la=Qa,cl=te(56762);function To(ht){const bt=fe.useRef(ht),Zt=(0,cl.Z)();return[()=>bt.current,Vt=>{bt.current=Vt,Zt()}]}var Go=te(3113),nr=te(24905),Qn=te(38854),Zn=te(64165),xr=te(20834),ni=te(40875),ti=te(5112),yr=te(17574),Bi=te(47472),ga=te(92832);function Ka(ht){let{value:bt,onChange:Zt,filterSearch:Vt,tablePrefixCls:mn,locale:sn}=ht;return Vt?fe.createElement("div",{className:`${mn}-filter-dropdown-search`},fe.createElement(ga.default,{prefix:fe.createElement(Bi.Z,null),placeholder:sn.filterSearchPlaceholder,onChange:Zt,value:bt,htmlSize:1,className:`${mn}-filter-dropdown-search-input`})):null}var va=Ka,bi=te(10228);const ta=ht=>{const{keyCode:bt}=ht;bt===bi.Z.ENTER&&ht.stopPropagation()};var Lo=fe.forwardRef((ht,bt)=>fe.createElement("div",{className:ht.className,onClick:Zt=>Zt.stopPropagation(),onKeyDown:ta,ref:bt},ht.children));function Aa(ht){let bt=[];return(ht||[]).forEach(Zt=>{let{value:Vt,children:mn}=Zt;bt.push(Vt),mn&&(bt=[].concat((0,Nr.Z)(bt),(0,Nr.Z)(Aa(mn))))}),bt}function Fa(ht){return ht.some(bt=>{let{children:Zt}=bt;return Zt})}function yo(ht,bt){return typeof bt=="string"||typeof bt=="number"?bt==null?void 0:bt.toString().toLowerCase().includes(ht.trim().toLowerCase()):!1}function tl(ht){let{filters:bt,prefixCls:Zt,filteredKeys:Vt,filterMultiple:mn,searchValue:sn,filterSearch:Kn}=ht;return bt.map((Rn,Tn)=>{const fr=String(Rn.value);if(Rn.children)return{key:fr||Tn,label:Rn.text,popupClassName:`${Zt}-dropdown-submenu`,children:tl({filters:Rn.children,prefixCls:Zt,filteredKeys:Vt,filterMultiple:mn,searchValue:sn,filterSearch:Kn})};const lr=mn?nr.default:ti.ZP,ur={key:Rn.value!==void 0?fr:Tn,label:fe.createElement(fe.Fragment,null,fe.createElement(lr,{checked:Vt.includes(fr)}),fe.createElement("span",null,Rn.text))};return sn.trim()?typeof Kn=="function"?Kn(sn,Rn)?ur:null:yo(sn,Rn.text)?ur:null:ur})}function xl(ht){var bt,Zt;const{tablePrefixCls:Vt,prefixCls:mn,column:sn,dropdownPrefixCls:Kn,columnKey:Rn,filterMultiple:Tn,filterMode:fr="menu",filterSearch:lr=!1,filterState:ur,triggerFilter:Kr,locale:Zr,children:Jr,getPopupContainer:yi}=ht,{filterDropdownOpen:hi,onFilterDropdownOpenChange:Ki,filterResetToDefaultFilteredValue:Ii,defaultFilteredValue:Ji,filterDropdownVisible:Na,onFilterDropdownVisibleChange:Ja}=sn,[Da,Wa]=fe.useState(!1),bo=!!(ur&&(!((bt=ur.filteredKeys)===null||bt===void 0)&&bt.length||ur.forceFiltered)),ra=$r=>{Wa($r),Ki==null||Ki($r),Ja==null||Ja($r)},Oa=(Zt=hi!=null?hi:Na)!==null&&Zt!==void 0?Zt:Da,fa=ur==null?void 0:ur.filteredKeys,[Si,Ui]=To(fa||[]),sr=$r=>{let{selectedKeys:Yi}=$r;Ui(Yi)},Po=($r,Yi)=>{let{node:co,checked:_o}=Yi;sr(Tn?{selectedKeys:$r}:{selectedKeys:_o&&co.key?[co.key]:[]})};fe.useEffect(()=>{Da&&sr({selectedKeys:fa||[]})},[fa]);const[Ga,ji]=fe.useState([]),so=$r=>{ji($r)},[xo,Do]=fe.useState(""),Io=$r=>{const{value:Yi}=$r.target;Do(Yi)};fe.useEffect(()=>{Da||Do("")},[Da]);const Bl=$r=>{const Yi=$r&&$r.length?$r:null;if(Yi===null&&(!ur||!ur.filteredKeys)||(0,Ee.Z)(Yi,ur==null?void 0:ur.filteredKeys,!0))return null;Kr({column:sn,key:Rn,filteredKeys:Yi})},Ko=()=>{ra(!1),Bl(Si())},za=function(){let{confirm:$r,closeDropdown:Yi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};$r&&Bl([]),Yi&&ra(!1),Do(""),Ui(Ii?(Ji||[]).map(co=>String(co)):[])},Hl=function(){let{closeDropdown:$r}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};$r&&ra(!1),Bl(Si())},Xa=$r=>{$r&&fa!==void 0&&Ui(fa||[]),ra($r),!$r&&!sn.filterDropdown&&Ko()},to=Ze()({[`${Kn}-menu-without-submenu`]:!Fa(sn.filters||[])}),ll=$r=>{if($r.target.checked){const Yi=Aa(sn==null?void 0:sn.filters).map(co=>String(co));Ui(Yi)}else Ui([])},Jl=$r=>{let{filters:Yi}=$r;return(Yi||[]).map((co,_o)=>{const Ms=String(co.value),xs={title:co.text,key:co.value!==void 0?Ms:_o};return co.children&&(xs.children=Jl({filters:co.children})),xs})},no=$r=>{var Yi;return Object.assign(Object.assign({},$r),{text:$r.title,value:$r.key,children:((Yi=$r.children)===null||Yi===void 0?void 0:Yi.map(co=>no(co)))||[]})};let Ua;if(typeof sn.filterDropdown=="function")Ua=sn.filterDropdown({prefixCls:`${Kn}-custom`,setSelectedKeys:$r=>sr({selectedKeys:$r}),selectedKeys:Si(),confirm:Hl,clearFilters:za,filters:sn.filters,visible:Oa,close:()=>{ra(!1)}});else if(sn.filterDropdown)Ua=sn.filterDropdown;else{const $r=Si()||[],Yi=()=>(sn.filters||[]).length===0?fe.createElement(Zn.Z,{image:Zn.Z.PRESENTED_IMAGE_SIMPLE,description:Zr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):fr==="tree"?fe.createElement(fe.Fragment,null,fe.createElement(va,{filterSearch:lr,value:xo,onChange:Io,tablePrefixCls:Vt,locale:Zr}),fe.createElement("div",{className:`${Vt}-filter-dropdown-tree`},Tn?fe.createElement(nr.default,{checked:$r.length===Aa(sn.filters).length,indeterminate:$r.length>0&&$r.length<Aa(sn.filters).length,className:`${Vt}-filter-dropdown-checkall`,onChange:ll},Zr.filterCheckall):null,fe.createElement(yr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Tn,checkStrictly:!Tn,className:`${Kn}-menu`,onCheck:Po,checkedKeys:$r,selectedKeys:$r,showIcon:!1,treeData:Jl({filters:sn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:xo.trim()?_o=>typeof lr=="function"?lr(xo,no(_o)):yo(xo,_o.title):void 0}))):fe.createElement(fe.Fragment,null,fe.createElement(va,{filterSearch:lr,value:xo,onChange:Io,tablePrefixCls:Vt,locale:Zr}),fe.createElement(xr.default,{selectable:!0,multiple:Tn,prefixCls:`${Kn}-menu`,className:to,onSelect:sr,onDeselect:sr,selectedKeys:$r,getPopupContainer:yi,openKeys:Ga,onOpenChange:so,items:tl({filters:sn.filters||[],filterSearch:lr,prefixCls:mn,filteredKeys:Si(),filterMultiple:Tn,searchValue:xo})})),co=()=>Ii?(0,Ee.Z)((Ji||[]).map(_o=>String(_o)),$r,!0):$r.length===0;Ua=fe.createElement(fe.Fragment,null,Yi(),fe.createElement("div",{className:`${mn}-dropdown-btns`},fe.createElement(Go.ZP,{type:"link",size:"small",disabled:co(),onClick:()=>za()},Zr.filterReset),fe.createElement(Go.ZP,{type:"primary",size:"small",onClick:Ko},Zr.filterConfirm)))}sn.filterDropdown&&(Ua=fe.createElement(ni.J,{selectable:void 0},Ua));const eo=()=>fe.createElement(Lo,{className:`${mn}-dropdown`},Ua);let Ta;typeof sn.filterIcon=="function"?Ta=sn.filterIcon(bo):sn.filterIcon?Ta=sn.filterIcon:Ta=fe.createElement(la,null);const{direction:Ca}=fe.useContext(Zo.E_);return fe.createElement("div",{className:`${mn}-column`},fe.createElement("span",{className:`${Vt}-column-title`},Jr),fe.createElement(Qn.Z,{dropdownRender:eo,trigger:["click"],open:Oa,onOpenChange:Xa,getPopupContainer:yi,placement:Ca==="rtl"?"bottomLeft":"bottomRight"},fe.createElement("span",{role:"button",tabIndex:-1,className:Ze()(`${mn}-trigger`,{active:bo}),onClick:$r=>{$r.stopPropagation()}},Ta)))}var as=xl;function Yo(ht,bt,Zt){let Vt=[];return(ht||[]).forEach((mn,sn)=>{var Kn;const Rn=qo(sn,Zt);if(mn.filters||"filterDropdown"in mn||"onFilter"in mn)if("filteredValue"in mn){let Tn=mn.filteredValue;"filterDropdown"in mn||(Tn=(Kn=Tn==null?void 0:Tn.map(String))!==null&&Kn!==void 0?Kn:Tn),Vt.push({column:mn,key:Vo(mn,Rn),filteredKeys:Tn,forceFiltered:mn.filtered})}else Vt.push({column:mn,key:Vo(mn,Rn),filteredKeys:bt&&mn.defaultFilteredValue?mn.defaultFilteredValue:void 0,forceFiltered:mn.filtered});"children"in mn&&(Vt=[].concat((0,Nr.Z)(Vt),(0,Nr.Z)(Yo(mn.children,bt,Rn))))}),Vt}function Ys(ht,bt,Zt,Vt,mn,sn,Kn,Rn){return Zt.map((Tn,fr)=>{const lr=qo(fr,Rn),{filterMultiple:ur=!0,filterMode:Kr,filterSearch:Zr}=Tn;let Jr=Tn;if(Jr.filters||Jr.filterDropdown){const yi=Vo(Jr,lr),hi=Vt.find(Ki=>{let{key:Ii}=Ki;return yi===Ii});Jr=Object.assign(Object.assign({},Jr),{title:Ki=>fe.createElement(as,{tablePrefixCls:ht,prefixCls:`${ht}-filter`,dropdownPrefixCls:bt,column:Jr,columnKey:yi,filterState:hi,filterMultiple:ur,filterMode:Kr,filterSearch:Zr,triggerFilter:sn,locale:mn,getPopupContainer:Kn},Uo(Tn.title,Ki))})}return"children"in Jr&&(Jr=Object.assign(Object.assign({},Jr),{children:Ys(ht,bt,Jr.children,Vt,mn,sn,Kn,lr)})),Jr})}function Ts(ht){const bt={};return ht.forEach(Zt=>{let{key:Vt,filteredKeys:mn,column:sn}=Zt;const{filters:Kn,filterDropdown:Rn}=sn;if(Rn)bt[Vt]=mn||null;else if(Array.isArray(mn)){const Tn=Aa(Kn);bt[Vt]=Tn.filter(fr=>mn.includes(String(fr)))}else bt[Vt]=null}),bt}function os(ht,bt){return bt.reduce((Zt,Vt)=>{const{column:{onFilter:mn,filters:sn},filteredKeys:Kn}=Vt;return mn&&Kn&&Kn.length?Zt.filter(Rn=>Kn.some(Tn=>{const fr=Aa(sn),lr=fr.findIndex(Kr=>String(Kr)===String(Tn)),ur=lr!==-1?fr[lr]:Tn;return mn(ur,Rn)})):Zt},ht)}const cs=ht=>ht.flatMap(bt=>"children"in bt?[bt].concat((0,Nr.Z)(cs(bt.children||[]))):[bt]);function du(ht){let{prefixCls:bt,dropdownPrefixCls:Zt,mergedColumns:Vt,onFilterChange:mn,getPopupContainer:sn,locale:Kn}=ht;const Rn=fe.useMemo(()=>cs(Vt||[]),[Vt]),[Tn,fr]=fe.useState(()=>Yo(Rn,!0)),lr=fe.useMemo(()=>{const Jr=Yo(Rn,!1);if(Jr.length===0)return Jr;let yi=!0,hi=!0;if(Jr.forEach(Ki=>{let{filteredKeys:Ii}=Ki;Ii!==void 0?yi=!1:hi=!1}),yi){const Ki=(Rn||[]).map((Ii,Ji)=>Vo(Ii,qo(Ji)));return Tn.filter(Ii=>{let{key:Ji}=Ii;return Ki.includes(Ji)}).map(Ii=>{const Ji=Rn[Ki.findIndex(Na=>Na===Ii.key)];return Object.assign(Object.assign({},Ii),{column:Object.assign(Object.assign({},Ii.column),Ji),forceFiltered:Ji.filtered})})}return Jr},[Rn,Tn]),ur=fe.useMemo(()=>Ts(lr),[lr]),Kr=Jr=>{const yi=lr.filter(hi=>{let{key:Ki}=hi;return Ki!==Jr.key});yi.push(Jr),fr(yi),mn(Ts(yi),yi)};return[Jr=>Ys(bt,Zt,Jr,lr,Kn,Kr,sn),lr,ur]}var ps=du;function Bo(ht,bt,Zt){const Vt=fe.useRef({});function mn(sn){if(!Vt.current||Vt.current.data!==ht||Vt.current.childrenColumnName!==bt||Vt.current.getRowKey!==Zt){let Rn=function(Tn){Tn.forEach((fr,lr)=>{const ur=Zt(fr,lr);Kn.set(ur,fr),fr&&typeof fr=="object"&&bt in fr&&Rn(fr[bt]||[])})};const Kn=new Map;Rn(ht),Vt.current={data:ht,childrenColumnName:bt,kvMap:Kn,getRowKey:Zt}}return Vt.current.kvMap.get(sn)}return[mn]}var wu=te(50371),fu=function(ht,bt){var Zt={};for(var Vt in ht)Object.prototype.hasOwnProperty.call(ht,Vt)&&bt.indexOf(Vt)<0&&(Zt[Vt]=ht[Vt]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mn=0,Vt=Object.getOwnPropertySymbols(ht);mn<Vt.length;mn++)bt.indexOf(Vt[mn])<0&&Object.prototype.propertyIsEnumerable.call(ht,Vt[mn])&&(Zt[Vt[mn]]=ht[Vt[mn]]);return Zt};const gs=10;function Vl(ht,bt){const Zt={current:ht.current,pageSize:ht.pageSize};return Object.keys(bt&&typeof bt=="object"?bt:{}).forEach(mn=>{const sn=ht[mn];typeof sn!="function"&&(Zt[mn]=sn)}),Zt}function El(ht,bt,Zt){const Vt=Zt&&typeof Zt=="object"?Zt:{},{total:mn=0}=Vt,sn=fu(Vt,["total"]),[Kn,Rn]=(0,fe.useState)(()=>({current:"defaultCurrent"in sn?sn.defaultCurrent:1,pageSize:"defaultPageSize"in sn?sn.defaultPageSize:gs})),Tn=(0,wu.Z)(Kn,sn,{total:mn>0?mn:ht}),fr=Math.ceil((mn||ht)/Tn.pageSize);Tn.current>fr&&(Tn.current=fr||1);const lr=(Kr,Zr)=>{Rn({current:Kr!=null?Kr:1,pageSize:Zr||Tn.pageSize})},ur=(Kr,Zr)=>{var Jr;Zt&&((Jr=Zt.onChange)===null||Jr===void 0||Jr.call(Zt,Kr,Zr)),lr(Kr,Zr),bt(Kr,Zr||(Tn==null?void 0:Tn.pageSize))};return Zt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Tn),{onChange:ur}),lr]}var yu=El,Pu=te(84105),bs=te(35654),al=te(90782),Ho=te(71430),Ul=te(18929);const ds={},ts="SELECT_ALL",Ns="SELECT_INVERT",Cs="SELECT_NONE",No=[],Qs=(ht,bt)=>{let Zt=[];return(bt||[]).forEach(Vt=>{Zt.push(Vt),Vt&&typeof Vt=="object"&&ht in Vt&&(Zt=[].concat((0,Nr.Z)(Zt),(0,Nr.Z)(Qs(ht,Vt[ht]))))}),Zt};var hu=(ht,bt)=>{const{preserveSelectedRowKeys:Zt,selectedRowKeys:Vt,defaultSelectedRowKeys:mn,getCheckboxProps:sn,onChange:Kn,onSelect:Rn,onSelectAll:Tn,onSelectInvert:fr,onSelectNone:lr,onSelectMultiple:ur,columnWidth:Kr,type:Zr,selections:Jr,fixed:yi,renderCell:hi,hideSelectAll:Ki,checkStrictly:Ii=!0}=bt||{},{prefixCls:Ji,data:Na,pageData:Ja,getRecordByKey:Da,getRowKey:Wa,expandType:bo,childrenColumnName:ra,locale:Oa,getPopupContainer:fa}=ht,[Si,Ui]=(0,Ul.Z)(Vt||mn||No,{value:Vt}),sr=fe.useRef(new Map),Po=(0,fe.useCallback)(no=>{if(Zt){const Ua=new Map;no.forEach(eo=>{let Ta=Da(eo);!Ta&&sr.current.has(eo)&&(Ta=sr.current.get(eo)),Ua.set(eo,Ta)}),sr.current=Ua}},[Da,Zt]);fe.useEffect(()=>{Po(Si)},[Si]);const{keyEntities:Ga}=(0,fe.useMemo)(()=>{if(Ii)return{keyEntities:null};let no=Na;if(Zt){const Ua=new Set(Na.map((Ta,Ca)=>Wa(Ta,Ca))),eo=Array.from(sr.current).reduce((Ta,Ca)=>{let[$r,Yi]=Ca;return Ua.has($r)?Ta:Ta.concat(Yi)},[]);no=[].concat((0,Nr.Z)(no),(0,Nr.Z)(eo))}return(0,Ho.I8)(no,{externalGetKey:Wa,childrenPropName:ra})},[Na,Wa,Ii,ra,Zt]),ji=(0,fe.useMemo)(()=>Qs(ra,Ja),[ra,Ja]),so=(0,fe.useMemo)(()=>{const no=new Map;return ji.forEach((Ua,eo)=>{const Ta=Wa(Ua,eo),Ca=(sn?sn(Ua):null)||{};no.set(Ta,Ca)}),no},[ji,Wa,sn]),xo=(0,fe.useCallback)(no=>{var Ua;return!!(!((Ua=so.get(Wa(no)))===null||Ua===void 0)&&Ua.disabled)},[so,Wa]),[Do,Io]=(0,fe.useMemo)(()=>{if(Ii)return[Si||[],[]];const{checkedKeys:no,halfCheckedKeys:Ua}=(0,al.S)(Si,!0,Ga,xo);return[no||[],Ua]},[Si,Ii,Ga,xo]),Bl=(0,fe.useMemo)(()=>{const no=Zr==="radio"?Do.slice(0,1):Do;return new Set(no)},[Do,Zr]),Ko=(0,fe.useMemo)(()=>Zr==="radio"?new Set:new Set(Io),[Io,Zr]),[za,Hl]=(0,fe.useState)(null);fe.useEffect(()=>{bt||Ui(No)},[!!bt]);const Xa=(0,fe.useCallback)((no,Ua)=>{let eo,Ta;Po(no),Zt?(eo=no,Ta=no.map(Ca=>sr.current.get(Ca))):(eo=[],Ta=[],no.forEach(Ca=>{const $r=Da(Ca);$r!==void 0&&(eo.push(Ca),Ta.push($r))})),Ui(eo),Kn==null||Kn(eo,Ta,{type:Ua})},[Ui,Da,Kn,Zt]),to=(0,fe.useCallback)((no,Ua,eo,Ta)=>{if(Rn){const Ca=eo.map($r=>Da($r));Rn(Da(no),Ua,Ca,Ta)}Xa(eo,"single")},[Rn,Da,Xa]),ll=(0,fe.useMemo)(()=>!Jr||Ki?null:(Jr===!0?[ts,Ns,Cs]:Jr).map(Ua=>Ua===ts?{key:"all",text:Oa.selectionAll,onSelect(){Xa(Na.map((eo,Ta)=>Wa(eo,Ta)).filter(eo=>{const Ta=so.get(eo);return!(Ta!=null&&Ta.disabled)||Bl.has(eo)}),"all")}}:Ua===Ns?{key:"invert",text:Oa.selectInvert,onSelect(){const eo=new Set(Bl);Ja.forEach((Ca,$r)=>{const Yi=Wa(Ca,$r),co=so.get(Yi);co!=null&&co.disabled||(eo.has(Yi)?eo.delete(Yi):eo.add(Yi))});const Ta=Array.from(eo);fr&&fr(Ta),Xa(Ta,"invert")}}:Ua===Cs?{key:"none",text:Oa.selectNone,onSelect(){lr==null||lr(),Xa(Array.from(Bl).filter(eo=>{const Ta=so.get(eo);return Ta==null?void 0:Ta.disabled}),"none")}}:Ua).map(Ua=>Object.assign(Object.assign({},Ua),{onSelect:function(){for(var eo,Ta,Ca=arguments.length,$r=new Array(Ca),Yi=0;Yi<Ca;Yi++)$r[Yi]=arguments[Yi];(Ta=Ua.onSelect)===null||Ta===void 0||(eo=Ta).call.apply(eo,[Ua].concat($r)),Hl(null)}})),[Jr,Bl,Ja,Wa,fr,Xa]);return[(0,fe.useCallback)(no=>{var Ua;if(!bt)return no.filter(ol=>ol!==ds);let eo=(0,Nr.Z)(no);const Ta=new Set(Bl),Ca=ji.map(Wa).filter(ol=>!so.get(ol).disabled),$r=Ca.every(ol=>Ta.has(ol)),Yi=Ca.some(ol=>Ta.has(ol)),co=()=>{const ol=[];$r?Ca.forEach(yl=>{Ta.delete(yl),ol.push(yl)}):Ca.forEach(yl=>{Ta.has(yl)||(Ta.add(yl),ol.push(yl))});const Ni=Array.from(Ta);Tn==null||Tn(!$r,Ni.map(yl=>Da(yl)),ol.map(yl=>Da(yl))),Xa(Ni,"all"),Hl(null)};let _o;if(Zr!=="radio"){let ol;if(ll){const wo={getPopupContainer:fa,items:ll.map((bl,As)=>{const{key:Ml,text:qa,onSelect:io}=bl;return{key:Ml!=null?Ml:As,onClick:()=>{io==null||io(Ca)},label:qa}})};ol=fe.createElement("div",{className:`${Ji}-selection-extra`},fe.createElement(Qn.Z,{menu:wo,getPopupContainer:fa},fe.createElement("span",null,fe.createElement(Pu.Z,null))))}const Ni=ji.map((wo,bl)=>{const As=Wa(wo,bl),Ml=so.get(As)||{};return Object.assign({checked:Ta.has(As)},Ml)}).filter(wo=>{let{disabled:bl}=wo;return bl}),yl=!!Ni.length&&Ni.length===ji.length,Ro=yl&&Ni.every(wo=>{let{checked:bl}=wo;return bl}),Gl=yl&&Ni.some(wo=>{let{checked:bl}=wo;return bl});_o=!Ki&&fe.createElement("div",{className:`${Ji}-selection`},fe.createElement(nr.default,{checked:yl?Ro:!!ji.length&&$r,indeterminate:yl?!Ro&&Gl:!$r&&Yi,onChange:co,disabled:ji.length===0||yl,"aria-label":ol?"Custom selection":"Select all",skipGroup:!0}),ol)}let Ms;Zr==="radio"?Ms=(ol,Ni,yl)=>{const Ro=Wa(Ni,yl),Gl=Ta.has(Ro);return{node:fe.createElement(ti.ZP,Object.assign({},so.get(Ro),{checked:Gl,onClick:wo=>wo.stopPropagation(),onChange:wo=>{Ta.has(Ro)||to(Ro,!0,[Ro],wo.nativeEvent)}})),checked:Gl}}:Ms=(ol,Ni,yl)=>{var Ro;const Gl=Wa(Ni,yl),wo=Ta.has(Gl),bl=Ko.has(Gl),As=so.get(Gl);let Ml;return bo==="nest"?Ml=bl:Ml=(Ro=As==null?void 0:As.indeterminate)!==null&&Ro!==void 0?Ro:bl,{node:fe.createElement(nr.default,Object.assign({},As,{indeterminate:Ml,checked:wo,skipGroup:!0,onClick:qa=>qa.stopPropagation(),onChange:qa=>{let{nativeEvent:io}=qa;const{shiftKey:Yl}=io;let Iu=-1,Vs=-1;if(Yl&&Ii){const tu=new Set([za,Gl]);Ca.some((Js,es)=>{if(tu.has(Js))if(Iu===-1)Iu=es;else return Vs=es,!0;return!1})}if(Vs!==-1&&Iu!==Vs&&Ii){const tu=Ca.slice(Iu,Vs+1),Js=[];wo?tu.forEach(ls=>{Ta.has(ls)&&(Js.push(ls),Ta.delete(ls))}):tu.forEach(ls=>{Ta.has(ls)||(Js.push(ls),Ta.add(ls))});const es=Array.from(Ta);ur==null||ur(!wo,es.map(ls=>Da(ls)),Js.map(ls=>Da(ls))),Xa(es,"multiple")}else{const tu=Do;if(Ii){const Js=wo?(0,bs._5)(tu,Gl):(0,bs.L0)(tu,Gl);to(Gl,!wo,Js,io)}else{const Js=(0,al.S)([].concat((0,Nr.Z)(tu),[Gl]),!0,Ga,xo),{checkedKeys:es,halfCheckedKeys:ls}=Js;let Fs=es;if(wo){const Hu=new Set(es);Hu.delete(Gl),Fs=(0,al.S)(Array.from(Hu),{checked:!1,halfCheckedKeys:ls},Ga,xo).checkedKeys}to(Gl,!wo,Fs,io)}}Hl(wo?null:Gl)}})),checked:wo}};const xs=(ol,Ni,yl)=>{const{node:Ro,checked:Gl}=Ms(ol,Ni,yl);return hi?hi(Gl,Ni,yl,Ro):Ro};if(!eo.includes(ds))if(eo.findIndex(ol=>{var Ni;return((Ni=ol[kr])===null||Ni===void 0?void 0:Ni.columnType)==="EXPAND_COLUMN"})===0){const[ol,...Ni]=eo;eo=[ol,ds].concat((0,Nr.Z)(Ni))}else eo=[ds].concat((0,Nr.Z)(eo));const su=eo.indexOf(ds);eo=eo.filter((ol,Ni)=>ol!==ds||Ni===su);const sa=eo[su-1],ns=eo[su+1];let ro=yi;ro===void 0&&((ns==null?void 0:ns.fixed)!==void 0?ro=ns.fixed:(sa==null?void 0:sa.fixed)!==void 0&&(ro=sa.fixed)),ro&&sa&&((Ua=sa[kr])===null||Ua===void 0?void 0:Ua.columnType)==="EXPAND_COLUMN"&&sa.fixed===void 0&&(sa.fixed=ro);const Es=Ze()(`${Ji}-selection-col`,{[`${Ji}-selection-col-with-dropdown`]:Jr&&Zr==="checkbox"}),Ss={fixed:ro,width:Kr,className:`${Ji}-selection-column`,title:bt.columnTitle||_o,render:xs,onCell:bt.onCell,[kr]:{className:Es}};return eo.map(ol=>ol===ds?Ss:ol)},[Wa,ji,bt,Do,Bl,Ko,Kr,ll,bo,za,so,ur,to,xo]),Bl]},js=te(89489),wc=te(59477),Lu=te(6848);const zu="ascend",iu="descend";function ic(ht){return typeof ht.sorter=="object"&&typeof ht.sorter.multiple=="number"?ht.sorter.multiple:!1}function ac(ht){return typeof ht=="function"?ht:ht&&typeof ht=="object"&&ht.compare?ht.compare:!1}function zc(ht,bt){return bt?ht[ht.indexOf(bt)+1]:ht[0]}function Qu(ht,bt,Zt){let Vt=[];function mn(sn,Kn){Vt.push({column:sn,key:Vo(sn,Kn),multiplePriority:ic(sn),sortOrder:sn.sortOrder})}return(ht||[]).forEach((sn,Kn)=>{const Rn=qo(Kn,Zt);sn.children?("sortOrder"in sn&&mn(sn,Rn),Vt=[].concat((0,Nr.Z)(Vt),(0,Nr.Z)(Qu(sn.children,bt,Rn)))):sn.sorter&&("sortOrder"in sn?mn(sn,Rn):bt&&sn.defaultSortOrder&&Vt.push({column:sn,key:Vo(sn,Rn),multiplePriority:ic(sn),sortOrder:sn.defaultSortOrder}))}),Vt}function Au(ht,bt,Zt,Vt,mn,sn,Kn,Rn){return(bt||[]).map((Tn,fr)=>{const lr=qo(fr,Rn);let ur=Tn;if(ur.sorter){const Kr=ur.sortDirections||mn,Zr=ur.showSorterTooltip===void 0?Kn:ur.showSorterTooltip,Jr=Vo(ur,lr),yi=Zt.find(bo=>{let{key:ra}=bo;return ra===Jr}),hi=yi?yi.sortOrder:null,Ki=zc(Kr,hi);let Ii;if(Tn.sortIcon)Ii=Tn.sortIcon({sortOrder:hi});else{const bo=Kr.includes(zu)&&fe.createElement(wc.Z,{className:Ze()(`${ht}-column-sorter-up`,{active:hi===zu})}),ra=Kr.includes(iu)&&fe.createElement(js.Z,{className:Ze()(`${ht}-column-sorter-down`,{active:hi===iu})});Ii=fe.createElement("span",{className:Ze()(`${ht}-column-sorter`,{[`${ht}-column-sorter-full`]:!!(bo&&ra)})},fe.createElement("span",{className:`${ht}-column-sorter-inner`,"aria-hidden":"true"},bo,ra))}const{cancelSort:Ji,triggerAsc:Na,triggerDesc:Ja}=sn||{};let Da=Ji;Ki===iu?Da=Ja:Ki===zu&&(Da=Na);const Wa=typeof Zr=="object"?Zr:{title:Da};ur=Object.assign(Object.assign({},ur),{className:Ze()(ur.className,{[`${ht}-column-sort`]:hi}),title:bo=>{const ra=fe.createElement("div",{className:`${ht}-column-sorters`},fe.createElement("span",{className:`${ht}-column-title`},Uo(Tn.title,bo)),Ii);return Zr?fe.createElement(Lu.Z,Object.assign({},Wa),ra):ra},onHeaderCell:bo=>{const ra=Tn.onHeaderCell&&Tn.onHeaderCell(bo)||{},Oa=ra.onClick,fa=ra.onKeyDown;ra.onClick=sr=>{Vt({column:Tn,key:Jr,sortOrder:Ki,multiplePriority:ic(Tn)}),Oa==null||Oa(sr)},ra.onKeyDown=sr=>{sr.keyCode===bi.Z.ENTER&&(Vt({column:Tn,key:Jr,sortOrder:Ki,multiplePriority:ic(Tn)}),fa==null||fa(sr))};const Si=Co(Tn.title,{}),Ui=Si==null?void 0:Si.toString();return hi?ra["aria-sort"]=hi==="ascend"?"ascending":"descending":ra["aria-label"]=Ui||"",ra.className=Ze()(ra.className,`${ht}-column-has-sorters`),ra.tabIndex=0,Tn.ellipsis&&(ra.title=(Si!=null?Si:"").toString()),ra}})}return"children"in ur&&(ur=Object.assign(Object.assign({},ur),{children:Au(ht,ur.children,Zt,Vt,mn,sn,Kn,lr)})),ur})}function Ia(ht){const{column:bt,sortOrder:Zt}=ht;return{column:bt,order:Zt,field:bt.dataIndex,columnKey:bt.key}}function Ju(ht){const bt=ht.filter(Zt=>{let{sortOrder:Vt}=Zt;return Vt}).map(Ia);return bt.length===0&&ht.length?Object.assign(Object.assign({},Ia(ht[ht.length-1])),{column:void 0}):bt.length<=1?bt[0]||{}:bt}function Al(ht,bt,Zt){const Vt=bt.slice().sort((Kn,Rn)=>Rn.multiplePriority-Kn.multiplePriority),mn=ht.slice(),sn=Vt.filter(Kn=>{let{column:{sorter:Rn},sortOrder:Tn}=Kn;return ac(Rn)&&Tn});return sn.length?mn.sort((Kn,Rn)=>{for(let Tn=0;Tn<sn.length;Tn+=1){const fr=sn[Tn],{column:{sorter:lr},sortOrder:ur}=fr,Kr=ac(lr);if(Kr&&ur){const Zr=Kr(Kn,Rn,ur);if(Zr!==0)return ur===zu?Zr:-Zr}}return 0}).map(Kn=>{const Rn=Kn[Zt];return Rn?Object.assign(Object.assign({},Kn),{[Zt]:Al(Rn,bt,Zt)}):Kn}):mn}function Nl(ht){let{prefixCls:bt,mergedColumns:Zt,onSorterChange:Vt,sortDirections:mn,tableLocale:sn,showSorterTooltip:Kn}=ht;const[Rn,Tn]=fe.useState(Qu(Zt,!0)),fr=fe.useMemo(()=>{let Jr=!0;const yi=Qu(Zt,!1);if(!yi.length)return Rn;const hi=[];function Ki(Ji){Jr?hi.push(Ji):hi.push(Object.assign(Object.assign({},Ji),{sortOrder:null}))}let Ii=null;return yi.forEach(Ji=>{Ii===null?(Ki(Ji),Ji.sortOrder&&(Ji.multiplePriority===!1?Jr=!1:Ii=!0)):(Ii&&Ji.multiplePriority!==!1||(Jr=!1),Ki(Ji))}),hi},[Zt,Rn]),lr=fe.useMemo(()=>{const Jr=fr.map(yi=>{let{column:hi,sortOrder:Ki}=yi;return{column:hi,order:Ki}});return{sortColumns:Jr,sortColumn:Jr[0]&&Jr[0].column,sortOrder:Jr[0]&&Jr[0].order}},[fr]);function ur(Jr){let yi;Jr.multiplePriority===!1||!fr.length||fr[0].multiplePriority===!1?yi=[Jr]:yi=[].concat((0,Nr.Z)(fr.filter(hi=>{let{key:Ki}=hi;return Ki!==Jr.key})),[Jr]),Tn(yi),Vt(Ju(yi),yi)}return[Jr=>Au(bt,Jr,fr,ur,mn,sn,Kn),fr,lr,()=>Ju(fr)]}function $l(ht,bt){return ht.map(Zt=>{const Vt=Object.assign({},Zt);return Vt.title=Uo(Zt.title,bt),"children"in Vt&&(Vt.children=$l(Vt.children,bt)),Vt})}function au(ht){return[fe.useCallback(Zt=>$l(Zt,ht),[ht])]}var Zs=si((ht,bt)=>{const{_renderTimes:Zt}=ht,{_renderTimes:Vt}=bt;return Zt!==Vt}),eu=ha((ht,bt)=>{const{_renderTimes:Zt}=ht,{_renderTimes:Vt}=bt;return Zt!==Vt}),Ks=te(64993),Ws=te(17313),ou=te(83116),lu=te(37613),ct=ht=>{const{componentCls:bt}=ht,Zt=`${ht.lineWidth}px ${ht.lineType} ${ht.tableBorderColor}`,Vt=(mn,sn,Kn)=>({[`&${bt}-${mn}`]:{[`> ${bt}-container`]:{[`> ${bt}-content, > ${bt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${bt}-expanded-row-fixed`]:{margin:`-${sn}px -${Kn+ht.lineWidth}px`}}}}}});return{[`${bt}-wrapper`]:{[`${bt}${bt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${bt}-title`]:{border:Zt,borderBottom:0},[`> ${bt}-container`]:{borderInlineStart:Zt,borderTop:Zt,[`
|
|
|
> ${bt}-content,
|
|
|
> ${bt}-header,
|
|
|
> ${bt}-body,
|
|
|
> ${bt}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Zt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Zt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${bt}-cell-fix-right-first::after`]:{borderInlineEnd:Zt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${bt}-expanded-row-fixed`]:{margin:`-${ht.tablePaddingVertical}px -${ht.tablePaddingHorizontal+ht.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ht.lineWidth,bottom:0,borderInlineEnd:Zt,content:'""'}}}}}},[`&${bt}-scroll-horizontal`]:{[`> ${bt}-container > ${bt}-body`]:{"> table > tbody":{[`
|
|
|
> tr${bt}-expanded-row,
|
|
|
> tr${bt}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Vt("middle",ht.tablePaddingVerticalMiddle,ht.tablePaddingHorizontalMiddle)),Vt("small",ht.tablePaddingVerticalSmall,ht.tablePaddingHorizontalSmall)),{[`> ${bt}-footer`]:{border:Zt,borderTop:0}}),[`${bt}-cell`]:{[`${bt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ht.lineWidth}px 0 ${ht.lineWidth}px ${ht.tableHeaderBg}`}},[`${bt}-bordered ${bt}-cell-scrollbar`]:{borderInlineEnd:Zt}}}},Xt=ht=>{const{componentCls:bt}=ht;return{[`${bt}-wrapper`]:{[`${bt}-cell-ellipsis`]:Object.assign(Object.assign({},Ws.vS),{wordBreak:"keep-all",[`
|
|
|
&${bt}-cell-fix-left-last,
|
|
|
&${bt}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${bt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${bt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qn=ht=>{const{componentCls:bt}=ht;return{[`${bt}-wrapper`]:{[`${bt}-tbody > tr${bt}-placeholder`]:{textAlign:"center",color:ht.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ht.colorBgContainer}}}}},Wn=te(15969),br=ht=>{const{componentCls:bt,antCls:Zt,controlInteractiveSize:Vt,motionDurationSlow:mn,lineWidth:sn,paddingXS:Kn,lineType:Rn,tableBorderColor:Tn,tableExpandIconBg:fr,tableExpandColumnWidth:lr,borderRadius:ur,fontSize:Kr,fontSizeSM:Zr,lineHeight:Jr,tablePaddingVertical:yi,tablePaddingHorizontal:hi,tableExpandedRowBg:Ki,paddingXXS:Ii}=ht,Ji=Vt/2-sn,Na=Ji*2+sn*3,Ja=`${sn}px ${Rn} ${Tn}`,Da=Ii-sn;return{[`${bt}-wrapper`]:{[`${bt}-expand-icon-col`]:{width:lr},[`${bt}-row-expand-icon-cell`]:{textAlign:"center",[`${bt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${bt}-row-indent`]:{height:1,float:"left"},[`${bt}-row-expand-icon`]:Object.assign(Object.assign({},(0,Wn.N)(ht)),{position:"relative",float:"left",boxSizing:"border-box",width:Na,height:Na,padding:0,color:"inherit",lineHeight:`${Na}px`,background:fr,border:Ja,borderRadius:ur,transform:`scale(${Vt/Na})`,transition:`all ${mn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${mn} ease-out`,content:'""'},"&::before":{top:Ji,insetInlineEnd:Da,insetInlineStart:Da,height:sn},"&::after":{top:Da,bottom:Da,insetInlineStart:Ji,width:sn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${bt}-row-indent + ${bt}-row-expand-icon`]:{marginTop:(Kr*Jr-sn*3)/2-Math.ceil((Zr*1.4-sn*3)/2),marginInlineEnd:Kn},[`tr${bt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ki}},[`${Zt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${bt}-expanded-row-fixed`]:{position:"relative",margin:`-${yi}px -${hi}px`,padding:`${yi}px ${hi}px`}}}},zi=ht=>{const{componentCls:bt,antCls:Zt,iconCls:Vt,tableFilterDropdownWidth:mn,tableFilterDropdownSearchWidth:sn,paddingXXS:Kn,paddingXS:Rn,colorText:Tn,lineWidth:fr,lineType:lr,tableBorderColor:ur,tableHeaderIconColor:Kr,fontSizeSM:Zr,tablePaddingHorizontal:Jr,borderRadius:yi,motionDurationSlow:hi,colorTextDescription:Ki,colorPrimary:Ii,tableHeaderFilterActiveBg:Ji,colorTextDisabled:Na,tableFilterDropdownBg:Ja,tableFilterDropdownHeight:Da,controlItemBgHover:Wa,controlItemBgActive:bo,boxShadowSecondary:ra,filterDropdownMenuBg:Oa}=ht,fa=`${Zt}-dropdown`,Si=`${bt}-filter-dropdown`,Ui=`${Zt}-tree`,sr=`${fr}px ${lr} ${ur}`;return[{[`${bt}-wrapper`]:{[`${bt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${bt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Kn,marginInline:`${Kn}px ${-Jr/2}px`,padding:`0 ${Kn}px`,color:Kr,fontSize:Zr,borderRadius:yi,cursor:"pointer",transition:`all ${hi}`,"&:hover":{color:Ki,background:Ji},"&.active":{color:Ii}}}},{[`${Zt}-dropdown`]:{[Si]:Object.assign(Object.assign({},(0,Ws.Wf)(ht)),{minWidth:mn,backgroundColor:Ja,borderRadius:yi,boxShadow:ra,overflow:"hidden",[`${fa}-menu`]:{maxHeight:Da,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Oa,"&:empty::after":{display:"block",padding:`${Rn}px 0`,color:Na,fontSize:Zr,textAlign:"center",content:'"Not Found"'}},[`${Si}-tree`]:{paddingBlock:`${Rn}px 0`,paddingInline:Rn,[Ui]:{padding:0},[`${Ui}-treenode ${Ui}-node-content-wrapper:hover`]:{backgroundColor:Wa},[`${Ui}-treenode-checkbox-checked ${Ui}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:bo}}},[`${Si}-search`]:{padding:Rn,borderBottom:sr,"&-input":{input:{minWidth:sn},[Vt]:{color:Na}}},[`${Si}-checkall`]:{width:"100%",marginBottom:Kn,marginInlineStart:Kn},[`${Si}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Rn-fr}px ${Rn}px`,overflow:"hidden",borderTop:sr}})}},{[`${Zt}-dropdown ${Si}, ${Si}-submenu`]:{[`${Zt}-checkbox-wrapper + span`]:{paddingInlineStart:Rn,color:Tn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ur=ht=>{const{componentCls:bt,lineWidth:Zt,colorSplit:Vt,motionDurationSlow:mn,zIndexTableFixed:sn,tableBg:Kn,zIndexTableSticky:Rn}=ht,Tn=Vt;return{[`${bt}-wrapper`]:{[`
|
|
|
${bt}-cell-fix-left,
|
|
|
${bt}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:sn,background:Kn},[`
|
|
|
${bt}-cell-fix-left-first::after,
|
|
|
${bt}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Zt,width:30,transform:"translateX(100%)",transition:`box-shadow ${mn}`,content:'""',pointerEvents:"none"},[`${bt}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${bt}-cell-fix-right-first::after,
|
|
|
${bt}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-Zt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${mn}`,content:'""',pointerEvents:"none"},[`${bt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Rn+1,width:30,transition:`box-shadow ${mn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${bt}-ping-left`]:{[`&:not(${bt}-has-fix-left) ${bt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Tn}`}},[`
|
|
|
${bt}-cell-fix-left-first::after,
|
|
|
${bt}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Tn}`},[`${bt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${bt}-ping-right`]:{[`&:not(${bt}-has-fix-right) ${bt}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Tn}`}},[`
|
|
|
${bt}-cell-fix-right-first::after,
|
|
|
${bt}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Tn}`}}}}},xi=ht=>{const{componentCls:bt,antCls:Zt}=ht;return{[`${bt}-wrapper`]:{[`${bt}-pagination${Zt}-pagination`]:{margin:`${ht.margin}px 0`},[`${bt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ht.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Tr=ht=>{const{componentCls:bt,tableRadius:Zt}=ht;return{[`${bt}-wrapper`]:{[bt]:{[`${bt}-title, ${bt}-header`]:{borderRadius:`${Zt}px ${Zt}px 0 0`},[`${bt}-title + ${bt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${bt}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Zt,borderStartEndRadius:Zt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Zt},"> *:last-child":{borderStartEndRadius:Zt}}},"&-footer":{borderRadius:`0 0 ${Zt}px ${Zt}px`}}}}},ka=ht=>{const{componentCls:bt}=ht;return{[`${bt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${bt}-pagination-left`]:{justifyContent:"flex-end"},[`${bt}-pagination-right`]:{justifyContent:"flex-start"},[`${bt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${bt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${bt}-row-indent`]:{float:"right"}}}}},Pa=ht=>{const{componentCls:bt,antCls:Zt,iconCls:Vt,fontSizeIcon:mn,padding:sn,paddingXS:Kn,tableHeaderIconColor:Rn,tableHeaderIconColorHover:Tn,tableSelectionColumnWidth:fr}=ht;return{[`${bt}-wrapper`]:{[`${bt}-selection-col`]:{width:fr,[`&${bt}-selection-col-with-dropdown`]:{width:fr+mn+sn/4}},[`${bt}-bordered ${bt}-selection-col`]:{width:fr+Kn*2,[`&${bt}-selection-col-with-dropdown`]:{width:fr+mn+sn/4+Kn*2}},[`
|
|
|
table tr th${bt}-selection-column,
|
|
|
table tr td${bt}-selection-column
|
|
|
`]:{paddingInlineEnd:ht.paddingXS,paddingInlineStart:ht.paddingXS,textAlign:"center",[`${Zt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${bt}-selection-column${bt}-cell-fix-left`]:{zIndex:ht.zIndexTableFixed+1},[`table tr th${bt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${bt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${bt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ht.tablePaddingHorizontal/4}px`,[Vt]:{color:Rn,fontSize:mn,verticalAlign:"baseline","&:hover":{color:Tn}}}}}},Ma=ht=>{const{componentCls:bt}=ht,Zt=(Vt,mn,sn,Kn)=>({[`${bt}${bt}-${Vt}`]:{fontSize:Kn,[`
|
|
|
${bt}-title,
|
|
|
${bt}-footer,
|
|
|
${bt}-cell,
|
|
|
${bt}-thead > tr > th,
|
|
|
${bt}-tbody > tr > th,
|
|
|
${bt}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${mn}px ${sn}px`},[`${bt}-filter-trigger`]:{marginInlineEnd:`-${sn/2}px`},[`${bt}-expanded-row-fixed`]:{margin:`-${mn}px -${sn}px`},[`${bt}-tbody`]:{[`${bt}-wrapper:only-child ${bt}`]:{marginBlock:`-${mn}px`,marginInline:`${ht.tableExpandColumnWidth-sn}px -${sn}px`}},[`${bt}-selection-column`]:{paddingInlineStart:`${sn/4}px`}}});return{[`${bt}-wrapper`]:Object.assign(Object.assign({},Zt("middle",ht.tablePaddingVerticalMiddle,ht.tablePaddingHorizontalMiddle,ht.tableFontSizeMiddle)),Zt("small",ht.tablePaddingVerticalSmall,ht.tablePaddingHorizontalSmall,ht.tableFontSizeSmall))}},Xo=ht=>{const{componentCls:bt,marginXXS:Zt,fontSizeIcon:Vt,tableHeaderIconColor:mn,tableHeaderIconColorHover:sn}=ht;return{[`${bt}-wrapper`]:{[`${bt}-thead th${bt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ht.motionDurationSlow}`,"&:hover":{background:ht.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ht.colorPrimary},[`
|
|
|
&${bt}-cell-fix-left:hover,
|
|
|
&${bt}-cell-fix-right:hover
|
|
|
`]:{background:ht.tableFixedHeaderSortActiveBg}},[`${bt}-thead th${bt}-column-sort`]:{background:ht.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${bt}-column-sort`]:{background:ht.tableBodySortBg},[`${bt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${bt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${bt}-column-sorter`]:{marginInlineStart:Zt,color:mn,fontSize:0,transition:`color ${ht.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Vt,"&.active":{color:ht.colorPrimary}},[`${bt}-column-sorter-up + ${bt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${bt}-column-sorters:hover ${bt}-column-sorter`]:{color:sn}}}},Qo=ht=>{const{componentCls:bt,opacityLoading:Zt,tableScrollThumbBg:Vt,tableScrollThumbBgHover:mn,tableScrollThumbSize:sn,tableScrollBg:Kn,zIndexTableSticky:Rn,stickyScrollBarBorderRadius:Tn}=ht,fr=`${ht.lineWidth}px ${ht.lineType} ${ht.tableBorderColor}`;return{[`${bt}-wrapper`]:{[`${bt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Rn,background:ht.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${sn}px !important`,zIndex:Rn,display:"flex",alignItems:"center",background:Kn,borderTop:fr,opacity:Zt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:sn,backgroundColor:Vt,borderRadius:Tn,transition:`all ${ht.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:mn}}}}}}},vl=ht=>{const{componentCls:bt,lineWidth:Zt,tableBorderColor:Vt}=ht,mn=`${Zt}px ${ht.lineType} ${Vt}`;return{[`${bt}-wrapper`]:{[`${bt}-summary`]:{position:"relative",zIndex:ht.zIndexTableFixed,background:ht.tableBg,"> tr":{"> th, > td":{borderBottom:mn}}},[`div${bt}-summary`]:{boxShadow:`0 -${Zt}px 0 ${Vt}`}}}},Rl=ht=>{const{componentCls:bt}=ht,Zt=`${ht.lineWidth}px ${ht.lineType} ${ht.tableBorderColor}`,Vt=`${bt}-expanded-row-cell`;return{[`${bt}-wrapper`]:{[`${bt}-tbody-virtual`]:{[`${bt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${bt}-cell`]:{borderBottom:Zt},[`${bt}-expanded-row`]:{[`${Vt}${Vt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ht.lineWidth}px)`,borderInlineEnd:"none"}}},[`${bt}-bordered`]:{[`${bt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Zt,position:"absolute"},[`${bt}-cell`]:{borderInlineEnd:Zt,[`&${bt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ht.lineWidth,borderInlineStart:Zt}}}}}}};const $o=ht=>{const{componentCls:bt,fontWeightStrong:Zt,tablePaddingVertical:Vt,tablePaddingHorizontal:mn,lineWidth:sn,lineType:Kn,tableBorderColor:Rn,tableFontSize:Tn,tableBg:fr,tableRadius:lr,tableHeaderTextColor:ur,motionDurationMid:Kr,tableHeaderBg:Zr,tableHeaderCellSplitColor:Jr,tableRowHoverBg:yi,tableSelectedRowBg:hi,tableSelectedRowHoverBg:Ki,tableFooterTextColor:Ii,tableFooterBg:Ji,paddingContentVerticalLG:Na}=ht,Ja=`${sn}px ${Kn} ${Rn}`;return{[`${bt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[bt]:Object.assign(Object.assign({},(0,Ws.Wf)(ht)),{fontSize:Tn,background:fr,borderRadius:`${lr}px ${lr}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${lr}px ${lr}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${bt}-cell,
|
|
|
${bt}-thead > tr > th,
|
|
|
${bt}-tbody > tr > th,
|
|
|
${bt}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${Na}px ${mn}px`,overflowWrap:"break-word"},[`${bt}-title`]:{padding:`${Vt}px ${mn}px`},[`${bt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ur,fontWeight:Zt,textAlign:"start",background:Zr,borderBottom:Ja,transition:`background ${Kr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${bt}-selection-column):not(${bt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Jr,transform:"translateY(-50%)",transition:`background-color ${Kr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${bt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Kr}, border-color ${Kr}`,borderBottom:Ja,[`
|
|
|
> ${bt}-wrapper:only-child,
|
|
|
> ${bt}-expanded-row-fixed > ${bt}-wrapper:only-child
|
|
|
`]:{[bt]:{marginBlock:`-${Vt}px`,marginInline:`${ht.tableExpandColumnWidth-mn}px -${mn}px`,[`${bt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ur,fontWeight:Zt,textAlign:"start",background:Zr,borderBottom:Ja,transition:`background ${Kr} ease`},[`
|
|
|
&${bt}-row:hover > th,
|
|
|
&${bt}-row:hover > td,
|
|
|
> th${bt}-cell-row-hover,
|
|
|
> td${bt}-cell-row-hover
|
|
|
`]:{background:yi},[`&${bt}-row-selected`]:{"> th, > td":{background:hi},"&:hover > th, &:hover > td":{background:Ki}}}},[`${bt}-footer`]:{padding:`${Vt}px ${mn}px`,color:Ii,background:Ji}})}};var nl=(0,ou.Z)("Table",ht=>{const{colorTextHeading:bt,colorSplit:Zt,colorIcon:Vt,colorIconHover:mn,opacityLoading:sn,colorBgContainer:Kn,controlInteractiveSize:Rn,headerBg:Tn,headerColor:fr,headerSortActiveBg:lr,headerSortHoverBg:ur,bodySortBg:Kr,rowHoverBg:Zr,rowSelectedBg:Jr,rowSelectedHoverBg:yi,rowExpandedBg:hi,cellPaddingBlock:Ki,cellPaddingInline:Ii,cellPaddingBlockMD:Ji,cellPaddingInlineMD:Na,cellPaddingBlockSM:Ja,cellPaddingInlineSM:Da,borderColor:Wa,footerBg:bo,footerColor:ra,headerBorderRadius:Oa,cellFontSize:fa,cellFontSizeMD:Si,cellFontSizeSM:Ui,headerSplitColor:sr,fixedHeaderSortActiveBg:Po,headerFilterHoverBg:Ga,filterDropdownBg:ji,expandIconBg:so,selectionColumnWidth:xo,stickyScrollBarBg:Do}=ht,Io=new Ks.C(Vt),Bl=new Ks.C(mn),Ko=2,za=(0,lu.TS)(ht,{tableFontSize:fa,tableBg:Kn,tableRadius:Oa,tablePaddingVertical:Ki,tablePaddingHorizontal:Ii,tablePaddingVerticalMiddle:Ji,tablePaddingHorizontalMiddle:Na,tablePaddingVerticalSmall:Ja,tablePaddingHorizontalSmall:Da,tableBorderColor:Wa,tableHeaderTextColor:fr,tableHeaderBg:Tn,tableFooterTextColor:ra,tableFooterBg:bo,tableHeaderCellSplitColor:sr,tableHeaderSortBg:lr,tableHeaderSortHoverBg:ur,tableHeaderIconColor:Io.clone().setAlpha(Io.getAlpha()*sn).toRgbString(),tableHeaderIconColorHover:Bl.clone().setAlpha(Bl.getAlpha()*sn).toRgbString(),tableBodySortBg:Kr,tableFixedHeaderSortActiveBg:Po,tableHeaderFilterActiveBg:Ga,tableFilterDropdownBg:ji,tableRowHoverBg:Zr,tableSelectedRowBg:Jr,tableSelectedRowHoverBg:yi,zIndexTableFixed:Ko,zIndexTableSticky:Ko+1,tableFontSizeMiddle:Si,tableFontSizeSmall:Ui,tableSelectionColumnWidth:xo,tableExpandIconBg:so,tableExpandColumnWidth:Rn+2*ht.padding,tableExpandedRowBg:hi,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Do,tableScrollThumbBgHover:bt,tableScrollBg:Zt});return[$o(za),xi(za),vl(za),Xo(za),zi(za),ct(za),Tr(za),br(za),vl(za),qn(za),Pa(za),Ur(za),Qo(za),Xt(za),Ma(za),ka(za),Rl(za)]},ht=>{const{colorFillAlter:bt,colorBgContainer:Zt,colorTextHeading:Vt,colorFillSecondary:mn,colorFillContent:sn,controlItemBgActive:Kn,controlItemBgActiveHover:Rn,padding:Tn,paddingSM:fr,paddingXS:lr,colorBorderSecondary:ur,borderRadiusLG:Kr,fontSize:Zr,controlHeight:Jr,colorTextPlaceholder:yi}=ht,hi=new Ks.C(mn).onBackground(Zt).toHexShortString(),Ki=new Ks.C(sn).onBackground(Zt).toHexShortString(),Ii=new Ks.C(bt).onBackground(Zt).toHexShortString();return{headerBg:Ii,headerColor:Vt,headerSortActiveBg:hi,headerSortHoverBg:Ki,bodySortBg:Ii,rowHoverBg:Ii,rowSelectedBg:Kn,rowSelectedHoverBg:Rn,rowExpandedBg:bt,cellPaddingBlock:Tn,cellPaddingInline:Tn,cellPaddingBlockMD:fr,cellPaddingInlineMD:lr,cellPaddingBlockSM:lr,cellPaddingInlineSM:lr,borderColor:ur,headerBorderRadius:Kr,footerBg:Ii,footerColor:Vt,cellFontSize:Zr,cellFontSizeMD:Zr,cellFontSizeSM:Zr,headerSplitColor:ur,fixedHeaderSortActiveBg:hi,headerFilterHoverBg:sn,filterDropdownMenuBg:Zt,filterDropdownBg:Zt,expandIconBg:Zt,selectionColumnWidth:Jr,stickyScrollBarBg:yi,stickyScrollBarBorderRadius:100}});const dl=[],zl=(ht,bt)=>{const{prefixCls:Zt,className:Vt,rootClassName:mn,style:sn,size:Kn,bordered:Rn,dropdownPrefixCls:Tn,dataSource:fr,pagination:lr,rowSelection:ur,rowKey:Kr="key",rowClassName:Zr,columns:Jr,children:yi,childrenColumnName:hi,onChange:Ki,getPopupContainer:Ii,loading:Ji,expandIcon:Na,expandable:Ja,expandedRowRender:Da,expandIconColumnIndex:Wa,indentSize:bo,scroll:ra,sortDirections:Oa,locale:fa,showSorterTooltip:Si=!0,virtual:Ui}=ht,sr=fe.useMemo(()=>Jr||pt(yi),[Jr,yi]),Po=fe.useMemo(()=>sr.some(hl=>hl.responsive),[sr]),Ga=(0,Ar.Z)(Po),ji=fe.useMemo(()=>{const hl=new Set(Object.keys(Ga).filter(kl=>Ga[kl]));return sr.filter(kl=>!kl.responsive||kl.responsive.some(ks=>hl.has(ks)))},[sr,Ga]),so=(0,_a.Z)(ht,["className","style","columns"]),{locale:xo=il.Z,direction:Do,table:Io,renderEmpty:Bl,getPrefixCls:Ko,getPopupContainer:za}=fe.useContext(Zo.E_),Hl=(0,vo.Z)(Kn),Xa=Object.assign(Object.assign({},xo.Table),fa),to=fr||dl,ll=Ko("table",Zt),Jl=Ko("dropdown",Tn),no=Object.assign({childrenColumnName:hi,expandIconColumnIndex:Wa},Ja),{childrenColumnName:Ua="children"}=no,eo=fe.useMemo(()=>to.some(hl=>hl==null?void 0:hl[Ua])?"nest":Da||Ja&&Ja.expandedRowRender?"row":null,[to]),Ta={body:fe.useRef()},Ca=fe.useMemo(()=>typeof Kr=="function"?Kr:hl=>hl==null?void 0:hl[Kr],[Kr]),[$r]=Bo(to,Ua,Ca),Yi={},co=function(hl,kl){let ks=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ol,zs,Hs;const Xs=Object.assign(Object.assign({},Yi),hl);ks&&((Ol=Yi.resetPagination)===null||Ol===void 0||Ol.call(Yi),!((zs=Xs.pagination)===null||zs===void 0)&&zs.current&&(Xs.pagination.current=1),lr&&lr.onChange&&lr.onChange(1,(Hs=Xs.pagination)===null||Hs===void 0?void 0:Hs.pageSize)),ra&&ra.scrollToFirstRowOnChange!==!1&&Ta.body.current&&(0,jo.Z)(0,{getContainer:()=>Ta.body.current}),Ki==null||Ki(Xs.pagination,Xs.filters,Xs.sorter,{currentDataSource:os(Al(to,Xs.sorterStates,Ua),Xs.filterStates),action:kl})},_o=(hl,kl)=>{co({sorter:hl,sorterStates:kl},"sort",!1)},[Ms,xs,su,sa]=Nl({prefixCls:ll,mergedColumns:ji,onSorterChange:_o,sortDirections:Oa||["ascend","descend"],tableLocale:Xa,showSorterTooltip:Si}),ns=fe.useMemo(()=>Al(to,xs,Ua),[to,xs]);Yi.sorter=sa(),Yi.sorterStates=xs;const ro=(hl,kl)=>{co({filters:hl,filterStates:kl},"filter",!0)},[Es,Ss,ol]=ps({prefixCls:ll,locale:Xa,dropdownPrefixCls:Jl,mergedColumns:ji,onFilterChange:ro,getPopupContainer:Ii||za}),Ni=os(ns,Ss);Yi.filters=ol,Yi.filterStates=Ss;const yl=fe.useMemo(()=>{const hl={};return Object.keys(ol).forEach(kl=>{ol[kl]!==null&&(hl[kl]=ol[kl])}),Object.assign(Object.assign({},su),{filters:hl})},[su,ol]),[Ro]=au(yl),Gl=(hl,kl)=>{co({pagination:Object.assign(Object.assign({},Yi.pagination),{current:hl,pageSize:kl})},"paginate")},[wo,bl]=yu(Ni.length,Gl,lr);Yi.pagination=lr===!1?{}:Vl(wo,lr),Yi.resetPagination=bl;const As=fe.useMemo(()=>{if(lr===!1||!wo.pageSize)return Ni;const{current:hl=1,total:kl,pageSize:ks=gs}=wo;return Ni.length<kl?Ni.length>ks?Ni.slice((hl-1)*ks,hl*ks):Ni:Ni.slice((hl-1)*ks,hl*ks)},[!!lr,Ni,wo&&wo.current,wo&&wo.pageSize,wo&&wo.total]),[Ml,qa]=hu({prefixCls:ll,data:Ni,pageData:As,getRowKey:Ca,getRecordByKey:$r,expandType:eo,childrenColumnName:Ua,locale:Xa,getPopupContainer:Ii||za},ur),io=(hl,kl,ks)=>{let Ol;return typeof Zr=="function"?Ol=Ze()(Zr(hl,kl,ks)):Ol=Ze()(Zr),Ze()({[`${ll}-row-selected`]:qa.has(Ca(hl,kl))},Ol)};no.__PARENT_RENDER_ICON__=no.expandIcon,no.expandIcon=no.expandIcon||Na||mo(Xa),eo==="nest"&&no.expandIconColumnIndex===void 0?no.expandIconColumnIndex=ur?1:0:no.expandIconColumnIndex>0&&ur&&(no.expandIconColumnIndex-=1),typeof no.indentSize!="number"&&(no.indentSize=typeof bo=="number"?bo:15);const Yl=fe.useCallback(hl=>Ro(Ml(Es(Ms(hl)))),[Ms,Es,Ml]);let Iu,Vs;if(lr!==!1&&(wo!=null&&wo.total)){let hl;wo.size?hl=wo.size:hl=Hl==="small"||Hl==="middle"?"small":void 0;const kl=zs=>fe.createElement(_i.Z,Object.assign({},wo,{className:Ze()(`${ll}-pagination ${ll}-pagination-${zs}`,wo.className),size:hl})),ks=Do==="rtl"?"left":"right",{position:Ol}=wo;if(Ol!==null&&Array.isArray(Ol)){const zs=Ol.find(ju=>ju.includes("top")),Hs=Ol.find(ju=>ju.includes("bottom")),Xs=Ol.every(ju=>`${ju}`=="none");!zs&&!Hs&&!Xs&&(Vs=kl(ks)),zs&&(Iu=kl(zs.toLowerCase().replace("top",""))),Hs&&(Vs=kl(Hs.toLowerCase().replace("bottom","")))}else Vs=kl(ks)}let tu;typeof Ji=="boolean"?tu={spinning:Ji}:typeof Ji=="object"&&(tu=Object.assign({spinning:!0},Ji));const[Js,es]=nl(ll),[,ls]=(0,Mi.Z)(),Fs=Ze()(`${ll}-wrapper`,Io==null?void 0:Io.className,{[`${ll}-wrapper-rtl`]:Do==="rtl"},Vt,mn,es),Hu=Object.assign(Object.assign({},Io==null?void 0:Io.style),sn),Rs=fa&&fa.emptyText||(Bl==null?void 0:Bl("Table"))||fe.createElement(ko.Z,{componentName:"Table"}),Fu=Ui?eu:Zs,Xu={},Hc=fe.useMemo(()=>{const{fontSize:hl,lineHeight:kl,padding:ks,paddingXS:Ol,paddingSM:zs}=ls,Hs=Math.floor(hl*kl);switch(Hl){case"large":return ks*2+Hs;case"small":return Ol*2+Hs;default:return zs*2+Hs}},[ls,Hl]);return Ui&&(Xu.listItemHeight=Hc),Js(fe.createElement("div",{ref:bt,className:Fs,style:Hu},fe.createElement(Li.Z,Object.assign({spinning:!1},tu),Iu,fe.createElement(Fu,Object.assign({},Xu,so,{columns:ji,direction:Do,expandable:no,prefixCls:ll,className:Ze()({[`${ll}-middle`]:Hl==="middle",[`${ll}-small`]:Hl==="small",[`${ll}-bordered`]:Rn,[`${ll}-empty`]:to.length===0}),data:As,rowKey:Ca,rowClassName:io,emptyText:Rs,internalHooks:de,internalRefs:Ta,transformColumns:Yl})),Vs)))};var Ql=fe.forwardRef(zl);const Sl=(ht,bt)=>{const Zt=fe.useRef(0);return Zt.current+=1,fe.createElement(Ql,Object.assign({},ht,{ref:bt,_renderTimes:Zt.current}))},fl=fe.forwardRef(Sl);fl.SELECTION_COLUMN=ds,fl.EXPAND_COLUMN=ee,fl.SELECTION_ALL=ts,fl.SELECTION_INVERT=Ns,fl.SELECTION_NONE=Cs,fl.Column=Di,fl.ColumnGroup=Ea,fl.Summary=lt;var fs=fl,ws=fs},99313:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return $t}});var ee=te(99267),de=te(18785),Ce=te(62772),We=te(92310),xe=te.n(We),Ee=te(60499),fe=te(18642),be=te(85899),Fe=te(72190),He=te(43749),rt=te(42244),Ae=te(59301),ge=te(49658),we=te(18929),Se=te(77900),Ne=(0,Ae.createContext)(null),ke=Ae.forwardRef(function(pt,Bt){var At=pt.prefixCls,Ct=pt.className,Gt=pt.style,nn=pt.id,_n=pt.active,Pn=pt.tabKey,Sn=pt.children;return Ae.createElement("div",{id:nn&&"".concat(nn,"-panel-").concat(Pn),role:"tabpanel",tabIndex:_n?0:-1,"aria-labelledby":nn&&"".concat(nn,"-tab-").concat(Pn),"aria-hidden":!_n,style:Gt,className:xe()(At,_n&&"".concat(At,"-active"),Ct),ref:Bt},Sn)}),Ye=ke,et=["key","forceRender","style","className"];function Ke(pt){var Bt=pt.id,At=pt.activeKey,Ct=pt.animated,Gt=pt.tabPosition,nn=pt.destroyInactiveTabPane,_n=Ae.useContext(Ne),Pn=_n.prefixCls,Sn=_n.tabs,rr=Ct.tabPane,gr="".concat(Pn,"-tabpane");return Ae.createElement("div",{className:xe()("".concat(Pn,"-content-holder"))},Ae.createElement("div",{className:xe()("".concat(Pn,"-content"),"".concat(Pn,"-content-").concat(Gt),(0,fe.Z)({},"".concat(Pn,"-content-animated"),rr))},Sn.map(function(Cr){var bn=Cr.key,$n=Cr.forceRender,Jt=Cr.style,pn=Cr.className,An=(0,rt.Z)(Cr,et),dn=bn===At;return Ae.createElement(Se.default,(0,Ee.Z)({key:bn,visible:dn,forceRender:$n,removeOnLeave:!!nn,leavedClassName:"".concat(gr,"-hidden")},Ct.tabPaneMotion),function(Hn,ln){var jn=Hn.style,Mt=Hn.className;return Ae.createElement(Ye,(0,Ee.Z)({},An,{prefixCls:gr,id:Bt,tabKey:bn,animated:rr,active:dn,style:(0,be.Z)((0,be.Z)({},Jt),jn),className:xe()(pn,Mt),ref:ln}))})})))}var Oe=te(77654),_e=te(29301),me=te(6089),Re=te(8654),Le={width:0,height:0,left:0,top:0};function Pe(pt,Bt,At){return(0,Ae.useMemo)(function(){for(var Ct,Gt=new Map,nn=Bt.get((Ct=pt[0])===null||Ct===void 0?void 0:Ct.key)||Le,_n=nn.left+nn.width,Pn=0;Pn<pt.length;Pn+=1){var Sn=pt[Pn].key,rr=Bt.get(Sn);if(!rr){var gr;rr=Bt.get((gr=pt[Pn-1])===null||gr===void 0?void 0:gr.key)||Le}var Cr=Gt.get(Sn)||(0,be.Z)({},rr);Cr.right=_n-Cr.left-Cr.width,Gt.set(Sn,Cr)}return Gt},[pt.map(function(Ct){return Ct.key}).join("_"),Bt,At])}function De(pt,Bt){var At=Ae.useRef(pt),Ct=Ae.useState({}),Gt=(0,Fe.Z)(Ct,2),nn=Gt[1];function _n(Pn){var Sn=typeof Pn=="function"?Pn(At.current):Pn;Sn!==At.current&&Bt(Sn,At.current),At.current=Sn,nn({})}return[At.current,_n]}var ze=.1,Te=.01,xt=20,Ze=Math.pow(.995,xt);function vt(pt,Bt){var At=(0,Ae.useState)(),Ct=(0,Fe.Z)(At,2),Gt=Ct[0],nn=Ct[1],_n=(0,Ae.useState)(0),Pn=(0,Fe.Z)(_n,2),Sn=Pn[0],rr=Pn[1],gr=(0,Ae.useState)(0),Cr=(0,Fe.Z)(gr,2),bn=Cr[0],$n=Cr[1],Jt=(0,Ae.useState)(),pn=(0,Fe.Z)(Jt,2),An=pn[0],dn=pn[1],Hn=(0,Ae.useRef)();function ln(Ln){var Un=Ln.touches[0],Gn=Un.screenX,cr=Un.screenY;nn({x:Gn,y:cr}),window.clearInterval(Hn.current)}function jn(Ln){if(Gt){Ln.preventDefault();var Un=Ln.touches[0],Gn=Un.screenX,cr=Un.screenY;nn({x:Gn,y:cr});var Sr=Gn-Gt.x,Wr=cr-Gt.y;Bt(Sr,Wr);var gi=Date.now();rr(gi),$n(gi-Sn),dn({x:Sr,y:Wr})}}function Mt(){if(Gt&&(nn(null),dn(null),An)){var Ln=An.x/bn,Un=An.y/bn,Gn=Math.abs(Ln),cr=Math.abs(Un);if(Math.max(Gn,cr)<ze)return;var Sr=Ln,Wr=Un;Hn.current=window.setInterval(function(){if(Math.abs(Sr)<Te&&Math.abs(Wr)<Te){window.clearInterval(Hn.current);return}Sr*=Ze,Wr*=Ze,Bt(Sr*xt,Wr*xt)},xt)}}var cn=(0,Ae.useRef)();function hn(Ln){var Un=Ln.deltaX,Gn=Ln.deltaY,cr=0,Sr=Math.abs(Un),Wr=Math.abs(Gn);Sr===Wr?cr=cn.current==="x"?Un:Gn:Sr>Wr?(cr=Un,cn.current="x"):(cr=Gn,cn.current="y"),Bt(-cr,-cr)&&Ln.preventDefault()}var In=(0,Ae.useRef)(null);In.current={onTouchStart:ln,onTouchMove:jn,onTouchEnd:Mt,onWheel:hn},Ae.useEffect(function(){function Ln(Sr){In.current.onTouchStart(Sr)}function Un(Sr){In.current.onTouchMove(Sr)}function Gn(Sr){In.current.onTouchEnd(Sr)}function cr(Sr){In.current.onWheel(Sr)}return document.addEventListener("touchmove",Un,{passive:!1}),document.addEventListener("touchend",Gn,{passive:!1}),pt.current.addEventListener("touchstart",Ln,{passive:!1}),pt.current.addEventListener("wheel",cr),function(){document.removeEventListener("touchmove",Un),document.removeEventListener("touchend",Gn)}},[])}var ot=te(34280);function mt(pt){var Bt=(0,Ae.useState)(0),At=(0,Fe.Z)(Bt,2),Ct=At[0],Gt=At[1],nn=(0,Ae.useRef)(0),_n=(0,Ae.useRef)();return _n.current=pt,(0,ot.o)(function(){var Pn;(Pn=_n.current)===null||Pn===void 0||Pn.call(_n)},[Ct]),function(){nn.current===Ct&&(nn.current+=1,Gt(nn.current))}}function Lt(pt){var Bt=(0,Ae.useRef)([]),At=(0,Ae.useState)({}),Ct=(0,Fe.Z)(At,2),Gt=Ct[1],nn=(0,Ae.useRef)(typeof pt=="function"?pt():pt),_n=mt(function(){var Sn=nn.current;Bt.current.forEach(function(rr){Sn=rr(Sn)}),Bt.current=[],nn.current=Sn,Gt({})});function Pn(Sn){Bt.current.push(Sn),_n()}return[nn.current,Pn]}var It={width:0,height:0,left:0,top:0,right:0};function Qe(pt,Bt,At,Ct,Gt,nn,_n){var Pn=_n.tabs,Sn=_n.tabPosition,rr=_n.rtl,gr,Cr,bn;return["top","bottom"].includes(Sn)?(gr="width",Cr=rr?"right":"left",bn=Math.abs(At)):(gr="height",Cr="top",bn=-At),(0,Ae.useMemo)(function(){if(!Pn.length)return[0,0];for(var $n=Pn.length,Jt=$n,pn=0;pn<$n;pn+=1){var An=pt.get(Pn[pn].key)||It;if(An[Cr]+An[gr]>bn+Bt){Jt=pn-1;break}}for(var dn=0,Hn=$n-1;Hn>=0;Hn-=1){var ln=pt.get(Pn[Hn].key)||It;if(ln[Cr]<bn){dn=Hn+1;break}}return dn>=Jt?[0,0]:[dn,Jt]},[pt,Bt,Ct,Gt,nn,bn,Sn,Pn.map(function($n){return $n.key}).join("_"),rr])}function Me(pt){var Bt;return pt instanceof Map?(Bt={},pt.forEach(function(At,Ct){Bt[Ct]=At})):Bt=pt,JSON.stringify(Bt)}var st="TABS_DQ";function zt(pt){return String(pt).replace(/"/g,st)}function ut(pt,Bt,At,Ct){return!(!At||Ct||pt===!1||pt===void 0&&(Bt===!1||Bt===null))}function tt(pt,Bt){var At=pt.prefixCls,Ct=pt.editable,Gt=pt.locale,nn=pt.style;return!Ct||Ct.showAdd===!1?null:Ae.createElement("button",{ref:Bt,type:"button",className:"".concat(At,"-nav-add"),style:nn,"aria-label":(Gt==null?void 0:Gt.addAriaLabel)||"Add tab",onClick:function(Pn){Ct.onEdit("add",{event:Pn})}},Ct.addIcon||"+")}var at=Ae.forwardRef(tt),Nt=Ae.forwardRef(function(pt,Bt){var At=pt.position,Ct=pt.prefixCls,Gt=pt.extra;if(!Gt)return null;var nn,_n={};return(0,He.Z)(Gt)==="object"&&!Ae.isValidElement(Gt)?_n=Gt:_n.right=Gt,At==="right"&&(nn=_n.right),At==="left"&&(nn=_n.left),nn?Ae.createElement("div",{className:"".concat(Ct,"-extra-content"),ref:Bt},nn):null}),on=Nt,Ht=te(31561),Fn=te(15285),Qt=te(10228);function Ut(pt,Bt){var At=pt.prefixCls,Ct=pt.id,Gt=pt.tabs,nn=pt.locale,_n=pt.mobile,Pn=pt.moreIcon,Sn=Pn===void 0?"More":Pn,rr=pt.moreTransitionName,gr=pt.style,Cr=pt.className,bn=pt.editable,$n=pt.tabBarGutter,Jt=pt.rtl,pn=pt.removeAriaLabel,An=pt.onTabClick,dn=pt.getPopupContainer,Hn=pt.popupClassName,ln=(0,Ae.useState)(!1),jn=(0,Fe.Z)(ln,2),Mt=jn[0],cn=jn[1],hn=(0,Ae.useState)(null),In=(0,Fe.Z)(hn,2),Ln=In[0],Un=In[1],Gn="".concat(Ct,"-more-popup"),cr="".concat(At,"-dropdown"),Sr=Ln!==null?"".concat(Gn,"-").concat(Ln):null,Wr=nn==null?void 0:nn.dropdownAriaLabel;function gi($i,Ai){$i.preventDefault(),$i.stopPropagation(),bn.onEdit("remove",{key:Ai,event:$i})}var ki=Ae.createElement(Fn.ZP,{onClick:function(Ai){var li=Ai.key,Qi=Ai.domEvent;An(li,Qi),cn(!1)},prefixCls:"".concat(cr,"-menu"),id:Gn,tabIndex:-1,role:"listbox","aria-activedescendant":Sr,selectedKeys:[Ln],"aria-label":Wr!==void 0?Wr:"expanded dropdown"},Gt.map(function($i){var Ai=$i.closable,li=$i.disabled,Qi=$i.closeIcon,Pi=$i.key,xa=$i.label,lo=ut(Ai,Qi,bn,li);return Ae.createElement(Fn.sN,{key:Pi,id:"".concat(Gn,"-").concat(Pi),role:"option","aria-controls":Ct&&"".concat(Ct,"-panel-").concat(Pi),disabled:li},Ae.createElement("span",null,xa),lo&&Ae.createElement("button",{type:"button","aria-label":pn||"remove",tabIndex:0,className:"".concat(cr,"-menu-item-remove"),onClick:function(Or){Or.stopPropagation(),gi(Or,Pi)}},Qi||bn.removeIcon||"\xD7"))}));function si($i){for(var Ai=Gt.filter(function(lo){return!lo.disabled}),li=Ai.findIndex(function(lo){return lo.key===Ln})||0,Qi=Ai.length,Pi=0;Pi<Qi;Pi+=1){li=(li+$i+Qi)%Qi;var xa=Ai[li];if(!xa.disabled){Un(xa.key);return}}}function wi($i){var Ai=$i.which;if(!Mt){[Qt.Z.DOWN,Qt.Z.SPACE,Qt.Z.ENTER].includes(Ai)&&(cn(!0),$i.preventDefault());return}switch(Ai){case Qt.Z.UP:si(-1),$i.preventDefault();break;case Qt.Z.DOWN:si(1),$i.preventDefault();break;case Qt.Z.ESC:cn(!1);break;case Qt.Z.SPACE:case Qt.Z.ENTER:Ln!==null&&An(Ln,$i);break}}(0,Ae.useEffect)(function(){var $i=document.getElementById(Sr);$i&&$i.scrollIntoView&&$i.scrollIntoView(!1)},[Ln]),(0,Ae.useEffect)(function(){Mt||Un(null)},[Mt]);var Qr=(0,fe.Z)({},Jt?"marginRight":"marginLeft",$n);Gt.length||(Qr.visibility="hidden",Qr.order=1);var Gi=xe()((0,fe.Z)({},"".concat(cr,"-rtl"),Jt)),Hi=_n?null:Ae.createElement(Ht.Z,{prefixCls:cr,overlay:ki,trigger:["hover"],visible:Gt.length?Mt:!1,transitionName:rr,onVisibleChange:cn,overlayClassName:xe()(Gi,Hn),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:dn},Ae.createElement("button",{type:"button",className:"".concat(At,"-nav-more"),style:Qr,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Gn,id:"".concat(Ct,"-more"),"aria-expanded":Mt,onKeyDown:wi},Sn));return Ae.createElement("div",{className:xe()("".concat(At,"-nav-operations"),Cr),style:gr,ref:Bt},Hi,Ae.createElement(at,{prefixCls:At,locale:nn,editable:bn}))}var Wt=Ae.memo(Ae.forwardRef(Ut),function(pt,Bt){return Bt.tabMoving});function Ie(pt){var Bt,At=pt.prefixCls,Ct=pt.id,Gt=pt.active,nn=pt.tab,_n=nn.key,Pn=nn.label,Sn=nn.disabled,rr=nn.closeIcon,gr=pt.closable,Cr=pt.renderWrapper,bn=pt.removeAriaLabel,$n=pt.editable,Jt=pt.onClick,pn=pt.onFocus,An=pt.style,dn="".concat(At,"-tab"),Hn=ut(gr,rr,$n,Sn);function ln(cn){Sn||Jt(cn)}function jn(cn){cn.preventDefault(),cn.stopPropagation(),$n.onEdit("remove",{key:_n,event:cn})}var Mt=Ae.createElement("div",{key:_n,"data-node-key":zt(_n),className:xe()(dn,(Bt={},(0,fe.Z)(Bt,"".concat(dn,"-with-remove"),Hn),(0,fe.Z)(Bt,"".concat(dn,"-active"),Gt),(0,fe.Z)(Bt,"".concat(dn,"-disabled"),Sn),Bt)),style:An,onClick:ln},Ae.createElement("div",{role:"tab","aria-selected":Gt,id:Ct&&"".concat(Ct,"-tab-").concat(_n),className:"".concat(dn,"-btn"),"aria-controls":Ct&&"".concat(Ct,"-panel-").concat(_n),"aria-disabled":Sn,tabIndex:Sn?null:0,onClick:function(hn){hn.stopPropagation(),ln(hn)},onKeyDown:function(hn){[Qt.Z.SPACE,Qt.Z.ENTER].includes(hn.which)&&(hn.preventDefault(),ln(hn))},onFocus:pn},Pn),Hn&&Ae.createElement("button",{type:"button","aria-label":bn||"remove",tabIndex:0,className:"".concat(dn,"-remove"),onClick:function(hn){hn.stopPropagation(),jn(hn)}},rr||$n.removeIcon||"\xD7"));return Cr?Cr(Mt):Mt}var he=Ie,ue=te(16089),ve=function(Bt){var At=Bt.activeTabOffset,Ct=Bt.horizontal,Gt=Bt.rtl,nn=Bt.indicatorSize,_n=(0,Ae.useState)(),Pn=(0,Fe.Z)(_n,2),Sn=Pn[0],rr=Pn[1],gr=(0,Ae.useRef)(),Cr=function(Jt){return typeof nn=="function"?nn(Jt):typeof nn=="number"?nn:Jt};function bn(){ue.Z.cancel(gr.current)}return(0,Ae.useEffect)(function(){var $n={};return At&&(Ct?(Gt?($n.right=At.right+At.width/2,$n.transform="translateX(50%)"):($n.left=At.left+At.width/2,$n.transform="translateX(-50%)"),$n.width=Cr(At.width)):($n.top=At.top+At.height/2,$n.transform="translateY(-50%)",$n.height=Cr(At.height))),bn(),gr.current=(0,ue.Z)(function(){rr($n)}),bn},[At,Ct,Gt,nn]),{style:Sn}},ye=ve,se=function(Bt){var At=Bt.current||{},Ct=At.offsetWidth,Gt=Ct===void 0?0:Ct,nn=At.offsetHeight,_n=nn===void 0?0:nn;return[Gt,_n]},$e=function(Bt,At){return Bt[At?0:1]};function wt(pt,Bt){var At,Ct=Ae.useContext(Ne),Gt=Ct.prefixCls,nn=Ct.tabs,_n=pt.className,Pn=pt.style,Sn=pt.id,rr=pt.animated,gr=pt.activeKey,Cr=pt.rtl,bn=pt.extra,$n=pt.editable,Jt=pt.locale,pn=pt.tabPosition,An=pt.tabBarGutter,dn=pt.children,Hn=pt.onTabClick,ln=pt.onTabScroll,jn=pt.indicatorSize,Mt=(0,Ae.useRef)(),cn=(0,Ae.useRef)(),hn=(0,Ae.useRef)(),In=(0,Ae.useRef)(),Ln=(0,Ae.useRef)(),Un=(0,Ae.useRef)(),Gn=(0,Ae.useRef)(),cr=pn==="top"||pn==="bottom",Sr=De(0,function(ta,Xr){cr&&ln&&ln({direction:ta>Xr?"left":"right"})}),Wr=(0,Fe.Z)(Sr,2),gi=Wr[0],ki=Wr[1],si=De(0,function(ta,Xr){!cr&&ln&&ln({direction:ta>Xr?"top":"bottom"})}),wi=(0,Fe.Z)(si,2),Qr=wi[0],Gi=wi[1],Hi=(0,Ae.useState)([0,0]),$i=(0,Fe.Z)(Hi,2),Ai=$i[0],li=$i[1],Qi=(0,Ae.useState)([0,0]),Pi=(0,Fe.Z)(Qi,2),xa=Pi[0],lo=Pi[1],Vi=(0,Ae.useState)([0,0]),Or=(0,Fe.Z)(Vi,2),Lr=Or[0],ia=Or[1],Zi=(0,Ae.useState)([0,0]),ma=(0,Fe.Z)(Zi,2),pa=ma[0],ha=ma[1],qi=Lt(new Map),aa=(0,Fe.Z)(qi,2),Ao=aa[0],Di=aa[1],Ti=Pe(nn,Ao,xa[0]),Ea=$e(Ai,cr),_a=$e(xa,cr),jo=$e(Lr,cr),Zo=$e(pa,cr),ko=Ea<_a+jo,vo=ko?Ea-Zo:Ea-jo,Ar="".concat(Gt,"-nav-operations-hidden"),il=0,_i=0;cr&&Cr?(il=0,_i=Math.max(0,_a-vo)):(il=Math.min(0,vo-_a),_i=0);function Li(ta){return ta<il?il:ta>_i?_i:ta}var Mi=(0,Ae.useRef)(),ea=(0,Ae.useState)(),mo=(0,Fe.Z)(ea,2),Vo=mo[0],qo=mo[1];function Uo(){qo(Date.now())}function Co(){window.clearTimeout(Mi.current)}vt(In,function(ta,Xr){function Lo(Aa,Fa){Aa(function(yo){var tl=Li(yo+Fa);return tl})}return ko?(cr?Lo(ki,ta):Lo(Gi,Xr),Co(),Uo(),!0):!1}),(0,Ae.useEffect)(function(){return Co(),Vo&&(Mi.current=window.setTimeout(function(){qo(0)},100)),Co},[Vo]);var ul=Qe(Ti,vo,cr?gi:Qr,_a,jo,Zo,(0,be.Z)((0,be.Z)({},pt),{},{tabs:nn})),Wl=(0,Fe.Z)(ul,2),Il=Wl[0],ms=Wl[1],Qa=(0,me.Z)(function(){var ta=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gr,Xr=Ti.get(ta)||{width:0,height:0,left:0,right:0,top:0};if(cr){var Lo=gi;Cr?Xr.right<gi?Lo=Xr.right:Xr.right+Xr.width>gi+vo&&(Lo=Xr.right+Xr.width-vo):Xr.left<-gi?Lo=-Xr.left:Xr.left+Xr.width>-gi+vo&&(Lo=-(Xr.left+Xr.width-vo)),Gi(0),ki(Li(Lo))}else{var Aa=Qr;Xr.top<-Qr?Aa=-Xr.top:Xr.top+Xr.height>-Qr+vo&&(Aa=-(Xr.top+Xr.height-vo)),ki(0),Gi(Li(Aa))}}),la={};pn==="top"||pn==="bottom"?la[Cr?"marginRight":"marginLeft"]=An:la.marginTop=An;var cl=nn.map(function(ta,Xr){var Lo=ta.key;return Ae.createElement(he,{id:Sn,prefixCls:Gt,key:Lo,tab:ta,style:Xr===0?void 0:la,closable:ta.closable,editable:$n,active:Lo===gr,renderWrapper:dn,removeAriaLabel:Jt==null?void 0:Jt.removeAriaLabel,onClick:function(Fa){Hn(Lo,Fa)},onFocus:function(){Qa(Lo),Uo(),In.current&&(Cr||(In.current.scrollLeft=0),In.current.scrollTop=0)}})}),To=function(){return Di(function(){var Xr=new Map;return nn.forEach(function(Lo){var Aa,Fa=Lo.key,yo=(Aa=Ln.current)===null||Aa===void 0?void 0:Aa.querySelector('[data-node-key="'.concat(zt(Fa),'"]'));yo&&Xr.set(Fa,{width:yo.offsetWidth,height:yo.offsetHeight,left:yo.offsetLeft,top:yo.offsetTop})}),Xr})};(0,Ae.useEffect)(function(){To()},[nn.map(function(ta){return ta.key}).join("_")]);var Go=mt(function(){var ta=se(Mt),Xr=se(cn),Lo=se(hn);li([ta[0]-Xr[0]-Lo[0],ta[1]-Xr[1]-Lo[1]]);var Aa=se(Gn);ia(Aa);var Fa=se(Un);ha(Fa);var yo=se(Ln);lo([yo[0]-Aa[0],yo[1]-Aa[1]]),To()}),nr=nn.slice(0,Il),Qn=nn.slice(ms+1),Zn=[].concat((0,Oe.Z)(nr),(0,Oe.Z)(Qn)),xr=Ti.get(gr),ni=ye({activeTabOffset:xr,horizontal:cr,rtl:Cr,indicatorSize:jn}),ti=ni.style;(0,Ae.useEffect)(function(){Qa()},[gr,il,_i,Me(xr),Me(Ti),cr]),(0,Ae.useEffect)(function(){Go()},[Cr]);var yr=!!Zn.length,Bi="".concat(Gt,"-nav-wrap"),ga,Ka,va,bi;return cr?Cr?(Ka=gi>0,ga=gi!==_i):(ga=gi<0,Ka=gi!==il):(va=Qr<0,bi=Qr!==il),Ae.createElement(_e.Z,{onResize:Go},Ae.createElement("div",{ref:(0,Re.x1)(Bt,Mt),role:"tablist",className:xe()("".concat(Gt,"-nav"),_n),style:Pn,onKeyDown:function(){Uo()}},Ae.createElement(on,{ref:cn,position:"left",extra:bn,prefixCls:Gt}),Ae.createElement(_e.Z,{onResize:Go},Ae.createElement("div",{className:xe()(Bi,(At={},(0,fe.Z)(At,"".concat(Bi,"-ping-left"),ga),(0,fe.Z)(At,"".concat(Bi,"-ping-right"),Ka),(0,fe.Z)(At,"".concat(Bi,"-ping-top"),va),(0,fe.Z)(At,"".concat(Bi,"-ping-bottom"),bi),At)),ref:In},Ae.createElement(_e.Z,{onResize:Go},Ae.createElement("div",{ref:Ln,className:"".concat(Gt,"-nav-list"),style:{transform:"translate(".concat(gi,"px, ").concat(Qr,"px)"),transition:Vo?"none":void 0}},cl,Ae.createElement(at,{ref:Gn,prefixCls:Gt,locale:Jt,editable:$n,style:(0,be.Z)((0,be.Z)({},cl.length===0?void 0:la),{},{visibility:yr?"hidden":null})}),Ae.createElement("div",{className:xe()("".concat(Gt,"-ink-bar"),(0,fe.Z)({},"".concat(Gt,"-ink-bar-animated"),rr.inkBar)),style:ti}))))),Ae.createElement(Wt,(0,Ee.Z)({},pt,{removeAriaLabel:Jt==null?void 0:Jt.removeAriaLabel,ref:Un,prefixCls:Gt,tabs:Zn,className:!yr&&Ar,tabMoving:!!Vo})),Ae.createElement(on,{ref:hn,position:"right",extra:bn,prefixCls:Gt})))}var lt=Ae.forwardRef(wt),Je=["renderTabBar"],Pt=["label","key"];function Dt(pt){var Bt=pt.renderTabBar,At=(0,rt.Z)(pt,Je),Ct=Ae.useContext(Ne),Gt=Ct.tabs;if(Bt){var nn=(0,be.Z)((0,be.Z)({},At),{},{panes:Gt.map(function(_n){var Pn=_n.label,Sn=_n.key,rr=(0,rt.Z)(_n,Pt);return Ae.createElement(Ye,(0,Ee.Z)({tab:Pn,key:Sn,tabKey:Sn},rr))})});return Bt(nn,lt)}return Ae.createElement(lt,At)}var yt=te(48736);function jt(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Bt;return pt===!1?Bt={inkBar:!1,tabPane:!1}:pt===!0?Bt={inkBar:!0,tabPane:!1}:Bt=(0,be.Z)({inkBar:!0},(0,He.Z)(pt)==="object"?pt:{}),Bt.tabPaneMotion&&Bt.tabPane===void 0&&(Bt.tabPane=!0),!Bt.tabPaneMotion&&Bt.tabPane&&(Bt.tabPane=!1),Bt}var En=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],_t=0;function Yt(pt,Bt){var At,Ct=pt.id,Gt=pt.prefixCls,nn=Gt===void 0?"rc-tabs":Gt,_n=pt.className,Pn=pt.items,Sn=pt.direction,rr=pt.activeKey,gr=pt.defaultActiveKey,Cr=pt.editable,bn=pt.animated,$n=pt.tabPosition,Jt=$n===void 0?"top":$n,pn=pt.tabBarGutter,An=pt.tabBarStyle,dn=pt.tabBarExtraContent,Hn=pt.locale,ln=pt.moreIcon,jn=pt.moreTransitionName,Mt=pt.destroyInactiveTabPane,cn=pt.renderTabBar,hn=pt.onChange,In=pt.onTabClick,Ln=pt.onTabScroll,Un=pt.getPopupContainer,Gn=pt.popupClassName,cr=pt.indicatorSize,Sr=(0,rt.Z)(pt,En),Wr=Ae.useMemo(function(){return(Pn||[]).filter(function(ha){return ha&&(0,He.Z)(ha)==="object"&&"key"in ha})},[Pn]),gi=Sn==="rtl",ki=jt(bn),si=(0,Ae.useState)(!1),wi=(0,Fe.Z)(si,2),Qr=wi[0],Gi=wi[1];(0,Ae.useEffect)(function(){Gi((0,ge.Z)())},[]);var Hi=(0,we.Z)(function(){var ha;return(ha=Wr[0])===null||ha===void 0?void 0:ha.key},{value:rr,defaultValue:gr}),$i=(0,Fe.Z)(Hi,2),Ai=$i[0],li=$i[1],Qi=(0,Ae.useState)(function(){return Wr.findIndex(function(ha){return ha.key===Ai})}),Pi=(0,Fe.Z)(Qi,2),xa=Pi[0],lo=Pi[1];(0,Ae.useEffect)(function(){var ha=Wr.findIndex(function(aa){return aa.key===Ai});if(ha===-1){var qi;ha=Math.max(0,Math.min(xa,Wr.length-1)),li((qi=Wr[ha])===null||qi===void 0?void 0:qi.key)}lo(ha)},[Wr.map(function(ha){return ha.key}).join("_"),Ai,xa]);var Vi=(0,we.Z)(null,{value:Ct}),Or=(0,Fe.Z)(Vi,2),Lr=Or[0],ia=Or[1];(0,Ae.useEffect)(function(){Ct||(ia("rc-tabs-".concat(_t)),_t+=1)},[]);function Zi(ha,qi){In==null||In(ha,qi);var aa=ha!==Ai;li(ha),aa&&(hn==null||hn(ha))}var ma={id:Lr,activeKey:Ai,animated:ki,tabPosition:Jt,rtl:gi,mobile:Qr},pa=(0,be.Z)((0,be.Z)({},ma),{},{editable:Cr,locale:Hn,moreIcon:ln,moreTransitionName:jn,tabBarGutter:pn,onTabClick:Zi,onTabScroll:Ln,extra:dn,style:An,panes:null,getPopupContainer:Un,popupClassName:Gn,indicatorSize:cr});return Ae.createElement(Ne.Provider,{value:{tabs:Wr,prefixCls:nn}},Ae.createElement("div",(0,Ee.Z)({ref:Bt,id:Ct,className:xe()(nn,"".concat(nn,"-").concat(Jt),(At={},(0,fe.Z)(At,"".concat(nn,"-mobile"),Qr),(0,fe.Z)(At,"".concat(nn,"-editable"),Cr),(0,fe.Z)(At,"".concat(nn,"-rtl"),gi),At),_n)},Sr),Ae.createElement(Dt,(0,Ee.Z)({},pa,{renderTabBar:cn})),Ae.createElement(Ke,(0,Ee.Z)({destroyInactiveTabPane:Mt},ma,{animated:ki}))))}var wn=Ae.forwardRef(Yt),Ft=wn,it=Ft,Et=te(36355),an=te(19716),vn=()=>null,gn=te(62892);const Xn={motionAppear:!1,motionEnter:!0,motionLeave:!0};function ir(pt){let Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},At;return Bt===!1?At={inkBar:!1,tabPane:!1}:Bt===!0?At={inkBar:!0,tabPane:!0}:At=Object.assign({inkBar:!0},typeof Bt=="object"?Bt:{}),At.tabPane&&(At.tabPaneMotion=Object.assign(Object.assign({},Xn),{motionName:(0,gn.m)(pt,"switch")})),At}var Dr=te(11592),kr=function(pt,Bt){var At={};for(var Ct in pt)Object.prototype.hasOwnProperty.call(pt,Ct)&&Bt.indexOf(Ct)<0&&(At[Ct]=pt[Ct]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Ct=Object.getOwnPropertySymbols(pt);Gt<Ct.length;Gt++)Bt.indexOf(Ct[Gt])<0&&Object.prototype.propertyIsEnumerable.call(pt,Ct[Gt])&&(At[Ct[Gt]]=pt[Ct[Gt]]);return At};function Bn(pt){return pt.filter(Bt=>Bt)}function jr(pt,Bt){if(pt)return pt;const At=(0,Dr.Z)(Bt).map(Ct=>{if(Ae.isValidElement(Ct)){const{key:Gt,props:nn}=Ct,_n=nn||{},{tab:Pn}=_n,Sn=kr(_n,["tab"]);return Object.assign(Object.assign({key:String(Gt)},Sn),{label:Pn})}return null});return Bn(At)}var ci=te(17313),_r=te(83116),Nr=te(37613),ai=te(13826),Mn=pt=>{const{componentCls:Bt,motionDurationSlow:At}=pt;return[{[Bt]:{[`${Bt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${At}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${At}`}}}}},[(0,ai.oN)(pt,"slide-up"),(0,ai.oN)(pt,"slide-down")]]};const pr=pt=>{const{componentCls:Bt,tabsCardPadding:At,cardBg:Ct,cardGutter:Gt,colorBorderSecondary:nn,itemSelectedColor:_n}=pt;return{[`${Bt}-card`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab`]:{margin:0,padding:At,background:Ct,border:`${pt.lineWidth}px ${pt.lineType} ${nn}`,transition:`all ${pt.motionDurationSlow} ${pt.motionEaseInOut}`},[`${Bt}-tab-active`]:{color:_n,background:pt.colorBgContainer},[`${Bt}-ink-bar`]:{visibility:"hidden"}},[`&${Bt}-top, &${Bt}-bottom`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab + ${Bt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Gt}px`}}}},[`&${Bt}-top`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab`]:{borderRadius:`${pt.borderRadiusLG}px ${pt.borderRadiusLG}px 0 0`},[`${Bt}-tab-active`]:{borderBottomColor:pt.colorBgContainer}}},[`&${Bt}-bottom`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab`]:{borderRadius:`0 0 ${pt.borderRadiusLG}px ${pt.borderRadiusLG}px`},[`${Bt}-tab-active`]:{borderTopColor:pt.colorBgContainer}}},[`&${Bt}-left, &${Bt}-right`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab + ${Bt}-tab`]:{marginTop:`${Gt}px`}}},[`&${Bt}-left`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${pt.borderRadiusLG}px 0 0 ${pt.borderRadiusLG}px`}},[`${Bt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:pt.colorBgContainer}}}},[`&${Bt}-right`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${pt.borderRadiusLG}px ${pt.borderRadiusLG}px 0`}},[`${Bt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:pt.colorBgContainer}}}}}}},Rr=pt=>{const{componentCls:Bt,itemHoverColor:At,dropdownEdgeChildVerticalPadding:Ct}=pt;return{[`${Bt}-dropdown`]:Object.assign(Object.assign({},(0,ci.Wf)(pt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Bt}-dropdown-menu`]:{maxHeight:pt.tabsDropdownHeight,margin:0,padding:`${Ct}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:pt.colorBgContainer,backgroundClip:"padding-box",borderRadius:pt.borderRadiusLG,outline:"none",boxShadow:pt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ci.vS),{display:"flex",alignItems:"center",minWidth:pt.tabsDropdownWidth,margin:0,padding:`${pt.paddingXXS}px ${pt.paddingSM}px`,color:pt.colorText,fontWeight:"normal",fontSize:pt.fontSize,lineHeight:pt.lineHeight,cursor:"pointer",transition:`all ${pt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:pt.marginSM},color:pt.colorTextDescription,fontSize:pt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:At}},"&:hover":{background:pt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:pt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Gr=pt=>{const{componentCls:Bt,margin:At,colorBorderSecondary:Ct,horizontalMargin:Gt,verticalItemPadding:nn,verticalItemMargin:_n}=pt;return{[`${Bt}-top, ${Bt}-bottom`]:{flexDirection:"column",[`> ${Bt}-nav, > div > ${Bt}-nav`]:{margin:Gt,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${pt.lineWidth}px ${pt.lineType} ${Ct}`,content:"''"},[`${Bt}-ink-bar`]:{height:pt.lineWidthBold,"&-animated":{transition:`width ${pt.motionDurationSlow}, left ${pt.motionDurationSlow},
|
|
|
right ${pt.motionDurationSlow}`}},[`${Bt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:pt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:pt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:pt.boxShadowTabsOverflowRight},[`&${Bt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Bt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Bt}-top`]:{[`> ${Bt}-nav,
|
|
|
> div > ${Bt}-nav`]:{"&::before":{bottom:0},[`${Bt}-ink-bar`]:{bottom:0}}},[`${Bt}-bottom`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{order:1,marginTop:`${At}px`,marginBottom:0,"&::before":{top:0},[`${Bt}-ink-bar`]:{top:0}},[`> ${Bt}-content-holder, > div > ${Bt}-content-holder`]:{order:0}},[`${Bt}-left, ${Bt}-right`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{flexDirection:"column",minWidth:pt.controlHeight*1.25,[`${Bt}-tab`]:{padding:nn,textAlign:"center"},[`${Bt}-tab + ${Bt}-tab`]:{margin:_n},[`${Bt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:pt.controlHeight},"&::before":{top:0,boxShadow:pt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:pt.boxShadowTabsOverflowBottom},[`&${Bt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Bt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Bt}-ink-bar`]:{width:pt.lineWidthBold,"&-animated":{transition:`height ${pt.motionDurationSlow}, top ${pt.motionDurationSlow}`}},[`${Bt}-nav-list, ${Bt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Bt}-left`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Bt}-content-holder, > div > ${Bt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${pt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${pt.lineWidth}px ${pt.lineType} ${pt.colorBorder}`},[`> ${Bt}-content > ${Bt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:pt.paddingLG}}}},[`${Bt}-right`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{order:1,[`${Bt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Bt}-content-holder, > div > ${Bt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-pt.lineWidth},borderRight:{_skip_check_:!0,value:`${pt.lineWidth}px ${pt.lineType} ${pt.colorBorder}`},[`> ${Bt}-content > ${Bt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:pt.paddingLG}}}}}},zr=pt=>{const{componentCls:Bt,cardPaddingSM:At,cardPaddingLG:Ct,horizontalItemPaddingSM:Gt,horizontalItemPaddingLG:nn}=pt;return{[Bt]:{"&-small":{[`> ${Bt}-nav`]:{[`${Bt}-tab`]:{padding:Gt,fontSize:pt.titleFontSizeSM}}},"&-large":{[`> ${Bt}-nav`]:{[`${Bt}-tab`]:{padding:nn,fontSize:pt.titleFontSizeLG}}}},[`${Bt}-card`]:{[`&${Bt}-small`]:{[`> ${Bt}-nav`]:{[`${Bt}-tab`]:{padding:At}},[`&${Bt}-bottom`]:{[`> ${Bt}-nav ${Bt}-tab`]:{borderRadius:`0 0 ${pt.borderRadius}px ${pt.borderRadius}px`}},[`&${Bt}-top`]:{[`> ${Bt}-nav ${Bt}-tab`]:{borderRadius:`${pt.borderRadius}px ${pt.borderRadius}px 0 0`}},[`&${Bt}-right`]:{[`> ${Bt}-nav ${Bt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${pt.borderRadius}px ${pt.borderRadius}px 0`}}},[`&${Bt}-left`]:{[`> ${Bt}-nav ${Bt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${pt.borderRadius}px 0 0 ${pt.borderRadius}px`}}}},[`&${Bt}-large`]:{[`> ${Bt}-nav`]:{[`${Bt}-tab`]:{padding:Ct}}}}}},ei=pt=>{const{componentCls:Bt,itemActiveColor:At,itemHoverColor:Ct,iconCls:Gt,tabsHorizontalItemMargin:nn,horizontalItemPadding:_n,itemSelectedColor:Pn,itemColor:Sn}=pt,rr=`${Bt}-tab`;return{[rr]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:_n,fontSize:pt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Sn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:At}},(0,ci.Qy)(pt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-pt.marginXXS},marginLeft:{_skip_check_:!0,value:pt.marginXS},color:pt.colorTextDescription,fontSize:pt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${pt.motionDurationSlow}`,"&:hover":{color:pt.colorTextHeading}},"&:hover":{color:Ct},[`&${rr}-active ${rr}-btn`]:{color:Pn,textShadow:pt.tabsActiveTextShadow},[`&${rr}-disabled`]:{color:pt.colorTextDisabled,cursor:"not-allowed"},[`&${rr}-disabled ${rr}-btn, &${rr}-disabled ${Bt}-remove`]:{"&:focus, &:active":{color:pt.colorTextDisabled}},[`& ${rr}-remove ${Gt}`]:{margin:0},[Gt]:{marginRight:{_skip_check_:!0,value:pt.marginSM}}},[`${rr} + ${rr}`]:{margin:{_skip_check_:!0,value:nn}}}},Hr=pt=>{const{componentCls:Bt,tabsHorizontalItemMarginRTL:At,iconCls:Ct,cardGutter:Gt}=pt;return{[`${Bt}-rtl`]:{direction:"rtl",[`${Bt}-nav`]:{[`${Bt}-tab`]:{margin:{_skip_check_:!0,value:At},[`${Bt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Ct]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${pt.marginSM}px`}},[`${Bt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${pt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${pt.marginXXS}px`},[Ct]:{margin:0}}}},[`&${Bt}-left`]:{[`> ${Bt}-nav`]:{order:1},[`> ${Bt}-content-holder`]:{order:0}},[`&${Bt}-right`]:{[`> ${Bt}-nav`]:{order:0},[`> ${Bt}-content-holder`]:{order:1}},[`&${Bt}-card${Bt}-top, &${Bt}-card${Bt}-bottom`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-tab + ${Bt}-tab`]:{marginRight:{_skip_check_:!0,value:Gt},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Bt}-dropdown-rtl`]:{direction:"rtl"},[`${Bt}-menu-item`]:{[`${Bt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},fi=pt=>{const{componentCls:Bt,tabsCardPadding:At,cardHeight:Ct,cardGutter:Gt,itemHoverColor:nn,itemActiveColor:_n,colorBorderSecondary:Pn}=pt;return{[Bt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ci.Wf)(pt)),{display:"flex",[`> ${Bt}-nav, > div > ${Bt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Bt}-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 ${pt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Bt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${pt.motionDurationSlow}`},[`${Bt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Bt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Bt}-nav-more`]:{position:"relative",padding:At,background:"transparent",border:0,color:pt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:pt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Bt}-nav-add`]:Object.assign({minWidth:Ct,marginLeft:{_skip_check_:!0,value:Gt},padding:`0 ${pt.paddingXS}px`,background:"transparent",border:`${pt.lineWidth}px ${pt.lineType} ${Pn}`,borderRadius:`${pt.borderRadiusLG}px ${pt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:pt.colorText,transition:`all ${pt.motionDurationSlow} ${pt.motionEaseInOut}`,"&:hover":{color:nn},"&:active, &:focus:not(:focus-visible)":{color:_n}},(0,ci.Qy)(pt))},[`${Bt}-extra-content`]:{flex:"none"},[`${Bt}-ink-bar`]:{position:"absolute",background:pt.inkBarColor,pointerEvents:"none"}}),ei(pt)),{[`${Bt}-content`]:{position:"relative",width:"100%"},[`${Bt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Bt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Bt}-centered`]:{[`> ${Bt}-nav, > div > ${Bt}-nav`]:{[`${Bt}-nav-wrap`]:{[`&:not([class*='${Bt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Pr=(0,_r.Z)("Tabs",pt=>{const Bt=(0,Nr.TS)(pt,{tabsCardPadding:pt.cardPadding||`${(pt.cardHeight-Math.round(pt.fontSize*pt.lineHeight))/2-pt.lineWidth}px ${pt.padding}px`,dropdownEdgeChildVerticalPadding:pt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${pt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${pt.horizontalItemGutter}px`});return[zr(Bt),Hr(Bt),Gr(Bt),Rr(Bt),pr(Bt),fi(Bt),Mn(Bt)]},pt=>{const Bt=pt.controlHeightLG;return{zIndexPopup:pt.zIndexPopupBase+50,cardBg:pt.colorFillAlter,cardHeight:Bt,cardPadding:"",cardPaddingSM:`${pt.paddingXXS*1.5}px ${pt.padding}px`,cardPaddingLG:`${pt.paddingXS}px ${pt.padding}px ${pt.paddingXXS*1.5}px`,titleFontSize:pt.fontSize,titleFontSizeLG:pt.fontSizeLG,titleFontSizeSM:pt.fontSize,inkBarColor:pt.colorPrimary,horizontalMargin:`0 0 ${pt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${pt.paddingSM}px 0`,horizontalItemPaddingSM:`${pt.paddingXS}px 0`,horizontalItemPaddingLG:`${pt.padding}px 0`,verticalItemPadding:`${pt.paddingXS}px ${pt.paddingLG}px`,verticalItemMargin:`${pt.margin}px 0 0 0`,itemColor:pt.colorText,itemSelectedColor:pt.colorPrimary,itemHoverColor:pt.colorPrimaryHover,itemActiveColor:pt.colorPrimaryActive,cardGutter:pt.marginXXS/2}}),dr=function(pt,Bt){var At={};for(var Ct in pt)Object.prototype.hasOwnProperty.call(pt,Ct)&&Bt.indexOf(Ct)<0&&(At[Ct]=pt[Ct]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Ct=Object.getOwnPropertySymbols(pt);Gt<Ct.length;Gt++)Bt.indexOf(Ct[Gt])<0&&Object.prototype.propertyIsEnumerable.call(pt,Ct[Gt])&&(At[Ct[Gt]]=pt[Ct[Gt]]);return At};const oi=pt=>{const{type:Bt,className:At,rootClassName:Ct,size:Gt,onEdit:nn,hideAdd:_n,centered:Pn,addIcon:Sn,popupClassName:rr,children:gr,items:Cr,animated:bn,style:$n,indicatorSize:Jt}=pt,pn=dr(pt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:An,moreIcon:dn=Ae.createElement(de.Z,null)}=pn,{direction:Hn,tabs:ln,getPrefixCls:jn,getPopupContainer:Mt}=Ae.useContext(Et.E_),cn=jn("tabs",An),[hn,In]=Pr(cn);let Ln;Bt==="editable-card"&&(Ln={onEdit:(gi,ki)=>{let{key:si,event:wi}=ki;nn==null||nn(gi==="add"?wi:si,gi)},removeIcon:Ae.createElement(ee.Z,null),addIcon:Sn||Ae.createElement(Ce.Z,null),showAdd:_n!==!0});const Un=jn(),Gn=jr(Cr,gr),cr=ir(cn,bn),Sr=(0,an.Z)(Gt),Wr=Object.assign(Object.assign({},ln==null?void 0:ln.style),$n);return hn(Ae.createElement(it,Object.assign({direction:Hn,getPopupContainer:Mt,moreTransitionName:`${Un}-slide-up`},pn,{items:Gn,className:xe()({[`${cn}-${Sr}`]:Sr,[`${cn}-card`]:["card","editable-card"].includes(Bt),[`${cn}-editable-card`]:Bt==="editable-card",[`${cn}-centered`]:Pn},ln==null?void 0:ln.className,At,Ct,In),popupClassName:xe()(rr,In),style:Wr,editable:Ln,moreIcon:dn,prefixCls:cn,animated:cr,indicatorSize:Jt!=null?Jt:ln==null?void 0:ln.indicatorSize})))};oi.TabPane=vn;var $t=oi},17574:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return Qe}});var ee=te(38028),de=te(77654),Ce=te(52671),We=te(8657),xe=te(60499),Ee=te(59301),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},be=fe,Fe=te(7657),He=function(st,zt){return Ee.createElement(Fe.Z,(0,xe.Z)({},st,{ref:zt,icon:be}))},rt=Ee.forwardRef(He),Ae=rt,ge=te(92310),we=te.n(ge),Se=te(35654),Ne=te(71430),ke=te(36355),Ye=te(56082),et=te(62892),Ke=te(20648);const Oe=4;function _e(Me){const{dropPosition:st,dropLevelOffset:zt,prefixCls:ut,indent:tt,direction:at="ltr"}=Me,Nt=at==="ltr"?"left":"right",on=at==="ltr"?"right":"left",Ht={[Nt]:-zt*tt+Oe,[on]:0};switch(st){case-1:Ht.top=-3;break;case 1:Ht.bottom=-3;break;default:Ht.bottom=-3,Ht[Nt]=tt+Oe;break}return Ee.createElement("div",{style:Ht,className:`${ut}-drop-indicator`})}var me=te(71997),Le=Ee.forwardRef((Me,st)=>{const{getPrefixCls:zt,direction:ut,virtual:tt,tree:at}=Ee.useContext(ke.E_),{prefixCls:Nt,className:on,showIcon:Ht=!1,showLine:Fn,switcherIcon:Qt,blockNode:Ut=!1,children:Wt,checkable:Ie=!1,selectable:he=!0,draggable:ue,motion:ve,style:ye}=Me,se=zt("tree",Nt),$e=zt(),wt=ve!=null?ve:Object.assign(Object.assign({},(0,et.Z)($e)),{motionAppear:!1}),lt=Object.assign(Object.assign({},Me),{checkable:Ie,selectable:he,showIcon:Ht,motion:wt,blockNode:Ut,showLine:!!Fn,dropIndicatorRender:_e}),[Je,Pt]=(0,Ke.ZP)(se),Dt=Ee.useMemo(()=>{if(!ue)return!1;let jt={};switch(typeof ue){case"function":jt.nodeDraggable=ue;break;case"object":jt=Object.assign({},ue);break;default:break}return jt.icon!==!1&&(jt.icon=jt.icon||Ee.createElement(Ye.Z,null)),jt},[ue]),yt=jt=>Ee.createElement(me.Z,{prefixCls:se,switcherIcon:Qt,treeNodeProps:jt,showLine:Fn});return Je(Ee.createElement(ee.Z,Object.assign({itemHeight:20,ref:st,virtual:tt},lt,{style:Object.assign(Object.assign({},at==null?void 0:at.style),ye),prefixCls:se,className:we()({[`${se}-icon-hide`]:!Ht,[`${se}-block-node`]:Ut,[`${se}-unselectable`]:!he,[`${se}-rtl`]:ut==="rtl"},at==null?void 0:at.className,on,Pt),direction:ut,checkable:Ie&&Ee.createElement("span",{className:`${se}-checkbox-inner`}),selectable:he,switcherIcon:yt,draggable:Dt}),Wt))}),Pe;(function(Me){Me[Me.None=0]="None",Me[Me.Start=1]="Start",Me[Me.End=2]="End"})(Pe||(Pe={}));function De(Me,st){function zt(ut){const{key:tt,children:at}=ut;st(tt,ut)!==!1&&De(at||[],st)}Me.forEach(zt)}function ze(Me){let{treeData:st,expandedKeys:zt,startKey:ut,endKey:tt}=Me;const at=[];let Nt=Pe.None;if(ut&&ut===tt)return[ut];if(!ut||!tt)return[];function on(Ht){return Ht===ut||Ht===tt}return De(st,Ht=>{if(Nt===Pe.End)return!1;if(on(Ht)){if(at.push(Ht),Nt===Pe.None)Nt=Pe.Start;else if(Nt===Pe.Start)return Nt=Pe.End,!1}else Nt===Pe.Start&&at.push(Ht);return zt.includes(Ht)}),at}function Te(Me,st){const zt=(0,de.Z)(st),ut=[];return De(Me,(tt,at)=>{const Nt=zt.indexOf(tt);return Nt!==-1&&(ut.push(at),zt.splice(Nt,1)),!!zt.length}),ut}var xt=function(Me,st){var zt={};for(var ut in Me)Object.prototype.hasOwnProperty.call(Me,ut)&&st.indexOf(ut)<0&&(zt[ut]=Me[ut]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,ut=Object.getOwnPropertySymbols(Me);tt<ut.length;tt++)st.indexOf(ut[tt])<0&&Object.prototype.propertyIsEnumerable.call(Me,ut[tt])&&(zt[ut[tt]]=Me[ut[tt]]);return zt};function Ze(Me){const{isLeaf:st,expanded:zt}=Me;return st?Ee.createElement(Ce.Z,null):zt?Ee.createElement(We.Z,null):Ee.createElement(Ae,null)}function vt(Me){let{treeData:st,children:zt}=Me;return st||(0,Ne.zn)(zt)}const ot=(Me,st)=>{var{defaultExpandAll:zt,defaultExpandParent:ut,defaultExpandedKeys:tt}=Me,at=xt(Me,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Nt=Ee.useRef(),on=Ee.useRef(),Ht=()=>{const{keyEntities:Dt}=(0,Ne.I8)(vt(at));let yt;return zt?yt=Object.keys(Dt):ut?yt=(0,Se.r7)(at.expandedKeys||tt||[],Dt):yt=at.expandedKeys||tt,yt},[Fn,Qt]=Ee.useState(at.selectedKeys||at.defaultSelectedKeys||[]),[Ut,Wt]=Ee.useState(()=>Ht());Ee.useEffect(()=>{"selectedKeys"in at&&Qt(at.selectedKeys)},[at.selectedKeys]),Ee.useEffect(()=>{"expandedKeys"in at&&Wt(at.expandedKeys)},[at.expandedKeys]);const Ie=(Dt,yt)=>{var jt;return"expandedKeys"in at||Wt(Dt),(jt=at.onExpand)===null||jt===void 0?void 0:jt.call(at,Dt,yt)},he=(Dt,yt)=>{var jt;const{multiple:En}=at,{node:_t,nativeEvent:Yt}=yt,{key:wn=""}=_t,Ft=vt(at),it=Object.assign(Object.assign({},yt),{selected:!0}),Et=(Yt==null?void 0:Yt.ctrlKey)||(Yt==null?void 0:Yt.metaKey),an=Yt==null?void 0:Yt.shiftKey;let un;En&&Et?(un=Dt,Nt.current=wn,on.current=un,it.selectedNodes=Te(Ft,un)):En&&an?(un=Array.from(new Set([].concat((0,de.Z)(on.current||[]),(0,de.Z)(ze({treeData:Ft,expandedKeys:Ut,startKey:wn,endKey:Nt.current}))))),it.selectedNodes=Te(Ft,un)):(un=[wn],Nt.current=wn,on.current=un,it.selectedNodes=Te(Ft,un)),(jt=at.onSelect)===null||jt===void 0||jt.call(at,un,it),"selectedKeys"in at||Qt(un)},{getPrefixCls:ue,direction:ve}=Ee.useContext(ke.E_),{prefixCls:ye,className:se,showIcon:$e=!0,expandAction:wt="click"}=at,lt=xt(at,["prefixCls","className","showIcon","expandAction"]),Je=ue("tree",ye),Pt=we()(`${Je}-directory`,{[`${Je}-directory-rtl`]:ve==="rtl"},se);return Ee.createElement(Le,Object.assign({icon:Ze,ref:st,blockNode:!0},lt,{showIcon:$e,expandAction:wt,prefixCls:Je,className:Pt,expandedKeys:Ut,selectedKeys:Fn,onSelect:he,onExpand:Ie}))};var Lt=Ee.forwardRef(ot);const It=Le;It.DirectoryTree=Lt,It.TreeNode=ee.O;var Qe=It},20648:function(tn,kt,te){"use strict";te.d(kt,{TM:function(){return ge},Yk:function(){return Ae}});var ee=te(36237),de=te(98447),Ce=te(17313),We=te(8378),xe=te(37613),Ee=te(83116);const fe=new ee.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),be=(we,Se)=>({[`.${we}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Se.motionDurationSlow}`}}}),Fe=(we,Se)=>({[`.${we}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Se.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Se.lineWidthBold}px solid ${Se.colorPrimary}`,borderRadius:"50%",content:'""'}}}),He=(we,Se)=>{const{treeCls:Ne,treeNodeCls:ke,treeNodePadding:Ye,titleHeight:et,nodeSelectedBg:Ke,nodeHoverBg:Oe}=Se,_e=Se.paddingXS;return{[Ne]:Object.assign(Object.assign({},(0,Ce.Wf)(Se)),{background:Se.colorBgContainer,borderRadius:Se.borderRadius,transition:`background-color ${Se.motionDurationSlow}`,[`&${Ne}-rtl`]:{[`${Ne}-switcher`]:{"&_close":{[`${Ne}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${Ne}-active-focused)`]:Object.assign({},(0,Ce.oN)(Se)),[`${Ne}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ne}-block-node`]:{[`${Ne}-list-holder-inner`]:{alignItems:"stretch",[`${Ne}-node-content-wrapper`]:{flex:"auto"},[`${ke}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Ye,insetInlineStart:0,border:`1px solid ${Se.colorPrimary}`,opacity:0,animationName:fe,animationDuration:Se.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ke}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Ye}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${Ne}-node-content-wrapper`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${Ne}-node-content-wrapper`]:Object.assign({},(0,Ce.oN)(Se)),[`&:not(${ke}-disabled).filter-node ${Ne}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${Ne}-draggable-icon`]:{flexShrink:0,width:et,lineHeight:`${et}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${Se.motionDurationSlow}`,[`${ke}:hover &`]:{opacity:.45}},[`&${ke}-disabled`]:{[`${Ne}-draggable-icon`]:{visibility:"hidden"}}}},[`${Ne}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:et}},[`${Ne}-draggable-icon`]:{visibility:"hidden"},[`${Ne}-switcher`]:Object.assign(Object.assign({},be(we,Se)),{position:"relative",flex:"none",alignSelf:"stretch",width:et,margin:0,lineHeight:`${et}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${Ne}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:Se.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:et/2,bottom:-Ye,marginInlineStart:-1,borderInlineEnd:`1px solid ${Se.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:et/2*.8,height:et/2,borderBottom:`1px solid ${Se.colorBorder}`,content:'""'}}}),[`${Ne}-checkbox`]:{top:"initial",marginInlineEnd:_e},[`${Ne}-node-content-wrapper, ${Ne}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:et,margin:0,padding:`0 ${Se.paddingXS/2}px`,color:"inherit",lineHeight:`${et}px`,background:"transparent",borderRadius:Se.borderRadius,cursor:"pointer",transition:`all ${Se.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Oe},[`&${Ne}-node-selected`]:{backgroundColor:Ke},[`${Ne}-iconEle`]:{display:"inline-block",width:et,height:et,lineHeight:`${et}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${Ne}-unselectable ${Ne}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ne}-node-content-wrapper`]:Object.assign({lineHeight:`${et}px`,userSelect:"none"},Fe(we,Se)),[`${ke}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${Se.colorPrimary}`}},"&-show-line":{[`${Ne}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:et/2,bottom:-Ye,borderInlineEnd:`1px solid ${Se.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${Ne}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ke}-leaf-last`]:{[`${Ne}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${et/2}px !important`}}}}})}},rt=we=>{const{treeCls:Se,treeNodeCls:Ne,treeNodePadding:ke,directoryNodeSelectedBg:Ye,directoryNodeSelectedColor:et}=we;return{[`${Se}${Se}-directory`]:{[Ne]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ke,insetInlineStart:0,transition:`background-color ${we.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:we.controlItemBgHover}},"> *":{zIndex:1},[`${Se}-switcher`]:{transition:`color ${we.motionDurationMid}`},[`${Se}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${Se}-node-selected`]:{color:et,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Ye},[`${Se}-switcher`]:{color:et},[`${Se}-node-content-wrapper`]:{color:et,background:"transparent"}}}}}},Ae=(we,Se)=>{const Ne=`.${we}`,ke=`${Ne}-treenode`,Ye=Se.paddingXS/2,et=(0,xe.TS)(Se,{treeCls:Ne,treeNodeCls:ke,treeNodePadding:Ye});return[He(we,et),rt(et)]},ge=we=>{const{controlHeightSM:Se}=we;return{titleHeight:Se,nodeHoverBg:we.controlItemBgHover,nodeSelectedBg:we.controlItemBgActive}};kt.ZP=(0,Ee.Z)("Tree",(we,Se)=>{let{prefixCls:Ne}=Se;return[{[we.componentCls]:(0,de.C2)(`${Ne}-checkbox`,we)},Ae(Ne,we),(0,We.Z)(we)]},we=>{const{colorTextLightSolid:Se,colorPrimary:Ne}=we;return Object.assign(Object.assign({},ge(we)),{directoryNodeSelectedColor:Se,directoryNodeSelectedBg:Ne})})},71997:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ke}});var ee=te(60499),de=te(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},We=Ce,xe=te(7657),Ee=function(et,Ke){return de.createElement(xe.Z,(0,ee.Z)({},et,{ref:Ke,icon:We}))},fe=de.forwardRef(Ee),be=fe,Fe=te(52671),He=te(58617),rt=te(15075),Ae=te(43531),ge=te(92310),we=te.n(ge),Se=te(92343),ke=Ye=>{const{prefixCls:et,switcherIcon:Ke,treeNodeProps:Oe,showLine:_e}=Ye,{isLeaf:me,expanded:Re,loading:Le}=Oe;if(Le)return de.createElement(He.Z,{className:`${et}-switcher-loading-icon`});let Pe;if(_e&&typeof _e=="object"&&(Pe=_e.showLeafIcon),me){if(!_e)return null;if(typeof Pe!="boolean"&&Pe){const Te=typeof Pe=="function"?Pe(Oe):Pe,xt=`${et}-switcher-line-custom-icon`;return(0,Se.l$)(Te)?(0,Se.Tm)(Te,{className:we()(Te.props.className||"",xt)}):Te}return Pe?de.createElement(Fe.Z,{className:`${et}-switcher-line-icon`}):de.createElement("span",{className:`${et}-switcher-leaf-line`})}const De=`${et}-switcher-icon`,ze=typeof Ke=="function"?Ke(Oe):Ke;return(0,Se.l$)(ze)?(0,Se.Tm)(ze,{className:we()(ze.props.className||"",De)}):ze!==void 0?ze:_e?Re?de.createElement(rt.Z,{className:`${et}-switcher-line-icon`}):de.createElement(Ae.Z,{className:`${et}-switcher-line-icon`}):de.createElement(be,{className:De})}},54580:function(tn,kt,te){"use strict";te.d(kt,{default:function(){return $n}});var ee=te(59301),de=te(77654),Ce=te(92310),We=te.n(Ce),xe=te(60499),Ee=te(38705),fe=te(17212),be=te(39153),Fe=te(55401),He=te(18642),rt=te(42244),Ae=te(73001),ge=te(43749),we=te(11576),Se=te(26112);function Ne(Jt,pn){var An="cannot ".concat(Jt.method," ").concat(Jt.action," ").concat(pn.status,"'"),dn=new Error(An);return dn.status=pn.status,dn.method=Jt.method,dn.url=Jt.action,dn}function ke(Jt){var pn=Jt.responseText||Jt.response;if(!pn)return pn;try{return JSON.parse(pn)}catch(An){return pn}}function Ye(Jt){var pn=new XMLHttpRequest;Jt.onProgress&&pn.upload&&(pn.upload.onprogress=function(ln){ln.total>0&&(ln.percent=ln.loaded/ln.total*100),Jt.onProgress(ln)});var An=new FormData;Jt.data&&Object.keys(Jt.data).forEach(function(Hn){var ln=Jt.data[Hn];if(Array.isArray(ln)){ln.forEach(function(jn){An.append("".concat(Hn,"[]"),jn)});return}An.append(Hn,ln)}),Jt.file instanceof Blob?An.append(Jt.filename,Jt.file,Jt.file.name):An.append(Jt.filename,Jt.file),pn.onerror=function(ln){Jt.onError(ln)},pn.onload=function(){return pn.status<200||pn.status>=300?Jt.onError(Ne(Jt,pn),ke(pn)):Jt.onSuccess(ke(pn),pn)},pn.open(Jt.method,Jt.action,!0),Jt.withCredentials&&"withCredentials"in pn&&(pn.withCredentials=!0);var dn=Jt.headers||{};return dn["X-Requested-With"]!==null&&pn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(dn).forEach(function(Hn){dn[Hn]!==null&&pn.setRequestHeader(Hn,dn[Hn])}),pn.send(An),{abort:function(){pn.abort()}}}var et=+new Date,Ke=0;function Oe(){return"rc-upload-".concat(et,"-").concat(++Ke)}var _e=te(48736),me=function(Jt,pn){if(Jt&&pn){var An=Array.isArray(pn)?pn:pn.split(","),dn=Jt.name||"",Hn=Jt.type||"",ln=Hn.replace(/\/.*$/,"");return An.some(function(jn){var Mt=jn.trim();if(/^\*(\/\*)?$/.test(jn))return!0;if(Mt.charAt(0)==="."){var cn=dn.toLowerCase(),hn=Mt.toLowerCase(),In=[hn];return(hn===".jpg"||hn===".jpeg")&&(In=[".jpg",".jpeg"]),In.some(function(Ln){return cn.endsWith(Ln)})}return/\/\*$/.test(Mt)?ln===Mt.replace(/\/.*$/,""):Hn===Mt?!0:/^\w+$/.test(Mt)?((0,_e.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Mt,"'.Skip for check.")),!0):!1})}return!0};function Re(Jt,pn){var An=Jt.createReader(),dn=[];function Hn(){An.readEntries(function(ln){var jn=Array.prototype.slice.apply(ln);dn=dn.concat(jn);var Mt=!jn.length;Mt?pn(dn):Hn()})}Hn()}var Le=function(pn,An,dn){var Hn=function ln(jn,Mt){jn&&(jn.path=Mt||"",jn.isFile?jn.file(function(cn){dn(cn)&&(jn.fullPath&&!cn.webkitRelativePath&&(Object.defineProperties(cn,{webkitRelativePath:{writable:!0}}),cn.webkitRelativePath=jn.fullPath.replace(/^\//,""),Object.defineProperties(cn,{webkitRelativePath:{writable:!1}})),An([cn]))}):jn.isDirectory&&Re(jn,function(cn){cn.forEach(function(hn){ln(hn,"".concat(Mt).concat(jn.name,"/"))})}))};pn.forEach(function(ln){Hn(ln.webkitGetAsEntry())})},Pe=Le,De=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ze=function(Jt){(0,be.Z)(An,Jt);var pn=(0,Fe.Z)(An);function An(){var dn;(0,Ee.Z)(this,An);for(var Hn=arguments.length,ln=new Array(Hn),jn=0;jn<Hn;jn++)ln[jn]=arguments[jn];return dn=pn.call.apply(pn,[this].concat(ln)),dn.state={uid:Oe()},dn.reqs={},dn.fileInput=void 0,dn._isMounted=void 0,dn.onChange=function(Mt){var cn=dn.props,hn=cn.accept,In=cn.directory,Ln=Mt.target.files,Un=(0,de.Z)(Ln).filter(function(Gn){return!In||me(Gn,hn)});dn.uploadFiles(Un),dn.reset()},dn.onClick=function(Mt){var cn=dn.fileInput;if(cn){var hn=Mt.target,In=dn.props.onClick;if(hn&&hn.tagName==="BUTTON"){var Ln=cn.parentNode;Ln.focus(),hn.blur()}cn.click(),In&&In(Mt)}},dn.onKeyDown=function(Mt){Mt.key==="Enter"&&dn.onClick(Mt)},dn.onFileDrop=function(Mt){var cn=dn.props.multiple;if(Mt.preventDefault(),Mt.type!=="dragover")if(dn.props.directory)Pe(Array.prototype.slice.call(Mt.dataTransfer.items),dn.uploadFiles,function(In){return me(In,dn.props.accept)});else{var hn=(0,de.Z)(Mt.dataTransfer.files).filter(function(In){return me(In,dn.props.accept)});cn===!1&&(hn=hn.slice(0,1)),dn.uploadFiles(hn)}},dn.uploadFiles=function(Mt){var cn=(0,de.Z)(Mt),hn=cn.map(function(In){return In.uid=Oe(),dn.processFile(In,cn)});Promise.all(hn).then(function(In){var Ln=dn.props.onBatchStart;Ln==null||Ln(In.map(function(Un){var Gn=Un.origin,cr=Un.parsedFile;return{file:Gn,parsedFile:cr}})),In.filter(function(Un){return Un.parsedFile!==null}).forEach(function(Un){dn.post(Un)})})},dn.processFile=function(){var Mt=(0,we.Z)((0,Ae.Z)().mark(function cn(hn,In){var Ln,Un,Gn,cr,Sr,Wr,gi,ki,si;return(0,Ae.Z)().wrap(function(Qr){for(;;)switch(Qr.prev=Qr.next){case 0:if(Ln=dn.props.beforeUpload,Un=hn,!Ln){Qr.next=14;break}return Qr.prev=3,Qr.next=6,Ln(hn,In);case 6:Un=Qr.sent,Qr.next=12;break;case 9:Qr.prev=9,Qr.t0=Qr.catch(3),Un=!1;case 12:if(Un!==!1){Qr.next=14;break}return Qr.abrupt("return",{origin:hn,parsedFile:null,action:null,data:null});case 14:if(Gn=dn.props.action,typeof Gn!="function"){Qr.next=21;break}return Qr.next=18,Gn(hn);case 18:cr=Qr.sent,Qr.next=22;break;case 21:cr=Gn;case 22:if(Sr=dn.props.data,typeof Sr!="function"){Qr.next=29;break}return Qr.next=26,Sr(hn);case 26:Wr=Qr.sent,Qr.next=30;break;case 29:Wr=Sr;case 30:return gi=((0,ge.Z)(Un)==="object"||typeof Un=="string")&&Un?Un:hn,gi instanceof File?ki=gi:ki=new File([gi],hn.name,{type:hn.type}),si=ki,si.uid=hn.uid,Qr.abrupt("return",{origin:hn,data:Wr,parsedFile:si,action:cr});case 35:case"end":return Qr.stop()}},cn,null,[[3,9]])}));return function(cn,hn){return Mt.apply(this,arguments)}}(),dn.saveFileInput=function(Mt){dn.fileInput=Mt},dn}return(0,fe.Z)(An,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Hn){var ln=this,jn=Hn.data,Mt=Hn.origin,cn=Hn.action,hn=Hn.parsedFile;if(this._isMounted){var In=this.props,Ln=In.onStart,Un=In.customRequest,Gn=In.name,cr=In.headers,Sr=In.withCredentials,Wr=In.method,gi=Mt.uid,ki=Un||Ye,si={action:cn,filename:Gn,data:jn,file:hn,headers:cr,withCredentials:Sr,method:Wr||"post",onProgress:function(Qr){var Gi=ln.props.onProgress;Gi==null||Gi(Qr,hn)},onSuccess:function(Qr,Gi){var Hi=ln.props.onSuccess;Hi==null||Hi(Qr,hn,Gi),delete ln.reqs[gi]},onError:function(Qr,Gi){var Hi=ln.props.onError;Hi==null||Hi(Qr,Gi,hn),delete ln.reqs[gi]}};Ln(Mt),this.reqs[gi]=ki(si)}}},{key:"reset",value:function(){this.setState({uid:Oe()})}},{key:"abort",value:function(Hn){var ln=this.reqs;if(Hn){var jn=Hn.uid?Hn.uid:Hn;ln[jn]&&ln[jn].abort&&ln[jn].abort(),delete ln[jn]}else Object.keys(ln).forEach(function(Mt){ln[Mt]&&ln[Mt].abort&&ln[Mt].abort(),delete ln[Mt]})}},{key:"render",value:function(){var Hn=this.props,ln=Hn.component,jn=Hn.prefixCls,Mt=Hn.className,cn=Hn.disabled,hn=Hn.id,In=Hn.style,Ln=Hn.multiple,Un=Hn.accept,Gn=Hn.capture,cr=Hn.children,Sr=Hn.directory,Wr=Hn.openFileDialogOnClick,gi=Hn.onMouseEnter,ki=Hn.onMouseLeave,si=(0,rt.Z)(Hn,De),wi=We()((0,He.Z)((0,He.Z)((0,He.Z)({},jn,!0),"".concat(jn,"-disabled"),cn),Mt,Mt)),Qr=Sr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Gi=cn?{}:{onClick:Wr?this.onClick:function(){},onKeyDown:Wr?this.onKeyDown:function(){},onMouseEnter:gi,onMouseLeave:ki,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ee.createElement(ln,(0,xe.Z)({},Gi,{className:wi,role:"button",style:In}),ee.createElement("input",(0,xe.Z)({},(0,Se.Z)(si,{aria:!0,data:!0}),{id:hn,disabled:cn,type:"file",ref:this.saveFileInput,onClick:function($i){return $i.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Un},Qr,{multiple:Ln,onChange:this.onChange},Gn!=null?{capture:Gn}:{})),cr)}}]),An}(ee.Component),Te=ze;function xt(){}var Ze=function(Jt){(0,be.Z)(An,Jt);var pn=(0,Fe.Z)(An);function An(){var dn;(0,Ee.Z)(this,An);for(var Hn=arguments.length,ln=new Array(Hn),jn=0;jn<Hn;jn++)ln[jn]=arguments[jn];return dn=pn.call.apply(pn,[this].concat(ln)),dn.uploader=void 0,dn.saveUploader=function(Mt){dn.uploader=Mt},dn}return(0,fe.Z)(An,[{key:"abort",value:function(Hn){this.uploader.abort(Hn)}},{key:"render",value:function(){return ee.createElement(Te,(0,xe.Z)({},this.props,{ref:this.saveUploader}))}}]),An}(ee.Component);Ze.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:xt,onError:xt,onSuccess:xt,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var vt=Ze,ot=vt,mt=te(18929),Lt=te(4676),It=te(36355),Qe=te(1684),Me=te(9763),st=te(31724),zt={icon:function(pn,An){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:An}},{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:pn}}]}},name:"file",theme:"twotone"},ut=zt,tt=te(7657),at=function(pn,An){return ee.createElement(tt.Z,(0,xe.Z)({},pn,{ref:An,icon:ut}))},Nt=ee.forwardRef(at),on=Nt,Ht=te(58617),Fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Qt=Fn,Ut=function(pn,An){return ee.createElement(tt.Z,(0,xe.Z)({},pn,{ref:An,icon:Qt}))},Wt=ee.forwardRef(Ut),Ie=Wt,he={icon:function(pn,An){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:pn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:An}},{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:An}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:An}},{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:pn}}]}},name:"picture",theme:"twotone"},ue=he,ve=function(pn,An){return ee.createElement(tt.Z,(0,xe.Z)({},pn,{ref:An,icon:ue}))},ye=ee.forwardRef(ve),se=ye,$e=te(77900),wt=te(56762),lt=te(62892),Je=te(92343),Pt=te(3113);function Dt(Jt){return Object.assign(Object.assign({},Jt),{lastModified:Jt.lastModified,lastModifiedDate:Jt.lastModifiedDate,name:Jt.name,size:Jt.size,type:Jt.type,uid:Jt.uid,percent:0,originFileObj:Jt})}function yt(Jt,pn){const An=(0,de.Z)(pn),dn=An.findIndex(Hn=>{let{uid:ln}=Hn;return ln===Jt.uid});return dn===-1?An.push(Jt):An[dn]=Jt,An}function jt(Jt,pn){const An=Jt.uid!==void 0?"uid":"name";return pn.filter(dn=>dn[An]===Jt[An])[0]}function En(Jt,pn){const An=Jt.uid!==void 0?"uid":"name",dn=pn.filter(Hn=>Hn[An]!==Jt[An]);return dn.length===pn.length?null:dn}const _t=function(){const pn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),dn=pn[pn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(dn)||[""])[0]},Yt=Jt=>Jt.indexOf("image/")===0,wn=Jt=>{if(Jt.type&&!Jt.thumbUrl)return Yt(Jt.type);const pn=Jt.thumbUrl||Jt.url||"",An=_t(pn);return/^data:image\//.test(pn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(An)?!0:!(/^data:/.test(pn)||An)},Ft=200;function it(Jt){return new Promise(pn=>{if(!Jt.type||!Yt(Jt.type)){pn("");return}const An=document.createElement("canvas");An.width=Ft,An.height=Ft,An.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ft}px; height: ${Ft}px; z-index: 9999; display: none;`,document.body.appendChild(An);const dn=An.getContext("2d"),Hn=new Image;if(Hn.onload=()=>{const{width:ln,height:jn}=Hn;let Mt=Ft,cn=Ft,hn=0,In=0;ln>jn?(cn=jn*(Ft/ln),In=-(cn-Mt)/2):(Mt=ln*(Ft/jn),hn=-(Mt-cn)/2),dn.drawImage(Hn,hn,In,Mt,cn);const Ln=An.toDataURL();document.body.removeChild(An),window.URL.revokeObjectURL(Hn.src),pn(Ln)},Hn.crossOrigin="anonymous",Jt.type.startsWith("image/svg+xml")){const ln=new FileReader;ln.onload=()=>{ln.result&&(Hn.src=ln.result)},ln.readAsDataURL(Jt)}else if(Jt.type.startsWith("image/gif")){const ln=new FileReader;ln.onload=()=>{ln.result&&pn(ln.result)},ln.readAsDataURL(Jt)}else Hn.src=window.URL.createObjectURL(Jt)})}var Et=te(26227),an=te(41464),un=te(15277),vn=te(93948),gn=te(6848),ir=ee.forwardRef((Jt,pn)=>{let{prefixCls:An,className:dn,style:Hn,locale:ln,listType:jn,file:Mt,items:cn,progress:hn,iconRender:In,actionIconRender:Ln,itemRender:Un,isImgUrl:Gn,showPreviewIcon:cr,showRemoveIcon:Sr,showDownloadIcon:Wr,previewIcon:gi,removeIcon:ki,downloadIcon:si,onPreview:wi,onDownload:Qr,onClose:Gi}=Jt;var Hi,$i;const{status:Ai}=Mt,[li,Qi]=ee.useState(Ai);ee.useEffect(()=>{Ai!=="removed"&&Qi(Ai)},[Ai]);const[Pi,xa]=ee.useState(!1);ee.useEffect(()=>{const Zo=setTimeout(()=>{xa(!0)},300);return()=>{clearTimeout(Zo)}},[]);const lo=In(Mt);let Vi=ee.createElement("div",{className:`${An}-icon`},lo);if(jn==="picture"||jn==="picture-card"||jn==="picture-circle")if(li==="uploading"||!Mt.thumbUrl&&!Mt.url){const Zo=We()(`${An}-list-item-thumbnail`,{[`${An}-list-item-file`]:li!=="uploading"});Vi=ee.createElement("div",{className:Zo},lo)}else{const Zo=Gn!=null&&Gn(Mt)?ee.createElement("img",{src:Mt.thumbUrl||Mt.url,alt:Mt.name,className:`${An}-list-item-image`,crossOrigin:Mt.crossOrigin}):lo,ko=We()(`${An}-list-item-thumbnail`,{[`${An}-list-item-file`]:Gn&&!Gn(Mt)});Vi=ee.createElement("a",{className:ko,onClick:vo=>wi(Mt,vo),href:Mt.url||Mt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Zo)}const Or=We()(`${An}-list-item`,`${An}-list-item-${li}`),Lr=typeof Mt.linkProps=="string"?JSON.parse(Mt.linkProps):Mt.linkProps,ia=Sr?Ln((typeof ki=="function"?ki(Mt):ki)||ee.createElement(Et.Z,null),()=>Gi(Mt),An,ln.removeFile):null,Zi=Wr&&li==="done"?Ln((typeof si=="function"?si(Mt):si)||ee.createElement(an.Z,null),()=>Qr(Mt),An,ln.downloadFile):null,ma=jn!=="picture-card"&&jn!=="picture-circle"&&ee.createElement("span",{key:"download-delete",className:We()(`${An}-list-item-actions`,{picture:jn==="picture"})},Zi,ia),pa=We()(`${An}-list-item-name`),ha=Mt.url?[ee.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:pa,title:Mt.name},Lr,{href:Mt.url,onClick:Zo=>wi(Mt,Zo)}),Mt.name),ma]:[ee.createElement("span",{key:"view",className:pa,onClick:Zo=>wi(Mt,Zo),title:Mt.name},Mt.name),ma],qi={pointerEvents:"none",opacity:.5},aa=cr?ee.createElement("a",{href:Mt.url||Mt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Mt.url||Mt.thumbUrl?void 0:qi,onClick:Zo=>wi(Mt,Zo),title:ln.previewFile},typeof gi=="function"?gi(Mt):gi||ee.createElement(un.Z,null)):null,Ao=(jn==="picture-card"||jn==="picture-circle")&&li!=="uploading"&&ee.createElement("span",{className:`${An}-list-item-actions`},aa,li==="done"&&Zi,ia),{getPrefixCls:Di}=ee.useContext(It.E_),Ti=Di(),Ea=ee.createElement("div",{className:Or},Vi,ha,Ao,Pi&&ee.createElement($e.default,{motionName:`${Ti}-fade`,visible:li==="uploading",motionDeadline:2e3},Zo=>{let{className:ko}=Zo;const vo="percent"in Mt?ee.createElement(vn.Z,Object.assign({},hn,{type:"line",percent:Mt.percent,"aria-label":Mt["aria-label"],"aria-labelledby":Mt["aria-labelledby"]})):null;return ee.createElement("div",{className:We()(`${An}-list-item-progress`,ko)},vo)})),_a=Mt.response&&typeof Mt.response=="string"?Mt.response:((Hi=Mt.error)===null||Hi===void 0?void 0:Hi.statusText)||(($i=Mt.error)===null||$i===void 0?void 0:$i.message)||ln.uploadError,jo=li==="error"?ee.createElement(gn.Z,{title:_a,getPopupContainer:Zo=>Zo.parentNode},Ea):Ea;return ee.createElement("div",{className:We()(`${An}-list-item-container`,dn),style:Hn,ref:pn},Un?Un(jo,Mt,cn,{download:Qr.bind(null,Mt),preview:wi.bind(null,Mt),remove:Gi.bind(null,Mt)}):jo)});const Dr=(Jt,pn)=>{const{listType:An="text",previewFile:dn=it,onPreview:Hn,onDownload:ln,onRemove:jn,locale:Mt,iconRender:cn,isImageUrl:hn=wn,prefixCls:In,items:Ln=[],showPreviewIcon:Un=!0,showRemoveIcon:Gn=!0,showDownloadIcon:cr=!1,removeIcon:Sr,previewIcon:Wr,downloadIcon:gi,progress:ki={size:[-1,2],showInfo:!1},appendAction:si,appendActionVisible:wi=!0,itemRender:Qr,disabled:Gi}=Jt,Hi=(0,wt.Z)(),[$i,Ai]=ee.useState(!1);ee.useEffect(()=>{An!=="picture"&&An!=="picture-card"&&An!=="picture-circle"||(Ln||[]).forEach(qi=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(qi.originFileObj instanceof File||qi.originFileObj instanceof Blob)||qi.thumbUrl!==void 0||(qi.thumbUrl="",dn&&dn(qi.originFileObj).then(aa=>{qi.thumbUrl=aa||"",Hi()}))})},[An,Ln,dn]),ee.useEffect(()=>{Ai(!0)},[]);const li=(qi,aa)=>{if(Hn)return aa==null||aa.preventDefault(),Hn(qi)},Qi=qi=>{typeof ln=="function"?ln(qi):qi.url&&window.open(qi.url)},Pi=qi=>{jn==null||jn(qi)},xa=qi=>{if(cn)return cn(qi,An);const aa=qi.status==="uploading",Ao=hn&&hn(qi)?ee.createElement(se,null):ee.createElement(on,null);let Di=aa?ee.createElement(Ht.Z,null):ee.createElement(Ie,null);return An==="picture"?Di=aa?ee.createElement(Ht.Z,null):Ao:(An==="picture-card"||An==="picture-circle")&&(Di=aa?Mt.uploading:Ao),Di},lo=(qi,aa,Ao,Di)=>{const Ti={type:"text",size:"small",title:Di,onClick:Ea=>{aa(),(0,Je.l$)(qi)&&qi.props.onClick&&qi.props.onClick(Ea)},className:`${Ao}-list-item-action`,disabled:Gi};if((0,Je.l$)(qi)){const Ea=(0,Je.Tm)(qi,Object.assign(Object.assign({},qi.props),{onClick:()=>{}}));return ee.createElement(Pt.ZP,Object.assign({},Ti,{icon:Ea}))}return ee.createElement(Pt.ZP,Object.assign({},Ti),ee.createElement("span",null,qi))};ee.useImperativeHandle(pn,()=>({handlePreview:li,handleDownload:Qi}));const{getPrefixCls:Vi}=ee.useContext(It.E_),Or=Vi("upload",In),Lr=Vi(),ia=We()(`${Or}-list`,`${Or}-list-${An}`),Zi=(0,de.Z)(Ln.map(qi=>({key:qi.uid,file:qi})));let pa={motionDeadline:2e3,motionName:`${Or}-${An==="picture-card"||An==="picture-circle"?"animate-inline":"animate"}`,keys:Zi,motionAppear:$i};const ha=ee.useMemo(()=>{const qi=Object.assign({},(0,lt.Z)(Lr));return delete qi.onAppearEnd,delete qi.onEnterEnd,delete qi.onLeaveEnd,qi},[Lr]);return An!=="picture-card"&&An!=="picture-circle"&&(pa=Object.assign(Object.assign({},ha),pa)),ee.createElement("div",{className:ia},ee.createElement($e.CSSMotionList,Object.assign({},pa,{component:!1}),qi=>{let{key:aa,file:Ao,className:Di,style:Ti}=qi;return ee.createElement(ir,{key:aa,locale:Mt,prefixCls:Or,className:Di,style:Ti,file:Ao,items:Ln,progress:ki,listType:An,isImgUrl:hn,showPreviewIcon:Un,showRemoveIcon:Gn,showDownloadIcon:cr,removeIcon:Sr,previewIcon:Wr,downloadIcon:gi,iconRender:xa,actionIconRender:lo,itemRender:Qr,onPreview:li,onDownload:Qi,onClose:Pi})}),si&&ee.createElement($e.default,Object.assign({},pa,{visible:wi,forceRender:!0}),qi=>{let{className:aa,style:Ao}=qi;return(0,Je.Tm)(si,Di=>({className:We()(Di.className,aa),style:Object.assign(Object.assign(Object.assign({},Ao),{pointerEvents:aa?"none":void 0}),Di.style)}))}))};var Bn=ee.forwardRef(Dr),jr=te(17313),ci=te(8378),_r=te(83116),Nr=te(37613),pi=Jt=>{const{componentCls:pn,iconCls:An}=Jt;return{[`${pn}-wrapper`]:{[`${pn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Jt.colorFillAlter,border:`${Jt.lineWidth}px dashed ${Jt.colorBorder}`,borderRadius:Jt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Jt.motionDurationSlow}`,[pn]:{padding:`${Jt.padding}px 0`},[`${pn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${pn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${pn}-disabled):hover`]:{borderColor:Jt.colorPrimaryHover},[`p${pn}-drag-icon`]:{marginBottom:Jt.margin,[An]:{color:Jt.colorPrimary,fontSize:Jt.uploadThumbnailSize}},[`p${pn}-text`]:{margin:`0 0 ${Jt.marginXXS}px`,color:Jt.colorTextHeading,fontSize:Jt.fontSizeLG},[`p${pn}-hint`]:{color:Jt.colorTextDescription,fontSize:Jt.fontSize},[`&${pn}-disabled`]:{cursor:"not-allowed",[`p${pn}-drag-icon ${An},
|
|
|
p${pn}-text,
|
|
|
p${pn}-hint
|
|
|
`]:{color:Jt.colorTextDisabled}}}}}},pr=Jt=>{const{componentCls:pn,antCls:An,iconCls:dn,fontSize:Hn,lineHeight:ln}=Jt,jn=`${pn}-list-item`,Mt=`${jn}-actions`,cn=`${jn}-action`,hn=Math.round(Hn*ln);return{[`${pn}-wrapper`]:{[`${pn}-list`]:Object.assign(Object.assign({},(0,jr.dF)()),{lineHeight:Jt.lineHeight,[jn]:{position:"relative",height:Jt.lineHeight*Hn,marginTop:Jt.marginXS,fontSize:Hn,display:"flex",alignItems:"center",transition:`background-color ${Jt.motionDurationSlow}`,"&:hover":{backgroundColor:Jt.controlItemBgHover},[`${jn}-name`]:Object.assign(Object.assign({},jr.vS),{padding:`0 ${Jt.paddingXS}px`,lineHeight:ln,flex:"auto",transition:`all ${Jt.motionDurationSlow}`}),[Mt]:{[cn]:{opacity:0},[`${cn}${An}-btn-sm`]:{height:hn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
|
${cn}:focus-visible,
|
|
|
&.picture ${cn}
|
|
|
`]:{opacity:1},[dn]:{color:Jt.actionsColor,transition:`all ${Jt.motionDurationSlow}`},[`&:hover ${dn}`]:{color:Jt.colorText}},[`${pn}-icon ${dn}`]:{color:Jt.colorTextDescription,fontSize:Hn},[`${jn}-progress`]:{position:"absolute",bottom:-Jt.uploadProgressOffset,width:"100%",paddingInlineStart:Hn+Jt.paddingXS,fontSize:Hn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${jn}:hover ${cn}`]:{opacity:1,color:Jt.colorText},[`${jn}-error`]:{color:Jt.colorError,[`${jn}-name, ${pn}-icon ${dn}`]:{color:Jt.colorError},[Mt]:{[`${dn}, ${dn}:hover`]:{color:Jt.colorError},[cn]:{opacity:1}}},[`${pn}-list-item-container`]:{transition:`opacity ${Jt.motionDurationSlow}, height ${Jt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Rr=te(36237),Gr=te(1950);const zr=new Rr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),ei=new Rr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var fi=Jt=>{const{componentCls:pn}=Jt,An=`${pn}-animate-inline`;return[{[`${pn}-wrapper`]:{[`${An}-appear, ${An}-enter, ${An}-leave`]:{animationDuration:Jt.motionDurationSlow,animationTimingFunction:Jt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${An}-appear, ${An}-enter`]:{animationName:zr},[`${An}-leave`]:{animationName:ei}}},{[`${pn}-wrapper`]:(0,Gr.J$)(Jt)},zr,ei]},Pr=te(30071),dr=te(64993);const oi=Jt=>{const{componentCls:pn,iconCls:An,uploadThumbnailSize:dn,uploadProgressOffset:Hn}=Jt,ln=`${pn}-list`,jn=`${ln}-item`;return{[`${pn}-wrapper`]:{[`
|
|
|
${ln}${ln}-picture,
|
|
|
${ln}${ln}-picture-card,
|
|
|
${ln}${ln}-picture-circle
|
|
|
`]:{[jn]:{position:"relative",height:dn+Jt.lineWidth*2+Jt.paddingXS*2,padding:Jt.paddingXS,border:`${Jt.lineWidth}px ${Jt.lineType} ${Jt.colorBorder}`,borderRadius:Jt.borderRadiusLG,"&:hover":{background:"transparent"},[`${jn}-thumbnail`]:Object.assign(Object.assign({},jr.vS),{width:dn,height:dn,lineHeight:`${dn+Jt.paddingSM}px`,textAlign:"center",flex:"none",[An]:{fontSize:Jt.fontSizeHeading2,color:Jt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${jn}-progress`]:{bottom:Hn,width:`calc(100% - ${Jt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:dn+Jt.paddingXS}},[`${jn}-error`]:{borderColor:Jt.colorError,[`${jn}-thumbnail ${An}`]:{[`svg path[fill='${Pr.blue[0]}']`]:{fill:Jt.colorErrorBg},[`svg path[fill='${Pr.blue.primary}']`]:{fill:Jt.colorError}}},[`${jn}-uploading`]:{borderStyle:"dashed",[`${jn}-name`]:{marginBottom:Hn}}},[`${ln}${ln}-picture-circle ${jn}`]:{[`&, &::before, ${jn}-thumbnail`]:{borderRadius:"50%"}}}}},$t=Jt=>{const{componentCls:pn,iconCls:An,fontSizeLG:dn,colorTextLightSolid:Hn}=Jt,ln=`${pn}-list`,jn=`${ln}-item`,Mt=Jt.uploadPicCardSize;return{[`
|
|
|
${pn}-wrapper${pn}-picture-card-wrapper,
|
|
|
${pn}-wrapper${pn}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,jr.dF)()),{display:"inline-block",width:"100%",[`${pn}${pn}-select`]:{width:Mt,height:Mt,marginInlineEnd:Jt.marginXS,marginBottom:Jt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Jt.colorFillAlter,border:`${Jt.lineWidth}px dashed ${Jt.colorBorder}`,borderRadius:Jt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Jt.motionDurationSlow}`,[`> ${pn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${pn}-disabled):hover`]:{borderColor:Jt.colorPrimary}},[`${ln}${ln}-picture-card, ${ln}${ln}-picture-circle`]:{[`${ln}-item-container`]:{display:"inline-block",width:Mt,height:Mt,marginBlock:`0 ${Jt.marginXS}px`,marginInline:`0 ${Jt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[jn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Jt.paddingXS*2}px)`,height:`calc(100% - ${Jt.paddingXS*2}px)`,backgroundColor:Jt.colorBgMask,opacity:0,transition:`all ${Jt.motionDurationSlow}`,content:'" "'}},[`${jn}:hover`]:{[`&::before, ${jn}-actions`]:{opacity:1}},[`${jn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Jt.motionDurationSlow}`,[`${An}-eye, ${An}-download, ${An}-delete`]:{zIndex:10,width:dn,margin:`0 ${Jt.marginXXS}px`,fontSize:dn,cursor:"pointer",transition:`all ${Jt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${jn}-actions, ${jn}-actions:hover`]:{[`${An}-eye, ${An}-download, ${An}-delete`]:{color:new dr.C(Hn).setAlpha(.65).toRgbString(),"&:hover":{color:Hn}}},[`${jn}-thumbnail, ${jn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${jn}-name`]:{display:"none",textAlign:"center"},[`${jn}-file + ${jn}-name`]:{position:"absolute",bottom:Jt.margin,display:"block",width:`calc(100% - ${Jt.paddingXS*2}px)`},[`${jn}-uploading`]:{[`&${jn}`]:{backgroundColor:Jt.colorFillAlter},[`&::before, ${An}-eye, ${An}-download, ${An}-delete`]:{display:"none"}},[`${jn}-progress`]:{bottom:Jt.marginXL,width:`calc(100% - ${Jt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${pn}-wrapper${pn}-picture-circle-wrapper`]:{[`${pn}${pn}-select`]:{borderRadius:"50%"}}}};var Bt=Jt=>{const{componentCls:pn}=Jt;return{[`${pn}-rtl`]:{direction:"rtl"}}};const At=Jt=>{const{componentCls:pn,colorTextDisabled:An}=Jt;return{[`${pn}-wrapper`]:Object.assign(Object.assign({},(0,jr.Wf)(Jt)),{[pn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${pn}-select`]:{display:"inline-block"},[`${pn}-disabled`]:{color:An,cursor:"not-allowed"}})}};var Ct=(0,_r.Z)("Upload",Jt=>{const{fontSizeHeading3:pn,fontSize:An,lineHeight:dn,lineWidth:Hn,controlHeightLG:ln}=Jt,jn=Math.round(An*dn),Mt=(0,Nr.TS)(Jt,{uploadThumbnailSize:pn*2,uploadProgressOffset:jn/2+Hn,uploadPicCardSize:ln*2.55});return[At(Mt),pi(Mt),oi(Mt),$t(Mt),pr(Mt),fi(Mt),Bt(Mt),(0,ci.Z)(Mt)]},Jt=>({actionsColor:Jt.colorTextDescription})),Gt=function(Jt,pn,An,dn){function Hn(ln){return ln instanceof An?ln:new An(function(jn){jn(ln)})}return new(An||(An=Promise))(function(ln,jn){function Mt(In){try{hn(dn.next(In))}catch(Ln){jn(Ln)}}function cn(In){try{hn(dn.throw(In))}catch(Ln){jn(Ln)}}function hn(In){In.done?ln(In.value):Hn(In.value).then(Mt,cn)}hn((dn=dn.apply(Jt,pn||[])).next())})};const nn=`__LIST_IGNORE_${Date.now()}__`,_n=(Jt,pn)=>{const{fileList:An,defaultFileList:dn,onRemove:Hn,showUploadList:ln=!0,listType:jn="text",onPreview:Mt,onDownload:cn,onChange:hn,onDrop:In,previewFile:Ln,disabled:Un,locale:Gn,iconRender:cr,isImageUrl:Sr,progress:Wr,prefixCls:gi,className:ki,type:si="select",children:wi,style:Qr,itemRender:Gi,maxCount:Hi,data:$i={},multiple:Ai=!1,action:li="",accept:Qi="",supportServerRender:Pi=!0,rootClassName:xa}=Jt,lo=ee.useContext(Qe.Z),Vi=Un!=null?Un:lo,[Or,Lr]=(0,mt.Z)(dn||[],{value:An,postState:Qa=>Qa!=null?Qa:[]}),[ia,Zi]=ee.useState("drop"),ma=ee.useRef(null);ee.useMemo(()=>{const Qa=Date.now();(An||[]).forEach((la,cl)=>{!la.uid&&!Object.isFrozen(la)&&(la.uid=`__AUTO__${Qa}_${cl}__`)})},[An]);const pa=(Qa,la,cl)=>{let To=(0,de.Z)(la),Go=!1;Hi===1?To=To.slice(-1):Hi&&(Go=To.length>Hi,To=To.slice(0,Hi)),(0,Lt.flushSync)(()=>{Lr(To)});const nr={file:Qa,fileList:To};cl&&(nr.event=cl),(!Go||To.some(Qn=>Qn.uid===Qa.uid))&&(0,Lt.flushSync)(()=>{hn==null||hn(nr)})},ha=(Qa,la)=>Gt(void 0,void 0,void 0,function*(){const{beforeUpload:cl,transformFile:To}=Jt;let Go=Qa;if(cl){const nr=yield cl(Qa,la);if(nr===!1)return!1;if(delete Qa[nn],nr===nn)return Object.defineProperty(Qa,nn,{value:!0,configurable:!0}),!1;typeof nr=="object"&&nr&&(Go=nr)}return To&&(Go=yield To(Go)),Go}),qi=Qa=>{const la=Qa.filter(Go=>!Go.file[nn]);if(!la.length)return;const cl=la.map(Go=>Dt(Go.file));let To=(0,de.Z)(Or);cl.forEach(Go=>{To=yt(Go,To)}),cl.forEach((Go,nr)=>{let Qn=Go;if(la[nr].parsedFile)Go.status="uploading";else{const{originFileObj:Zn}=Go;let xr;try{xr=new File([Zn],Zn.name,{type:Zn.type})}catch(ni){xr=new Blob([Zn],{type:Zn.type}),xr.name=Zn.name,xr.lastModifiedDate=new Date,xr.lastModified=new Date().getTime()}xr.uid=Go.uid,Qn=xr}pa(Qn,To)})},aa=(Qa,la,cl)=>{try{typeof Qa=="string"&&(Qa=JSON.parse(Qa))}catch(nr){}if(!jt(la,Or))return;const To=Dt(la);To.status="done",To.percent=100,To.response=Qa,To.xhr=cl;const Go=yt(To,Or);pa(To,Go)},Ao=(Qa,la)=>{if(!jt(la,Or))return;const cl=Dt(la);cl.status="uploading",cl.percent=Qa.percent;const To=yt(cl,Or);pa(cl,To,Qa)},Di=(Qa,la,cl)=>{if(!jt(cl,Or))return;const To=Dt(cl);To.error=Qa,To.response=la,To.status="error";const Go=yt(To,Or);pa(To,Go)},Ti=Qa=>{let la;Promise.resolve(typeof Hn=="function"?Hn(Qa):Hn).then(cl=>{var To;if(cl===!1)return;const Go=En(Qa,Or);Go&&(la=Object.assign(Object.assign({},Qa),{status:"removed"}),Or==null||Or.forEach(nr=>{const Qn=la.uid!==void 0?"uid":"name";nr[Qn]===la[Qn]&&!Object.isFrozen(nr)&&(nr.status="removed")}),(To=ma.current)===null||To===void 0||To.abort(la),pa(la,Go))})},Ea=Qa=>{Zi(Qa.type),Qa.type==="drop"&&(In==null||In(Qa))};ee.useImperativeHandle(pn,()=>({onBatchStart:qi,onSuccess:aa,onProgress:Ao,onError:Di,fileList:Or,upload:ma.current}));const{getPrefixCls:_a,direction:jo,upload:Zo}=ee.useContext(It.E_),ko=_a("upload",gi),vo=Object.assign(Object.assign({onBatchStart:qi,onError:Di,onProgress:Ao,onSuccess:aa},Jt),{data:$i,multiple:Ai,action:li,accept:Qi,supportServerRender:Pi,prefixCls:ko,disabled:Vi,beforeUpload:ha,onChange:void 0});delete vo.className,delete vo.style,(!wi||Vi)&&delete vo.id;const[Ar,il]=Ct(ko),[_i]=(0,Me.Z)("Upload",st.Z.Upload),{showRemoveIcon:Li,showPreviewIcon:Mi,showDownloadIcon:ea,removeIcon:mo,previewIcon:Vo,downloadIcon:qo}=typeof ln=="boolean"?{}:ln,Uo=(Qa,la)=>ln?ee.createElement(Bn,{prefixCls:ko,listType:jn,items:Or,previewFile:Ln,onPreview:Mt,onDownload:cn,onRemove:Ti,showRemoveIcon:!Vi&&Li,showPreviewIcon:Mi,showDownloadIcon:ea,removeIcon:mo,previewIcon:Vo,downloadIcon:qo,iconRender:cr,locale:Object.assign(Object.assign({},_i),Gn),isImageUrl:Sr,progress:Wr,appendAction:Qa,appendActionVisible:la,itemRender:Gi,disabled:Vi}):Qa,Co=We()(`${ko}-wrapper`,ki,xa,il,Zo==null?void 0:Zo.className,{[`${ko}-rtl`]:jo==="rtl",[`${ko}-picture-card-wrapper`]:jn==="picture-card",[`${ko}-picture-circle-wrapper`]:jn==="picture-circle"}),ul=Object.assign(Object.assign({},Zo==null?void 0:Zo.style),Qr);if(si==="drag"){const Qa=We()(il,ko,`${ko}-drag`,{[`${ko}-drag-uploading`]:Or.some(la=>la.status==="uploading"),[`${ko}-drag-hover`]:ia==="dragover",[`${ko}-disabled`]:Vi,[`${ko}-rtl`]:jo==="rtl"});return Ar(ee.createElement("span",{className:Co},ee.createElement("div",{className:Qa,style:ul,onDrop:Ea,onDragOver:Ea,onDragLeave:Ea},ee.createElement(ot,Object.assign({},vo,{ref:ma,className:`${ko}-btn`}),ee.createElement("div",{className:`${ko}-drag-container`},wi))),Uo()))}const Wl=We()(ko,`${ko}-select`,{[`${ko}-disabled`]:Vi}),ms=(Qa=>ee.createElement("div",{className:Wl,style:Qa},ee.createElement(ot,Object.assign({},vo,{ref:ma}))))(wi?void 0:{display:"none"});return Ar(jn==="picture-card"||jn==="picture-circle"?ee.createElement("span",{className:Co},Uo(ms,!!wi)):ee.createElement("span",{className:Co},ms,Uo()))};var Sn=ee.forwardRef(_n),rr=function(Jt,pn){var An={};for(var dn in Jt)Object.prototype.hasOwnProperty.call(Jt,dn)&&pn.indexOf(dn)<0&&(An[dn]=Jt[dn]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Hn=0,dn=Object.getOwnPropertySymbols(Jt);Hn<dn.length;Hn++)pn.indexOf(dn[Hn])<0&&Object.prototype.propertyIsEnumerable.call(Jt,dn[Hn])&&(An[dn[Hn]]=Jt[dn[Hn]]);return An},Cr=ee.forwardRef((Jt,pn)=>{var{style:An,height:dn}=Jt,Hn=rr(Jt,["style","height"]);return ee.createElement(Sn,Object.assign({ref:pn},Hn,{type:"drag",style:Object.assign(Object.assign({},An),{height:dn})}))});const bn=Sn;bn.Dragger=Cr,bn.LIST_IGNORE=nn;var $n=bn},14625:function(tn){function kt(ee){var de,Ce,We="";if(typeof ee=="string"||typeof ee=="number")We+=ee;else if(typeof ee=="object")if(Array.isArray(ee)){var xe=ee.length;for(de=0;de<xe;de++)ee[de]&&(Ce=kt(ee[de]))&&(We&&(We+=" "),We+=Ce)}else for(Ce in ee)ee[Ce]&&(We&&(We+=" "),We+=Ce);return We}function te(){for(var ee,de,Ce=0,We="",xe=arguments.length;Ce<xe;Ce++)(ee=arguments[Ce])&&(de=kt(ee))&&(We&&(We+=" "),We+=de);return We}tn.exports=te,tn.exports.clsx=te},99498:function(tn,kt,te){(function(ee){ee(te(89780))})(function(ee){ee.defineOption("placeholder","",function(be,Fe,He){var rt=He&&He!=ee.Init;if(Fe&&!rt)be.on("blur",xe),be.on("change",Ee),be.on("swapDoc",Ee),ee.on(be.getInputField(),"compositionupdate",be.state.placeholderCompose=function(){We(be)}),Ee(be);else if(!Fe&&rt){be.off("blur",xe),be.off("change",Ee),be.off("swapDoc",Ee),ee.off(be.getInputField(),"compositionupdate",be.state.placeholderCompose),de(be);var Ae=be.getWrapperElement();Ae.className=Ae.className.replace(" CodeMirror-empty","")}Fe&&!be.hasFocus()&&xe(be)});function de(be){be.state.placeholder&&(be.state.placeholder.parentNode.removeChild(be.state.placeholder),be.state.placeholder=null)}function Ce(be){de(be);var Fe=be.state.placeholder=document.createElement("pre");Fe.style.cssText="height: 0; overflow: visible",Fe.style.direction=be.getOption("direction"),Fe.className="CodeMirror-placeholder CodeMirror-line-like";var He=be.getOption("placeholder");typeof He=="string"&&(He=document.createTextNode(He)),Fe.appendChild(He),be.display.lineSpace.insertBefore(Fe,be.display.lineSpace.firstChild)}function We(be){setTimeout(function(){var Fe=!1,He=be.getInputField();He.nodeName=="TEXTAREA"?Fe=!He.value:be.lineCount()==1&&(Fe=!/[^\u200b]/.test(He.querySelector(".CodeMirror-line").textContent)),Fe?Ce(be):de(be)},20)}function xe(be){fe(be)&&Ce(be)}function Ee(be){var Fe=be.getWrapperElement(),He=fe(be);Fe.className=Fe.className.replace(" CodeMirror-empty","")+(He?" CodeMirror-empty":""),He?Ce(be):de(be)}function fe(be){return be.lineCount()===1&&be.getLine(0)===""}})},25717:function(tn,kt,te){(function(ee){ee(te(89780))})(function(ee){var de={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Ce=ee.Pos;ee.defineOption("autoCloseBrackets",!1,function(Se,Ne,ke){ke&&ke!=ee.Init&&(Se.removeKeyMap(xe),Se.state.closeBrackets=null),Ne&&(Ee(We(Ne,"pairs")),Se.state.closeBrackets=Ne,Se.addKeyMap(xe))});function We(Se,Ne){return Ne=="pairs"&&typeof Se=="string"?Se:typeof Se=="object"&&Se[Ne]!=null?Se[Ne]:de[Ne]}var xe={Backspace:Fe,Enter:He};function Ee(Se){for(var Ne=0;Ne<Se.length;Ne++){var ke=Se.charAt(Ne),Ye="'"+ke+"'";xe[Ye]||(xe[Ye]=fe(ke))}}Ee(de.pairs+"`");function fe(Se){return function(Ne){return Ae(Ne,Se)}}function be(Se){var Ne=Se.state.closeBrackets;if(!Ne||Ne.override)return Ne;var ke=Se.getModeAt(Se.getCursor());return ke.closeBrackets||Ne}function Fe(Se){var Ne=be(Se);if(!Ne||Se.getOption("disableInput"))return ee.Pass;for(var ke=We(Ne,"pairs"),Ye=Se.listSelections(),et=0;et<Ye.length;et++){if(!Ye[et].empty())return ee.Pass;var Ke=ge(Se,Ye[et].head);if(!Ke||ke.indexOf(Ke)%2!=0)return ee.Pass}for(var et=Ye.length-1;et>=0;et--){var Oe=Ye[et].head;Se.replaceRange("",Ce(Oe.line,Oe.ch-1),Ce(Oe.line,Oe.ch+1),"+delete")}}function He(Se){var Ne=be(Se),ke=Ne&&We(Ne,"explode");if(!ke||Se.getOption("disableInput"))return ee.Pass;for(var Ye=Se.listSelections(),et=0;et<Ye.length;et++){if(!Ye[et].empty())return ee.Pass;var Ke=ge(Se,Ye[et].head);if(!Ke||ke.indexOf(Ke)%2!=0)return ee.Pass}Se.operation(function(){var Oe=Se.lineSeparator()||`
|
|
|
`;Se.replaceSelection(Oe+Oe,null),Se.execCommand("goCharLeft"),Ye=Se.listSelections();for(var _e=0;_e<Ye.length;_e++){var me=Ye[_e].head.line;Se.indentLine(me,null,!0),Se.indentLine(me+1,null,!0)}})}function rt(Se){var Ne=ee.cmpPos(Se.anchor,Se.head)>0;return{anchor:new Ce(Se.anchor.line,Se.anchor.ch+(Ne?-1:1)),head:new Ce(Se.head.line,Se.head.ch+(Ne?1:-1))}}function Ae(Se,Ne){var ke=be(Se);if(!ke||Se.getOption("disableInput"))return ee.Pass;var Ye=We(ke,"pairs"),et=Ye.indexOf(Ne);if(et==-1)return ee.Pass;for(var Ke=We(ke,"closeBefore"),Oe=We(ke,"triples"),_e=Ye.charAt(et+1)==Ne,me=Se.listSelections(),Re=et%2==0,Le,Pe=0;Pe<me.length;Pe++){var De=me[Pe],ze=De.head,Te,xt=Se.getRange(ze,Ce(ze.line,ze.ch+1));if(Re&&!De.empty())Te="surround";else if((_e||!Re)&&xt==Ne)_e&&we(Se,ze)?Te="both":Oe.indexOf(Ne)>=0&&Se.getRange(ze,Ce(ze.line,ze.ch+3))==Ne+Ne+Ne?Te="skipThree":Te="skip";else if(_e&&ze.ch>1&&Oe.indexOf(Ne)>=0&&Se.getRange(Ce(ze.line,ze.ch-2),ze)==Ne+Ne){if(ze.ch>2&&/\bstring/.test(Se.getTokenTypeAt(Ce(ze.line,ze.ch-2))))return ee.Pass;Te="addFour"}else if(_e){var Ze=ze.ch==0?" ":Se.getRange(Ce(ze.line,ze.ch-1),ze);if(!ee.isWordChar(xt)&&Ze!=Ne&&!ee.isWordChar(Ze))Te="both";else return ee.Pass}else if(Re&&(xt.length===0||/\s/.test(xt)||Ke.indexOf(xt)>-1))Te="both";else return ee.Pass;if(!Le)Le=Te;else if(Le!=Te)return ee.Pass}var vt=et%2?Ye.charAt(et-1):Ne,ot=et%2?Ne:Ye.charAt(et+1);Se.operation(function(){if(Le=="skip")Se.execCommand("goCharRight");else if(Le=="skipThree")for(var mt=0;mt<3;mt++)Se.execCommand("goCharRight");else if(Le=="surround"){for(var Lt=Se.getSelections(),mt=0;mt<Lt.length;mt++)Lt[mt]=vt+Lt[mt]+ot;Se.replaceSelections(Lt,"around"),Lt=Se.listSelections().slice();for(var mt=0;mt<Lt.length;mt++)Lt[mt]=rt(Lt[mt]);Se.setSelections(Lt)}else Le=="both"?(Se.replaceSelection(vt+ot,null),Se.triggerElectric(vt+ot),Se.execCommand("goCharLeft")):Le=="addFour"&&(Se.replaceSelection(vt+vt+vt+vt,"before"),Se.execCommand("goCharRight"))})}function ge(Se,Ne){var ke=Se.getRange(Ce(Ne.line,Ne.ch-1),Ce(Ne.line,Ne.ch+1));return ke.length==2?ke:null}function we(Se,Ne){var ke=Se.getTokenAt(Ce(Ne.line,Ne.ch+1));return/\bstring/.test(ke.type)&&ke.start==Ne.ch&&(Ne.ch==0||!/\bstring/.test(Se.getTokenTypeAt(Ne)))}})},6313:function(tn,kt,te){(function(ee){ee(te(89780),te(32855))})(function(ee){ee.defineOption("autoCloseTags",!1,function(Fe,He,rt){if(rt!=ee.Init&&rt&&Fe.removeKeyMap("autoCloseTags"),!!He){var Ae={name:"autoCloseTags"};(typeof He!="object"||He.whenClosing!==!1)&&(Ae["'/'"]=function(ge){return Ee(ge)}),(typeof He!="object"||He.whenOpening!==!1)&&(Ae["'>'"]=function(ge){return We(ge)}),Fe.addKeyMap(Ae)}});var de=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Ce=["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 We(Fe){if(Fe.getOption("disableInput"))return ee.Pass;for(var He=Fe.listSelections(),rt=[],Ae=Fe.getOption("autoCloseTags"),ge=0;ge<He.length;ge++){if(!He[ge].empty())return ee.Pass;var we=He[ge].head,Se=Fe.getTokenAt(we),Ne=ee.innerMode(Fe.getMode(),Se.state),ke=Ne.state,Ye=Ne.mode.xmlCurrentTag&&Ne.mode.xmlCurrentTag(ke),et=Ye&&Ye.name;if(!et)return ee.Pass;var Ke=Ne.mode.configuration=="html",Oe=typeof Ae=="object"&&Ae.dontCloseTags||Ke&&de,_e=typeof Ae=="object"&&Ae.indentTags||Ke&&Ce;Se.end>we.ch&&(et=et.slice(0,et.length-Se.end+we.ch));var me=et.toLowerCase();if(!et||Se.type=="string"&&(Se.end!=we.ch||!/[\"\']/.test(Se.string.charAt(Se.string.length-1))||Se.string.length==1)||Se.type=="tag"&&Ye.close||Se.string.indexOf("/")==we.ch-Se.start-1||Oe&&fe(Oe,me)>-1||be(Fe,Ne.mode.xmlCurrentContext&&Ne.mode.xmlCurrentContext(ke)||[],et,we,!0))return ee.Pass;var Re=typeof Ae=="object"&&Ae.emptyTags;if(Re&&fe(Re,et)>-1){rt[ge]={text:"/>",newPos:ee.Pos(we.line,we.ch+2)};continue}var Le=_e&&fe(_e,me)>-1;rt[ge]={indent:Le,text:">"+(Le?`
|
|
|
|
|
|
`:"")+"</"+et+">",newPos:Le?ee.Pos(we.line+1,0):ee.Pos(we.line,we.ch+1)}}for(var Pe=typeof Ae=="object"&&Ae.dontIndentOnAutoClose,ge=He.length-1;ge>=0;ge--){var De=rt[ge];Fe.replaceRange(De.text,He[ge].head,He[ge].anchor,"+insert");var ze=Fe.listSelections().slice(0);ze[ge]={head:De.newPos,anchor:De.newPos},Fe.setSelections(ze),!Pe&&De.indent&&(Fe.indentLine(De.newPos.line,null,!0),Fe.indentLine(De.newPos.line+1,null,!0))}}function xe(Fe,He){for(var rt=Fe.listSelections(),Ae=[],ge=He?"/":"</",we=Fe.getOption("autoCloseTags"),Se=typeof we=="object"&&we.dontIndentOnSlash,Ne=0;Ne<rt.length;Ne++){if(!rt[Ne].empty())return ee.Pass;var ke=rt[Ne].head,Ye=Fe.getTokenAt(ke),et=ee.innerMode(Fe.getMode(),Ye.state),Ke=et.state;if(He&&(Ye.type=="string"||Ye.string.charAt(0)!="<"||Ye.start!=ke.ch-1))return ee.Pass;var Oe,_e=et.mode.name!="xml"&&Fe.getMode().name=="htmlmixed";if(_e&&et.mode.name=="javascript")Oe=ge+"script";else if(_e&&et.mode.name=="css")Oe=ge+"style";else{var me=et.mode.xmlCurrentContext&&et.mode.xmlCurrentContext(Ke);if(!me||me.length&&be(Fe,me,me[me.length-1],ke))return ee.Pass;Oe=ge+me[me.length-1]}Fe.getLine(ke.line).charAt(Ye.end)!=">"&&(Oe+=">"),Ae[Ne]=Oe}if(Fe.replaceSelections(Ae),rt=Fe.listSelections(),!Se)for(var Ne=0;Ne<rt.length;Ne++)(Ne==rt.length-1||rt[Ne].head.line<rt[Ne+1].head.line)&&Fe.indentLine(rt[Ne].head.line)}function Ee(Fe){return Fe.getOption("disableInput")?ee.Pass:xe(Fe,!0)}ee.commands.closeTag=function(Fe){return xe(Fe)};function fe(Fe,He){if(Fe.indexOf)return Fe.indexOf(He);for(var rt=0,Ae=Fe.length;rt<Ae;++rt)if(Fe[rt]==He)return rt;return-1}function be(Fe,He,rt,Ae,ge){if(!ee.scanForClosingTag)return!1;var we=Math.min(Fe.lastLine()+1,Ae.line+500),Se=ee.scanForClosingTag(Fe,Ae,null,we);if(!Se||Se.tag!=rt)return!1;for(var Ne=ge?1:0,ke=He.length-1;ke>=0&&He[ke]==rt;ke--)++Ne;Ae=Se.to;for(var ke=1;ke<Ne;ke++){var Ye=ee.scanForClosingTag(Fe,Ae,null,we);if(!Ye||Ye.tag!=rt)return!1;Ae=Ye.to}return!0}})},32855:function(tn,kt,te){(function(ee){ee(te(89780))})(function(ee){"use strict";var de=ee.Pos;function Ce(ke,Ye){return ke.line-Ye.line||ke.ch-Ye.ch}var We="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",xe=We+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ee=new RegExp("<(/?)(["+We+"]["+xe+"]*)","g");function fe(ke,Ye,et,Ke){this.line=Ye,this.ch=et,this.cm=ke,this.text=ke.getLine(Ye),this.min=Ke?Math.max(Ke.from,ke.firstLine()):ke.firstLine(),this.max=Ke?Math.min(Ke.to-1,ke.lastLine()):ke.lastLine()}function be(ke,Ye){var et=ke.cm.getTokenTypeAt(de(ke.line,Ye));return et&&/\btag\b/.test(et)}function Fe(ke){if(!(ke.line>=ke.max))return ke.ch=0,ke.text=ke.cm.getLine(++ke.line),!0}function He(ke){if(!(ke.line<=ke.min))return ke.text=ke.cm.getLine(--ke.line),ke.ch=ke.text.length,!0}function rt(ke){for(;;){var Ye=ke.text.indexOf(">",ke.ch);if(Ye==-1){if(Fe(ke))continue;return}if(!be(ke,Ye+1)){ke.ch=Ye+1;continue}var et=ke.text.lastIndexOf("/",Ye),Ke=et>-1&&!/\S/.test(ke.text.slice(et+1,Ye));return ke.ch=Ye+1,Ke?"selfClose":"regular"}}function Ae(ke){for(;;){var Ye=ke.ch?ke.text.lastIndexOf("<",ke.ch-1):-1;if(Ye==-1){if(He(ke))continue;return}if(!be(ke,Ye+1)){ke.ch=Ye;continue}Ee.lastIndex=Ye,ke.ch=Ye;var et=Ee.exec(ke.text);if(et&&et.index==Ye)return et}}function ge(ke){for(;;){Ee.lastIndex=ke.ch;var Ye=Ee.exec(ke.text);if(!Ye){if(Fe(ke))continue;return}if(!be(ke,Ye.index+1)){ke.ch=Ye.index+1;continue}return ke.ch=Ye.index+Ye[0].length,Ye}}function we(ke){for(;;){var Ye=ke.ch?ke.text.lastIndexOf(">",ke.ch-1):-1;if(Ye==-1){if(He(ke))continue;return}if(!be(ke,Ye+1)){ke.ch=Ye;continue}var et=ke.text.lastIndexOf("/",Ye),Ke=et>-1&&!/\S/.test(ke.text.slice(et+1,Ye));return ke.ch=Ye+1,Ke?"selfClose":"regular"}}function Se(ke,Ye){for(var et=[];;){var Ke=ge(ke),Oe,_e=ke.line,me=ke.ch-(Ke?Ke[0].length:0);if(!Ke||!(Oe=rt(ke)))return;if(Oe!="selfClose")if(Ke[1]){for(var Re=et.length-1;Re>=0;--Re)if(et[Re]==Ke[2]){et.length=Re;break}if(Re<0&&(!Ye||Ye==Ke[2]))return{tag:Ke[2],from:de(_e,me),to:de(ke.line,ke.ch)}}else et.push(Ke[2])}}function Ne(ke,Ye){for(var et=[];;){var Ke=we(ke);if(!Ke)return;if(Ke=="selfClose"){Ae(ke);continue}var Oe=ke.line,_e=ke.ch,me=Ae(ke);if(!me)return;if(me[1])et.push(me[2]);else{for(var Re=et.length-1;Re>=0;--Re)if(et[Re]==me[2]){et.length=Re;break}if(Re<0&&(!Ye||Ye==me[2]))return{tag:me[2],from:de(ke.line,ke.ch),to:de(Oe,_e)}}}}ee.registerHelper("fold","xml",function(ke,Ye){for(var et=new fe(ke,Ye.line,0);;){var Ke=ge(et);if(!Ke||et.line!=Ye.line)return;var Oe=rt(et);if(!Oe)return;if(!Ke[1]&&Oe!="selfClose"){var _e=de(et.line,et.ch),me=Se(et,Ke[2]);return me&&Ce(me.from,_e)>0?{from:_e,to:me.from}:null}}}),ee.findMatchingTag=function(ke,Ye,et){var Ke=new fe(ke,Ye.line,Ye.ch,et);if(!(Ke.text.indexOf(">")==-1&&Ke.text.indexOf("<")==-1)){var Oe=rt(Ke),_e=Oe&&de(Ke.line,Ke.ch),me=Oe&&Ae(Ke);if(!(!Oe||!me||Ce(Ke,Ye)>0)){var Re={from:de(Ke.line,Ke.ch),to:_e,tag:me[2]};return Oe=="selfClose"?{open:Re,close:null,at:"open"}:me[1]?{open:Ne(Ke,me[2]),close:Re,at:"close"}:(Ke=new fe(ke,_e.line,_e.ch,et),{open:Re,close:Se(Ke,me[2]),at:"open"})}}},ee.findEnclosingTag=function(ke,Ye,et,Ke){for(var Oe=new fe(ke,Ye.line,Ye.ch,et);;){var _e=Ne(Oe,Ke);if(!_e)break;var me=new fe(ke,Ye.line,Ye.ch,et),Re=Se(me,_e.tag);if(Re)return{open:_e,close:Re}}},ee.scanForClosingTag=function(ke,Ye,et,Ke){var Oe=new fe(ke,Ye.line,Ye.ch,Ke?{from:0,to:Ke}:null);return Se(Oe,et)}})},89780:function(tn){(function(kt,te){tn.exports=te()})(this,function(){"use strict";var kt=navigator.userAgent,te=navigator.platform,ee=/gecko\/\d/i.test(kt),de=/MSIE \d/.test(kt),Ce=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(kt),We=/Edge\/(\d+)/.exec(kt),xe=de||Ce||We,Ee=xe&&(de?document.documentMode||6:+(We||Ce)[1]),fe=!We&&/WebKit\//.test(kt),be=fe&&/Qt\/\d+\.\d+/.test(kt),Fe=!We&&/Chrome\//.test(kt),He=/Opera\//.test(kt),rt=/Apple Computer/.test(navigator.vendor),Ae=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(kt),ge=/PhantomJS/.test(kt),we=!We&&/AppleWebKit/.test(kt)&&/Mobile\/\w+/.test(kt),Se=/Android/.test(kt),Ne=we||Se||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(kt),ke=we||/Mac/.test(te),Ye=/\bCrOS\b/.test(kt),et=/win/i.test(te),Ke=He&&kt.match(/Version\/(\d*\.\d*)/);Ke&&(Ke=Number(Ke[1])),Ke&&Ke>=15&&(He=!1,fe=!0);var Oe=ke&&(be||He&&(Ke==null||Ke<12.11)),_e=ee||xe&&Ee>=9;function me(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var Re=function(x,E){var ie=x.className,re=me(E).exec(ie);if(re){var oe=ie.slice(re.index+re[0].length);x.className=ie.slice(0,re.index)+(oe?re[1]+oe:"")}};function Le(x){for(var E=x.childNodes.length;E>0;--E)x.removeChild(x.firstChild);return x}function Pe(x,E){return Le(x).appendChild(E)}function De(x,E,ie,re){var oe=document.createElement(x);if(ie&&(oe.className=ie),re&&(oe.style.cssText=re),typeof E=="string")oe.appendChild(document.createTextNode(E));else if(E)for(var pe=0;pe<E.length;++pe)oe.appendChild(E[pe]);return oe}function ze(x,E,ie,re){var oe=De(x,E,ie,re);return oe.setAttribute("role","presentation"),oe}var Te;document.createRange?Te=function(x,E,ie,re){var oe=document.createRange();return oe.setEnd(re||x,ie),oe.setStart(x,E),oe}:Te=function(x,E,ie){var re=document.body.createTextRange();try{re.moveToElementText(x.parentNode)}catch(oe){return re}return re.collapse(!0),re.moveEnd("character",ie),re.moveStart("character",E),re};function xt(x,E){if(E.nodeType==3&&(E=E.parentNode),x.contains)return x.contains(E);do if(E.nodeType==11&&(E=E.host),E==x)return!0;while(E=E.parentNode)}function Ze(){var x;try{x=document.activeElement}catch(E){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function vt(x,E){var ie=x.className;me(E).test(ie)||(x.className+=(ie?" ":"")+E)}function ot(x,E){for(var ie=x.split(" "),re=0;re<ie.length;re++)ie[re]&&!me(ie[re]).test(E)&&(E+=" "+ie[re]);return E}var mt=function(x){x.select()};we?mt=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:xe&&(mt=function(x){try{x.select()}catch(E){}});function Lt(x){var E=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,E)}}function It(x,E,ie){E||(E={});for(var re in x)x.hasOwnProperty(re)&&(ie!==!1||!E.hasOwnProperty(re))&&(E[re]=x[re]);return E}function Qe(x,E,ie,re,oe){E==null&&(E=x.search(/[^\s\u00a0]/),E==-1&&(E=x.length));for(var pe=re||0,je=oe||0;;){var nt=x.indexOf(" ",pe);if(nt<0||nt>=E)return je+(E-pe);je+=nt-pe,je+=ie-je%ie,pe=nt+1}}var Me=function(){this.id=null,this.f=null,this.time=0,this.handler=Lt(this.onTimeout,this)};Me.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Me.prototype.set=function(x,E){this.f=E;var ie=+new Date+x;(!this.id||ie<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ie)};function st(x,E){for(var ie=0;ie<x.length;++ie)if(x[ie]==E)return ie;return-1}var zt=50,ut={toString:function(){return"CodeMirror.Pass"}},tt={scroll:!1},at={origin:"*mouse"},Nt={origin:"+move"};function on(x,E,ie){for(var re=0,oe=0;;){var pe=x.indexOf(" ",re);pe==-1&&(pe=x.length);var je=pe-re;if(pe==x.length||oe+je>=E)return re+Math.min(je,E-oe);if(oe+=pe-re,oe+=ie-oe%ie,re=pe+1,oe>=E)return re}}var Ht=[""];function Fn(x){for(;Ht.length<=x;)Ht.push(Qt(Ht)+" ");return Ht[x]}function Qt(x){return x[x.length-1]}function Ut(x,E){for(var ie=[],re=0;re<x.length;re++)ie[re]=E(x[re],re);return ie}function Wt(x,E,ie){for(var re=0,oe=ie(E);re<x.length&&ie(x[re])<=oe;)re++;x.splice(re,0,E)}function Ie(){}function he(x,E){var ie;return Object.create?ie=Object.create(x):(Ie.prototype=x,ie=new Ie),E&&It(E,ie),ie}var ue=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ve(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||ue.test(x))}function ye(x,E){return E?E.source.indexOf("\\w")>-1&&ve(x)?!0:E.test(x):ve(x)}function se(x){for(var E in x)if(x.hasOwnProperty(E)&&x[E])return!1;return!0}var $e=/[\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 wt(x){return x.charCodeAt(0)>=768&&$e.test(x)}function lt(x,E,ie){for(;(ie<0?E>0:E<x.length)&&wt(x.charAt(E));)E+=ie;return E}function Je(x,E,ie){for(var re=E>ie?-1:1;;){if(E==ie)return E;var oe=(E+ie)/2,pe=re<0?Math.ceil(oe):Math.floor(oe);if(pe==E)return x(pe)?E:ie;x(pe)?ie=pe:E=pe+re}}function Pt(x,E,ie,re){if(!x)return re(E,ie,"ltr",0);for(var oe=!1,pe=0;pe<x.length;++pe){var je=x[pe];(je.from<ie&&je.to>E||E==ie&&je.to==E)&&(re(Math.max(je.from,E),Math.min(je.to,ie),je.level==1?"rtl":"ltr",pe),oe=!0)}oe||re(E,ie,"ltr")}var Dt=null;function yt(x,E,ie){var re;Dt=null;for(var oe=0;oe<x.length;++oe){var pe=x[oe];if(pe.from<E&&pe.to>E)return oe;pe.to==E&&(pe.from!=pe.to&&ie=="before"?re=oe:Dt=oe),pe.from==E&&(pe.from!=pe.to&&ie!="before"?re=oe:Dt=oe)}return re!=null?re:Dt}var jt=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",E="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ie(St){return St<=247?x.charAt(St):1424<=St&&St<=1524?"R":1536<=St&&St<=1785?E.charAt(St-1536):1774<=St&&St<=2220?"r":8192<=St&&St<=8203?"w":St==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,pe=/[LRr]/,je=/[Lb1n]/,nt=/[1n]/;function dt(St,Kt,rn){this.level=St,this.from=Kt,this.to=rn}return function(St,Kt){var rn=Kt=="ltr"?"L":"R";if(St.length==0||Kt=="ltr"&&!re.test(St))return!1;for(var fn=St.length,Rt=[],Br=0;Br<fn;++Br)Rt.push(ie(St.charCodeAt(Br)));for(var vr=0,Jn=rn;vr<fn;++vr){var Vr=Rt[vr];Vr=="m"?Rt[vr]=Jn:Jn=Vr}for(var Ei=0,Dn=rn;Ei<fn;++Ei){var hr=Rt[Ei];hr=="1"&&Dn=="r"?Rt[Ei]="n":pe.test(hr)&&(Dn=hr,hr=="r"&&(Rt[Ei]="R"))}for(var ii=1,qr=Rt[0];ii<fn-1;++ii){var Nn=Rt[ii];Nn=="+"&&qr=="1"&&Rt[ii+1]=="1"?Rt[ii]="1":Nn==","&&qr==Rt[ii+1]&&(qr=="1"||qr=="n")&&(Rt[ii]=qr),qr=Nn}for(var ba=0;ba<fn;++ba){var Wo=Rt[ba];if(Wo==",")Rt[ba]="N";else if(Wo=="%"){var Oo=void 0;for(Oo=ba+1;Oo<fn&&Rt[Oo]=="%";++Oo);for(var So=ba&&Rt[ba-1]=="!"||Oo<fn&&Rt[Oo]=="1"?"1":"N",pl=ba;pl<Oo;++pl)Rt[pl]=So;ba=Oo-1}}for(var ho=0,Vn=rn;ho<fn;++ho){var yn=Rt[ho];Vn=="L"&&yn=="1"?Rt[ho]="L":pe.test(yn)&&(Vn=yn)}for(var ar=0;ar<fn;++ar)if(oe.test(Rt[ar])){var kn=void 0;for(kn=ar+1;kn<fn&&oe.test(Rt[kn]);++kn);for(var Fi=(ar?Rt[ar-1]:rn)=="L",ja=(kn<fn?Rt[kn]:rn)=="L",rl=Fi==ja?Fi?"L":"R":rn,el=ar;el<kn;++el)Rt[el]=rl;ar=kn-1}for(var Ra=[],zo,vs=0;vs<fn;)if(je.test(Rt[vs])){var xu=vs;for(++vs;vs<fn&&je.test(Rt[vs]);++vs);Ra.push(new dt(0,xu,vs))}else{var Eu=vs,pu=Ra.length,Bu=Kt=="rtl"?1:0;for(++vs;vs<fn&&Rt[vs]!="L";++vs);for(var hs=Eu;hs<vs;)if(nt.test(Rt[hs])){Eu<hs&&(Ra.splice(pu,0,new dt(1,Eu,hs)),pu+=Bu);var er=hs;for(++hs;hs<vs&&nt.test(Rt[hs]);++hs);Ra.splice(pu,0,new dt(2,er,hs)),pu+=Bu,Eu=hs}else++hs;Eu<vs&&Ra.splice(pu,0,new dt(1,Eu,vs))}return Kt=="ltr"&&(Ra[0].level==1&&(zo=St.match(/^\s+/))&&(Ra[0].from=zo[0].length,Ra.unshift(new dt(0,0,zo[0].length))),Qt(Ra).level==1&&(zo=St.match(/\s+$/))&&(Qt(Ra).to-=zo[0].length,Ra.push(new dt(0,fn-zo[0].length,fn)))),Kt=="rtl"?Ra.reverse():Ra}}();function En(x,E){var ie=x.order;return ie==null&&(ie=x.order=jt(x.text,E)),ie}var _t=[],Yt=function(x,E,ie){if(x.addEventListener)x.addEventListener(E,ie,!1);else if(x.attachEvent)x.attachEvent("on"+E,ie);else{var re=x._handlers||(x._handlers={});re[E]=(re[E]||_t).concat(ie)}};function wn(x,E){return x._handlers&&x._handlers[E]||_t}function Ft(x,E,ie){if(x.removeEventListener)x.removeEventListener(E,ie,!1);else if(x.detachEvent)x.detachEvent("on"+E,ie);else{var re=x._handlers,oe=re&&re[E];if(oe){var pe=st(oe,ie);pe>-1&&(re[E]=oe.slice(0,pe).concat(oe.slice(pe+1)))}}}function it(x,E){var ie=wn(x,E);if(ie.length)for(var re=Array.prototype.slice.call(arguments,2),oe=0;oe<ie.length;++oe)ie[oe].apply(null,re)}function Et(x,E,ie){return typeof E=="string"&&(E={type:E,preventDefault:function(){this.defaultPrevented=!0}}),it(x,ie||E.type,x,E),ir(E)||E.codemirrorIgnore}function an(x){var E=x._handlers&&x._handlers.cursorActivity;if(E)for(var ie=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),re=0;re<E.length;++re)st(ie,E[re])==-1&&ie.push(E[re])}function un(x,E){return wn(x,E).length>0}function vn(x){x.prototype.on=function(E,ie){Yt(this,E,ie)},x.prototype.off=function(E,ie){Ft(this,E,ie)}}function gn(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Xn(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function ir(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function Dr(x){gn(x),Xn(x)}function kr(x){return x.target||x.srcElement}function Bn(x){var E=x.which;return E==null&&(x.button&1?E=1:x.button&2?E=3:x.button&4&&(E=2)),ke&&x.ctrlKey&&E==1&&(E=3),E}var jr=function(){if(xe&&Ee<9)return!1;var x=De("div");return"draggable"in x||"dragDrop"in x}(),ci;function _r(x){if(ci==null){var E=De("span","\u200B");Pe(x,De("span",[E,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(ci=E.offsetWidth<=1&&E.offsetHeight>2&&!(xe&&Ee<8))}var ie=ci?De("span","\u200B"):De("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ie.setAttribute("cm-text",""),ie}var Nr;function ai(x){if(Nr!=null)return Nr;var E=Pe(x,document.createTextNode("A\u062EA")),ie=Te(E,0,1).getBoundingClientRect(),re=Te(E,1,2).getBoundingClientRect();return Le(x),!ie||ie.left==ie.right?!1:Nr=re.right-ie.right<3}var pi=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(x){for(var E=0,ie=[],re=x.length;E<=re;){var oe=x.indexOf(`
|
|
|
`,E);oe==-1&&(oe=x.length);var pe=x.slice(E,x.charAt(oe-1)=="\r"?oe-1:oe),je=pe.indexOf("\r");je!=-1?(ie.push(pe.slice(0,je)),E+=je+1):(ie.push(pe),E=oe+1)}return ie}:function(x){return x.split(/\r\n?|\n/)},Mn=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(E){return!1}}:function(x){var E;try{E=x.ownerDocument.selection.createRange()}catch(ie){}return!E||E.parentElement()!=x?!1:E.compareEndPoints("StartToEnd",E)!=0},pr=function(){var x=De("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),Rr=null;function Gr(x){if(Rr!=null)return Rr;var E=Pe(x,De("span","x")),ie=E.getBoundingClientRect(),re=Te(E,0,1).getBoundingClientRect();return Rr=Math.abs(ie.left-re.left)>1}var zr={},ei={};function Hr(x,E){arguments.length>2&&(E.dependencies=Array.prototype.slice.call(arguments,2)),zr[x]=E}function fi(x,E){ei[x]=E}function Pr(x){if(typeof x=="string"&&ei.hasOwnProperty(x))x=ei[x];else if(x&&typeof x.name=="string"&&ei.hasOwnProperty(x.name)){var E=ei[x.name];typeof E=="string"&&(E={name:E}),x=he(E,x),x.name=E.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return Pr("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return Pr("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function dr(x,E){E=Pr(E);var ie=zr[E.name];if(!ie)return dr(x,"text/plain");var re=ie(x,E);if(oi.hasOwnProperty(E.name)){var oe=oi[E.name];for(var pe in oe)oe.hasOwnProperty(pe)&&(re.hasOwnProperty(pe)&&(re["_"+pe]=re[pe]),re[pe]=oe[pe])}if(re.name=E.name,E.helperType&&(re.helperType=E.helperType),E.modeProps)for(var je in E.modeProps)re[je]=E.modeProps[je];return re}var oi={};function $t(x,E){var ie=oi.hasOwnProperty(x)?oi[x]:oi[x]={};It(E,ie)}function pt(x,E){if(E===!0)return E;if(x.copyState)return x.copyState(E);var ie={};for(var re in E){var oe=E[re];oe instanceof Array&&(oe=oe.concat([])),ie[re]=oe}return ie}function Bt(x,E){for(var ie;x.innerMode&&(ie=x.innerMode(E),!(!ie||ie.mode==x));)E=ie.state,x=ie.mode;return ie||{mode:x,state:E}}function At(x,E,ie){return x.startState?x.startState(E,ie):!0}var Ct=function(x,E,ie){this.pos=this.start=0,this.string=x,this.tabSize=E||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ie};Ct.prototype.eol=function(){return this.pos>=this.string.length},Ct.prototype.sol=function(){return this.pos==this.lineStart},Ct.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ct.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ct.prototype.eat=function(x){var E=this.string.charAt(this.pos),ie;if(typeof x=="string"?ie=E==x:ie=E&&(x.test?x.test(E):x(E)),ie)return++this.pos,E},Ct.prototype.eatWhile=function(x){for(var E=this.pos;this.eat(x););return this.pos>E},Ct.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Ct.prototype.skipToEnd=function(){this.pos=this.string.length},Ct.prototype.skipTo=function(x){var E=this.string.indexOf(x,this.pos);if(E>-1)return this.pos=E,!0},Ct.prototype.backUp=function(x){this.pos-=x},Ct.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Qe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Qe(this.string,this.lineStart,this.tabSize):0)},Ct.prototype.indentation=function(){return Qe(this.string,null,this.tabSize)-(this.lineStart?Qe(this.string,this.lineStart,this.tabSize):0)},Ct.prototype.match=function(x,E,ie){if(typeof x=="string"){var re=function(je){return ie?je.toLowerCase():je},oe=this.string.substr(this.pos,x.length);if(re(oe)==re(x))return E!==!1&&(this.pos+=x.length),!0}else{var pe=this.string.slice(this.pos).match(x);return pe&&pe.index>0?null:(pe&&E!==!1&&(this.pos+=pe[0].length),pe)}},Ct.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ct.prototype.hideFirstChars=function(x,E){this.lineStart+=x;try{return E()}finally{this.lineStart-=x}},Ct.prototype.lookAhead=function(x){var E=this.lineOracle;return E&&E.lookAhead(x)},Ct.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function Gt(x,E){if(E-=x.first,E<0||E>=x.size)throw new Error("There is no line "+(E+x.first)+" in the document.");for(var ie=x;!ie.lines;)for(var re=0;;++re){var oe=ie.children[re],pe=oe.chunkSize();if(E<pe){ie=oe;break}E-=pe}return ie.lines[E]}function nn(x,E,ie){var re=[],oe=E.line;return x.iter(E.line,ie.line+1,function(pe){var je=pe.text;oe==ie.line&&(je=je.slice(0,ie.ch)),oe==E.line&&(je=je.slice(E.ch)),re.push(je),++oe}),re}function _n(x,E,ie){var re=[];return x.iter(E,ie,function(oe){re.push(oe.text)}),re}function Pn(x,E){var ie=E-x.height;if(ie)for(var re=x;re;re=re.parent)re.height+=ie}function Sn(x){if(x.parent==null)return null;for(var E=x.parent,ie=st(E.lines,x),re=E.parent;re;E=re,re=re.parent)for(var oe=0;re.children[oe]!=E;++oe)ie+=re.children[oe].chunkSize();return ie+E.first}function rr(x,E){var ie=x.first;e:do{for(var re=0;re<x.children.length;++re){var oe=x.children[re],pe=oe.height;if(E<pe){x=oe;continue e}E-=pe,ie+=oe.chunkSize()}return ie}while(!x.lines);for(var je=0;je<x.lines.length;++je){var nt=x.lines[je],dt=nt.height;if(E<dt)break;E-=dt}return ie+je}function gr(x,E){return E>=x.first&&E<x.first+x.size}function Cr(x,E){return String(x.lineNumberFormatter(E+x.firstLineNumber))}function bn(x,E,ie){if(ie===void 0&&(ie=null),!(this instanceof bn))return new bn(x,E,ie);this.line=x,this.ch=E,this.sticky=ie}function $n(x,E){return x.line-E.line||x.ch-E.ch}function Jt(x,E){return x.sticky==E.sticky&&$n(x,E)==0}function pn(x){return bn(x.line,x.ch)}function An(x,E){return $n(x,E)<0?E:x}function dn(x,E){return $n(x,E)<0?x:E}function Hn(x,E){return Math.max(x.first,Math.min(E,x.first+x.size-1))}function ln(x,E){if(E.line<x.first)return bn(x.first,0);var ie=x.first+x.size-1;return E.line>ie?bn(ie,Gt(x,ie).text.length):jn(E,Gt(x,E.line).text.length)}function jn(x,E){var ie=x.ch;return ie==null||ie>E?bn(x.line,E):ie<0?bn(x.line,0):x}function Mt(x,E){for(var ie=[],re=0;re<E.length;re++)ie[re]=ln(x,E[re]);return ie}var cn=function(x,E){this.state=x,this.lookAhead=E},hn=function(x,E,ie,re){this.state=E,this.doc=x,this.line=ie,this.maxLookAhead=re||0,this.baseTokens=null,this.baseTokenPos=1};hn.prototype.lookAhead=function(x){var E=this.doc.getLine(this.line+x);return E!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),E},hn.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var E=this.baseTokens[this.baseTokenPos+1];return{type:E&&E.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},hn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},hn.fromSaved=function(x,E,ie){return E instanceof cn?new hn(x,pt(x.mode,E.state),ie,E.lookAhead):new hn(x,pt(x.mode,E),ie)},hn.prototype.save=function(x){var E=x!==!1?pt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new cn(E,this.maxLookAhead):E};function In(x,E,ie,re){var oe=[x.state.modeGen],pe={};si(x,E.text,x.doc.mode,ie,function(St,Kt){return oe.push(St,Kt)},pe,re);for(var je=ie.state,nt=function(St){ie.baseTokens=oe;var Kt=x.state.overlays[St],rn=1,fn=0;ie.state=!0,si(x,E.text,Kt.mode,ie,function(Rt,Br){for(var vr=rn;fn<Rt;){var Jn=oe[rn];Jn>Rt&&oe.splice(rn,1,Rt,oe[rn+1],Jn),rn+=2,fn=Math.min(Rt,Jn)}if(Br)if(Kt.opaque)oe.splice(vr,rn-vr,Rt,"overlay "+Br),rn=vr+2;else for(;vr<rn;vr+=2){var Vr=oe[vr+1];oe[vr+1]=(Vr?Vr+" ":"")+"overlay "+Br}},pe),ie.state=je,ie.baseTokens=null,ie.baseTokenPos=1},dt=0;dt<x.state.overlays.length;++dt)nt(dt);return{styles:oe,classes:pe.bgClass||pe.textClass?pe:null}}function Ln(x,E,ie){if(!E.styles||E.styles[0]!=x.state.modeGen){var re=Un(x,Sn(E)),oe=E.text.length>x.options.maxHighlightLength&&pt(x.doc.mode,re.state),pe=In(x,E,re);oe&&(re.state=oe),E.stateAfter=re.save(!oe),E.styles=pe.styles,pe.classes?E.styleClasses=pe.classes:E.styleClasses&&(E.styleClasses=null),ie===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return E.styles}function Un(x,E,ie){var re=x.doc,oe=x.display;if(!re.mode.startState)return new hn(re,!0,E);var pe=wi(x,E,ie),je=pe>re.first&&Gt(re,pe-1).stateAfter,nt=je?hn.fromSaved(re,je,pe):new hn(re,At(re.mode),pe);return re.iter(pe,E,function(dt){Gn(x,dt.text,nt);var St=nt.line;dt.stateAfter=St==E-1||St%5==0||St>=oe.viewFrom&&St<oe.viewTo?nt.save():null,nt.nextLine()}),ie&&(re.modeFrontier=nt.line),nt}function Gn(x,E,ie,re){var oe=x.doc.mode,pe=new Ct(E,x.options.tabSize,ie);for(pe.start=pe.pos=re||0,E==""&&cr(oe,ie.state);!pe.eol();)Sr(oe,pe,ie.state),pe.start=pe.pos}function cr(x,E){if(x.blankLine)return x.blankLine(E);if(x.innerMode){var ie=Bt(x,E);if(ie.mode.blankLine)return ie.mode.blankLine(ie.state)}}function Sr(x,E,ie,re){for(var oe=0;oe<10;oe++){re&&(re[0]=Bt(x,ie).mode);var pe=x.token(E,ie);if(E.pos>E.start)return pe}throw new Error("Mode "+x.name+" failed to advance stream.")}var Wr=function(x,E,ie){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=E||null,this.state=ie};function gi(x,E,ie,re){var oe=x.doc,pe=oe.mode,je;E=ln(oe,E);var nt=Gt(oe,E.line),dt=Un(x,E.line,ie),St=new Ct(nt.text,x.options.tabSize,dt),Kt;for(re&&(Kt=[]);(re||St.pos<E.ch)&&!St.eol();)St.start=St.pos,je=Sr(pe,St,dt.state),re&&Kt.push(new Wr(St,je,pt(oe.mode,dt.state)));return re?Kt:new Wr(St,je,dt.state)}function ki(x,E){if(x)for(;;){var ie=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ie)break;x=x.slice(0,ie.index)+x.slice(ie.index+ie[0].length);var re=ie[1]?"bgClass":"textClass";E[re]==null?E[re]=ie[2]:new RegExp("(?:^|\\s)"+ie[2]+"(?:$|\\s)").test(E[re])||(E[re]+=" "+ie[2])}return x}function si(x,E,ie,re,oe,pe,je){var nt=ie.flattenSpans;nt==null&&(nt=x.options.flattenSpans);var dt=0,St=null,Kt=new Ct(E,x.options.tabSize,re),rn,fn=x.options.addModeClass&&[null];for(E==""&&ki(cr(ie,re.state),pe);!Kt.eol();){if(Kt.pos>x.options.maxHighlightLength?(nt=!1,je&&Gn(x,E,re,Kt.pos),Kt.pos=E.length,rn=null):rn=ki(Sr(ie,Kt,re.state,fn),pe),fn){var Rt=fn[0].name;Rt&&(rn="m-"+(rn?Rt+" "+rn:Rt))}if(!nt||St!=rn){for(;dt<Kt.start;)dt=Math.min(Kt.start,dt+5e3),oe(dt,St);St=rn}Kt.start=Kt.pos}for(;dt<Kt.pos;){var Br=Math.min(Kt.pos,dt+5e3);oe(Br,St),dt=Br}}function wi(x,E,ie){for(var re,oe,pe=x.doc,je=ie?-1:E-(x.doc.mode.innerMode?1e3:100),nt=E;nt>je;--nt){if(nt<=pe.first)return pe.first;var dt=Gt(pe,nt-1),St=dt.stateAfter;if(St&&(!ie||nt+(St instanceof cn?St.lookAhead:0)<=pe.modeFrontier))return nt;var Kt=Qe(dt.text,null,x.options.tabSize);(oe==null||re>Kt)&&(oe=nt-1,re=Kt)}return oe}function Qr(x,E){if(x.modeFrontier=Math.min(x.modeFrontier,E),!(x.highlightFrontier<E-10)){for(var ie=x.first,re=E-1;re>ie;re--){var oe=Gt(x,re).stateAfter;if(oe&&(!(oe instanceof cn)||re+oe.lookAhead<E)){ie=re+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ie)}}var Gi=!1,Hi=!1;function $i(){Gi=!0}function Ai(){Hi=!0}function li(x,E,ie){this.marker=x,this.from=E,this.to=ie}function Qi(x,E){if(x)for(var ie=0;ie<x.length;++ie){var re=x[ie];if(re.marker==E)return re}}function Pi(x,E){for(var ie,re=0;re<x.length;++re)x[re]!=E&&(ie||(ie=[])).push(x[re]);return ie}function xa(x,E){x.markedSpans=x.markedSpans?x.markedSpans.concat([E]):[E],E.marker.attachLine(x)}function lo(x,E,ie){var re;if(x)for(var oe=0;oe<x.length;++oe){var pe=x[oe],je=pe.marker,nt=pe.from==null||(je.inclusiveLeft?pe.from<=E:pe.from<E);if(nt||pe.from==E&&je.type=="bookmark"&&(!ie||!pe.marker.insertLeft)){var dt=pe.to==null||(je.inclusiveRight?pe.to>=E:pe.to>E);(re||(re=[])).push(new li(je,pe.from,dt?null:pe.to))}}return re}function Vi(x,E,ie){var re;if(x)for(var oe=0;oe<x.length;++oe){var pe=x[oe],je=pe.marker,nt=pe.to==null||(je.inclusiveRight?pe.to>=E:pe.to>E);if(nt||pe.from==E&&je.type=="bookmark"&&(!ie||pe.marker.insertLeft)){var dt=pe.from==null||(je.inclusiveLeft?pe.from<=E:pe.from<E);(re||(re=[])).push(new li(je,dt?null:pe.from-E,pe.to==null?null:pe.to-E))}}return re}function Or(x,E){if(E.full)return null;var ie=gr(x,E.from.line)&&Gt(x,E.from.line).markedSpans,re=gr(x,E.to.line)&&Gt(x,E.to.line).markedSpans;if(!ie&&!re)return null;var oe=E.from.ch,pe=E.to.ch,je=$n(E.from,E.to)==0,nt=lo(ie,oe,je),dt=Vi(re,pe,je),St=E.text.length==1,Kt=Qt(E.text).length+(St?oe:0);if(nt)for(var rn=0;rn<nt.length;++rn){var fn=nt[rn];if(fn.to==null){var Rt=Qi(dt,fn.marker);Rt?St&&(fn.to=Rt.to==null?null:Rt.to+Kt):fn.to=oe}}if(dt)for(var Br=0;Br<dt.length;++Br){var vr=dt[Br];if(vr.to!=null&&(vr.to+=Kt),vr.from==null){var Jn=Qi(nt,vr.marker);Jn||(vr.from=Kt,St&&(nt||(nt=[])).push(vr))}else vr.from+=Kt,St&&(nt||(nt=[])).push(vr)}nt&&(nt=Lr(nt)),dt&&dt!=nt&&(dt=Lr(dt));var Vr=[nt];if(!St){var Ei=E.text.length-2,Dn;if(Ei>0&&nt)for(var hr=0;hr<nt.length;++hr)nt[hr].to==null&&(Dn||(Dn=[])).push(new li(nt[hr].marker,null,null));for(var ii=0;ii<Ei;++ii)Vr.push(Dn);Vr.push(dt)}return Vr}function Lr(x){for(var E=0;E<x.length;++E){var ie=x[E];ie.from!=null&&ie.from==ie.to&&ie.marker.clearWhenEmpty!==!1&&x.splice(E--,1)}return x.length?x:null}function ia(x,E,ie){var re=null;if(x.iter(E.line,ie.line+1,function(Rt){if(Rt.markedSpans)for(var Br=0;Br<Rt.markedSpans.length;++Br){var vr=Rt.markedSpans[Br].marker;vr.readOnly&&(!re||st(re,vr)==-1)&&(re||(re=[])).push(vr)}}),!re)return null;for(var oe=[{from:E,to:ie}],pe=0;pe<re.length;++pe)for(var je=re[pe],nt=je.find(0),dt=0;dt<oe.length;++dt){var St=oe[dt];if(!($n(St.to,nt.from)<0||$n(St.from,nt.to)>0)){var Kt=[dt,1],rn=$n(St.from,nt.from),fn=$n(St.to,nt.to);(rn<0||!je.inclusiveLeft&&!rn)&&Kt.push({from:St.from,to:nt.from}),(fn>0||!je.inclusiveRight&&!fn)&&Kt.push({from:nt.to,to:St.to}),oe.splice.apply(oe,Kt),dt+=Kt.length-3}}return oe}function Zi(x){var E=x.markedSpans;if(E){for(var ie=0;ie<E.length;++ie)E[ie].marker.detachLine(x);x.markedSpans=null}}function ma(x,E){if(E){for(var ie=0;ie<E.length;++ie)E[ie].marker.attachLine(x);x.markedSpans=E}}function pa(x){return x.inclusiveLeft?-1:0}function ha(x){return x.inclusiveRight?1:0}function qi(x,E){var ie=x.lines.length-E.lines.length;if(ie!=0)return ie;var re=x.find(),oe=E.find(),pe=$n(re.from,oe.from)||pa(x)-pa(E);if(pe)return-pe;var je=$n(re.to,oe.to)||ha(x)-ha(E);return je||E.id-x.id}function aa(x,E){var ie=Hi&&x.markedSpans,re;if(ie)for(var oe=void 0,pe=0;pe<ie.length;++pe)oe=ie[pe],oe.marker.collapsed&&(E?oe.from:oe.to)==null&&(!re||qi(re,oe.marker)<0)&&(re=oe.marker);return re}function Ao(x){return aa(x,!0)}function Di(x){return aa(x,!1)}function Ti(x,E){var ie=Hi&&x.markedSpans,re;if(ie)for(var oe=0;oe<ie.length;++oe){var pe=ie[oe];pe.marker.collapsed&&(pe.from==null||pe.from<E)&&(pe.to==null||pe.to>E)&&(!re||qi(re,pe.marker)<0)&&(re=pe.marker)}return re}function Ea(x,E,ie,re,oe){var pe=Gt(x,E),je=Hi&&pe.markedSpans;if(je)for(var nt=0;nt<je.length;++nt){var dt=je[nt];if(dt.marker.collapsed){var St=dt.marker.find(0),Kt=$n(St.from,ie)||pa(dt.marker)-pa(oe),rn=$n(St.to,re)||ha(dt.marker)-ha(oe);if(!(Kt>=0&&rn<=0||Kt<=0&&rn>=0)&&(Kt<=0&&(dt.marker.inclusiveRight&&oe.inclusiveLeft?$n(St.to,ie)>=0:$n(St.to,ie)>0)||Kt>=0&&(dt.marker.inclusiveRight&&oe.inclusiveLeft?$n(St.from,re)<=0:$n(St.from,re)<0)))return!0}}}function _a(x){for(var E;E=Ao(x);)x=E.find(-1,!0).line;return x}function jo(x){for(var E;E=Di(x);)x=E.find(1,!0).line;return x}function Zo(x){for(var E,ie;E=Di(x);)x=E.find(1,!0).line,(ie||(ie=[])).push(x);return ie}function ko(x,E){var ie=Gt(x,E),re=_a(ie);return ie==re?E:Sn(re)}function vo(x,E){if(E>x.lastLine())return E;var ie=Gt(x,E),re;if(!Ar(x,ie))return E;for(;re=Di(ie);)ie=re.find(1,!0).line;return Sn(ie)+1}function Ar(x,E){var ie=Hi&&E.markedSpans;if(ie){for(var re=void 0,oe=0;oe<ie.length;++oe)if(re=ie[oe],!!re.marker.collapsed){if(re.from==null)return!0;if(!re.marker.widgetNode&&re.from==0&&re.marker.inclusiveLeft&&il(x,E,re))return!0}}}function il(x,E,ie){if(ie.to==null){var re=ie.marker.find(1,!0);return il(x,re.line,Qi(re.line.markedSpans,ie.marker))}if(ie.marker.inclusiveRight&&ie.to==E.text.length)return!0;for(var oe=void 0,pe=0;pe<E.markedSpans.length;++pe)if(oe=E.markedSpans[pe],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==ie.to&&(oe.to==null||oe.to!=ie.from)&&(oe.marker.inclusiveLeft||ie.marker.inclusiveRight)&&il(x,E,oe))return!0}function _i(x){x=_a(x);for(var E=0,ie=x.parent,re=0;re<ie.lines.length;++re){var oe=ie.lines[re];if(oe==x)break;E+=oe.height}for(var pe=ie.parent;pe;ie=pe,pe=ie.parent)for(var je=0;je<pe.children.length;++je){var nt=pe.children[je];if(nt==ie)break;E+=nt.height}return E}function Li(x){if(x.height==0)return 0;for(var E=x.text.length,ie,re=x;ie=Ao(re);){var oe=ie.find(0,!0);re=oe.from.line,E+=oe.from.ch-oe.to.ch}for(re=x;ie=Di(re);){var pe=ie.find(0,!0);E-=re.text.length-pe.from.ch,re=pe.to.line,E+=re.text.length-pe.to.ch}return E}function Mi(x){var E=x.display,ie=x.doc;E.maxLine=Gt(ie,ie.first),E.maxLineLength=Li(E.maxLine),E.maxLineChanged=!0,ie.iter(function(re){var oe=Li(re);oe>E.maxLineLength&&(E.maxLineLength=oe,E.maxLine=re)})}var ea=function(x,E,ie){this.text=x,ma(this,E),this.height=ie?ie(this):1};ea.prototype.lineNo=function(){return Sn(this)},vn(ea);function mo(x,E,ie,re){x.text=E,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Zi(x),ma(x,ie);var oe=re?re(x):1;oe!=x.height&&Pn(x,oe)}function Vo(x){x.parent=null,Zi(x)}var qo={},Uo={};function Co(x,E){if(!x||/^\s*$/.test(x))return null;var ie=E.addModeClass?Uo:qo;return ie[x]||(ie[x]=x.replace(/\S+/g,"cm-$&"))}function ul(x,E){var ie=ze("span",null,null,fe?"padding-right: .1px":null),re={pre:ze("pre",[ie],"CodeMirror-line"),content:ie,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};E.measure={};for(var oe=0;oe<=(E.rest?E.rest.length:0);oe++){var pe=oe?E.rest[oe-1]:E.line,je=void 0;re.pos=0,re.addToken=Il,ai(x.display.measure)&&(je=En(pe,x.doc.direction))&&(re.addToken=Qa(re.addToken,je)),re.map=[];var nt=E!=x.display.externalMeasured&&Sn(pe);cl(pe,re,Ln(x,pe,nt)),pe.styleClasses&&(pe.styleClasses.bgClass&&(re.bgClass=ot(pe.styleClasses.bgClass,re.bgClass||"")),pe.styleClasses.textClass&&(re.textClass=ot(pe.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(_r(x.display.measure))),oe==0?(E.measure.map=re.map,E.measure.cache={}):((E.measure.maps||(E.measure.maps=[])).push(re.map),(E.measure.caches||(E.measure.caches=[])).push({}))}if(fe){var dt=re.content.lastChild;(/\bcm-tab\b/.test(dt.className)||dt.querySelector&&dt.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return it(x,"renderLine",x,E.line,re.pre),re.pre.className&&(re.textClass=ot(re.pre.className,re.textClass||"")),re}function Wl(x){var E=De("span","\u2022","cm-invalidchar");return E.title="\\u"+x.charCodeAt(0).toString(16),E.setAttribute("aria-label",E.title),E}function Il(x,E,ie,re,oe,pe,je){if(E){var nt=x.splitSpaces?ms(E,x.trailingSpace):E,dt=x.cm.state.specialChars,St=!1,Kt;if(!dt.test(E))x.col+=E.length,Kt=document.createTextNode(nt),x.map.push(x.pos,x.pos+E.length,Kt),xe&&Ee<9&&(St=!0),x.pos+=E.length;else{Kt=document.createDocumentFragment();for(var rn=0;;){dt.lastIndex=rn;var fn=dt.exec(E),Rt=fn?fn.index-rn:E.length-rn;if(Rt){var Br=document.createTextNode(nt.slice(rn,rn+Rt));xe&&Ee<9?Kt.appendChild(De("span",[Br])):Kt.appendChild(Br),x.map.push(x.pos,x.pos+Rt,Br),x.col+=Rt,x.pos+=Rt}if(!fn)break;rn+=Rt+1;var vr=void 0;if(fn[0]==" "){var Jn=x.cm.options.tabSize,Vr=Jn-x.col%Jn;vr=Kt.appendChild(De("span",Fn(Vr),"cm-tab")),vr.setAttribute("role","presentation"),vr.setAttribute("cm-text"," "),x.col+=Vr}else fn[0]=="\r"||fn[0]==`
|
|
|
`?(vr=Kt.appendChild(De("span",fn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),vr.setAttribute("cm-text",fn[0]),x.col+=1):(vr=x.cm.options.specialCharPlaceholder(fn[0]),vr.setAttribute("cm-text",fn[0]),xe&&Ee<9?Kt.appendChild(De("span",[vr])):Kt.appendChild(vr),x.col+=1);x.map.push(x.pos,x.pos+1,vr),x.pos++}}if(x.trailingSpace=nt.charCodeAt(E.length-1)==32,ie||re||oe||St||pe||je){var Ei=ie||"";re&&(Ei+=re),oe&&(Ei+=oe);var Dn=De("span",[Kt],Ei,pe);if(je)for(var hr in je)je.hasOwnProperty(hr)&&hr!="style"&&hr!="class"&&Dn.setAttribute(hr,je[hr]);return x.content.appendChild(Dn)}x.content.appendChild(Kt)}}function ms(x,E){if(x.length>1&&!/ /.test(x))return x;for(var ie=E,re="",oe=0;oe<x.length;oe++){var pe=x.charAt(oe);pe==" "&&ie&&(oe==x.length-1||x.charCodeAt(oe+1)==32)&&(pe="\xA0"),re+=pe,ie=pe==" "}return re}function Qa(x,E){return function(ie,re,oe,pe,je,nt,dt){oe=oe?oe+" cm-force-border":"cm-force-border";for(var St=ie.pos,Kt=St+re.length;;){for(var rn=void 0,fn=0;fn<E.length&&(rn=E[fn],!(rn.to>St&&rn.from<=St));fn++);if(rn.to>=Kt)return x(ie,re,oe,pe,je,nt,dt);x(ie,re.slice(0,rn.to-St),oe,pe,null,nt,dt),pe=null,re=re.slice(rn.to-St),St=rn.to}}}function la(x,E,ie,re){var oe=!re&&ie.widgetNode;oe&&x.map.push(x.pos,x.pos+E,oe),!re&&x.cm.display.input.needsContentAttribute&&(oe||(oe=x.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",ie.id)),oe&&(x.cm.display.input.setUneditable(oe),x.content.appendChild(oe)),x.pos+=E,x.trailingSpace=!1}function cl(x,E,ie){var re=x.markedSpans,oe=x.text,pe=0;if(!re){for(var je=1;je<ie.length;je+=2)E.addToken(E,oe.slice(pe,pe=ie[je]),Co(ie[je+1],E.cm.options));return}for(var nt=oe.length,dt=0,St=1,Kt="",rn,fn,Rt=0,Br,vr,Jn,Vr,Ei;;){if(Rt==dt){Br=vr=Jn=fn="",Ei=null,Vr=null,Rt=1/0;for(var Dn=[],hr=void 0,ii=0;ii<re.length;++ii){var qr=re[ii],Nn=qr.marker;if(Nn.type=="bookmark"&&qr.from==dt&&Nn.widgetNode)Dn.push(Nn);else if(qr.from<=dt&&(qr.to==null||qr.to>dt||Nn.collapsed&&qr.to==dt&&qr.from==dt)){if(qr.to!=null&&qr.to!=dt&&Rt>qr.to&&(Rt=qr.to,vr=""),Nn.className&&(Br+=" "+Nn.className),Nn.css&&(fn=(fn?fn+";":"")+Nn.css),Nn.startStyle&&qr.from==dt&&(Jn+=" "+Nn.startStyle),Nn.endStyle&&qr.to==Rt&&(hr||(hr=[])).push(Nn.endStyle,qr.to),Nn.title&&((Ei||(Ei={})).title=Nn.title),Nn.attributes)for(var ba in Nn.attributes)(Ei||(Ei={}))[ba]=Nn.attributes[ba];Nn.collapsed&&(!Vr||qi(Vr.marker,Nn)<0)&&(Vr=qr)}else qr.from>dt&&Rt>qr.from&&(Rt=qr.from)}if(hr)for(var Wo=0;Wo<hr.length;Wo+=2)hr[Wo+1]==Rt&&(vr+=" "+hr[Wo]);if(!Vr||Vr.from==dt)for(var Oo=0;Oo<Dn.length;++Oo)la(E,0,Dn[Oo]);if(Vr&&(Vr.from||0)==dt){if(la(E,(Vr.to==null?nt+1:Vr.to)-dt,Vr.marker,Vr.from==null),Vr.to==null)return;Vr.to==dt&&(Vr=!1)}}if(dt>=nt)break;for(var So=Math.min(nt,Rt);;){if(Kt){var pl=dt+Kt.length;if(!Vr){var ho=pl>So?Kt.slice(0,So-dt):Kt;E.addToken(E,ho,rn?rn+Br:Br,Jn,dt+ho.length==Rt?vr:"",fn,Ei)}if(pl>=So){Kt=Kt.slice(So-dt),dt=So;break}dt=pl,Jn=""}Kt=oe.slice(pe,pe=ie[St++]),rn=Co(ie[St++],E.cm.options)}}}function To(x,E,ie){this.line=E,this.rest=Zo(E),this.size=this.rest?Sn(Qt(this.rest))-ie+1:1,this.node=this.text=null,this.hidden=Ar(x,E)}function Go(x,E,ie){for(var re=[],oe,pe=E;pe<ie;pe=oe){var je=new To(x.doc,Gt(x.doc,pe),pe);oe=pe+je.size,re.push(je)}return re}var nr=null;function Qn(x){nr?nr.ops.push(x):x.ownsGroup=nr={ops:[x],delayedCallbacks:[]}}function Zn(x){var E=x.delayedCallbacks,ie=0;do{for(;ie<E.length;ie++)E[ie].call(null);for(var re=0;re<x.ops.length;re++){var oe=x.ops[re];if(oe.cursorActivityHandlers)for(;oe.cursorActivityCalled<oe.cursorActivityHandlers.length;)oe.cursorActivityHandlers[oe.cursorActivityCalled++].call(null,oe.cm)}}while(ie<E.length)}function xr(x,E){var ie=x.ownsGroup;if(ie)try{Zn(ie)}finally{nr=null,E(ie)}}var ni=null;function ti(x,E){var ie=wn(x,E);if(ie.length){var re=Array.prototype.slice.call(arguments,2),oe;nr?oe=nr.delayedCallbacks:ni?oe=ni:(oe=ni=[],setTimeout(yr,0));for(var pe=function(nt){oe.push(function(){return ie[nt].apply(null,re)})},je=0;je<ie.length;++je)pe(je)}}function yr(){var x=ni;ni=null;for(var E=0;E<x.length;++E)x[E]()}function Bi(x,E,ie,re){for(var oe=0;oe<E.changes.length;oe++){var pe=E.changes[oe];pe=="text"?bi(x,E):pe=="gutter"?Xr(x,E,ie,re):pe=="class"?ta(x,E):pe=="widget"&&Lo(x,E,re)}E.changes=null}function ga(x){return x.node==x.text&&(x.node=De("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),xe&&Ee<8&&(x.node.style.zIndex=2)),x.node}function Ka(x,E){var ie=E.bgClass?E.bgClass+" "+(E.line.bgClass||""):E.line.bgClass;if(ie&&(ie+=" CodeMirror-linebackground"),E.background)ie?E.background.className=ie:(E.background.parentNode.removeChild(E.background),E.background=null);else if(ie){var re=ga(E);E.background=re.insertBefore(De("div",null,ie),re.firstChild),x.display.input.setUneditable(E.background)}}function va(x,E){var ie=x.display.externalMeasured;return ie&&ie.line==E.line?(x.display.externalMeasured=null,E.measure=ie.measure,ie.built):ul(x,E)}function bi(x,E){var ie=E.text.className,re=va(x,E);E.text==E.node&&(E.node=re.pre),E.text.parentNode.replaceChild(re.pre,E.text),E.text=re.pre,re.bgClass!=E.bgClass||re.textClass!=E.textClass?(E.bgClass=re.bgClass,E.textClass=re.textClass,ta(x,E)):ie&&(E.text.className=ie)}function ta(x,E){Ka(x,E),E.line.wrapClass?ga(E).className=E.line.wrapClass:E.node!=E.text&&(E.node.className="");var ie=E.textClass?E.textClass+" "+(E.line.textClass||""):E.line.textClass;E.text.className=ie||""}function Xr(x,E,ie,re){if(E.gutter&&(E.node.removeChild(E.gutter),E.gutter=null),E.gutterBackground&&(E.node.removeChild(E.gutterBackground),E.gutterBackground=null),E.line.gutterClass){var oe=ga(E);E.gutterBackground=De("div",null,"CodeMirror-gutter-background "+E.line.gutterClass,"left: "+(x.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),x.display.input.setUneditable(E.gutterBackground),oe.insertBefore(E.gutterBackground,E.text)}var pe=E.line.gutterMarkers;if(x.options.lineNumbers||pe){var je=ga(E),nt=E.gutter=De("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(x.display.input.setUneditable(nt),je.insertBefore(nt,E.text),E.line.gutterClass&&(nt.className+=" "+E.line.gutterClass),x.options.lineNumbers&&(!pe||!pe["CodeMirror-linenumbers"])&&(E.lineNumber=nt.appendChild(De("div",Cr(x.options,ie),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),pe)for(var dt=0;dt<x.display.gutterSpecs.length;++dt){var St=x.display.gutterSpecs[dt].className,Kt=pe.hasOwnProperty(St)&&pe[St];Kt&&nt.appendChild(De("div",[Kt],"CodeMirror-gutter-elt","left: "+re.gutterLeft[St]+"px; width: "+re.gutterWidth[St]+"px"))}}}function Lo(x,E,ie){E.alignable&&(E.alignable=null);for(var re=me("CodeMirror-linewidget"),oe=E.node.firstChild,pe=void 0;oe;oe=pe)pe=oe.nextSibling,re.test(oe.className)&&E.node.removeChild(oe);Fa(x,E,ie)}function Aa(x,E,ie,re){var oe=va(x,E);return E.text=E.node=oe.pre,oe.bgClass&&(E.bgClass=oe.bgClass),oe.textClass&&(E.textClass=oe.textClass),ta(x,E),Xr(x,E,ie,re),Fa(x,E,re),E.node}function Fa(x,E,ie){if(yo(x,E.line,E,ie,!0),E.rest)for(var re=0;re<E.rest.length;re++)yo(x,E.rest[re],E,ie,!1)}function yo(x,E,ie,re,oe){if(E.widgets)for(var pe=ga(ie),je=0,nt=E.widgets;je<nt.length;++je){var dt=nt[je],St=De("div",[dt.node],"CodeMirror-linewidget"+(dt.className?" "+dt.className:""));dt.handleMouseEvents||St.setAttribute("cm-ignore-events","true"),tl(dt,St,ie,re),x.display.input.setUneditable(St),oe&&dt.above?pe.insertBefore(St,ie.gutter||ie.text):pe.appendChild(St),ti(dt,"redraw")}}function tl(x,E,ie,re){if(x.noHScroll){(ie.alignable||(ie.alignable=[])).push(E);var oe=re.wrapperWidth;E.style.left=re.fixedPos+"px",x.coverGutter||(oe-=re.gutterTotalWidth,E.style.paddingLeft=re.gutterTotalWidth+"px"),E.style.width=oe+"px"}x.coverGutter&&(E.style.zIndex=5,E.style.position="relative",x.noHScroll||(E.style.marginLeft=-re.gutterTotalWidth+"px"))}function xl(x){if(x.height!=null)return x.height;var E=x.doc.cm;if(!E)return 0;if(!xt(document.body,x.node)){var ie="position: relative;";x.coverGutter&&(ie+="margin-left: -"+E.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ie+="width: "+E.display.wrapper.clientWidth+"px;"),Pe(E.display.measure,De("div",[x.node],null,ie))}return x.height=x.node.parentNode.offsetHeight}function as(x,E){for(var ie=kr(E);ie!=x.wrapper;ie=ie.parentNode)if(!ie||ie.nodeType==1&&ie.getAttribute("cm-ignore-events")=="true"||ie.parentNode==x.sizer&&ie!=x.mover)return!0}function Yo(x){return x.lineSpace.offsetTop}function Ys(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function Ts(x){if(x.cachedPaddingH)return x.cachedPaddingH;var E=Pe(x.measure,De("pre","x","CodeMirror-line-like")),ie=window.getComputedStyle?window.getComputedStyle(E):E.currentStyle,re={left:parseInt(ie.paddingLeft),right:parseInt(ie.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(x.cachedPaddingH=re),re}function os(x){return zt-x.display.nativeBarWidth}function cs(x){return x.display.scroller.clientWidth-os(x)-x.display.barWidth}function du(x){return x.display.scroller.clientHeight-os(x)-x.display.barHeight}function ps(x,E,ie){var re=x.options.lineWrapping,oe=re&&cs(x);if(!E.measure.heights||re&&E.measure.width!=oe){var pe=E.measure.heights=[];if(re){E.measure.width=oe;for(var je=E.text.firstChild.getClientRects(),nt=0;nt<je.length-1;nt++){var dt=je[nt],St=je[nt+1];Math.abs(dt.bottom-St.bottom)>2&&pe.push((dt.bottom+St.top)/2-ie.top)}}pe.push(ie.bottom-ie.top)}}function Bo(x,E,ie){if(x.line==E)return{map:x.measure.map,cache:x.measure.cache};for(var re=0;re<x.rest.length;re++)if(x.rest[re]==E)return{map:x.measure.maps[re],cache:x.measure.caches[re]};for(var oe=0;oe<x.rest.length;oe++)if(Sn(x.rest[oe])>ie)return{map:x.measure.maps[oe],cache:x.measure.caches[oe],before:!0}}function wu(x,E){E=_a(E);var ie=Sn(E),re=x.display.externalMeasured=new To(x.doc,E,ie);re.lineN=ie;var oe=re.built=ul(x,re);return re.text=oe.pre,Pe(x.display.lineMeasure,oe.pre),re}function fu(x,E,ie,re){return El(x,Vl(x,E),ie,re)}function gs(x,E){if(E>=x.display.viewFrom&&E<x.display.viewTo)return x.display.view[Ks(x,E)];var ie=x.display.externalMeasured;if(ie&&E>=ie.lineN&&E<ie.lineN+ie.size)return ie}function Vl(x,E){var ie=Sn(E),re=gs(x,ie);re&&!re.text?re=null:re&&re.changes&&(Bi(x,re,ie,Nl(x)),x.curOp.forceUpdate=!0),re||(re=wu(x,E));var oe=Bo(re,E,ie);return{line:E,view:re,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function El(x,E,ie,re,oe){E.before&&(ie=-1);var pe=ie+(re||""),je;return E.cache.hasOwnProperty(pe)?je=E.cache[pe]:(E.rect||(E.rect=E.view.text.getBoundingClientRect()),E.hasHeights||(ps(x,E.view,E.rect),E.hasHeights=!0),je=al(x,E,ie,re),je.bogus||(E.cache[pe]=je)),{left:je.left,right:je.right,top:oe?je.rtop:je.top,bottom:oe?je.rbottom:je.bottom}}var yu={left:0,right:0,top:0,bottom:0};function Pu(x,E,ie){for(var re,oe,pe,je,nt,dt,St=0;St<x.length;St+=3)if(nt=x[St],dt=x[St+1],E<nt?(oe=0,pe=1,je="left"):E<dt?(oe=E-nt,pe=oe+1):(St==x.length-3||E==dt&&x[St+3]>E)&&(pe=dt-nt,oe=pe-1,E>=dt&&(je="right")),oe!=null){if(re=x[St+2],nt==dt&&ie==(re.insertLeft?"left":"right")&&(je=ie),ie=="left"&&oe==0)for(;St&&x[St-2]==x[St-3]&&x[St-1].insertLeft;)re=x[(St-=3)+2],je="left";if(ie=="right"&&oe==dt-nt)for(;St<x.length-3&&x[St+3]==x[St+4]&&!x[St+5].insertLeft;)re=x[(St+=3)+2],je="right";break}return{node:re,start:oe,end:pe,collapse:je,coverStart:nt,coverEnd:dt}}function bs(x,E){var ie=yu;if(E=="left")for(var re=0;re<x.length&&(ie=x[re]).left==ie.right;re++);else for(var oe=x.length-1;oe>=0&&(ie=x[oe]).left==ie.right;oe--);return ie}function al(x,E,ie,re){var oe=Pu(E.map,ie,re),pe=oe.node,je=oe.start,nt=oe.end,dt=oe.collapse,St;if(pe.nodeType==3){for(var Kt=0;Kt<4;Kt++){for(;je&&wt(E.line.text.charAt(oe.coverStart+je));)--je;for(;oe.coverStart+nt<oe.coverEnd&&wt(E.line.text.charAt(oe.coverStart+nt));)++nt;if(xe&&Ee<9&&je==0&&nt==oe.coverEnd-oe.coverStart?St=pe.parentNode.getBoundingClientRect():St=bs(Te(pe,je,nt).getClientRects(),re),St.left||St.right||je==0)break;nt=je,je=je-1,dt="right"}xe&&Ee<11&&(St=Ho(x.display.measure,St))}else{je>0&&(dt=re="right");var rn;x.options.lineWrapping&&(rn=pe.getClientRects()).length>1?St=rn[re=="right"?rn.length-1:0]:St=pe.getBoundingClientRect()}if(xe&&Ee<9&&!je&&(!St||!St.left&&!St.right)){var fn=pe.parentNode.getClientRects()[0];fn?St={left:fn.left,right:fn.left+Al(x.display),top:fn.top,bottom:fn.bottom}:St=yu}for(var Rt=St.top-E.rect.top,Br=St.bottom-E.rect.top,vr=(Rt+Br)/2,Jn=E.view.measure.heights,Vr=0;Vr<Jn.length-1&&!(vr<Jn[Vr]);Vr++);var Ei=Vr?Jn[Vr-1]:0,Dn=Jn[Vr],hr={left:(dt=="right"?St.right:St.left)-E.rect.left,right:(dt=="left"?St.left:St.right)-E.rect.left,top:Ei,bottom:Dn};return!St.left&&!St.right&&(hr.bogus=!0),x.options.singleCursorHeightPerLine||(hr.rtop=Rt,hr.rbottom=Br),hr}function Ho(x,E){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Gr(x))return E;var ie=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:E.left*ie,right:E.right*ie,top:E.top*re,bottom:E.bottom*re}}function Ul(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var E=0;E<x.rest.length;E++)x.measure.caches[E]={}}function ds(x){x.display.externalMeasure=null,Le(x.display.lineMeasure);for(var E=0;E<x.display.view.length;E++)Ul(x.display.view[E])}function ts(x){ds(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function Ns(){return Fe&&Se?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Cs(){return Fe&&Se?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function No(x){var E=0;if(x.widgets)for(var ie=0;ie<x.widgets.length;++ie)x.widgets[ie].above&&(E+=xl(x.widgets[ie]));return E}function Qs(x,E,ie,re,oe){if(!oe){var pe=No(E);ie.top+=pe,ie.bottom+=pe}if(re=="line")return ie;re||(re="local");var je=_i(E);if(re=="local"?je+=Yo(x.display):je-=x.display.viewOffset,re=="page"||re=="window"){var nt=x.display.lineSpace.getBoundingClientRect();je+=nt.top+(re=="window"?0:Cs());var dt=nt.left+(re=="window"?0:Ns());ie.left+=dt,ie.right+=dt}return ie.top+=je,ie.bottom+=je,ie}function Su(x,E,ie){if(ie=="div")return E;var re=E.left,oe=E.top;if(ie=="page")re-=Ns(),oe-=Cs();else if(ie=="local"||!ie){var pe=x.display.sizer.getBoundingClientRect();re+=pe.left,oe+=pe.top}var je=x.display.lineSpace.getBoundingClientRect();return{left:re-je.left,top:oe-je.top}}function hu(x,E,ie,re,oe){return re||(re=Gt(x.doc,E.line)),Qs(x,re,fu(x,re,E.ch,oe),ie)}function js(x,E,ie,re,oe,pe){re=re||Gt(x.doc,E.line),oe||(oe=Vl(x,re));function je(Br,vr){var Jn=El(x,oe,Br,vr?"right":"left",pe);return vr?Jn.left=Jn.right:Jn.right=Jn.left,Qs(x,re,Jn,ie)}var nt=En(re,x.doc.direction),dt=E.ch,St=E.sticky;if(dt>=re.text.length?(dt=re.text.length,St="before"):dt<=0&&(dt=0,St="after"),!nt)return je(St=="before"?dt-1:dt,St=="before");function Kt(Br,vr,Jn){var Vr=nt[vr],Ei=Vr.level==1;return je(Jn?Br-1:Br,Ei!=Jn)}var rn=yt(nt,dt,St),fn=Dt,Rt=Kt(dt,rn,St=="before");return fn!=null&&(Rt.other=Kt(dt,fn,St!="before")),Rt}function wc(x,E){var ie=0;E=ln(x.doc,E),x.options.lineWrapping||(ie=Al(x.display)*E.ch);var re=Gt(x.doc,E.line),oe=_i(re)+Yo(x.display);return{left:ie,right:ie,top:oe,bottom:oe+re.height}}function Lu(x,E,ie,re,oe){var pe=bn(x,E,ie);return pe.xRel=oe,re&&(pe.outside=re),pe}function zu(x,E,ie){var re=x.doc;if(ie+=x.display.viewOffset,ie<0)return Lu(re.first,0,null,-1,-1);var oe=rr(re,ie),pe=re.first+re.size-1;if(oe>pe)return Lu(re.first+re.size-1,Gt(re,pe).text.length,null,1,1);E<0&&(E=0);for(var je=Gt(re,oe);;){var nt=zc(x,je,oe,E,ie),dt=Ti(je,nt.ch+(nt.xRel>0||nt.outside>0?1:0));if(!dt)return nt;var St=dt.find(1);if(St.line==oe)return St;je=Gt(re,oe=St.line)}}function iu(x,E,ie,re){re-=No(E);var oe=E.text.length,pe=Je(function(je){return El(x,ie,je-1).bottom<=re},oe,0);return oe=Je(function(je){return El(x,ie,je).top>re},pe,oe),{begin:pe,end:oe}}function ic(x,E,ie,re){ie||(ie=Vl(x,E));var oe=Qs(x,E,El(x,ie,re),"line").top;return iu(x,E,ie,oe)}function ac(x,E,ie,re){return x.bottom<=ie?!1:x.top>ie?!0:(re?x.left:x.right)>E}function zc(x,E,ie,re,oe){oe-=_i(E);var pe=Vl(x,E),je=No(E),nt=0,dt=E.text.length,St=!0,Kt=En(E,x.doc.direction);if(Kt){var rn=(x.options.lineWrapping?Au:Qu)(x,E,ie,pe,Kt,re,oe);St=rn.level!=1,nt=St?rn.from:rn.to-1,dt=St?rn.to:rn.from-1}var fn=null,Rt=null,Br=Je(function(ii){var qr=El(x,pe,ii);return qr.top+=je,qr.bottom+=je,ac(qr,re,oe,!1)?(qr.top<=oe&&qr.left<=re&&(fn=ii,Rt=qr),!0):!1},nt,dt),vr,Jn,Vr=!1;if(Rt){var Ei=re-Rt.left<Rt.right-re,Dn=Ei==St;Br=fn+(Dn?0:1),Jn=Dn?"after":"before",vr=Ei?Rt.left:Rt.right}else{!St&&(Br==dt||Br==nt)&&Br++,Jn=Br==0?"after":Br==E.text.length?"before":El(x,pe,Br-(St?1:0)).bottom+je<=oe==St?"after":"before";var hr=js(x,bn(ie,Br,Jn),"line",E,pe);vr=hr.left,Vr=oe<hr.top?-1:oe>=hr.bottom?1:0}return Br=lt(E.text,Br,1),Lu(ie,Br,Jn,Vr,re-vr)}function Qu(x,E,ie,re,oe,pe,je){var nt=Je(function(rn){var fn=oe[rn],Rt=fn.level!=1;return ac(js(x,bn(ie,Rt?fn.to:fn.from,Rt?"before":"after"),"line",E,re),pe,je,!0)},0,oe.length-1),dt=oe[nt];if(nt>0){var St=dt.level!=1,Kt=js(x,bn(ie,St?dt.from:dt.to,St?"after":"before"),"line",E,re);ac(Kt,pe,je,!0)&&Kt.top>je&&(dt=oe[nt-1])}return dt}function Au(x,E,ie,re,oe,pe,je){var nt=iu(x,E,re,je),dt=nt.begin,St=nt.end;/\s/.test(E.text.charAt(St-1))&&St--;for(var Kt=null,rn=null,fn=0;fn<oe.length;fn++){var Rt=oe[fn];if(!(Rt.from>=St||Rt.to<=dt)){var Br=Rt.level!=1,vr=El(x,re,Br?Math.min(St,Rt.to)-1:Math.max(dt,Rt.from)).right,Jn=vr<pe?pe-vr+1e9:vr-pe;(!Kt||rn>Jn)&&(Kt=Rt,rn=Jn)}}return Kt||(Kt=oe[oe.length-1]),Kt.from<dt&&(Kt={from:dt,to:Kt.to,level:Kt.level}),Kt.to>St&&(Kt={from:Kt.from,to:St,level:Kt.level}),Kt}var Ia;function Ju(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(Ia==null){Ia=De("pre",null,"CodeMirror-line-like");for(var E=0;E<49;++E)Ia.appendChild(document.createTextNode("x")),Ia.appendChild(De("br"));Ia.appendChild(document.createTextNode("x"))}Pe(x.measure,Ia);var ie=Ia.offsetHeight/50;return ie>3&&(x.cachedTextHeight=ie),Le(x.measure),ie||1}function Al(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var E=De("span","xxxxxxxxxx"),ie=De("pre",[E],"CodeMirror-line-like");Pe(x.measure,ie);var re=E.getBoundingClientRect(),oe=(re.right-re.left)/10;return oe>2&&(x.cachedCharWidth=oe),oe||10}function Nl(x){for(var E=x.display,ie={},re={},oe=E.gutters.clientLeft,pe=E.gutters.firstChild,je=0;pe;pe=pe.nextSibling,++je){var nt=x.display.gutterSpecs[je].className;ie[nt]=pe.offsetLeft+pe.clientLeft+oe,re[nt]=pe.clientWidth}return{fixedPos:$l(E),gutterTotalWidth:E.gutters.offsetWidth,gutterLeft:ie,gutterWidth:re,wrapperWidth:E.wrapper.clientWidth}}function $l(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function au(x){var E=Ju(x.display),ie=x.options.lineWrapping,re=ie&&Math.max(5,x.display.scroller.clientWidth/Al(x.display)-3);return function(oe){if(Ar(x.doc,oe))return 0;var pe=0;if(oe.widgets)for(var je=0;je<oe.widgets.length;je++)oe.widgets[je].height&&(pe+=oe.widgets[je].height);return ie?pe+(Math.ceil(oe.text.length/re)||1)*E:pe+E}}function Zs(x){var E=x.doc,ie=au(x);E.iter(function(re){var oe=ie(re);oe!=re.height&&Pn(re,oe)})}function eu(x,E,ie,re){var oe=x.display;if(!ie&&kr(E).getAttribute("cm-not-content")=="true")return null;var pe,je,nt=oe.lineSpace.getBoundingClientRect();try{pe=E.clientX-nt.left,je=E.clientY-nt.top}catch(rn){return null}var dt=zu(x,pe,je),St;if(re&&dt.xRel>0&&(St=Gt(x.doc,dt.line).text).length==dt.ch){var Kt=Qe(St,St.length,x.options.tabSize)-St.length;dt=bn(dt.line,Math.max(0,Math.round((pe-Ts(x.display).left)/Al(x.display))-Kt))}return dt}function Ks(x,E){if(E>=x.display.viewTo||(E-=x.display.viewFrom,E<0))return null;for(var ie=x.display.view,re=0;re<ie.length;re++)if(E-=ie[re].size,E<0)return re}function Ws(x,E,ie,re){E==null&&(E=x.doc.first),ie==null&&(ie=x.doc.first+x.doc.size),re||(re=0);var oe=x.display;if(re&&ie<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>E)&&(oe.updateLineNumbers=E),x.curOp.viewChanged=!0,E>=oe.viewTo)Hi&&ko(x.doc,E)<oe.viewTo&&lu(x);else if(ie<=oe.viewFrom)Hi&&vo(x.doc,ie+re)>oe.viewFrom?lu(x):(oe.viewFrom+=re,oe.viewTo+=re);else if(E<=oe.viewFrom&&ie>=oe.viewTo)lu(x);else if(E<=oe.viewFrom){var pe=Ge(x,ie,ie+re,1);pe?(oe.view=oe.view.slice(pe.index),oe.viewFrom=pe.lineN,oe.viewTo+=re):lu(x)}else if(ie>=oe.viewTo){var je=Ge(x,E,E,-1);je?(oe.view=oe.view.slice(0,je.index),oe.viewTo=je.lineN):lu(x)}else{var nt=Ge(x,E,E,-1),dt=Ge(x,ie,ie+re,1);nt&&dt?(oe.view=oe.view.slice(0,nt.index).concat(Go(x,nt.lineN,dt.lineN)).concat(oe.view.slice(dt.index)),oe.viewTo+=re):lu(x)}var St=oe.externalMeasured;St&&(ie<St.lineN?St.lineN+=re:E<St.lineN+St.size&&(oe.externalMeasured=null))}function ou(x,E,ie){x.curOp.viewChanged=!0;var re=x.display,oe=x.display.externalMeasured;if(oe&&E>=oe.lineN&&E<oe.lineN+oe.size&&(re.externalMeasured=null),!(E<re.viewFrom||E>=re.viewTo)){var pe=re.view[Ks(x,E)];if(pe.node!=null){var je=pe.changes||(pe.changes=[]);st(je,ie)==-1&&je.push(ie)}}}function lu(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function Ge(x,E,ie,re){var oe=Ks(x,E),pe,je=x.display.view;if(!Hi||ie==x.doc.first+x.doc.size)return{index:oe,lineN:ie};for(var nt=x.display.viewFrom,dt=0;dt<oe;dt++)nt+=je[dt].size;if(nt!=E){if(re>0){if(oe==je.length-1)return null;pe=nt+je[oe].size-E,oe++}else pe=nt-E;E+=pe,ie+=pe}for(;ko(x.doc,ie)!=ie;){if(oe==(re<0?0:je.length-1))return null;ie+=re*je[oe-(re<0?1:0)].size,oe+=re}return{index:oe,lineN:ie}}function ct(x,E,ie){var re=x.display,oe=re.view;oe.length==0||E>=re.viewTo||ie<=re.viewFrom?(re.view=Go(x,E,ie),re.viewFrom=E):(re.viewFrom>E?re.view=Go(x,E,re.viewFrom).concat(re.view):re.viewFrom<E&&(re.view=re.view.slice(Ks(x,E))),re.viewFrom=E,re.viewTo<ie?re.view=re.view.concat(Go(x,re.viewTo,ie)):re.viewTo>ie&&(re.view=re.view.slice(0,Ks(x,ie)))),re.viewTo=ie}function gt(x){for(var E=x.display.view,ie=0,re=0;re<E.length;re++){var oe=E[re];!oe.hidden&&(!oe.node||oe.changes)&&++ie}return ie}function Xt(x){x.display.input.showSelection(x.display.input.prepareSelection())}function en(x,E){E===void 0&&(E=!0);for(var ie=x.doc,re={},oe=re.cursors=document.createDocumentFragment(),pe=re.selection=document.createDocumentFragment(),je=0;je<ie.sel.ranges.length;je++)if(!(!E&&je==ie.sel.primIndex)){var nt=ie.sel.ranges[je];if(!(nt.from().line>=x.display.viewTo||nt.to().line<x.display.viewFrom)){var dt=nt.empty();(dt||x.options.showCursorWhenSelecting)&&qn(x,nt.head,oe),dt||wr(x,nt,pe)}}return re}function qn(x,E,ie){var re=js(x,E,"div",null,null,!x.options.singleCursorHeightPerLine),oe=ie.appendChild(De("div","\xA0","CodeMirror-cursor"));if(oe.style.left=re.left+"px",oe.style.top=re.top+"px",oe.style.height=Math.max(0,re.bottom-re.top)*x.options.cursorHeight+"px",re.other){var pe=ie.appendChild(De("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));pe.style.display="",pe.style.left=re.other.left+"px",pe.style.top=re.other.top+"px",pe.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function Wn(x,E){return x.top-E.top||x.left-E.left}function wr(x,E,ie){var re=x.display,oe=x.doc,pe=document.createDocumentFragment(),je=Ts(x.display),nt=je.left,dt=Math.max(re.sizerWidth,cs(x)-re.sizer.offsetLeft)-je.right,St=oe.direction=="ltr";function Kt(Dn,hr,ii,qr){hr<0&&(hr=0),hr=Math.round(hr),qr=Math.round(qr),pe.appendChild(De("div",null,"CodeMirror-selected","position: absolute; left: "+Dn+`px;
|
|
|
top: `+hr+"px; width: "+(ii==null?dt-Dn:ii)+`px;
|
|
|
height: `+(qr-hr)+"px"))}function rn(Dn,hr,ii){var qr=Gt(oe,Dn),Nn=qr.text.length,ba,Wo;function Oo(ho,Vn){return hu(x,bn(Dn,ho),"div",qr,Vn)}function So(ho,Vn,yn){var ar=ic(x,qr,null,ho),kn=Vn=="ltr"==(yn=="after")?"left":"right",Fi=yn=="after"?ar.begin:ar.end-(/\s/.test(qr.text.charAt(ar.end-1))?2:1);return Oo(Fi,kn)[kn]}var pl=En(qr,oe.direction);return Pt(pl,hr||0,ii==null?Nn:ii,function(ho,Vn,yn,ar){var kn=yn=="ltr",Fi=Oo(ho,kn?"left":"right"),ja=Oo(Vn-1,kn?"right":"left"),rl=hr==null&&ho==0,el=ii==null&&Vn==Nn,Ra=ar==0,zo=!pl||ar==pl.length-1;if(ja.top-Fi.top<=3){var vs=(St?rl:el)&&Ra,xu=(St?el:rl)&&zo,Eu=vs?nt:(kn?Fi:ja).left,pu=xu?dt:(kn?ja:Fi).right;Kt(Eu,Fi.top,pu-Eu,Fi.bottom)}else{var Bu,hs,er,Wi;kn?(Bu=St&&rl&&Ra?nt:Fi.left,hs=St?dt:So(ho,yn,"before"),er=St?nt:So(Vn,yn,"after"),Wi=St&&el&&zo?dt:ja.right):(Bu=St?So(ho,yn,"before"):nt,hs=!St&&rl&&Ra?dt:Fi.right,er=!St&&el&&zo?nt:ja.left,Wi=St?So(Vn,yn,"after"):dt),Kt(Bu,Fi.top,hs-Bu,Fi.bottom),Fi.bottom<ja.top&&Kt(nt,Fi.bottom,null,ja.top),Kt(er,ja.top,Wi-er,ja.bottom)}(!ba||Wn(Fi,ba)<0)&&(ba=Fi),Wn(ja,ba)<0&&(ba=ja),(!Wo||Wn(Fi,Wo)<0)&&(Wo=Fi),Wn(ja,Wo)<0&&(Wo=ja)}),{start:ba,end:Wo}}var fn=E.from(),Rt=E.to();if(fn.line==Rt.line)rn(fn.line,fn.ch,Rt.ch);else{var Br=Gt(oe,fn.line),vr=Gt(oe,Rt.line),Jn=_a(Br)==_a(vr),Vr=rn(fn.line,fn.ch,Jn?Br.text.length+1:null).end,Ei=rn(Rt.line,Jn?0:null,Rt.ch).start;Jn&&(Vr.top<Ei.top-2?(Kt(Vr.right,Vr.top,null,Vr.bottom),Kt(nt,Ei.top,Ei.left,Ei.bottom)):Kt(Vr.right,Vr.top,Ei.left-Vr.right,Vr.bottom)),Vr.bottom<Ei.top&&Kt(nt,Vr.bottom,null,Ei.top)}ie.appendChild(pe)}function br(x){if(x.state.focused){var E=x.display;clearInterval(E.blinker);var ie=!0;E.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?E.blinker=setInterval(function(){x.hasFocus()||Ur(x),E.cursorDiv.style.visibility=(ie=!ie)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(E.cursorDiv.style.visibility="hidden")}}function Ir(x){x.state.focused||(x.display.input.focus(),Yr(x))}function zi(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Ur(x))},100)}function Yr(x,E){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(it(x,"focus",x,E),x.state.focused=!0,vt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),fe&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),br(x))}function Ur(x,E){x.state.delayingBlurEvent||(x.state.focused&&(it(x,"blur",x,E),x.state.focused=!1,Re(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function di(x){for(var E=x.display,ie=E.lineDiv.offsetTop,re=0;re<E.view.length;re++){var oe=E.view[re],pe=x.options.lineWrapping,je=void 0,nt=0;if(!oe.hidden){if(xe&&Ee<8){var dt=oe.node.offsetTop+oe.node.offsetHeight;je=dt-ie,ie=dt}else{var St=oe.node.getBoundingClientRect();je=St.bottom-St.top,!pe&&oe.text.firstChild&&(nt=oe.text.firstChild.getBoundingClientRect().right-St.left-1)}var Kt=oe.line.height-je;if((Kt>.005||Kt<-.005)&&(Pn(oe.line,je),xi(oe.line),oe.rest))for(var rn=0;rn<oe.rest.length;rn++)xi(oe.rest[rn]);if(nt>x.display.sizerWidth){var fn=Math.ceil(nt/Al(x.display));fn>x.display.maxLineLength&&(x.display.maxLineLength=fn,x.display.maxLine=oe.line,x.display.maxLineChanged=!0)}}}}function xi(x){if(x.widgets)for(var E=0;E<x.widgets.length;++E){var ie=x.widgets[E],re=ie.node.parentNode;re&&(ie.height=re.offsetHeight)}}function mr(x,E,ie){var re=ie&&ie.top!=null?Math.max(0,ie.top):x.scroller.scrollTop;re=Math.floor(re-Yo(x));var oe=ie&&ie.bottom!=null?ie.bottom:re+x.wrapper.clientHeight,pe=rr(E,re),je=rr(E,oe);if(ie&&ie.ensure){var nt=ie.ensure.from.line,dt=ie.ensure.to.line;nt<pe?(pe=nt,je=rr(E,_i(Gt(E,nt))+x.wrapper.clientHeight)):Math.min(dt,E.lastLine())>=je&&(pe=rr(E,_i(Gt(E,dt))-x.wrapper.clientHeight),je=dt)}return{from:pe,to:Math.max(je,pe+1)}}function Tr(x,E){if(!Et(x,"scrollCursorIntoView")){var ie=x.display,re=ie.sizer.getBoundingClientRect(),oe=null;if(E.top+re.top<0?oe=!0:E.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!ge){var pe=De("div","\u200B",null,`position: absolute;
|
|
|
top: `+(E.top-ie.viewOffset-Yo(x.display))+`px;
|
|
|
height: `+(E.bottom-E.top+os(x)+ie.barHeight)+`px;
|
|
|
left: `+E.left+"px; width: "+Math.max(2,E.right-E.left)+"px;");x.display.lineSpace.appendChild(pe),pe.scrollIntoView(oe),x.display.lineSpace.removeChild(pe)}}}function vi(x,E,ie,re){re==null&&(re=0);var oe;!x.options.lineWrapping&&E==ie&&(E=E.ch?bn(E.line,E.sticky=="before"?E.ch-1:E.ch,"after"):E,ie=E.sticky=="before"?bn(E.line,E.ch+1,"before"):E);for(var pe=0;pe<5;pe++){var je=!1,nt=js(x,E),dt=!ie||ie==E?nt:js(x,ie);oe={left:Math.min(nt.left,dt.left),top:Math.min(nt.top,dt.top)-re,right:Math.max(nt.left,dt.left),bottom:Math.max(nt.bottom,dt.bottom)+re};var St=da(x,oe),Kt=x.doc.scrollTop,rn=x.doc.scrollLeft;if(St.scrollTop!=null&&(Qo(x,St.scrollTop),Math.abs(x.doc.scrollTop-Kt)>1&&(je=!0)),St.scrollLeft!=null&&(vl(x,St.scrollLeft),Math.abs(x.doc.scrollLeft-rn)>1&&(je=!0)),!je)break}return oe}function ka(x,E){var ie=da(x,E);ie.scrollTop!=null&&Qo(x,ie.scrollTop),ie.scrollLeft!=null&&vl(x,ie.scrollLeft)}function da(x,E){var ie=x.display,re=Ju(x.display);E.top<0&&(E.top=0);var oe=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ie.scroller.scrollTop,pe=du(x),je={};E.bottom-E.top>pe&&(E.bottom=E.top+pe);var nt=x.doc.height+Ys(ie),dt=E.top<re,St=E.bottom>nt-re;if(E.top<oe)je.scrollTop=dt?0:E.top;else if(E.bottom>oe+pe){var Kt=Math.min(E.top,(St?nt:E.bottom)-pe);Kt!=oe&&(je.scrollTop=Kt)}var rn=x.options.fixedGutter?0:ie.gutters.offsetWidth,fn=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ie.scroller.scrollLeft-rn,Rt=cs(x)-ie.gutters.offsetWidth,Br=E.right-E.left>Rt;return Br&&(E.right=E.left+Rt),E.left<10?je.scrollLeft=0:E.left<fn?je.scrollLeft=Math.max(0,E.left+rn-(Br?0:10)):E.right>Rt+fn-3&&(je.scrollLeft=E.right+(Br?0:10)-Rt),je}function Pa(x,E){E!=null&&(Xo(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+E)}function La(x){Xo(x);var E=x.getCursor();x.curOp.scrollToPos={from:E,to:E,margin:x.options.cursorScrollMargin}}function Ma(x,E,ie){(E!=null||ie!=null)&&Xo(x),E!=null&&(x.curOp.scrollLeft=E),ie!=null&&(x.curOp.scrollTop=ie)}function ya(x,E){Xo(x),x.curOp.scrollToPos=E}function Xo(x){var E=x.curOp.scrollToPos;if(E){x.curOp.scrollToPos=null;var ie=wc(x,E.from),re=wc(x,E.to);Mo(x,ie,re,E.margin)}}function Mo(x,E,ie,re){var oe=da(x,{left:Math.min(E.left,ie.left),top:Math.min(E.top,ie.top)-re,right:Math.max(E.right,ie.right),bottom:Math.max(E.bottom,ie.bottom)+re});Ma(x,oe.scrollLeft,oe.scrollTop)}function Qo(x,E){Math.abs(x.doc.scrollTop-E)<2||(ee||Ki(x,{top:E}),sl(x,E,!0),ee&&Ki(x),fr(x,100))}function sl(x,E,ie){E=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,E)),!(x.display.scroller.scrollTop==E&&!ie)&&(x.doc.scrollTop=E,x.display.scrollbars.setScrollTop(E),x.display.scroller.scrollTop!=E&&(x.display.scroller.scrollTop=E))}function vl(x,E,ie,re){E=Math.max(0,Math.min(E,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ie?E==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-E)<2)&&!re)&&(x.doc.scrollLeft=E,Ja(x),x.display.scroller.scrollLeft!=E&&(x.display.scroller.scrollLeft=E),x.display.scrollbars.setScrollLeft(E))}function Dl(x){var E=x.display,ie=E.gutters.offsetWidth,re=Math.round(x.doc.height+Ys(x.display));return{clientHeight:E.scroller.clientHeight,viewHeight:E.wrapper.clientHeight,scrollWidth:E.scroller.scrollWidth,clientWidth:E.scroller.clientWidth,viewWidth:E.wrapper.clientWidth,barLeft:x.options.fixedGutter?ie:0,docHeight:re,scrollHeight:re+os(x)+E.barHeight,nativeBarWidth:E.nativeBarWidth,gutterWidth:ie}}var Rl=function(x,E,ie){this.cm=ie;var re=this.vert=De("div",[De("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),oe=this.horiz=De("div",[De("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");re.tabIndex=oe.tabIndex=-1,x(re),x(oe),Yt(re,"scroll",function(){re.clientHeight&&E(re.scrollTop,"vertical")}),Yt(oe,"scroll",function(){oe.clientWidth&&E(oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,xe&&Ee<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Rl.prototype.update=function(x){var E=x.scrollWidth>x.clientWidth+1,ie=x.scrollHeight>x.clientHeight+1,re=x.nativeBarWidth;if(ie){this.vert.style.display="block",this.vert.style.bottom=E?re+"px":"0";var oe=x.viewHeight-(E?re: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(E){this.horiz.style.display="block",this.horiz.style.right=ie?re+"px":"0",this.horiz.style.left=x.barLeft+"px";var pe=x.viewWidth-x.barLeft-(ie?re:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+pe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ie?re:0,bottom:E?re:0}},Rl.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Rl.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Rl.prototype.zeroWidthHack=function(){var x=ke&&!Ae?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Me,this.disableVert=new Me},Rl.prototype.enableZeroWidthBar=function(x,E,ie){x.style.pointerEvents="auto";function re(){var oe=x.getBoundingClientRect(),pe=ie=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);pe!=x?x.style.pointerEvents="none":E.set(1e3,re)}E.set(1e3,re)},Rl.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var $o=function(){};$o.prototype.update=function(){return{bottom:0,right:0}},$o.prototype.setScrollLeft=function(){},$o.prototype.setScrollTop=function(){},$o.prototype.clear=function(){};function nl(x,E){E||(E=Dl(x));var ie=x.display.barWidth,re=x.display.barHeight;dl(x,E);for(var oe=0;oe<4&&ie!=x.display.barWidth||re!=x.display.barHeight;oe++)ie!=x.display.barWidth&&x.options.lineWrapping&&di(x),dl(x,Dl(x)),ie=x.display.barWidth,re=x.display.barHeight}function dl(x,E){var ie=x.display,re=ie.scrollbars.update(E);ie.sizer.style.paddingRight=(ie.barWidth=re.right)+"px",ie.sizer.style.paddingBottom=(ie.barHeight=re.bottom)+"px",ie.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(ie.scrollbarFiller.style.display="block",ie.scrollbarFiller.style.height=re.bottom+"px",ie.scrollbarFiller.style.width=re.right+"px"):ie.scrollbarFiller.style.display="",re.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ie.gutterFiller.style.display="block",ie.gutterFiller.style.height=re.bottom+"px",ie.gutterFiller.style.width=E.gutterWidth+"px"):ie.gutterFiller.style.display=""}var zl={native:Rl,null:$o};function Ql(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&Re(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new zl[x.options.scrollbarStyle](function(E){x.display.wrapper.insertBefore(E,x.display.scrollbarFiller),Yt(E,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),E.setAttribute("cm-not-content","true")},function(E,ie){ie=="horizontal"?vl(x,E):Qo(x,E)},x),x.display.scrollbars.addClass&&vt(x.display.wrapper,x.display.scrollbars.addClass)}var Sl=0;function fl(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:++Sl},Qn(x.curOp)}function fs(x){var E=x.curOp;E&&xr(E,function(ie){for(var re=0;re<ie.ops.length;re++)ie.ops[re].cm.curOp=null;ws(ie)})}function ws(x){for(var E=x.ops,ie=0;ie<E.length;ie++)ht(E[ie]);for(var re=0;re<E.length;re++)bt(E[re]);for(var oe=0;oe<E.length;oe++)Zt(E[oe]);for(var pe=0;pe<E.length;pe++)Vt(E[pe]);for(var je=0;je<E.length;je++)mn(E[je])}function ht(x){var E=x.cm,ie=E.display;Kr(E),x.updateMaxLine&&Mi(E),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ie.viewFrom||x.scrollToPos.to.line>=ie.viewTo)||ie.maxLineChanged&&E.options.lineWrapping,x.update=x.mustUpdate&&new ur(E,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function bt(x){x.updatedDisplay=x.mustUpdate&&yi(x.cm,x.update)}function Zt(x){var E=x.cm,ie=E.display;x.updatedDisplay&&di(E),x.barMeasure=Dl(E),ie.maxLineChanged&&!E.options.lineWrapping&&(x.adjustWidthTo=fu(E,ie.maxLine,ie.maxLine.text.length).left+3,E.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ie.scroller.clientWidth,ie.sizer.offsetLeft+x.adjustWidthTo+os(E)+E.display.barWidth),x.maxScrollLeft=Math.max(0,ie.sizer.offsetLeft+x.adjustWidthTo-cs(E))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ie.input.prepareSelection())}function Vt(x){var E=x.cm;x.adjustWidthTo!=null&&(E.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<E.doc.scrollLeft&&vl(E,Math.min(E.display.scroller.scrollLeft,x.maxScrollLeft),!0),E.display.maxLineChanged=!1);var ie=x.focus&&x.focus==Ze();x.preparedSelection&&E.display.input.showSelection(x.preparedSelection,ie),(x.updatedDisplay||x.startHeight!=E.doc.height)&&nl(E,x.barMeasure),x.updatedDisplay&&Na(E,x.barMeasure),x.selectionChanged&&br(E),E.state.focused&&x.updateInput&&E.display.input.reset(x.typing),ie&&Ir(x.cm)}function mn(x){var E=x.cm,ie=E.display,re=E.doc;if(x.updatedDisplay&&hi(E,x.update),ie.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ie.wheelStartX=ie.wheelStartY=null),x.scrollTop!=null&&sl(E,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&vl(E,x.scrollLeft,!0,!0),x.scrollToPos){var oe=vi(E,ln(re,x.scrollToPos.from),ln(re,x.scrollToPos.to),x.scrollToPos.margin);Tr(E,oe)}var pe=x.maybeHiddenMarkers,je=x.maybeUnhiddenMarkers;if(pe)for(var nt=0;nt<pe.length;++nt)pe[nt].lines.length||it(pe[nt],"hide");if(je)for(var dt=0;dt<je.length;++dt)je[dt].lines.length&&it(je[dt],"unhide");ie.wrapper.offsetHeight&&(re.scrollTop=E.display.scroller.scrollTop),x.changeObjs&&it(E,"changes",E,x.changeObjs),x.update&&x.update.finish()}function sn(x,E){if(x.curOp)return E();fl(x);try{return E()}finally{fs(x)}}function Kn(x,E){return function(){if(x.curOp)return E.apply(x,arguments);fl(x);try{return E.apply(x,arguments)}finally{fs(x)}}}function Rn(x){return function(){if(this.curOp)return x.apply(this,arguments);fl(this);try{return x.apply(this,arguments)}finally{fs(this)}}}function Tn(x){return function(){var E=this.cm;if(!E||E.curOp)return x.apply(this,arguments);fl(E);try{return x.apply(this,arguments)}finally{fs(E)}}}function fr(x,E){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(E,Lt(lr,x))}function lr(x){var E=x.doc;if(!(E.highlightFrontier>=x.display.viewTo)){var ie=+new Date+x.options.workTime,re=Un(x,E.highlightFrontier),oe=[];E.iter(re.line,Math.min(E.first+E.size,x.display.viewTo+500),function(pe){if(re.line>=x.display.viewFrom){var je=pe.styles,nt=pe.text.length>x.options.maxHighlightLength?pt(E.mode,re.state):null,dt=In(x,pe,re,!0);nt&&(re.state=nt),pe.styles=dt.styles;var St=pe.styleClasses,Kt=dt.classes;Kt?pe.styleClasses=Kt:St&&(pe.styleClasses=null);for(var rn=!je||je.length!=pe.styles.length||St!=Kt&&(!St||!Kt||St.bgClass!=Kt.bgClass||St.textClass!=Kt.textClass),fn=0;!rn&&fn<je.length;++fn)rn=je[fn]!=pe.styles[fn];rn&&oe.push(re.line),pe.stateAfter=re.save(),re.nextLine()}else pe.text.length<=x.options.maxHighlightLength&&Gn(x,pe.text,re),pe.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>ie)return fr(x,x.options.workDelay),!0}),E.highlightFrontier=re.line,E.modeFrontier=Math.max(E.modeFrontier,re.line),oe.length&&sn(x,function(){for(var pe=0;pe<oe.length;pe++)ou(x,oe[pe],"text")})}}var ur=function(x,E,ie){var re=x.display;this.viewport=E,this.visible=mr(re,x.doc,E),this.editorIsHidden=!re.wrapper.offsetWidth,this.wrapperHeight=re.wrapper.clientHeight,this.wrapperWidth=re.wrapper.clientWidth,this.oldDisplayWidth=cs(x),this.force=ie,this.dims=Nl(x),this.events=[]};ur.prototype.signal=function(x,E){un(x,E)&&this.events.push(arguments)},ur.prototype.finish=function(){for(var x=0;x<this.events.length;x++)it.apply(null,this.events[x])};function Kr(x){var E=x.display;!E.scrollbarsClipped&&E.scroller.offsetWidth&&(E.nativeBarWidth=E.scroller.offsetWidth-E.scroller.clientWidth,E.heightForcer.style.height=os(x)+"px",E.sizer.style.marginBottom=-E.nativeBarWidth+"px",E.sizer.style.borderRightWidth=os(x)+"px",E.scrollbarsClipped=!0)}function Zr(x){if(x.hasFocus())return null;var E=Ze();if(!E||!xt(x.display.lineDiv,E))return null;var ie={activeElt:E};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&&xt(x.display.lineDiv,re.anchorNode)&&(ie.anchorNode=re.anchorNode,ie.anchorOffset=re.anchorOffset,ie.focusNode=re.focusNode,ie.focusOffset=re.focusOffset)}return ie}function Jr(x){if(!(!x||!x.activeElt||x.activeElt==Ze())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&xt(document.body,x.anchorNode)&&xt(document.body,x.focusNode))){var E=window.getSelection(),ie=document.createRange();ie.setEnd(x.anchorNode,x.anchorOffset),ie.collapse(!1),E.removeAllRanges(),E.addRange(ie),E.extend(x.focusNode,x.focusOffset)}}function yi(x,E){var ie=x.display,re=x.doc;if(E.editorIsHidden)return lu(x),!1;if(!E.force&&E.visible.from>=ie.viewFrom&&E.visible.to<=ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>=ie.viewTo)&&ie.renderedView==ie.view&>(x)==0)return!1;Da(x)&&(lu(x),E.dims=Nl(x));var oe=re.first+re.size,pe=Math.max(E.visible.from-x.options.viewportMargin,re.first),je=Math.min(oe,E.visible.to+x.options.viewportMargin);ie.viewFrom<pe&&pe-ie.viewFrom<20&&(pe=Math.max(re.first,ie.viewFrom)),ie.viewTo>je&&ie.viewTo-je<20&&(je=Math.min(oe,ie.viewTo)),Hi&&(pe=ko(x.doc,pe),je=vo(x.doc,je));var nt=pe!=ie.viewFrom||je!=ie.viewTo||ie.lastWrapHeight!=E.wrapperHeight||ie.lastWrapWidth!=E.wrapperWidth;ct(x,pe,je),ie.viewOffset=_i(Gt(x.doc,ie.viewFrom)),x.display.mover.style.top=ie.viewOffset+"px";var dt=gt(x);if(!nt&&dt==0&&!E.force&&ie.renderedView==ie.view&&(ie.updateLineNumbers==null||ie.updateLineNumbers>=ie.viewTo))return!1;var St=Zr(x);return dt>4&&(ie.lineDiv.style.display="none"),Ii(x,ie.updateLineNumbers,E.dims),dt>4&&(ie.lineDiv.style.display=""),ie.renderedView=ie.view,Jr(St),Le(ie.cursorDiv),Le(ie.selectionDiv),ie.gutters.style.height=ie.sizer.style.minHeight=0,nt&&(ie.lastWrapHeight=E.wrapperHeight,ie.lastWrapWidth=E.wrapperWidth,fr(x,400)),ie.updateLineNumbers=null,!0}function hi(x,E){for(var ie=E.viewport,re=!0;;re=!1){if(!re||!x.options.lineWrapping||E.oldDisplayWidth==cs(x)){if(ie&&ie.top!=null&&(ie={top:Math.min(x.doc.height+Ys(x.display)-du(x),ie.top)}),E.visible=mr(x.display,x.doc,ie),E.visible.from>=x.display.viewFrom&&E.visible.to<=x.display.viewTo)break}else re&&(E.visible=mr(x.display,x.doc,ie));if(!yi(x,E))break;di(x);var oe=Dl(x);Xt(x),nl(x,oe),Na(x,oe),E.force=!1}E.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(E.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Ki(x,E){var ie=new ur(x,E);if(yi(x,ie)){di(x),hi(x,ie);var re=Dl(x);Xt(x),nl(x,re),Na(x,re),ie.finish()}}function Ii(x,E,ie){var re=x.display,oe=x.options.lineNumbers,pe=re.lineDiv,je=pe.firstChild;function nt(Br){var vr=Br.nextSibling;return fe&&ke&&x.display.currentWheelTarget==Br?Br.style.display="none":Br.parentNode.removeChild(Br),vr}for(var dt=re.view,St=re.viewFrom,Kt=0;Kt<dt.length;Kt++){var rn=dt[Kt];if(!rn.hidden)if(!rn.node||rn.node.parentNode!=pe){var fn=Aa(x,rn,St,ie);pe.insertBefore(fn,je)}else{for(;je!=rn.node;)je=nt(je);var Rt=oe&&E!=null&&E<=St&&rn.lineNumber;rn.changes&&(st(rn.changes,"gutter")>-1&&(Rt=!1),Bi(x,rn,St,ie)),Rt&&(Le(rn.lineNumber),rn.lineNumber.appendChild(document.createTextNode(Cr(x.options,St)))),je=rn.node.nextSibling}St+=rn.size}for(;je;)je=nt(je)}function Ji(x){var E=x.gutters.offsetWidth;x.sizer.style.marginLeft=E+"px"}function Na(x,E){x.display.sizer.style.minHeight=E.docHeight+"px",x.display.heightForcer.style.top=E.docHeight+"px",x.display.gutters.style.height=E.docHeight+x.display.barHeight+os(x)+"px"}function Ja(x){var E=x.display,ie=E.view;if(!(!E.alignWidgets&&(!E.gutters.firstChild||!x.options.fixedGutter))){for(var re=$l(E)-E.scroller.scrollLeft+x.doc.scrollLeft,oe=E.gutters.offsetWidth,pe=re+"px",je=0;je<ie.length;je++)if(!ie[je].hidden){x.options.fixedGutter&&(ie[je].gutter&&(ie[je].gutter.style.left=pe),ie[je].gutterBackground&&(ie[je].gutterBackground.style.left=pe));var nt=ie[je].alignable;if(nt)for(var dt=0;dt<nt.length;dt++)nt[dt].style.left=pe}x.options.fixedGutter&&(E.gutters.style.left=re+oe+"px")}}function Da(x){if(!x.options.lineNumbers)return!1;var E=x.doc,ie=Cr(x.options,E.first+E.size-1),re=x.display;if(ie.length!=re.lineNumChars){var oe=re.measure.appendChild(De("div",[De("div",ie)],"CodeMirror-linenumber CodeMirror-gutter-elt")),pe=oe.firstChild.offsetWidth,je=oe.offsetWidth-pe;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(pe,re.lineGutter.offsetWidth-je)+1,re.lineNumWidth=re.lineNumInnerWidth+je,re.lineNumChars=re.lineNumInnerWidth?ie.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",Ji(x.display),!0}return!1}function Wa(x,E){for(var ie=[],re=!1,oe=0;oe<x.length;oe++){var pe=x[oe],je=null;if(typeof pe!="string"&&(je=pe.style,pe=pe.className),pe=="CodeMirror-linenumbers")if(E)re=!0;else continue;ie.push({className:pe,style:je})}return E&&!re&&ie.push({className:"CodeMirror-linenumbers",style:null}),ie}function bo(x){var E=x.gutters,ie=x.gutterSpecs;Le(E),x.lineGutter=null;for(var re=0;re<ie.length;++re){var oe=ie[re],pe=oe.className,je=oe.style,nt=E.appendChild(De("div",null,"CodeMirror-gutter "+pe));je&&(nt.style.cssText=je),pe=="CodeMirror-linenumbers"&&(x.lineGutter=nt,nt.style.width=(x.lineNumWidth||1)+"px")}E.style.display=ie.length?"":"none",Ji(x)}function ra(x){bo(x.display),Ws(x),Ja(x)}function Oa(x,E,ie,re){var oe=this;this.input=ie,oe.scrollbarFiller=De("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=De("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=ze("div",null,"CodeMirror-code"),oe.selectionDiv=De("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=De("div",null,"CodeMirror-cursors"),oe.measure=De("div",null,"CodeMirror-measure"),oe.lineMeasure=De("div",null,"CodeMirror-measure"),oe.lineSpace=ze("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var pe=ze("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=De("div",[pe],null,"position: relative"),oe.sizer=De("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=De("div",null,null,"position: absolute; height: "+zt+"px; width: 1px;"),oe.gutters=De("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=De("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=De("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),xe&&Ee<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!fe&&!(ee&&Ne)&&(oe.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(oe.wrapper):x(oe.wrapper)),oe.viewFrom=oe.viewTo=E.first,oe.reportedViewFrom=oe.reportedViewTo=E.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=Wa(re.gutters,re.lineNumbers),bo(oe),ie.init(oe)}var fa=0,Si=null;xe?Si=-.53:ee?Si=15:Fe?Si=-.7:rt&&(Si=-1/3);function Ui(x){var E=x.wheelDeltaX,ie=x.wheelDeltaY;return E==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(E=x.detail),ie==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ie=x.detail:ie==null&&(ie=x.wheelDelta),{x:E,y:ie}}function sr(x){var E=Ui(x);return E.x*=Si,E.y*=Si,E}function Po(x,E){var ie=Ui(E),re=ie.x,oe=ie.y,pe=x.display,je=pe.scroller,nt=je.scrollWidth>je.clientWidth,dt=je.scrollHeight>je.clientHeight;if(re&&nt||oe&&dt){if(oe&&ke&&fe){e:for(var St=E.target,Kt=pe.view;St!=je;St=St.parentNode)for(var rn=0;rn<Kt.length;rn++)if(Kt[rn].node==St){x.display.currentWheelTarget=St;break e}}if(re&&!ee&&!He&&Si!=null){oe&&dt&&Qo(x,Math.max(0,je.scrollTop+oe*Si)),vl(x,Math.max(0,je.scrollLeft+re*Si)),(!oe||oe&&dt)&&gn(E),pe.wheelStartX=null;return}if(oe&&Si!=null){var fn=oe*Si,Rt=x.doc.scrollTop,Br=Rt+pe.wrapper.clientHeight;fn<0?Rt=Math.max(0,Rt+fn-50):Br=Math.min(x.doc.height,Br+fn+50),Ki(x,{top:Rt,bottom:Br})}fa<20&&(pe.wheelStartX==null?(pe.wheelStartX=je.scrollLeft,pe.wheelStartY=je.scrollTop,pe.wheelDX=re,pe.wheelDY=oe,setTimeout(function(){if(pe.wheelStartX!=null){var vr=je.scrollLeft-pe.wheelStartX,Jn=je.scrollTop-pe.wheelStartY,Vr=Jn&&pe.wheelDY&&Jn/pe.wheelDY||vr&&pe.wheelDX&&vr/pe.wheelDX;pe.wheelStartX=pe.wheelStartY=null,Vr&&(Si=(Si*fa+Vr)/(fa+1),++fa)}},200)):(pe.wheelDX+=re,pe.wheelDY+=oe))}}var Ga=function(x,E){this.ranges=x,this.primIndex=E};Ga.prototype.primary=function(){return this.ranges[this.primIndex]},Ga.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var E=0;E<this.ranges.length;E++){var ie=this.ranges[E],re=x.ranges[E];if(!Jt(ie.anchor,re.anchor)||!Jt(ie.head,re.head))return!1}return!0},Ga.prototype.deepCopy=function(){for(var x=[],E=0;E<this.ranges.length;E++)x[E]=new ji(pn(this.ranges[E].anchor),pn(this.ranges[E].head));return new Ga(x,this.primIndex)},Ga.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},Ga.prototype.contains=function(x,E){E||(E=x);for(var ie=0;ie<this.ranges.length;ie++){var re=this.ranges[ie];if($n(E,re.from())>=0&&$n(x,re.to())<=0)return ie}return-1};var ji=function(x,E){this.anchor=x,this.head=E};ji.prototype.from=function(){return dn(this.anchor,this.head)},ji.prototype.to=function(){return An(this.anchor,this.head)},ji.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function so(x,E,ie){var re=x&&x.options.selectionsMayTouch,oe=E[ie];E.sort(function(fn,Rt){return $n(fn.from(),Rt.from())}),ie=st(E,oe);for(var pe=1;pe<E.length;pe++){var je=E[pe],nt=E[pe-1],dt=$n(nt.to(),je.from());if(re&&!je.empty()?dt>0:dt>=0){var St=dn(nt.from(),je.from()),Kt=An(nt.to(),je.to()),rn=nt.empty()?je.from()==je.head:nt.from()==nt.head;pe<=ie&&--ie,E.splice(--pe,2,new ji(rn?Kt:St,rn?St:Kt))}}return new Ga(E,ie)}function xo(x,E){return new Ga([new ji(x,E||x)],0)}function Do(x){return x.text?bn(x.from.line+x.text.length-1,Qt(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Io(x,E){if($n(x,E.from)<0)return x;if($n(x,E.to)<=0)return Do(E);var ie=x.line+E.text.length-(E.to.line-E.from.line)-1,re=x.ch;return x.line==E.to.line&&(re+=Do(E).ch-E.to.ch),bn(ie,re)}function Bl(x,E){for(var ie=[],re=0;re<x.sel.ranges.length;re++){var oe=x.sel.ranges[re];ie.push(new ji(Io(oe.anchor,E),Io(oe.head,E)))}return so(x.cm,ie,x.sel.primIndex)}function Ko(x,E,ie){return x.line==E.line?bn(ie.line,x.ch-E.ch+ie.ch):bn(ie.line+(x.line-E.line),x.ch)}function za(x,E,ie){for(var re=[],oe=bn(x.first,0),pe=oe,je=0;je<E.length;je++){var nt=E[je],dt=Ko(nt.from,oe,pe),St=Ko(Do(nt),oe,pe);if(oe=nt.to,pe=St,ie=="around"){var Kt=x.sel.ranges[je],rn=$n(Kt.head,Kt.anchor)<0;re[je]=new ji(rn?St:dt,rn?dt:St)}else re[je]=new ji(dt,dt)}return new Ga(re,x.sel.primIndex)}function Hl(x){x.doc.mode=dr(x.options,x.doc.modeOption),Xa(x)}function Xa(x){x.doc.iter(function(E){E.stateAfter&&(E.stateAfter=null),E.styles&&(E.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,fr(x,100),x.state.modeGen++,x.curOp&&Ws(x)}function to(x,E){return E.from.ch==0&&E.to.ch==0&&Qt(E.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function ll(x,E,ie,re){function oe(Ei){return ie?ie[Ei]:null}function pe(Ei,Dn,hr){mo(Ei,Dn,hr,re),ti(Ei,"change",Ei,E)}function je(Ei,Dn){for(var hr=[],ii=Ei;ii<Dn;++ii)hr.push(new ea(St[ii],oe(ii),re));return hr}var nt=E.from,dt=E.to,St=E.text,Kt=Gt(x,nt.line),rn=Gt(x,dt.line),fn=Qt(St),Rt=oe(St.length-1),Br=dt.line-nt.line;if(E.full)x.insert(0,je(0,St.length)),x.remove(St.length,x.size-St.length);else if(to(x,E)){var vr=je(0,St.length-1);pe(rn,rn.text,Rt),Br&&x.remove(nt.line,Br),vr.length&&x.insert(nt.line,vr)}else if(Kt==rn)if(St.length==1)pe(Kt,Kt.text.slice(0,nt.ch)+fn+Kt.text.slice(dt.ch),Rt);else{var Jn=je(1,St.length-1);Jn.push(new ea(fn+Kt.text.slice(dt.ch),Rt,re)),pe(Kt,Kt.text.slice(0,nt.ch)+St[0],oe(0)),x.insert(nt.line+1,Jn)}else if(St.length==1)pe(Kt,Kt.text.slice(0,nt.ch)+St[0]+rn.text.slice(dt.ch),oe(0)),x.remove(nt.line+1,Br);else{pe(Kt,Kt.text.slice(0,nt.ch)+St[0],oe(0)),pe(rn,fn+rn.text.slice(dt.ch),Rt);var Vr=je(1,St.length-1);Br>1&&x.remove(nt.line+1,Br-1),x.insert(nt.line+1,Vr)}ti(x,"change",x,E)}function Jl(x,E,ie){function re(oe,pe,je){if(oe.linked)for(var nt=0;nt<oe.linked.length;++nt){var dt=oe.linked[nt];if(dt.doc!=pe){var St=je&&dt.sharedHist;ie&&!St||(E(dt.doc,St),re(dt.doc,oe,St))}}}re(x,null,!0)}function no(x,E){if(E.cm)throw new Error("This document is already in use.");x.doc=E,E.cm=x,Zs(x),Hl(x),Ua(x),x.options.lineWrapping||Mi(x),x.options.mode=E.modeOption,Ws(x)}function Ua(x){(x.doc.direction=="rtl"?vt:Re)(x.display.lineDiv,"CodeMirror-rtl")}function eo(x){sn(x,function(){Ua(x),Ws(x)})}function Ta(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 Ca(x,E){var ie={from:pn(E.from),to:Do(E),text:nn(x,E.from,E.to)};return su(x,ie,E.from.line,E.to.line+1),Jl(x,function(re){return su(re,ie,E.from.line,E.to.line+1)},!0),ie}function $r(x){for(;x.length;){var E=Qt(x);if(E.ranges)x.pop();else break}}function Yi(x,E){if(E)return $r(x.done),Qt(x.done);if(x.done.length&&!Qt(x.done).ranges)return Qt(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),Qt(x.done)}function co(x,E,ie,re){var oe=x.history;oe.undone.length=0;var pe=+new Date,je,nt;if((oe.lastOp==re||oe.lastOrigin==E.origin&&E.origin&&(E.origin.charAt(0)=="+"&&oe.lastModTime>pe-(x.cm?x.cm.options.historyEventDelay:500)||E.origin.charAt(0)=="*"))&&(je=Yi(oe,oe.lastOp==re)))nt=Qt(je.changes),$n(E.from,E.to)==0&&$n(E.from,nt.to)==0?nt.to=Do(E):je.changes.push(Ca(x,E));else{var dt=Qt(oe.done);for((!dt||!dt.ranges)&&xs(x.sel,oe.done),je={changes:[Ca(x,E)],generation:oe.generation},oe.done.push(je);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(ie),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=pe,oe.lastOp=oe.lastSelOp=re,oe.lastOrigin=oe.lastSelOrigin=E.origin,nt||it(x,"historyAdded")}function _o(x,E,ie,re){var oe=E.charAt(0);return oe=="*"||oe=="+"&&ie.ranges.length==re.ranges.length&&ie.somethingSelected()==re.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Ms(x,E,ie,re){var oe=x.history,pe=re&&re.origin;ie==oe.lastSelOp||pe&&oe.lastSelOrigin==pe&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==pe||_o(x,pe,Qt(oe.done),E))?oe.done[oe.done.length-1]=E:xs(E,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=pe,oe.lastSelOp=ie,re&&re.clearRedo!==!1&&$r(oe.undone)}function xs(x,E){var ie=Qt(E);ie&&ie.ranges&&ie.equals(x)||E.push(x)}function su(x,E,ie,re){var oe=E["spans_"+x.id],pe=0;x.iter(Math.max(x.first,ie),Math.min(x.first+x.size,re),function(je){je.markedSpans&&((oe||(oe=E["spans_"+x.id]={}))[pe]=je.markedSpans),++pe})}function sa(x){if(!x)return null;for(var E,ie=0;ie<x.length;++ie)x[ie].marker.explicitlyCleared?E||(E=x.slice(0,ie)):E&&E.push(x[ie]);return E?E.length?E:null:x}function ns(x,E){var ie=E["spans_"+x.id];if(!ie)return null;for(var re=[],oe=0;oe<E.text.length;++oe)re.push(sa(ie[oe]));return re}function ro(x,E){var ie=ns(x,E),re=Or(x,E);if(!ie)return re;if(!re)return ie;for(var oe=0;oe<ie.length;++oe){var pe=ie[oe],je=re[oe];if(pe&&je)e:for(var nt=0;nt<je.length;++nt){for(var dt=je[nt],St=0;St<pe.length;++St)if(pe[St].marker==dt.marker)continue e;pe.push(dt)}else je&&(ie[oe]=je)}return ie}function Es(x,E,ie){for(var re=[],oe=0;oe<x.length;++oe){var pe=x[oe];if(pe.ranges){re.push(ie?Ga.prototype.deepCopy.call(pe):pe);continue}var je=pe.changes,nt=[];re.push({changes:nt});for(var dt=0;dt<je.length;++dt){var St=je[dt],Kt=void 0;if(nt.push({from:St.from,to:St.to,text:St.text}),E)for(var rn in St)(Kt=rn.match(/^spans_(\d+)$/))&&st(E,Number(Kt[1]))>-1&&(Qt(nt)[rn]=St[rn],delete St[rn])}}return re}function Ss(x,E,ie,re){if(re){var oe=x.anchor;if(ie){var pe=$n(E,oe)<0;pe!=$n(ie,oe)<0?(oe=E,E=ie):pe!=$n(E,ie)<0&&(E=ie)}return new ji(oe,E)}else return new ji(ie||E,E)}function ol(x,E,ie,re,oe){oe==null&&(oe=x.cm&&(x.cm.display.shift||x.extend)),bl(x,new Ga([Ss(x.sel.primary(),E,ie,oe)],0),re)}function Ni(x,E,ie){for(var re=[],oe=x.cm&&(x.cm.display.shift||x.extend),pe=0;pe<x.sel.ranges.length;pe++)re[pe]=Ss(x.sel.ranges[pe],E[pe],null,oe);var je=so(x.cm,re,x.sel.primIndex);bl(x,je,ie)}function yl(x,E,ie,re){var oe=x.sel.ranges.slice(0);oe[E]=ie,bl(x,so(x.cm,oe,x.sel.primIndex),re)}function Ro(x,E,ie,re){bl(x,xo(E,ie),re)}function Gl(x,E,ie){var re={ranges:E.ranges,update:function(oe){this.ranges=[];for(var pe=0;pe<oe.length;pe++)this.ranges[pe]=new ji(ln(x,oe[pe].anchor),ln(x,oe[pe].head))},origin:ie&&ie.origin};return it(x,"beforeSelectionChange",x,re),x.cm&&it(x.cm,"beforeSelectionChange",x.cm,re),re.ranges!=E.ranges?so(x.cm,re.ranges,re.ranges.length-1):E}function wo(x,E,ie){var re=x.history.done,oe=Qt(re);oe&&oe.ranges?(re[re.length-1]=E,As(x,E,ie)):bl(x,E,ie)}function bl(x,E,ie){As(x,E,ie),Ms(x,x.sel,x.cm?x.cm.curOp.id:NaN,ie)}function As(x,E,ie){(un(x,"beforeSelectionChange")||x.cm&&un(x.cm,"beforeSelectionChange"))&&(E=Gl(x,E,ie));var re=ie&&ie.bias||($n(E.primary().head,x.sel.primary().head)<0?-1:1);Ml(x,io(x,E,re,!0)),!(ie&&ie.scroll===!1)&&x.cm&&La(x.cm)}function Ml(x,E){E.equals(x.sel)||(x.sel=E,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,an(x.cm)),ti(x,"cursorActivity",x))}function qa(x){Ml(x,io(x,x.sel,null,!1))}function io(x,E,ie,re){for(var oe,pe=0;pe<E.ranges.length;pe++){var je=E.ranges[pe],nt=E.ranges.length==x.sel.ranges.length&&x.sel.ranges[pe],dt=Iu(x,je.anchor,nt&&nt.anchor,ie,re),St=Iu(x,je.head,nt&&nt.head,ie,re);(oe||dt!=je.anchor||St!=je.head)&&(oe||(oe=E.ranges.slice(0,pe)),oe[pe]=new ji(dt,St))}return oe?so(x.cm,oe,E.primIndex):E}function Yl(x,E,ie,re,oe){var pe=Gt(x,E.line);if(pe.markedSpans)for(var je=0;je<pe.markedSpans.length;++je){var nt=pe.markedSpans[je],dt=nt.marker,St="selectLeft"in dt?!dt.selectLeft:dt.inclusiveLeft,Kt="selectRight"in dt?!dt.selectRight:dt.inclusiveRight;if((nt.from==null||(St?nt.from<=E.ch:nt.from<E.ch))&&(nt.to==null||(Kt?nt.to>=E.ch:nt.to>E.ch))){if(oe&&(it(dt,"beforeCursorEnter"),dt.explicitlyCleared))if(pe.markedSpans){--je;continue}else break;if(!dt.atomic)continue;if(ie){var rn=dt.find(re<0?1:-1),fn=void 0;if((re<0?Kt:St)&&(rn=Vs(x,rn,-re,rn&&rn.line==E.line?pe:null)),rn&&rn.line==E.line&&(fn=$n(rn,ie))&&(re<0?fn<0:fn>0))return Yl(x,rn,E,re,oe)}var Rt=dt.find(re<0?-1:1);return(re<0?St:Kt)&&(Rt=Vs(x,Rt,re,Rt.line==E.line?pe:null)),Rt?Yl(x,Rt,E,re,oe):null}}return E}function Iu(x,E,ie,re,oe){var pe=re||1,je=Yl(x,E,ie,pe,oe)||!oe&&Yl(x,E,ie,pe,!0)||Yl(x,E,ie,-pe,oe)||!oe&&Yl(x,E,ie,-pe,!0);return je||(x.cantEdit=!0,bn(x.first,0))}function Vs(x,E,ie,re){return ie<0&&E.ch==0?E.line>x.first?ln(x,bn(E.line-1)):null:ie>0&&E.ch==(re||Gt(x,E.line)).text.length?E.line<x.first+x.size-1?bn(E.line+1,0):null:new bn(E.line,E.ch+ie)}function tu(x){x.setSelection(bn(x.firstLine(),0),bn(x.lastLine()),tt)}function Js(x,E,ie){var re={canceled:!1,from:E.from,to:E.to,text:E.text,origin:E.origin,cancel:function(){return re.canceled=!0}};return ie&&(re.update=function(oe,pe,je,nt){oe&&(re.from=ln(x,oe)),pe&&(re.to=ln(x,pe)),je&&(re.text=je),nt!==void 0&&(re.origin=nt)}),it(x,"beforeChange",x,re),x.cm&&it(x.cm,"beforeChange",x.cm,re),re.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:re.from,to:re.to,text:re.text,origin:re.origin}}function es(x,E,ie){if(x.cm){if(!x.cm.curOp)return Kn(x.cm,es)(x,E,ie);if(x.cm.state.suppressEdits)return}if(!((un(x,"beforeChange")||x.cm&&un(x.cm,"beforeChange"))&&(E=Js(x,E,!0),!E))){var re=Gi&&!ie&&ia(x,E.from,E.to);if(re)for(var oe=re.length-1;oe>=0;--oe)ls(x,{from:re[oe].from,to:re[oe].to,text:oe?[""]:E.text,origin:E.origin});else ls(x,E)}}function ls(x,E){if(!(E.text.length==1&&E.text[0]==""&&$n(E.from,E.to)==0)){var ie=Bl(x,E);co(x,E,ie,x.cm?x.cm.curOp.id:NaN),Rs(x,E,ie,Or(x,E));var re=[];Jl(x,function(oe,pe){!pe&&st(re,oe.history)==-1&&(kl(oe.history,E),re.push(oe.history)),Rs(oe,E,null,Or(oe,E))})}}function Fs(x,E,ie){var re=x.cm&&x.cm.state.suppressEdits;if(!(re&&!ie)){for(var oe=x.history,pe,je=x.sel,nt=E=="undo"?oe.done:oe.undone,dt=E=="undo"?oe.undone:oe.done,St=0;St<nt.length&&(pe=nt[St],!(ie?pe.ranges&&!pe.equals(x.sel):!pe.ranges));St++);if(St!=nt.length){for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(pe=nt.pop(),pe.ranges){if(xs(pe,dt),ie&&!pe.equals(x.sel)){bl(x,pe,{clearRedo:!1});return}je=pe}else if(re){nt.push(pe);return}else break;var Kt=[];xs(je,dt),dt.push({changes:Kt,generation:oe.generation}),oe.generation=pe.generation||++oe.maxGeneration;for(var rn=un(x,"beforeChange")||x.cm&&un(x.cm,"beforeChange"),fn=function(vr){var Jn=pe.changes[vr];if(Jn.origin=E,rn&&!Js(x,Jn,!1))return nt.length=0,{};Kt.push(Ca(x,Jn));var Vr=vr?Bl(x,Jn):Qt(nt);Rs(x,Jn,Vr,ro(x,Jn)),!vr&&x.cm&&x.cm.scrollIntoView({from:Jn.from,to:Do(Jn)});var Ei=[];Jl(x,function(Dn,hr){!hr&&st(Ei,Dn.history)==-1&&(kl(Dn.history,Jn),Ei.push(Dn.history)),Rs(Dn,Jn,null,ro(Dn,Jn))})},Rt=pe.changes.length-1;Rt>=0;--Rt){var Br=fn(Rt);if(Br)return Br.v}}}}function Hu(x,E){if(E!=0&&(x.first+=E,x.sel=new Ga(Ut(x.sel.ranges,function(oe){return new ji(bn(oe.anchor.line+E,oe.anchor.ch),bn(oe.head.line+E,oe.head.ch))}),x.sel.primIndex),x.cm)){Ws(x.cm,x.first,x.first-E,E);for(var ie=x.cm.display,re=ie.viewFrom;re<ie.viewTo;re++)ou(x.cm,re,"gutter")}}function Rs(x,E,ie,re){if(x.cm&&!x.cm.curOp)return Kn(x.cm,Rs)(x,E,ie,re);if(E.to.line<x.first){Hu(x,E.text.length-1-(E.to.line-E.from.line));return}if(!(E.from.line>x.lastLine())){if(E.from.line<x.first){var oe=E.text.length-1-(x.first-E.from.line);Hu(x,oe),E={from:bn(x.first,0),to:bn(E.to.line+oe,E.to.ch),text:[Qt(E.text)],origin:E.origin}}var pe=x.lastLine();E.to.line>pe&&(E={from:E.from,to:bn(pe,Gt(x,pe).text.length),text:[E.text[0]],origin:E.origin}),E.removed=nn(x,E.from,E.to),ie||(ie=Bl(x,E)),x.cm?Fu(x.cm,E,re):ll(x,E,re),As(x,ie,tt),x.cantEdit&&Iu(x,bn(x.firstLine(),0))&&(x.cantEdit=!1)}}function Fu(x,E,ie){var re=x.doc,oe=x.display,pe=E.from,je=E.to,nt=!1,dt=pe.line;x.options.lineWrapping||(dt=Sn(_a(Gt(re,pe.line))),re.iter(dt,je.line+1,function(Rt){if(Rt==oe.maxLine)return nt=!0,!0})),re.sel.contains(E.from,E.to)>-1&&an(x),ll(re,E,ie,au(x)),x.options.lineWrapping||(re.iter(dt,pe.line+E.text.length,function(Rt){var Br=Li(Rt);Br>oe.maxLineLength&&(oe.maxLine=Rt,oe.maxLineLength=Br,oe.maxLineChanged=!0,nt=!1)}),nt&&(x.curOp.updateMaxLine=!0)),Qr(re,pe.line),fr(x,400);var St=E.text.length-(je.line-pe.line)-1;E.full?Ws(x):pe.line==je.line&&E.text.length==1&&!to(x.doc,E)?ou(x,pe.line,"text"):Ws(x,pe.line,je.line+1,St);var Kt=un(x,"changes"),rn=un(x,"change");if(rn||Kt){var fn={from:pe,to:je,text:E.text,removed:E.removed,origin:E.origin};rn&&ti(x,"change",x,fn),Kt&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(fn)}x.display.selForContextMenu=null}function Xu(x,E,ie,re,oe){var pe;re||(re=ie),$n(re,ie)<0&&(pe=[re,ie],ie=pe[0],re=pe[1]),typeof E=="string"&&(E=x.splitLines(E)),es(x,{from:ie,to:re,text:E,origin:oe})}function Hc(x,E,ie,re){ie<x.line?x.line+=re:E<x.line&&(x.line=E,x.ch=0)}function hl(x,E,ie,re){for(var oe=0;oe<x.length;++oe){var pe=x[oe],je=!0;if(pe.ranges){pe.copied||(pe=x[oe]=pe.deepCopy(),pe.copied=!0);for(var nt=0;nt<pe.ranges.length;nt++)Hc(pe.ranges[nt].anchor,E,ie,re),Hc(pe.ranges[nt].head,E,ie,re);continue}for(var dt=0;dt<pe.changes.length;++dt){var St=pe.changes[dt];if(ie<St.from.line)St.from=bn(St.from.line+re,St.from.ch),St.to=bn(St.to.line+re,St.to.ch);else if(E<=St.to.line){je=!1;break}}je||(x.splice(0,oe+1),oe=0)}}function kl(x,E){var ie=E.from.line,re=E.to.line,oe=E.text.length-(re-ie)-1;hl(x.done,ie,re,oe),hl(x.undone,ie,re,oe)}function ks(x,E,ie,re){var oe=E,pe=E;return typeof E=="number"?pe=Gt(x,Hn(x,E)):oe=Sn(E),oe==null?null:(re(pe,oe)&&x.cm&&ou(x.cm,oe,ie),pe)}function Ol(x){this.lines=x,this.parent=null;for(var E=0,ie=0;ie<x.length;++ie)x[ie].parent=this,E+=x[ie].height;this.height=E}Ol.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,E){for(var ie=x,re=x+E;ie<re;++ie){var oe=this.lines[ie];this.height-=oe.height,Vo(oe),ti(oe,"delete")}this.lines.splice(x,E)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,E,ie){this.height+=ie,this.lines=this.lines.slice(0,x).concat(E).concat(this.lines.slice(x));for(var re=0;re<E.length;++re)E[re].parent=this},iterN:function(x,E,ie){for(var re=x+E;x<re;++x)if(ie(this.lines[x]))return!0}};function zs(x){this.children=x;for(var E=0,ie=0,re=0;re<x.length;++re){var oe=x[re];E+=oe.chunkSize(),ie+=oe.height,oe.parent=this}this.size=E,this.height=ie,this.parent=null}zs.prototype={chunkSize:function(){return this.size},removeInner:function(x,E){this.size-=E;for(var ie=0;ie<this.children.length;++ie){var re=this.children[ie],oe=re.chunkSize();if(x<oe){var pe=Math.min(E,oe-x),je=re.height;if(re.removeInner(x,pe),this.height-=je-re.height,oe==pe&&(this.children.splice(ie--,1),re.parent=null),(E-=pe)==0)break;x=0}else x-=oe}if(this.size-E<25&&(this.children.length>1||!(this.children[0]instanceof Ol))){var nt=[];this.collapse(nt),this.children=[new Ol(nt)],this.children[0].parent=this}},collapse:function(x){for(var E=0;E<this.children.length;++E)this.children[E].collapse(x)},insertInner:function(x,E,ie){this.size+=E.length,this.height+=ie;for(var re=0;re<this.children.length;++re){var oe=this.children[re],pe=oe.chunkSize();if(x<=pe){if(oe.insertInner(x,E,ie),oe.lines&&oe.lines.length>50){for(var je=oe.lines.length%25+25,nt=je;nt<oe.lines.length;){var dt=new Ol(oe.lines.slice(nt,nt+=25));oe.height-=dt.height,this.children.splice(++re,0,dt),dt.parent=this}oe.lines=oe.lines.slice(0,je),this.maybeSpill()}break}x-=pe}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var E=x.children.splice(x.children.length-5,5),ie=new zs(E);if(x.parent){x.size-=ie.size,x.height-=ie.height;var oe=st(x.parent.children,x);x.parent.children.splice(oe+1,0,ie)}else{var re=new zs(x.children);re.parent=x,x.children=[re,ie],x=re}ie.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,E,ie){for(var re=0;re<this.children.length;++re){var oe=this.children[re],pe=oe.chunkSize();if(x<pe){var je=Math.min(E,pe-x);if(oe.iterN(x,je,ie))return!0;if((E-=je)==0)break;x=0}else x-=pe}}};var Hs=function(x,E,ie){if(ie)for(var re in ie)ie.hasOwnProperty(re)&&(this[re]=ie[re]);this.doc=x,this.node=E};Hs.prototype.clear=function(){var x=this.doc.cm,E=this.line.widgets,ie=this.line,re=Sn(ie);if(!(re==null||!E)){for(var oe=0;oe<E.length;++oe)E[oe]==this&&E.splice(oe--,1);E.length||(ie.widgets=null);var pe=xl(this);Pn(ie,Math.max(0,ie.height-pe)),x&&(sn(x,function(){Xs(x,ie,-pe),ou(x,re,"widget")}),ti(x,"lineWidgetCleared",x,this,re))}},Hs.prototype.changed=function(){var x=this,E=this.height,ie=this.doc.cm,re=this.line;this.height=null;var oe=xl(this)-E;oe&&(Ar(this.doc,re)||Pn(re,re.height+oe),ie&&sn(ie,function(){ie.curOp.forceUpdate=!0,Xs(ie,re,oe),ti(ie,"lineWidgetChanged",ie,x,Sn(re))}))},vn(Hs);function Xs(x,E,ie){_i(E)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&Pa(x,ie)}function ju(x,E,ie,re){var oe=new Hs(x,ie,re),pe=x.cm;return pe&&oe.noHScroll&&(pe.display.alignWidgets=!0),ks(x,E,"widget",function(je){var nt=je.widgets||(je.widgets=[]);if(oe.insertAt==null?nt.push(oe):nt.splice(Math.min(nt.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=je,pe&&!Ar(x,je)){var dt=_i(je)<x.scrollTop;Pn(je,je.height+xl(oe)),dt&&Pa(pe,oe.height),pe.curOp.forceUpdate=!0}return!0}),pe&&ti(pe,"lineWidgetAdded",pe,oe,typeof E=="number"?E:Sn(E)),oe}var jc=0,cc=function(x,E){this.lines=[],this.type=E,this.doc=x,this.id=++jc};cc.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,E=x&&!x.curOp;if(E&&fl(x),un(this,"clear")){var ie=this.find();ie&&ti(this,"clear",ie.from,ie.to)}for(var re=null,oe=null,pe=0;pe<this.lines.length;++pe){var je=this.lines[pe],nt=Qi(je.markedSpans,this);x&&!this.collapsed?ou(x,Sn(je),"text"):x&&(nt.to!=null&&(oe=Sn(je)),nt.from!=null&&(re=Sn(je))),je.markedSpans=Pi(je.markedSpans,nt),nt.from==null&&this.collapsed&&!Ar(this.doc,je)&&x&&Pn(je,Ju(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var dt=0;dt<this.lines.length;++dt){var St=_a(this.lines[dt]),Kt=Li(St);Kt>x.display.maxLineLength&&(x.display.maxLine=St,x.display.maxLineLength=Kt,x.display.maxLineChanged=!0)}re!=null&&x&&this.collapsed&&Ws(x,re,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&qa(x.doc)),x&&ti(x,"markerCleared",x,this,re,oe),E&&fs(x),this.parent&&this.parent.clear()}},cc.prototype.find=function(x,E){x==null&&this.type=="bookmark"&&(x=1);for(var ie,re,oe=0;oe<this.lines.length;++oe){var pe=this.lines[oe],je=Qi(pe.markedSpans,this);if(je.from!=null&&(ie=bn(E?pe:Sn(pe),je.from),x==-1))return ie;if(je.to!=null&&(re=bn(E?pe:Sn(pe),je.to),x==1))return re}return ie&&{from:ie,to:re}},cc.prototype.changed=function(){var x=this,E=this.find(-1,!0),ie=this,re=this.doc.cm;!E||!re||sn(re,function(){var oe=E.line,pe=Sn(E.line),je=gs(re,pe);if(je&&(Ul(je),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!Ar(ie.doc,oe)&&ie.height!=null){var nt=ie.height;ie.height=null;var dt=xl(ie)-nt;dt&&Pn(oe,oe.height+dt)}ti(re,"markerChanged",re,x)})},cc.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var E=this.doc.cm.curOp;(!E.maybeHiddenMarkers||st(E.maybeHiddenMarkers,this)==-1)&&(E.maybeUnhiddenMarkers||(E.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},cc.prototype.detachLine=function(x){if(this.lines.splice(st(this.lines,x),1),!this.lines.length&&this.doc.cm){var E=this.doc.cm.curOp;(E.maybeHiddenMarkers||(E.maybeHiddenMarkers=[])).push(this)}},vn(cc);function Zu(x,E,ie,re,oe){if(re&&re.shared)return rs(x,E,ie,re,oe);if(x.cm&&!x.cm.curOp)return Kn(x.cm,Zu)(x,E,ie,re,oe);var pe=new cc(x,oe),je=$n(E,ie);if(re&&It(re,pe,!1),je>0||je==0&&pe.clearWhenEmpty!==!1)return pe;if(pe.replacedWith&&(pe.collapsed=!0,pe.widgetNode=ze("span",[pe.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||pe.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(pe.widgetNode.insertLeft=!0)),pe.collapsed){if(Ea(x,E.line,E,ie,pe)||E.line!=ie.line&&Ea(x,ie.line,E,ie,pe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ai()}pe.addToHistory&&co(x,{from:E,to:ie,origin:"markText"},x.sel,NaN);var nt=E.line,dt=x.cm,St;if(x.iter(nt,ie.line+1,function(rn){dt&&pe.collapsed&&!dt.options.lineWrapping&&_a(rn)==dt.display.maxLine&&(St=!0),pe.collapsed&&nt!=E.line&&Pn(rn,0),xa(rn,new li(pe,nt==E.line?E.ch:null,nt==ie.line?ie.ch:null)),++nt}),pe.collapsed&&x.iter(E.line,ie.line+1,function(rn){Ar(x,rn)&&Pn(rn,0)}),pe.clearOnEnter&&Yt(pe,"beforeCursorEnter",function(){return pe.clear()}),pe.readOnly&&($i(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),pe.collapsed&&(pe.id=++jc,pe.atomic=!0),dt){if(St&&(dt.curOp.updateMaxLine=!0),pe.collapsed)Ws(dt,E.line,ie.line+1);else if(pe.className||pe.startStyle||pe.endStyle||pe.css||pe.attributes||pe.title)for(var Kt=E.line;Kt<=ie.line;Kt++)ou(dt,Kt,"text");pe.atomic&&qa(dt.doc),ti(dt,"markerAdded",dt,pe)}return pe}var ml=function(x,E){this.markers=x,this.primary=E;for(var ie=0;ie<x.length;++ie)x[ie].parent=this};ml.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();ti(this,"clear")}},ml.prototype.find=function(x,E){return this.primary.find(x,E)},vn(ml);function rs(x,E,ie,re,oe){re=It(re),re.shared=!1;var pe=[Zu(x,E,ie,re,oe)],je=pe[0],nt=re.widgetNode;return Jl(x,function(dt){nt&&(re.widgetNode=nt.cloneNode(!0)),pe.push(Zu(dt,ln(dt,E),ln(dt,ie),re,oe));for(var St=0;St<dt.linked.length;++St)if(dt.linked[St].isParent)return;je=Qt(pe)}),new ml(pe,je)}function Ou(x){return x.findMarks(bn(x.first,0),x.clipPos(bn(x.lastLine())),function(E){return E.parent})}function oc(x,E){for(var ie=0;ie<E.length;ie++){var re=E[ie],oe=re.find(),pe=x.clipPos(oe.from),je=x.clipPos(oe.to);if($n(pe,je)){var nt=Zu(x,pe,je,re.primary,re.primary.type);re.markers.push(nt),nt.parent=re}}}function qs(x){for(var E=function(re){var oe=x[re],pe=[oe.primary.doc];Jl(oe.primary.doc,function(dt){return pe.push(dt)});for(var je=0;je<oe.markers.length;je++){var nt=oe.markers[je];st(pe,nt.doc)==-1&&(nt.parent=null,oe.markers.splice(je--,1))}},ie=0;ie<x.length;ie++)E(ie)}var Zc=0,Ps=function(x,E,ie,re,oe){if(!(this instanceof Ps))return new Ps(x,E,ie,re,oe);ie==null&&(ie=0),zs.call(this,[new Ol([new ea("",null)])]),this.first=ie,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ie;var pe=bn(ie,0);this.sel=xo(pe),this.history=new Ta(null),this.id=++Zc,this.modeOption=E,this.lineSep=re,this.direction=oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),ll(this,{from:pe,to:pe,text:x}),bl(this,xo(pe),tt)};Ps.prototype=he(zs.prototype,{constructor:Ps,iter:function(x,E,ie){ie?this.iterN(x-this.first,E-x,ie):this.iterN(this.first,this.first+this.size,x)},insert:function(x,E){for(var ie=0,re=0;re<E.length;++re)ie+=E[re].height;this.insertInner(x-this.first,E,ie)},remove:function(x,E){this.removeInner(x-this.first,E)},getValue:function(x){var E=_n(this,this.first,this.first+this.size);return x===!1?E:E.join(x||this.lineSeparator())},setValue:Tn(function(x){var E=bn(this.first,0),ie=this.first+this.size-1;es(this,{from:E,to:bn(ie,Gt(this,ie).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&Ma(this.cm,0,0),bl(this,xo(E),tt)}),replaceRange:function(x,E,ie,re){E=ln(this,E),ie=ie?ln(this,ie):E,Xu(this,x,E,ie,re)},getRange:function(x,E,ie){var re=nn(this,ln(this,x),ln(this,E));return ie===!1?re:re.join(ie||this.lineSeparator())},getLine:function(x){var E=this.getLineHandle(x);return E&&E.text},getLineHandle:function(x){if(gr(this,x))return Gt(this,x)},getLineNumber:function(x){return Sn(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=Gt(this,x)),_a(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return ln(this,x)},getCursor:function(x){var E=this.sel.primary(),ie;return x==null||x=="head"?ie=E.head:x=="anchor"?ie=E.anchor:x=="end"||x=="to"||x===!1?ie=E.to():ie=E.from(),ie},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Tn(function(x,E,ie){Ro(this,ln(this,typeof x=="number"?bn(x,E||0):x),null,ie)}),setSelection:Tn(function(x,E,ie){Ro(this,ln(this,x),ln(this,E||x),ie)}),extendSelection:Tn(function(x,E,ie){ol(this,ln(this,x),E&&ln(this,E),ie)}),extendSelections:Tn(function(x,E){Ni(this,Mt(this,x),E)}),extendSelectionsBy:Tn(function(x,E){var ie=Ut(this.sel.ranges,x);Ni(this,Mt(this,ie),E)}),setSelections:Tn(function(x,E,ie){if(x.length){for(var re=[],oe=0;oe<x.length;oe++)re[oe]=new ji(ln(this,x[oe].anchor),ln(this,x[oe].head));E==null&&(E=Math.min(x.length-1,this.sel.primIndex)),bl(this,so(this.cm,re,E),ie)}}),addSelection:Tn(function(x,E,ie){var re=this.sel.ranges.slice(0);re.push(new ji(ln(this,x),ln(this,E||x))),bl(this,so(this.cm,re,re.length-1),ie)}),getSelection:function(x){for(var E=this.sel.ranges,ie,re=0;re<E.length;re++){var oe=nn(this,E[re].from(),E[re].to());ie=ie?ie.concat(oe):oe}return x===!1?ie:ie.join(x||this.lineSeparator())},getSelections:function(x){for(var E=[],ie=this.sel.ranges,re=0;re<ie.length;re++){var oe=nn(this,ie[re].from(),ie[re].to());x!==!1&&(oe=oe.join(x||this.lineSeparator())),E[re]=oe}return E},replaceSelection:function(x,E,ie){for(var re=[],oe=0;oe<this.sel.ranges.length;oe++)re[oe]=x;this.replaceSelections(re,E,ie||"+input")},replaceSelections:Tn(function(x,E,ie){for(var re=[],oe=this.sel,pe=0;pe<oe.ranges.length;pe++){var je=oe.ranges[pe];re[pe]={from:je.from(),to:je.to(),text:this.splitLines(x[pe]),origin:ie}}for(var nt=E&&E!="end"&&za(this,re,E),dt=re.length-1;dt>=0;dt--)es(this,re[dt]);nt?wo(this,nt):this.cm&&La(this.cm)}),undo:Tn(function(){Fs(this,"undo")}),redo:Tn(function(){Fs(this,"redo")}),undoSelection:Tn(function(){Fs(this,"undo",!0)}),redoSelection:Tn(function(){Fs(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,E=0,ie=0,re=0;re<x.done.length;re++)x.done[re].ranges||++E;for(var oe=0;oe<x.undone.length;oe++)x.undone[oe].ranges||++ie;return{undo:E,redo:ie}},clearHistory:function(){var x=this;this.history=new Ta(this.history.maxGeneration),Jl(this,function(E){return E.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:Es(this.history.done),undone:Es(this.history.undone)}},setHistory:function(x){var E=this.history=new Ta(this.history.maxGeneration);E.done=Es(x.done.slice(0),null,!0),E.undone=Es(x.undone.slice(0),null,!0)},setGutterMarker:Tn(function(x,E,ie){return ks(this,x,"gutter",function(re){var oe=re.gutterMarkers||(re.gutterMarkers={});return oe[E]=ie,!ie&&se(oe)&&(re.gutterMarkers=null),!0})}),clearGutter:Tn(function(x){var E=this;this.iter(function(ie){ie.gutterMarkers&&ie.gutterMarkers[x]&&ks(E,ie,"gutter",function(){return ie.gutterMarkers[x]=null,se(ie.gutterMarkers)&&(ie.gutterMarkers=null),!0})})}),lineInfo:function(x){var E;if(typeof x=="number"){if(!gr(this,x)||(E=x,x=Gt(this,x),!x))return null}else if(E=Sn(x),E==null)return null;return{line:E,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:Tn(function(x,E,ie){return ks(this,x,E=="gutter"?"gutter":"class",function(re){var oe=E=="text"?"textClass":E=="background"?"bgClass":E=="gutter"?"gutterClass":"wrapClass";if(!re[oe])re[oe]=ie;else{if(me(ie).test(re[oe]))return!1;re[oe]+=" "+ie}return!0})}),removeLineClass:Tn(function(x,E,ie){return ks(this,x,E=="gutter"?"gutter":"class",function(re){var oe=E=="text"?"textClass":E=="background"?"bgClass":E=="gutter"?"gutterClass":"wrapClass",pe=re[oe];if(pe)if(ie==null)re[oe]=null;else{var je=pe.match(me(ie));if(!je)return!1;var nt=je.index+je[0].length;re[oe]=pe.slice(0,je.index)+(!je.index||nt==pe.length?"":" ")+pe.slice(nt)||null}else return!1;return!0})}),addLineWidget:Tn(function(x,E,ie){return ju(this,x,E,ie)}),removeLineWidget:function(x){x.clear()},markText:function(x,E,ie){return Zu(this,ln(this,x),ln(this,E),ie,ie&&ie.type||"range")},setBookmark:function(x,E){var ie={replacedWith:E&&(E.nodeType==null?E.widget:E),insertLeft:E&&E.insertLeft,clearWhenEmpty:!1,shared:E&&E.shared,handleMouseEvents:E&&E.handleMouseEvents};return x=ln(this,x),Zu(this,x,x,ie,"bookmark")},findMarksAt:function(x){x=ln(this,x);var E=[],ie=Gt(this,x.line).markedSpans;if(ie)for(var re=0;re<ie.length;++re){var oe=ie[re];(oe.from==null||oe.from<=x.ch)&&(oe.to==null||oe.to>=x.ch)&&E.push(oe.marker.parent||oe.marker)}return E},findMarks:function(x,E,ie){x=ln(this,x),E=ln(this,E);var re=[],oe=x.line;return this.iter(x.line,E.line+1,function(pe){var je=pe.markedSpans;if(je)for(var nt=0;nt<je.length;nt++){var dt=je[nt];!(dt.to!=null&&oe==x.line&&x.ch>=dt.to||dt.from==null&&oe!=x.line||dt.from!=null&&oe==E.line&&dt.from>=E.ch)&&(!ie||ie(dt.marker))&&re.push(dt.marker.parent||dt.marker)}++oe}),re},getAllMarks:function(){var x=[];return this.iter(function(E){var ie=E.markedSpans;if(ie)for(var re=0;re<ie.length;++re)ie[re].from!=null&&x.push(ie[re].marker)}),x},posFromIndex:function(x){var E,ie=this.first,re=this.lineSeparator().length;return this.iter(function(oe){var pe=oe.text.length+re;if(pe>x)return E=x,!0;x-=pe,++ie}),ln(this,bn(ie,E))},indexFromPos:function(x){x=ln(this,x);var E=x.ch;if(x.line<this.first||x.ch<0)return 0;var ie=this.lineSeparator().length;return this.iter(this.first,x.line,function(re){E+=re.text.length+ie}),E},copy:function(x){var E=new Ps(_n(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return E.scrollTop=this.scrollTop,E.scrollLeft=this.scrollLeft,E.sel=this.sel,E.extend=!1,x&&(E.history.undoDepth=this.history.undoDepth,E.setHistory(this.getHistory())),E},linkedDoc:function(x){x||(x={});var E=this.first,ie=this.first+this.size;x.from!=null&&x.from>E&&(E=x.from),x.to!=null&&x.to<ie&&(ie=x.to);var re=new Ps(_n(this,E,ie),x.mode||this.modeOption,E,this.lineSep,this.direction);return x.sharedHist&&(re.history=this.history),(this.linked||(this.linked=[])).push({doc:re,sharedHist:x.sharedHist}),re.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],oc(re,Ou(this)),re},unlinkDoc:function(x){if(x instanceof Jo&&(x=x.doc),this.linked)for(var E=0;E<this.linked.length;++E){var ie=this.linked[E];if(ie.doc==x){this.linked.splice(E,1),x.unlinkDoc(this),qs(Ou(this));break}}if(x.history==this.history){var re=[x.id];Jl(x,function(oe){return re.push(oe.id)},!0),x.history=new Ta(null),x.history.done=Es(this.history.done,re),x.history.undone=Es(this.history.undone,re)}},iterLinkedDocs:function(x){Jl(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):pi(x)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Tn(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(E){return E.order=null}),this.cm&&eo(this.cm))})}),Ps.prototype.eachLine=Ps.prototype.iter;var Fc=0;function Jc(x){var E=this;if(Sc(E),!(Et(E,x)||as(E.display,x))){gn(x),xe&&(Fc=+new Date);var ie=eu(E,x,!0),re=x.dataTransfer.files;if(!(!ie||E.isReadOnly()))if(re&&re.length&&window.FileReader&&window.File)for(var oe=re.length,pe=Array(oe),je=0,nt=function(){++je==oe&&Kn(E,function(){ie=ln(E.doc,ie);var Rt={from:ie,to:ie,text:E.doc.splitLines(pe.filter(function(Br){return Br!=null}).join(E.doc.lineSeparator())),origin:"paste"};es(E.doc,Rt),wo(E.doc,xo(ln(E.doc,ie),ln(E.doc,Do(Rt))))})()},dt=function(Rt,Br){if(E.options.allowDropFileTypes&&st(E.options.allowDropFileTypes,Rt.type)==-1){nt();return}var vr=new FileReader;vr.onerror=function(){return nt()},vr.onload=function(){var Jn=vr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Jn)){nt();return}pe[Br]=Jn,nt()},vr.readAsText(Rt)},St=0;St<re.length;St++)dt(re[St],St);else{if(E.state.draggingText&&E.doc.sel.contains(ie)>-1){E.state.draggingText(x),setTimeout(function(){return E.display.input.focus()},20);return}try{var Kt=x.dataTransfer.getData("Text");if(Kt){var rn;if(E.state.draggingText&&!E.state.draggingText.copy&&(rn=E.listSelections()),As(E.doc,xo(ie,ie)),rn)for(var fn=0;fn<rn.length;++fn)Xu(E.doc,"",rn[fn].anchor,rn[fn].head,"drag");E.replaceSelection(Kt,"around","paste"),E.display.input.focus()}}catch(Rt){}}}}function Kc(x,E){if(xe&&(!x.state.draggingText||+new Date-Fc<100)){Dr(E);return}if(!(Et(x,E)||as(x.display,E))&&(E.dataTransfer.setData("Text",x.getSelection()),E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setDragImage&&!rt)){var ie=De("img",null,null,"position: fixed; left: 0; top: 0;");ie.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",He&&(ie.width=ie.height=1,x.display.wrapper.appendChild(ie),ie._top=ie.offsetTop),E.dataTransfer.setDragImage(ie,0,0),He&&ie.parentNode.removeChild(ie)}}function gc(x,E){var ie=eu(x,E);if(ie){var re=document.createDocumentFragment();qn(x,ie,re),x.display.dragCursor||(x.display.dragCursor=De("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),Pe(x.display.dragCursor,re)}}function Sc(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function lc(x){if(document.getElementsByClassName){for(var E=document.getElementsByClassName("CodeMirror"),ie=[],re=0;re<E.length;re++){var oe=E[re].CodeMirror;oe&&ie.push(oe)}ie.length&&ie[0].operation(function(){for(var pe=0;pe<ie.length;pe++)x(ie[pe])})}}var Xi=!1;function Xc(){Xi||(Ac(),Xi=!0)}function Ac(){var x;Yt(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,lc(Wc)},100))}),Yt(window,"blur",function(){return lc(Ur)})}function Wc(x){var E=x.display;E.cachedCharWidth=E.cachedTextHeight=E.cachedPaddingH=null,E.scrollbarsClipped=!1,x.setSize()}for(var _l={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"},dc=0;dc<10;dc++)_l[dc+48]=_l[dc+96]=String(dc);for(var fc=65;fc<=90;fc++)_l[fc]=String.fromCharCode(fc);for(var vc=1;vc<=12;vc++)_l[vc+111]=_l[vc+63235]="F"+vc;var ss={};ss.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"},ss.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"},ss.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"},ss.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"]},ss.default=ke?ss.macDefault:ss.pcDefault;function qc(x){var E=x.split(/-(?!$)/);x=E[E.length-1];for(var ie,re,oe,pe,je=0;je<E.length-1;je++){var nt=E[je];if(/^(cmd|meta|m)$/i.test(nt))pe=!0;else if(/^a(lt)?$/i.test(nt))ie=!0;else if(/^(c|ctrl|control)$/i.test(nt))re=!0;else if(/^s(hift)?$/i.test(nt))oe=!0;else throw new Error("Unrecognized modifier name: "+nt)}return ie&&(x="Alt-"+x),re&&(x="Ctrl-"+x),pe&&(x="Cmd-"+x),oe&&(x="Shift-"+x),x}function kc(x){var E={};for(var ie in x)if(x.hasOwnProperty(ie)){var re=x[ie];if(/^(name|fallthrough|(de|at)tach)$/.test(ie))continue;if(re=="..."){delete x[ie];continue}for(var oe=Ut(ie.split(" "),qc),pe=0;pe<oe.length;pe++){var je=void 0,nt=void 0;pe==oe.length-1?(nt=oe.join(" "),je=re):(nt=oe.slice(0,pe+1).join(" "),je="...");var dt=E[nt];if(!dt)E[nt]=je;else if(dt!=je)throw new Error("Inconsistent bindings for "+nt)}delete x[ie]}for(var St in E)x[St]=E[St];return x}function qu(x,E,ie,re){E=nu(E);var oe=E.call?E.call(x,re):E[x];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&ie(oe))return"handled";if(E.fallthrough){if(Object.prototype.toString.call(E.fallthrough)!="[object Array]")return qu(x,E.fallthrough,ie,re);for(var pe=0;pe<E.fallthrough.length;pe++){var je=qu(x,E.fallthrough[pe],ie,re);if(je)return je}}}function Pc(x){var E=typeof x=="string"?x:_l[x.keyCode];return E=="Ctrl"||E=="Alt"||E=="Shift"||E=="Mod"}function $u(x,E,ie){var re=x;return E.altKey&&re!="Alt"&&(x="Alt-"+x),(Oe?E.metaKey:E.ctrlKey)&&re!="Ctrl"&&(x="Ctrl-"+x),(Oe?E.ctrlKey:E.metaKey)&&re!="Mod"&&(x="Cmd-"+x),!ie&&E.shiftKey&&re!="Shift"&&(x="Shift-"+x),x}function ec(x,E){if(He&&x.keyCode==34&&x.char)return!1;var ie=_l[x.keyCode];return ie==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ie=x.code),$u(ie,x,E))}function nu(x){return typeof x=="string"?ss[x]:x}function bu(x,E){for(var ie=x.doc.sel.ranges,re=[],oe=0;oe<ie.length;oe++){for(var pe=E(ie[oe]);re.length&&$n(pe.from,Qt(re).to)<=0;){var je=re.pop();if($n(je.from,pe.from)<0){pe.from=je.from;break}}re.push(pe)}sn(x,function(){for(var nt=re.length-1;nt>=0;nt--)Xu(x.doc,"",re[nt].from,re[nt].to,"+delete");La(x)})}function Us(x,E,ie){var re=lt(x.text,E+ie,ie);return re<0||re>x.text.length?null:re}function tc(x,E,ie){var re=Us(x,E.ch,ie);return re==null?null:new bn(E.line,re,ie<0?"after":"before")}function Cl(x,E,ie,re,oe){if(x){E.doc.direction=="rtl"&&(oe=-oe);var pe=En(ie,E.doc.direction);if(pe){var je=oe<0?Qt(pe):pe[0],nt=oe<0==(je.level==1),dt=nt?"after":"before",St;if(je.level>0||E.doc.direction=="rtl"){var Kt=Vl(E,ie);St=oe<0?ie.text.length-1:0;var rn=El(E,Kt,St).top;St=Je(function(fn){return El(E,Kt,fn).top==rn},oe<0==(je.level==1)?je.from:je.to-1,St),dt=="before"&&(St=Us(ie,St,1))}else St=oe<0?je.to:je.from;return new bn(re,St,dt)}}return new bn(re,oe<0?ie.text.length:0,oe<0?"before":"after")}function Pl(x,E,ie,re){var oe=En(E,x.doc.direction);if(!oe)return tc(E,ie,re);ie.ch>=E.text.length?(ie.ch=E.text.length,ie.sticky="before"):ie.ch<=0&&(ie.ch=0,ie.sticky="after");var pe=yt(oe,ie.ch,ie.sticky),je=oe[pe];if(x.doc.direction=="ltr"&&je.level%2==0&&(re>0?je.to>ie.ch:je.from<ie.ch))return tc(E,ie,re);var nt=function(Vr,Ei){return Us(E,Vr instanceof bn?Vr.ch:Vr,Ei)},dt,St=function(Vr){return x.options.lineWrapping?(dt=dt||Vl(x,E),ic(x,E,dt,Vr)):{begin:0,end:E.text.length}},Kt=St(ie.sticky=="before"?nt(ie,-1):ie.ch);if(x.doc.direction=="rtl"||je.level==1){var rn=je.level==1==re<0,fn=nt(ie,rn?1:-1);if(fn!=null&&(rn?fn<=je.to&&fn<=Kt.end:fn>=je.from&&fn>=Kt.begin)){var Rt=rn?"before":"after";return new bn(ie.line,fn,Rt)}}var Br=function(Vr,Ei,Dn){for(var hr=function(ba,Wo){return Wo?new bn(ie.line,nt(ba,1),"before"):new bn(ie.line,ba,"after")};Vr>=0&&Vr<oe.length;Vr+=Ei){var ii=oe[Vr],qr=Ei>0==(ii.level!=1),Nn=qr?Dn.begin:nt(Dn.end,-1);if(ii.from<=Nn&&Nn<ii.to||(Nn=qr?ii.from:nt(ii.to,-1),Dn.begin<=Nn&&Nn<Dn.end))return hr(Nn,qr)}},vr=Br(pe+re,re,Kt);if(vr)return vr;var Jn=re>0?Kt.end:nt(Kt.begin,-1);return Jn!=null&&!(re>0&&Jn==E.text.length)&&(vr=Br(re>0?0:oe.length-1,re,St(Jn)),vr)?vr:null}var ru={selectAll:tu,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),tt)},killLine:function(x){return bu(x,function(E){if(E.empty()){var ie=Gt(x.doc,E.head.line).text.length;return E.head.ch==ie&&E.head.line<x.lastLine()?{from:E.head,to:bn(E.head.line+1,0)}:{from:E.head,to:bn(E.head.line,ie)}}else return{from:E.from(),to:E.to()}})},deleteLine:function(x){return bu(x,function(E){return{from:bn(E.from().line,0),to:ln(x.doc,bn(E.to().line+1,0))}})},delLineLeft:function(x){return bu(x,function(E){return{from:bn(E.from().line,0),to:E.from()}})},delWrappedLineLeft:function(x){return bu(x,function(E){var ie=x.charCoords(E.head,"div").top+5,re=x.coordsChar({left:0,top:ie},"div");return{from:re,to:E.from()}})},delWrappedLineRight:function(x){return bu(x,function(E){var ie=x.charCoords(E.head,"div").top+5,re=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ie},"div");return{from:E.from(),to:re}})},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(bn(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(bn(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(E){return Ku(x,E.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(E){return $c(x,E.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(E){return _u(x,E.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(E){var ie=x.cursorCoords(E.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ie},"div")},Nt)},goLineLeft:function(x){return x.extendSelectionsBy(function(E){var ie=x.cursorCoords(E.head,"div").top+5;return x.coordsChar({left:0,top:ie},"div")},Nt)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(E){var ie=x.cursorCoords(E.head,"div").top+5,re=x.coordsChar({left:0,top:ie},"div");return re.ch<x.getLine(re.line).search(/\S/)?$c(x,E.head):re},Nt)},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 E=[],ie=x.listSelections(),re=x.options.tabSize,oe=0;oe<ie.length;oe++){var pe=ie[oe].from(),je=Qe(x.getLine(pe.line),pe.ch,re);E.push(Fn(re-je%re))}x.replaceSelections(E)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return sn(x,function(){for(var E=x.listSelections(),ie=[],re=0;re<E.length;re++)if(E[re].empty()){var oe=E[re].head,pe=Gt(x.doc,oe.line).text;if(pe){if(oe.ch==pe.length&&(oe=new bn(oe.line,oe.ch-1)),oe.ch>0)oe=new bn(oe.line,oe.ch+1),x.replaceRange(pe.charAt(oe.ch-1)+pe.charAt(oe.ch-2),bn(oe.line,oe.ch-2),oe,"+transpose");else if(oe.line>x.doc.first){var je=Gt(x.doc,oe.line-1).text;je&&(oe=new bn(oe.line,1),x.replaceRange(pe.charAt(0)+x.doc.lineSeparator()+je.charAt(je.length-1),bn(oe.line-1,je.length-1),oe,"+transpose"))}}ie.push(new ji(oe,oe))}x.setSelections(ie)})},newlineAndIndent:function(x){return sn(x,function(){for(var E=x.listSelections(),ie=E.length-1;ie>=0;ie--)x.replaceRange(x.doc.lineSeparator(),E[ie].anchor,E[ie].head,"+input");E=x.listSelections();for(var re=0;re<E.length;re++)x.indentLine(E[re].from().line,null,!0);La(x)})},openLine:function(x){return x.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Ku(x,E){var ie=Gt(x.doc,E),re=_a(ie);return re!=ie&&(E=Sn(re)),Cl(!0,x,re,E,1)}function _u(x,E){var ie=Gt(x.doc,E),re=jo(ie);return re!=ie&&(E=Sn(re)),Cl(!0,x,ie,E,-1)}function $c(x,E){var ie=Ku(x,E.line),re=Gt(x.doc,ie.line),oe=En(re,x.doc.direction);if(!oe||oe[0].level==0){var pe=Math.max(ie.ch,re.text.search(/\S/)),je=E.line==ie.line&&E.ch<=pe&&E.ch;return bn(ie.line,je?0:pe,ie.sticky)}return ie}function Ls(x,E,ie){if(typeof E=="string"&&(E=ru[E],!E))return!1;x.display.input.ensurePolled();var re=x.display.shift,oe=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ie&&(x.display.shift=!1),oe=E(x)!=ut}finally{x.display.shift=re,x.state.suppressEdits=!1}return oe}function ku(x,E,ie){for(var re=0;re<x.state.keyMaps.length;re++){var oe=qu(E,x.state.keyMaps[re],ie,x);if(oe)return oe}return x.options.extraKeys&&qu(E,x.options.extraKeys,ie,x)||qu(E,x.options.keyMap,ie,x)}var ed=new Me;function sc(x,E,ie,re){var oe=x.state.keySeq;if(oe){if(Pc(E))return"handled";if(/\'$/.test(E)?x.state.keySeq=null:ed.set(50,function(){x.state.keySeq==oe&&(x.state.keySeq=null,x.display.input.reset())}),ld(x,oe+" "+E,ie,re))return!0}return ld(x,E,ie,re)}function ld(x,E,ie,re){var oe=ku(x,E,re);return oe=="multi"&&(x.state.keySeq=E),oe=="handled"&&ti(x,"keyHandled",x,E,ie),(oe=="handled"||oe=="multi")&&(gn(ie),br(x)),!!oe}function Fl(x,E){var ie=ec(E,!0);return ie?E.shiftKey&&!x.state.keySeq?sc(x,"Shift-"+ie,E,function(re){return Ls(x,re,!0)})||sc(x,ie,E,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return Ls(x,re)}):sc(x,ie,E,function(re){return Ls(x,re)}):!1}function yc(x,E,ie){return sc(x,"'"+ie+"'",E,function(re){return Ls(x,re,!0)})}var Du=null;function Vc(x){var E=this;if(!(x.target&&x.target!=E.display.input.getField())&&(E.curOp.focus=Ze(),!Et(E,x))){xe&&Ee<11&&x.keyCode==27&&(x.returnValue=!1);var ie=x.keyCode;E.display.shift=ie==16||x.shiftKey;var re=Fl(E,x);He&&(Du=re?ie:null,!re&&ie==88&&!pr&&(ke?x.metaKey:x.ctrlKey)&&E.replaceSelection("",null,"cut")),ee&&!ke&&!re&&ie==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ie==18&&!/\bCodeMirror-crosshair\b/.test(E.display.lineDiv.className)&&ri(E)}}function ri(x){var E=x.display.lineDiv;vt(E,"CodeMirror-crosshair");function ie(re){(re.keyCode==18||!re.altKey)&&(Re(E,"CodeMirror-crosshair"),Ft(document,"keyup",ie),Ft(document,"mouseover",ie))}Yt(document,"keyup",ie),Yt(document,"mouseover",ie)}function wd(x){x.keyCode==16&&(this.doc.sel.shift=!1),Et(this,x)}function Id(x){var E=this;if(!(x.target&&x.target!=E.display.input.getField())&&!(as(E.display,x)||Et(E,x)||x.ctrlKey&&!x.altKey||ke&&x.metaKey)){var ie=x.keyCode,re=x.charCode;if(He&&ie==Du){Du=null,gn(x);return}if(!(He&&(!x.which||x.which<10)&&Fl(E,x))){var oe=String.fromCharCode(re==null?ie:re);oe!="\b"&&(yc(E,x,oe)||E.display.input.onKeyPress(x))}}}var Sd=400,ui=function(x,E,ie){this.time=x,this.pos=E,this.button=ie};ui.prototype.compare=function(x,E,ie){return this.time+Sd>x&&$n(E,this.pos)==0&&ie==this.button};var bc,Uc;function Kd(x,E){var ie=+new Date;return Uc&&Uc.compare(ie,x,E)?(bc=Uc=null,"triple"):bc&&bc.compare(ie,x,E)?(Uc=new ui(ie,x,E),bc=null,"double"):(bc=new ui(ie,x,E),Uc=null,"single")}function uu(x){var E=this,ie=E.display;if(!(Et(E,x)||ie.activeTouch&&ie.input.supportsTouch())){if(ie.input.ensurePolled(),ie.shift=x.shiftKey,as(ie,x)){fe||(ie.scroller.draggable=!1,setTimeout(function(){return ie.scroller.draggable=!0},100));return}if(!po(E,x)){var re=eu(E,x),oe=Bn(x),pe=re?Kd(re,oe):"single";window.focus(),oe==1&&E.state.selectingText&&E.state.selectingText(x),!(re&&Dc(E,oe,re,pe,x))&&(oe==1?re?Lc(E,re,pe,x):kr(x)==ie.scroller&&gn(x):oe==2?(re&&ol(E.doc,re),setTimeout(function(){return ie.input.focus()},20)):oe==3&&(_e?E.display.input.onContextMenu(x):zi(E)))}}}function Dc(x,E,ie,re,oe){var pe="Click";return re=="double"?pe="Double"+pe:re=="triple"&&(pe="Triple"+pe),pe=(E==1?"Left":E==2?"Middle":"Right")+pe,sc(x,$u(pe,oe),oe,function(je){if(typeof je=="string"&&(je=ru[je]),!je)return!1;var nt=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),nt=je(x,ie)!=ut}finally{x.state.suppressEdits=!1}return nt})}function td(x,E,ie){var re=x.getOption("configureMouse"),oe=re?re(x,E,ie):{};if(oe.unit==null){var pe=Ye?ie.shiftKey&&ie.metaKey:ie.altKey;oe.unit=pe?"rectangle":E=="single"?"char":E=="double"?"word":"line"}return(oe.extend==null||x.doc.extend)&&(oe.extend=x.doc.extend||ie.shiftKey),oe.addNew==null&&(oe.addNew=ke?ie.metaKey:ie.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(ke?ie.altKey:ie.ctrlKey)),oe}function Lc(x,E,ie,re){xe?setTimeout(Lt(Ir,x),0):x.curOp.focus=Ze();var oe=td(x,ie,re),pe=x.doc.sel,je;x.options.dragDrop&&jr&&!x.isReadOnly()&&ie=="single"&&(je=pe.contains(E))>-1&&($n((je=pe.ranges[je]).from(),E)<0||E.xRel>0)&&($n(je.to(),E)>0||E.xRel<0)?sd(x,re,E,oe):Wu(x,re,E,oe)}function sd(x,E,ie,re){var oe=x.display,pe=!1,je=Kn(x,function(St){fe&&(oe.scroller.draggable=!1),x.state.draggingText=!1,Ft(oe.wrapper.ownerDocument,"mouseup",je),Ft(oe.wrapper.ownerDocument,"mousemove",nt),Ft(oe.scroller,"dragstart",dt),Ft(oe.scroller,"drop",je),pe||(gn(St),re.addNew||ol(x.doc,ie,null,null,re.extend),fe&&!rt||xe&&Ee==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),nt=function(St){pe=pe||Math.abs(E.clientX-St.clientX)+Math.abs(E.clientY-St.clientY)>=10},dt=function(){return pe=!0};fe&&(oe.scroller.draggable=!0),x.state.draggingText=je,je.copy=!re.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),Yt(oe.wrapper.ownerDocument,"mouseup",je),Yt(oe.wrapper.ownerDocument,"mousemove",nt),Yt(oe.scroller,"dragstart",dt),Yt(oe.scroller,"drop",je),zi(x),setTimeout(function(){return oe.input.focus()},20)}function Od(x,E,ie){if(ie=="char")return new ji(E,E);if(ie=="word")return x.findWordAt(E);if(ie=="line")return new ji(bn(E.line,0),ln(x.doc,bn(E.line+1,0)));var re=ie(x,E);return new ji(re.from,re.to)}function Wu(x,E,ie,re){var oe=x.display,pe=x.doc;gn(E);var je,nt,dt=pe.sel,St=dt.ranges;if(re.addNew&&!re.extend?(nt=pe.sel.contains(ie),nt>-1?je=St[nt]:je=new ji(ie,ie)):(je=pe.sel.primary(),nt=pe.sel.primIndex),re.unit=="rectangle")re.addNew||(je=new ji(ie,ie)),ie=eu(x,E,!0,!0),nt=-1;else{var Kt=Od(x,ie,re.unit);re.extend?je=Ss(je,Kt.anchor,Kt.head,re.extend):je=Kt}re.addNew?nt==-1?(nt=St.length,bl(pe,so(x,St.concat([je]),nt),{scroll:!1,origin:"*mouse"})):St.length>1&&St[nt].empty()&&re.unit=="char"&&!re.extend?(bl(pe,so(x,St.slice(0,nt).concat(St.slice(nt+1)),0),{scroll:!1,origin:"*mouse"}),dt=pe.sel):yl(pe,nt,je,at):(nt=0,bl(pe,new Ga([je],0),at),dt=pe.sel);var rn=ie;function fn(Dn){if($n(rn,Dn)!=0)if(rn=Dn,re.unit=="rectangle"){for(var hr=[],ii=x.options.tabSize,qr=Qe(Gt(pe,ie.line).text,ie.ch,ii),Nn=Qe(Gt(pe,Dn.line).text,Dn.ch,ii),ba=Math.min(qr,Nn),Wo=Math.max(qr,Nn),Oo=Math.min(ie.line,Dn.line),So=Math.min(x.lastLine(),Math.max(ie.line,Dn.line));Oo<=So;Oo++){var pl=Gt(pe,Oo).text,ho=on(pl,ba,ii);ba==Wo?hr.push(new ji(bn(Oo,ho),bn(Oo,ho))):pl.length>ho&&hr.push(new ji(bn(Oo,ho),bn(Oo,on(pl,Wo,ii))))}hr.length||hr.push(new ji(ie,ie)),bl(pe,so(x,dt.ranges.slice(0,nt).concat(hr),nt),{origin:"*mouse",scroll:!1}),x.scrollIntoView(Dn)}else{var Vn=je,yn=Od(x,Dn,re.unit),ar=Vn.anchor,kn;$n(yn.anchor,ar)>0?(kn=yn.head,ar=dn(Vn.from(),yn.anchor)):(kn=yn.anchor,ar=An(Vn.to(),yn.head));var Fi=dt.ranges.slice(0);Fi[nt]=jl(x,new ji(ln(pe,ar),kn)),bl(pe,so(x,Fi,nt),at)}}var Rt=oe.wrapper.getBoundingClientRect(),Br=0;function vr(Dn){var hr=++Br,ii=eu(x,Dn,!0,re.unit=="rectangle");if(ii)if($n(ii,rn)!=0){x.curOp.focus=Ze(),fn(ii);var qr=mr(oe,pe);(ii.line>=qr.to||ii.line<qr.from)&&setTimeout(Kn(x,function(){Br==hr&&vr(Dn)}),150)}else{var Nn=Dn.clientY<Rt.top?-20:Dn.clientY>Rt.bottom?20:0;Nn&&setTimeout(Kn(x,function(){Br==hr&&(oe.scroller.scrollTop+=Nn,vr(Dn))}),50)}}function Jn(Dn){x.state.selectingText=!1,Br=1/0,Dn&&(gn(Dn),oe.input.focus()),Ft(oe.wrapper.ownerDocument,"mousemove",Vr),Ft(oe.wrapper.ownerDocument,"mouseup",Ei),pe.history.lastSelOrigin=null}var Vr=Kn(x,function(Dn){Dn.buttons===0||!Bn(Dn)?Jn(Dn):vr(Dn)}),Ei=Kn(x,Jn);x.state.selectingText=Ei,Yt(oe.wrapper.ownerDocument,"mousemove",Vr),Yt(oe.wrapper.ownerDocument,"mouseup",Ei)}function jl(x,E){var ie=E.anchor,re=E.head,oe=Gt(x.doc,ie.line);if($n(ie,re)==0&&ie.sticky==re.sticky)return E;var pe=En(oe);if(!pe)return E;var je=yt(pe,ie.ch,ie.sticky),nt=pe[je];if(nt.from!=ie.ch&&nt.to!=ie.ch)return E;var dt=je+(nt.from==ie.ch==(nt.level!=1)?0:1);if(dt==0||dt==pe.length)return E;var St;if(re.line!=ie.line)St=(re.line-ie.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var Kt=yt(pe,re.ch,re.sticky),rn=Kt-je||(re.ch-ie.ch)*(nt.level==1?-1:1);Kt==dt-1||Kt==dt?St=rn<0:St=rn>0}var fn=pe[dt+(St?-1:0)],Rt=St==(fn.level==1),Br=Rt?fn.from:fn.to,vr=Rt?"after":"before";return ie.ch==Br&&ie.sticky==vr?E:new ji(new bn(ie.line,Br,vr),re)}function fo(x,E,ie,re){var oe,pe;if(E.touches)oe=E.touches[0].clientX,pe=E.touches[0].clientY;else try{oe=E.clientX,pe=E.clientY}catch(fn){return!1}if(oe>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;re&&gn(E);var je=x.display,nt=je.lineDiv.getBoundingClientRect();if(pe>nt.bottom||!un(x,ie))return ir(E);pe-=nt.top-je.viewOffset;for(var dt=0;dt<x.display.gutterSpecs.length;++dt){var St=je.gutters.childNodes[dt];if(St&&St.getBoundingClientRect().right>=oe){var Kt=rr(x.doc,pe),rn=x.display.gutterSpecs[dt];return it(x,ie,x,Kt,rn.className,E),ir(E)}}}function po(x,E){return fo(x,E,"gutterClick",!0)}function wl(x,E){as(x.display,E)||Ds(x,E)||Et(x,E,"contextmenu")||_e||x.display.input.onContextMenu(E)}function Ds(x,E){return un(x,"gutterContextMenu")?fo(x,E,"gutterContextMenu",!1):!1}function Bc(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ts(x)}var mu={toString:function(){return"CodeMirror.Init"}},xc={},$a={};function nd(x){var E=x.optionHandlers;function ie(re,oe,pe,je){x.defaults[re]=oe,pe&&(E[re]=je?function(nt,dt,St){St!=mu&&pe(nt,dt,St)}:pe)}x.defineOption=ie,x.Init=mu,ie("value","",function(re,oe){return re.setValue(oe)},!0),ie("mode",null,function(re,oe){re.doc.modeOption=oe,Hl(re)},!0),ie("indentUnit",2,Hl,!0),ie("indentWithTabs",!1),ie("smartIndent",!0),ie("tabSize",4,function(re){Xa(re),ts(re),Ws(re)},!0),ie("lineSeparator",null,function(re,oe){if(re.doc.lineSep=oe,!!oe){var pe=[],je=re.doc.first;re.doc.iter(function(dt){for(var St=0;;){var Kt=dt.text.indexOf(oe,St);if(Kt==-1)break;St=Kt+oe.length,pe.push(bn(je,Kt))}je++});for(var nt=pe.length-1;nt>=0;nt--)Xu(re.doc,oe,pe[nt],bn(pe[nt].line,pe[nt].ch+oe.length))}}),ie("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,oe,pe){re.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),pe!=mu&&re.refresh()}),ie("specialCharPlaceholder",Wl,function(re){return re.refresh()},!0),ie("electricChars",!0),ie("inputStyle",Ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ie("spellcheck",!1,function(re,oe){return re.getInputField().spellcheck=oe},!0),ie("autocorrect",!1,function(re,oe){return re.getInputField().autocorrect=oe},!0),ie("autocapitalize",!1,function(re,oe){return re.getInputField().autocapitalize=oe},!0),ie("rtlMoveVisually",!et),ie("wholeLineUpdateBefore",!0),ie("theme","default",function(re){Bc(re),ra(re)},!0),ie("keyMap","default",function(re,oe,pe){var je=nu(oe),nt=pe!=mu&&nu(pe);nt&&nt.detach&&nt.detach(re,je),je.attach&&je.attach(re,nt||null)}),ie("extraKeys",null),ie("configureMouse",null),ie("lineWrapping",!1,nc,!0),ie("gutters",[],function(re,oe){re.display.gutterSpecs=Wa(oe,re.options.lineNumbers),ra(re)},!0),ie("fixedGutter",!0,function(re,oe){re.display.gutters.style.left=oe?$l(re.display)+"px":"0",re.refresh()},!0),ie("coverGutterNextToScrollbar",!1,function(re){return nl(re)},!0),ie("scrollbarStyle","native",function(re){Ql(re),nl(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),ie("lineNumbers",!1,function(re,oe){re.display.gutterSpecs=Wa(re.options.gutters,oe),ra(re)},!0),ie("firstLineNumber",1,ra,!0),ie("lineNumberFormatter",function(re){return re},ra,!0),ie("showCursorWhenSelecting",!1,Xt,!0),ie("resetSelectionOnContextMenu",!0),ie("lineWiseCopyCut",!0),ie("pasteLinesPerSelection",!0),ie("selectionsMayTouch",!1),ie("readOnly",!1,function(re,oe){oe=="nocursor"&&(Ur(re),re.display.input.blur()),re.display.input.readOnlyChanged(oe)}),ie("screenReaderLabel",null,function(re,oe){oe=oe===""?null:oe,re.display.input.screenReaderLabelChanged(oe)}),ie("disableInput",!1,function(re,oe){oe||re.display.input.reset()},!0),ie("dragDrop",!0,Ic),ie("allowDropFileTypes",null),ie("cursorBlinkRate",530),ie("cursorScrollMargin",0),ie("cursorHeight",1,Xt,!0),ie("singleCursorHeightPerLine",!0,Xt,!0),ie("workTime",100),ie("workDelay",100),ie("flattenSpans",!0,Xa,!0),ie("addModeClass",!1,Xa,!0),ie("pollInterval",100),ie("undoDepth",200,function(re,oe){return re.doc.history.undoDepth=oe}),ie("historyEventDelay",1250),ie("viewportMargin",10,function(re){return re.refresh()},!0),ie("maxHighlightLength",1e4,Xa,!0),ie("moveInputWithCursor",!0,function(re,oe){oe||re.display.input.resetPosition()}),ie("tabindex",null,function(re,oe){return re.display.input.getField().tabIndex=oe||""}),ie("autofocus",null),ie("direction","ltr",function(re,oe){return re.doc.setDirection(oe)},!0),ie("phrases",null)}function Ic(x,E,ie){var re=ie&&ie!=mu;if(!E!=!re){var oe=x.display.dragFunctions,pe=E?Yt:Ft;pe(x.display.scroller,"dragstart",oe.start),pe(x.display.scroller,"dragenter",oe.enter),pe(x.display.scroller,"dragover",oe.over),pe(x.display.scroller,"dragleave",oe.leave),pe(x.display.scroller,"drop",oe.drop)}}function nc(x){x.options.lineWrapping?(vt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(Re(x.display.wrapper,"CodeMirror-wrap"),Mi(x)),Zs(x),Ws(x),ts(x),setTimeout(function(){return nl(x)},100)}function Jo(x,E){var ie=this;if(!(this instanceof Jo))return new Jo(x,E);this.options=E=E?It(E):{},It(xc,E,!1);var re=E.value;typeof re=="string"?re=new Ps(re,E.mode,null,E.lineSeparator,E.direction):E.mode&&(re.modeOption=E.mode),this.doc=re;var oe=new Jo.inputStyles[E.inputStyle](this),pe=this.display=new Oa(x,re,oe,E);pe.wrapper.CodeMirror=this,Bc(this),E.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ql(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 Me,keySeq:null,specialChars:null},E.autofocus&&!Ne&&pe.input.focus(),xe&&Ee<11&&setTimeout(function(){return ie.display.input.reset(!0)},20),sf(this),Xc(),fl(this),this.curOp.forceUpdate=!0,no(this,re),E.autofocus&&!Ne||this.hasFocus()?setTimeout(function(){ie.hasFocus()&&!ie.state.focused&&Yr(ie)},20):Ur(this);for(var je in $a)$a.hasOwnProperty(je)&&$a[je](this,E[je],mu);Da(this),E.finishInit&&E.finishInit(this);for(var nt=0;nt<_d.length;++nt)_d[nt](this);fs(this),fe&&E.lineWrapping&&getComputedStyle(pe.lineDiv).textRendering=="optimizelegibility"&&(pe.lineDiv.style.textRendering="auto")}Jo.defaults=xc,Jo.optionHandlers=$a;function sf(x){var E=x.display;Yt(E.scroller,"mousedown",Kn(x,uu)),xe&&Ee<11?Yt(E.scroller,"dblclick",Kn(x,function(dt){if(!Et(x,dt)){var St=eu(x,dt);if(!(!St||po(x,dt)||as(x.display,dt))){gn(dt);var Kt=x.findWordAt(St);ol(x.doc,Kt.anchor,Kt.head)}}})):Yt(E.scroller,"dblclick",function(dt){return Et(x,dt)||gn(dt)}),Yt(E.scroller,"contextmenu",function(dt){return wl(x,dt)}),Yt(E.input.getField(),"contextmenu",function(dt){E.scroller.contains(dt.target)||wl(x,dt)});var ie,re={end:0};function oe(){E.activeTouch&&(ie=setTimeout(function(){return E.activeTouch=null},1e3),re=E.activeTouch,re.end=+new Date)}function pe(dt){if(dt.touches.length!=1)return!1;var St=dt.touches[0];return St.radiusX<=1&&St.radiusY<=1}function je(dt,St){if(St.left==null)return!0;var Kt=St.left-dt.left,rn=St.top-dt.top;return Kt*Kt+rn*rn>20*20}Yt(E.scroller,"touchstart",function(dt){if(!Et(x,dt)&&!pe(dt)&&!po(x,dt)){E.input.ensurePolled(),clearTimeout(ie);var St=+new Date;E.activeTouch={start:St,moved:!1,prev:St-re.end<=300?re:null},dt.touches.length==1&&(E.activeTouch.left=dt.touches[0].pageX,E.activeTouch.top=dt.touches[0].pageY)}}),Yt(E.scroller,"touchmove",function(){E.activeTouch&&(E.activeTouch.moved=!0)}),Yt(E.scroller,"touchend",function(dt){var St=E.activeTouch;if(St&&!as(E,dt)&&St.left!=null&&!St.moved&&new Date-St.start<300){var Kt=x.coordsChar(E.activeTouch,"page"),rn;!St.prev||je(St,St.prev)?rn=new ji(Kt,Kt):!St.prev.prev||je(St,St.prev.prev)?rn=x.findWordAt(Kt):rn=new ji(bn(Kt.line,0),ln(x.doc,bn(Kt.line+1,0))),x.setSelection(rn.anchor,rn.head),x.focus(),gn(dt)}oe()}),Yt(E.scroller,"touchcancel",oe),Yt(E.scroller,"scroll",function(){E.scroller.clientHeight&&(Qo(x,E.scroller.scrollTop),vl(x,E.scroller.scrollLeft,!0),it(x,"scroll",x))}),Yt(E.scroller,"mousewheel",function(dt){return Po(x,dt)}),Yt(E.scroller,"DOMMouseScroll",function(dt){return Po(x,dt)}),Yt(E.wrapper,"scroll",function(){return E.wrapper.scrollTop=E.wrapper.scrollLeft=0}),E.dragFunctions={enter:function(dt){Et(x,dt)||Dr(dt)},over:function(dt){Et(x,dt)||(gc(x,dt),Dr(dt))},start:function(dt){return Kc(x,dt)},drop:Kn(x,Jc),leave:function(dt){Et(x,dt)||Sc(x)}};var nt=E.input.getField();Yt(nt,"keyup",function(dt){return wd.call(x,dt)}),Yt(nt,"keydown",Kn(x,Vc)),Yt(nt,"keypress",Kn(x,Id)),Yt(nt,"focus",function(dt){return Yr(x,dt)}),Yt(nt,"blur",function(dt){return Ur(x,dt)})}var _d=[];Jo.defineInitHook=function(x){return _d.push(x)};function hc(x,E,ie,re){var oe=x.doc,pe;ie==null&&(ie="add"),ie=="smart"&&(oe.mode.indent?pe=Un(x,E).state:ie="prev");var je=x.options.tabSize,nt=Gt(oe,E),dt=Qe(nt.text,null,je);nt.stateAfter&&(nt.stateAfter=null);var St=nt.text.match(/^\s*/)[0],Kt;if(!re&&!/\S/.test(nt.text))Kt=0,ie="not";else if(ie=="smart"&&(Kt=oe.mode.indent(pe,nt.text.slice(St.length),nt.text),Kt==ut||Kt>150)){if(!re)return;ie="prev"}ie=="prev"?E>oe.first?Kt=Qe(Gt(oe,E-1).text,null,je):Kt=0:ie=="add"?Kt=dt+x.options.indentUnit:ie=="subtract"?Kt=dt-x.options.indentUnit:typeof ie=="number"&&(Kt=dt+ie),Kt=Math.max(0,Kt);var rn="",fn=0;if(x.options.indentWithTabs)for(var Rt=Math.floor(Kt/je);Rt;--Rt)fn+=je,rn+=" ";if(fn<Kt&&(rn+=Fn(Kt-fn)),rn!=St)return Xu(oe,rn,bn(E,0),bn(E,St.length),"+input"),nt.stateAfter=null,!0;for(var Br=0;Br<oe.sel.ranges.length;Br++){var vr=oe.sel.ranges[Br];if(vr.head.line==E&&vr.head.ch<St.length){var Jn=bn(E,St.length);yl(oe,Br,new ji(Jn,Jn));break}}}var Zl=null;function Vu(x){Zl=x}function Wd(x,E,ie,re,oe){var pe=x.doc;x.display.shift=!1,re||(re=pe.sel);var je=+new Date-200,nt=oe=="paste"||x.state.pasteIncoming>je,dt=pi(E),St=null;if(nt&&re.ranges.length>1)if(Zl&&Zl.text.join(`
|
|
|
`)==E){if(re.ranges.length%Zl.text.length==0){St=[];for(var Kt=0;Kt<Zl.text.length;Kt++)St.push(pe.splitLines(Zl.text[Kt]))}}else dt.length==re.ranges.length&&x.options.pasteLinesPerSelection&&(St=Ut(dt,function(Vr){return[Vr]}));for(var rn=x.curOp.updateInput,fn=re.ranges.length-1;fn>=0;fn--){var Rt=re.ranges[fn],Br=Rt.from(),vr=Rt.to();Rt.empty()&&(ie&&ie>0?Br=bn(Br.line,Br.ch-ie):x.state.overwrite&&!nt?vr=bn(vr.line,Math.min(Gt(pe,vr.line).text.length,vr.ch+Qt(dt).length)):nt&&Zl&&Zl.lineWise&&Zl.text.join(`
|
|
|
`)==dt.join(`
|
|
|
`)&&(Br=vr=bn(Br.line,0)));var Jn={from:Br,to:vr,text:St?St[fn%St.length]:dt,origin:oe||(nt?"paste":x.state.cutIncoming>je?"cut":"+input")};es(x.doc,Jn),ti(x,"inputRead",x,Jn)}E&&!nt&&Vd(x,E),La(x),x.curOp.updateInput<2&&(x.curOp.updateInput=rn),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function rd(x,E){var ie=x.clipboardData&&x.clipboardData.getData("Text");if(ie)return x.preventDefault(),!E.isReadOnly()&&!E.options.disableInput&&sn(E,function(){return Wd(E,ie,0,null,"paste")}),!0}function Vd(x,E){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ie=x.doc.sel,re=ie.ranges.length-1;re>=0;re--){var oe=ie.ranges[re];if(!(oe.head.ch>100||re&&ie.ranges[re-1].head.line==oe.head.line)){var pe=x.getModeAt(oe.head),je=!1;if(pe.electricChars){for(var nt=0;nt<pe.electricChars.length;nt++)if(E.indexOf(pe.electricChars.charAt(nt))>-1){je=hc(x,oe.head.line,"smart");break}}else pe.electricInput&&pe.electricInput.test(Gt(x.doc,oe.head.line).text.slice(0,oe.head.ch))&&(je=hc(x,oe.head.line,"smart"));je&&ti(x,"electricInput",x,oe.head.line)}}}function ud(x){for(var E=[],ie=[],re=0;re<x.doc.sel.ranges.length;re++){var oe=x.doc.sel.ranges[re].head.line,pe={anchor:bn(oe,0),head:bn(oe+1,0)};ie.push(pe),E.push(x.getRange(pe.anchor,pe.head))}return{text:E,ranges:ie}}function uf(x,E,ie,re){x.setAttribute("autocorrect",ie?"":"off"),x.setAttribute("autocapitalize",re?"":"off"),x.setAttribute("spellcheck",!!E)}function Ud(){var x=De("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),E=De("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return fe?x.style.width="1000px":x.setAttribute("wrap","off"),we&&(x.style.border="1px solid black"),uf(x),E}function ae(x){var E=x.optionHandlers,ie=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(re,oe){var pe=this.options,je=pe[re];pe[re]==oe&&re!="mode"||(pe[re]=oe,E.hasOwnProperty(re)&&Kn(this,E[re])(this,oe,je),it(this,"optionChange",this,re))},getOption:function(re){return this.options[re]},getDoc:function(){return this.doc},addKeyMap:function(re,oe){this.state.keyMaps[oe?"push":"unshift"](nu(re))},removeKeyMap:function(re){for(var oe=this.state.keyMaps,pe=0;pe<oe.length;++pe)if(oe[pe]==re||oe[pe].name==re)return oe.splice(pe,1),!0},addOverlay:Rn(function(re,oe){var pe=re.token?re:x.getMode(this.options,re);if(pe.startState)throw new Error("Overlays may not be stateful.");Wt(this.state.overlays,{mode:pe,modeSpec:re,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(je){return je.priority}),this.state.modeGen++,Ws(this)}),removeOverlay:Rn(function(re){for(var oe=this.state.overlays,pe=0;pe<oe.length;++pe){var je=oe[pe].modeSpec;if(je==re||typeof re=="string"&&je.name==re){oe.splice(pe,1),this.state.modeGen++,Ws(this);return}}}),indentLine:Rn(function(re,oe,pe){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),gr(this.doc,re)&&hc(this,re,oe,pe)}),indentSelection:Rn(function(re){for(var oe=this.doc.sel.ranges,pe=-1,je=0;je<oe.length;je++){var nt=oe[je];if(nt.empty())nt.head.line>pe&&(hc(this,nt.head.line,re,!0),pe=nt.head.line,je==this.doc.sel.primIndex&&La(this));else{var dt=nt.from(),St=nt.to(),Kt=Math.max(pe,dt.line);pe=Math.min(this.lastLine(),St.line-(St.ch?0:1))+1;for(var rn=Kt;rn<pe;++rn)hc(this,rn,re);var fn=this.doc.sel.ranges;dt.ch==0&&oe.length==fn.length&&fn[je].from().ch>0&&yl(this.doc,je,new ji(dt,fn[je].to()),tt)}}}),getTokenAt:function(re,oe){return gi(this,re,oe)},getLineTokens:function(re,oe){return gi(this,bn(re),oe,!0)},getTokenTypeAt:function(re){re=ln(this.doc,re);var oe=Ln(this,Gt(this.doc,re.line)),pe=0,je=(oe.length-1)/2,nt=re.ch,dt;if(nt==0)dt=oe[2];else for(;;){var St=pe+je>>1;if((St?oe[St*2-1]:0)>=nt)je=St;else if(oe[St*2+1]<nt)pe=St+1;else{dt=oe[St*2+2];break}}var Kt=dt?dt.indexOf("overlay "):-1;return Kt<0?dt:Kt==0?null:dt.slice(0,Kt-1)},getModeAt:function(re){var oe=this.doc.mode;return oe.innerMode?x.innerMode(oe,this.getTokenAt(re).state).mode:oe},getHelper:function(re,oe){return this.getHelpers(re,oe)[0]},getHelpers:function(re,oe){var pe=[];if(!ie.hasOwnProperty(oe))return pe;var je=ie[oe],nt=this.getModeAt(re);if(typeof nt[oe]=="string")je[nt[oe]]&&pe.push(je[nt[oe]]);else if(nt[oe])for(var dt=0;dt<nt[oe].length;dt++){var St=je[nt[oe][dt]];St&&pe.push(St)}else nt.helperType&&je[nt.helperType]?pe.push(je[nt.helperType]):je[nt.name]&&pe.push(je[nt.name]);for(var Kt=0;Kt<je._global.length;Kt++){var rn=je._global[Kt];rn.pred(nt,this)&&st(pe,rn.val)==-1&&pe.push(rn.val)}return pe},getStateAfter:function(re,oe){var pe=this.doc;return re=Hn(pe,re==null?pe.first+pe.size-1:re),Un(this,re+1,oe).state},cursorCoords:function(re,oe){var pe,je=this.doc.sel.primary();return re==null?pe=je.head:typeof re=="object"?pe=ln(this.doc,re):pe=re?je.from():je.to(),js(this,pe,oe||"page")},charCoords:function(re,oe){return hu(this,ln(this.doc,re),oe||"page")},coordsChar:function(re,oe){return re=Su(this,re,oe||"page"),zu(this,re.left,re.top)},lineAtHeight:function(re,oe){return re=Su(this,{top:re,left:0},oe||"page").top,rr(this.doc,re+this.display.viewOffset)},heightAtLine:function(re,oe,pe){var je=!1,nt;if(typeof re=="number"){var dt=this.doc.first+this.doc.size-1;re<this.doc.first?re=this.doc.first:re>dt&&(re=dt,je=!0),nt=Gt(this.doc,re)}else nt=re;return Qs(this,nt,{top:0,left:0},oe||"page",pe||je).top+(je?this.doc.height-_i(nt):0)},defaultTextHeight:function(){return Ju(this.display)},defaultCharWidth:function(){return Al(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(re,oe,pe,je,nt){var dt=this.display;re=js(this,ln(this.doc,re));var St=re.bottom,Kt=re.left;if(oe.style.position="absolute",oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(oe),dt.sizer.appendChild(oe),je=="over")St=re.top;else if(je=="above"||je=="near"){var rn=Math.max(dt.wrapper.clientHeight,this.doc.height),fn=Math.max(dt.sizer.clientWidth,dt.lineSpace.clientWidth);(je=="above"||re.bottom+oe.offsetHeight>rn)&&re.top>oe.offsetHeight?St=re.top-oe.offsetHeight:re.bottom+oe.offsetHeight<=rn&&(St=re.bottom),Kt+oe.offsetWidth>fn&&(Kt=fn-oe.offsetWidth)}oe.style.top=St+"px",oe.style.left=oe.style.right="",nt=="right"?(Kt=dt.sizer.clientWidth-oe.offsetWidth,oe.style.right="0px"):(nt=="left"?Kt=0:nt=="middle"&&(Kt=(dt.sizer.clientWidth-oe.offsetWidth)/2),oe.style.left=Kt+"px"),pe&&ka(this,{left:Kt,top:St,right:Kt+oe.offsetWidth,bottom:St+oe.offsetHeight})},triggerOnKeyDown:Rn(Vc),triggerOnKeyPress:Rn(Id),triggerOnKeyUp:wd,triggerOnMouseDown:Rn(uu),execCommand:function(re){if(ru.hasOwnProperty(re))return ru[re].call(null,this)},triggerElectric:Rn(function(re){Vd(this,re)}),findPosH:function(re,oe,pe,je){var nt=1;oe<0&&(nt=-1,oe=-oe);for(var dt=ln(this.doc,re),St=0;St<oe&&(dt=qe(this.doc,dt,nt,pe,je),!dt.hitSide);++St);return dt},moveH:Rn(function(re,oe){var pe=this;this.extendSelectionsBy(function(je){return pe.display.shift||pe.doc.extend||je.empty()?qe(pe.doc,je.head,re,oe,pe.options.rtlMoveVisually):re<0?je.from():je.to()},Nt)}),deleteH:Rn(function(re,oe){var pe=this.doc.sel,je=this.doc;pe.somethingSelected()?je.replaceSelection("",null,"+delete"):bu(this,function(nt){var dt=qe(je,nt.head,re,oe,!1);return re<0?{from:dt,to:nt.head}:{from:nt.head,to:dt}})}),findPosV:function(re,oe,pe,je){var nt=1,dt=je;oe<0&&(nt=-1,oe=-oe);for(var St=ln(this.doc,re),Kt=0;Kt<oe;++Kt){var rn=js(this,St,"div");if(dt==null?dt=rn.left:rn.left=dt,St=Ve(this,rn,nt,pe),St.hitSide)break}return St},moveV:Rn(function(re,oe){var pe=this,je=this.doc,nt=[],dt=!this.display.shift&&!je.extend&&je.sel.somethingSelected();if(je.extendSelectionsBy(function(Kt){if(dt)return re<0?Kt.from():Kt.to();var rn=js(pe,Kt.head,"div");Kt.goalColumn!=null&&(rn.left=Kt.goalColumn),nt.push(rn.left);var fn=Ve(pe,rn,re,oe);return oe=="page"&&Kt==je.sel.primary()&&Pa(pe,hu(pe,fn,"div").top-rn.top),fn},Nt),nt.length)for(var St=0;St<je.sel.ranges.length;St++)je.sel.ranges[St].goalColumn=nt[St]}),findWordAt:function(re){var oe=this.doc,pe=Gt(oe,re.line).text,je=re.ch,nt=re.ch;if(pe){var dt=this.getHelper(re,"wordChars");(re.sticky=="before"||nt==pe.length)&&je?--je:++nt;for(var St=pe.charAt(je),Kt=ye(St,dt)?function(rn){return ye(rn,dt)}:/\s/.test(St)?function(rn){return/\s/.test(rn)}:function(rn){return!/\s/.test(rn)&&!ye(rn)};je>0&&Kt(pe.charAt(je-1));)--je;for(;nt<pe.length&&Kt(pe.charAt(nt));)++nt}return new ji(bn(re.line,je),bn(re.line,nt))},toggleOverwrite:function(re){re!=null&&re==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?vt(this.display.cursorDiv,"CodeMirror-overwrite"):Re(this.display.cursorDiv,"CodeMirror-overwrite"),it(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Ze()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Rn(function(re,oe){Ma(this,re,oe)}),getScrollInfo:function(){var re=this.display.scroller;return{left:re.scrollLeft,top:re.scrollTop,height:re.scrollHeight-os(this)-this.display.barHeight,width:re.scrollWidth-os(this)-this.display.barWidth,clientHeight:du(this),clientWidth:cs(this)}},scrollIntoView:Rn(function(re,oe){re==null?(re={from:this.doc.sel.primary().head,to:null},oe==null&&(oe=this.options.cursorScrollMargin)):typeof re=="number"?re={from:bn(re,0),to:null}:re.from==null&&(re={from:re,to:null}),re.to||(re.to=re.from),re.margin=oe||0,re.from.line!=null?ya(this,re):Mo(this,re.from,re.to,re.margin)}),setSize:Rn(function(re,oe){var pe=this,je=function(dt){return typeof dt=="number"||/^\d+$/.test(String(dt))?dt+"px":dt};re!=null&&(this.display.wrapper.style.width=je(re)),oe!=null&&(this.display.wrapper.style.height=je(oe)),this.options.lineWrapping&&ds(this);var nt=this.display.viewFrom;this.doc.iter(nt,this.display.viewTo,function(dt){if(dt.widgets){for(var St=0;St<dt.widgets.length;St++)if(dt.widgets[St].noHScroll){ou(pe,nt,"widget");break}}++nt}),this.curOp.forceUpdate=!0,it(this,"refresh",this)}),operation:function(re){return sn(this,re)},startOperation:function(){return fl(this)},endOperation:function(){return fs(this)},refresh:Rn(function(){var re=this.display.cachedTextHeight;Ws(this),this.curOp.forceUpdate=!0,ts(this),Ma(this,this.doc.scrollLeft,this.doc.scrollTop),Ji(this.display),(re==null||Math.abs(re-Ju(this.display))>.5||this.options.lineWrapping)&&Zs(this),it(this,"refresh",this)}),swapDoc:Rn(function(re){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),no(this,re),ts(this),this.display.input.reset(),Ma(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,ti(this,"swapDoc",this,oe),oe}),phrase:function(re){var oe=this.options.phrases;return oe&&Object.prototype.hasOwnProperty.call(oe,re)?oe[re]:re},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}},vn(x),x.registerHelper=function(re,oe,pe){ie.hasOwnProperty(re)||(ie[re]=x[re]={_global:[]}),ie[re][oe]=pe},x.registerGlobalHelper=function(re,oe,pe,je){x.registerHelper(re,oe,je),ie[re]._global.push({pred:pe,val:je})}}function qe(x,E,ie,re,oe){var pe=E,je=ie,nt=Gt(x,E.line),dt=oe&&x.direction=="rtl"?-ie:ie;function St(){var Ei=E.line+dt;return Ei<x.first||Ei>=x.first+x.size?!1:(E=new bn(Ei,E.ch,E.sticky),nt=Gt(x,Ei))}function Kt(Ei){var Dn;if(re=="codepoint"){var hr=nt.text.charCodeAt(E.ch+(re>0?0:-1));isNaN(hr)?Dn=null:Dn=new bn(E.line,Math.max(0,Math.min(nt.text.length,E.ch+ie*(hr>=55296&&hr<56320?2:1))),-ie)}else oe?Dn=Pl(x.cm,nt,E,ie):Dn=tc(nt,E,ie);if(Dn==null)if(!Ei&&St())E=Cl(oe,x.cm,nt,E.line,dt);else return!1;else E=Dn;return!0}if(re=="char"||re=="codepoint")Kt();else if(re=="column")Kt(!0);else if(re=="word"||re=="group")for(var rn=null,fn=re=="group",Rt=x.cm&&x.cm.getHelper(E,"wordChars"),Br=!0;!(ie<0&&!Kt(!Br));Br=!1){var vr=nt.text.charAt(E.ch)||`
|
|
|
`,Jn=ye(vr,Rt)?"w":fn&&vr==`
|
|
|
`?"n":!fn||/\s/.test(vr)?null:"p";if(fn&&!Br&&!Jn&&(Jn="s"),rn&&rn!=Jn){ie<0&&(ie=1,Kt(),E.sticky="after");break}if(Jn&&(rn=Jn),ie>0&&!Kt(!Br))break}var Vr=Iu(x,E,pe,je,!0);return Jt(pe,Vr)&&(Vr.hitSide=!0),Vr}function Ve(x,E,ie,re){var oe=x.doc,pe=E.left,je;if(re=="page"){var nt=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),dt=Math.max(nt-.5*Ju(x.display),3);je=(ie>0?E.bottom:E.top)+ie*dt}else re=="line"&&(je=ie>0?E.bottom+3:E.top-3);for(var St;St=zu(x,pe,je),!!St.outside;){if(ie<0?je<=0:je>=oe.height){St.hitSide=!0;break}je+=ie*5}return St}var Tt=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Me,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Tt.prototype.init=function(x){var E=this,ie=this,re=ie.cm,oe=ie.div=x.lineDiv;uf(oe,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function pe(nt){for(var dt=nt.target;dt;dt=dt.parentNode){if(dt==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(dt.className))break}return!1}Yt(oe,"paste",function(nt){!pe(nt)||Et(re,nt)||rd(nt,re)||Ee<=11&&setTimeout(Kn(re,function(){return E.updateFromDOM()}),20)}),Yt(oe,"compositionstart",function(nt){E.composing={data:nt.data,done:!1}}),Yt(oe,"compositionupdate",function(nt){E.composing||(E.composing={data:nt.data,done:!1})}),Yt(oe,"compositionend",function(nt){E.composing&&(nt.data!=E.composing.data&&E.readFromDOMSoon(),E.composing.done=!0)}),Yt(oe,"touchstart",function(){return ie.forceCompositionEnd()}),Yt(oe,"input",function(){E.composing||E.readFromDOMSoon()});function je(nt){if(!(!pe(nt)||Et(re,nt))){if(re.somethingSelected())Vu({lineWise:!1,text:re.getSelections()}),nt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var dt=ud(re);Vu({lineWise:!0,text:dt.text}),nt.type=="cut"&&re.operation(function(){re.setSelections(dt.ranges,0,tt),re.replaceSelection("",null,"cut")})}else return;if(nt.clipboardData){nt.clipboardData.clearData();var St=Zl.text.join(`
|
|
|
`);if(nt.clipboardData.setData("Text",St),nt.clipboardData.getData("Text")==St){nt.preventDefault();return}}var Kt=Ud(),rn=Kt.firstChild;re.display.lineSpace.insertBefore(Kt,re.display.lineSpace.firstChild),rn.value=Zl.text.join(`
|
|
|
`);var fn=document.activeElement;mt(rn),setTimeout(function(){re.display.lineSpace.removeChild(Kt),fn.focus(),fn==oe&&ie.showPrimarySelection()},50)}}Yt(oe,"copy",je),Yt(oe,"cut",je)},Tt.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},Tt.prototype.prepareSelection=function(){var x=en(this.cm,!1);return x.focus=document.activeElement==this.div,x},Tt.prototype.showSelection=function(x,E){!x||!this.cm.display.view.length||((x.focus||E)&&this.showPrimarySelection(),this.showMultipleSelections(x))},Tt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Tt.prototype.showPrimarySelection=function(){var x=this.getSelection(),E=this.cm,ie=E.doc.sel.primary(),re=ie.from(),oe=ie.to();if(E.display.viewTo==E.display.viewFrom||re.line>=E.display.viewTo||oe.line<E.display.viewFrom){x.removeAllRanges();return}var pe=Cn(E,x.anchorNode,x.anchorOffset),je=Cn(E,x.focusNode,x.focusOffset);if(!(pe&&!pe.bad&&je&&!je.bad&&$n(dn(pe,je),re)==0&&$n(An(pe,je),oe)==0)){var nt=E.display.view,dt=re.line>=E.display.viewFrom&&or(E,re)||{node:nt[0].measure.map[2],offset:0},St=oe.line<E.display.viewTo&&or(E,oe);if(!St){var Kt=nt[nt.length-1].measure,rn=Kt.maps?Kt.maps[Kt.maps.length-1]:Kt.map;St={node:rn[rn.length-1],offset:rn[rn.length-2]-rn[rn.length-3]}}if(!dt||!St){x.removeAllRanges();return}var fn=x.rangeCount&&x.getRangeAt(0),Rt;try{Rt=Te(dt.node,dt.offset,St.offset,St.node)}catch(Br){}Rt&&(!ee&&E.state.focused?(x.collapse(dt.node,dt.offset),Rt.collapsed||(x.removeAllRanges(),x.addRange(Rt))):(x.removeAllRanges(),x.addRange(Rt)),fn&&x.anchorNode==null?x.addRange(fn):ee&&this.startGracePeriod()),this.rememberSelection()}},Tt.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)},Tt.prototype.showMultipleSelections=function(x){Pe(this.cm.display.cursorDiv,x.cursors),Pe(this.cm.display.selectionDiv,x.selection)},Tt.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},Tt.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var E=x.getRangeAt(0).commonAncestorContainer;return xt(this.div,E)},Tt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Tt.prototype.blur=function(){this.div.blur()},Tt.prototype.getField=function(){return this.div},Tt.prototype.supportsTouch=function(){return!0},Tt.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():sn(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function E(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,E))}this.polling.set(this.cm.options.pollInterval,E)},Tt.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},Tt.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),E=this.cm;if(Se&&Fe&&this.cm.display.gutterSpecs.length&&zn(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ie=Cn(E,x.anchorNode,x.anchorOffset),re=Cn(E,x.focusNode,x.focusOffset);ie&&re&&sn(E,function(){bl(E.doc,xo(ie,re),tt),(ie.bad||re.bad)&&(E.curOp.selectionChanged=!0)})}}},Tt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,E=x.display,ie=x.doc.sel.primary(),re=ie.from(),oe=ie.to();if(re.ch==0&&re.line>x.firstLine()&&(re=bn(re.line-1,Gt(x.doc,re.line-1).length)),oe.ch==Gt(x.doc,oe.line).text.length&&oe.line<x.lastLine()&&(oe=bn(oe.line+1,0)),re.line<E.viewFrom||oe.line>E.viewTo-1)return!1;var pe,je,nt;re.line==E.viewFrom||(pe=Ks(x,re.line))==0?(je=Sn(E.view[0].line),nt=E.view[0].node):(je=Sn(E.view[pe].line),nt=E.view[pe-1].node.nextSibling);var dt=Ks(x,oe.line),St,Kt;if(dt==E.view.length-1?(St=E.viewTo-1,Kt=E.lineDiv.lastChild):(St=Sn(E.view[dt+1].line)-1,Kt=E.view[dt+1].node.previousSibling),!nt)return!1;for(var rn=x.doc.splitLines(Er(x,nt,Kt,je,St)),fn=nn(x.doc,bn(je,0),bn(St,Gt(x.doc,St).text.length));rn.length>1&&fn.length>1;)if(Qt(rn)==Qt(fn))rn.pop(),fn.pop(),St--;else if(rn[0]==fn[0])rn.shift(),fn.shift(),je++;else break;for(var Rt=0,Br=0,vr=rn[0],Jn=fn[0],Vr=Math.min(vr.length,Jn.length);Rt<Vr&&vr.charCodeAt(Rt)==Jn.charCodeAt(Rt);)++Rt;for(var Ei=Qt(rn),Dn=Qt(fn),hr=Math.min(Ei.length-(rn.length==1?Rt:0),Dn.length-(fn.length==1?Rt:0));Br<hr&&Ei.charCodeAt(Ei.length-Br-1)==Dn.charCodeAt(Dn.length-Br-1);)++Br;if(rn.length==1&&fn.length==1&&je==re.line)for(;Rt&&Rt>re.ch&&Ei.charCodeAt(Ei.length-Br-1)==Dn.charCodeAt(Dn.length-Br-1);)Rt--,Br++;rn[rn.length-1]=Ei.slice(0,Ei.length-Br).replace(/^\u200b+/,""),rn[0]=rn[0].slice(Rt).replace(/\u200b+$/,"");var ii=bn(je,Rt),qr=bn(St,fn.length?Qt(fn).length-Br:0);if(rn.length>1||rn[0]||$n(ii,qr))return Xu(x.doc,rn,ii,qr,"+input"),!0},Tt.prototype.ensurePolled=function(){this.forceCompositionEnd()},Tt.prototype.reset=function(){this.forceCompositionEnd()},Tt.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Tt.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))},Tt.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&sn(this.cm,function(){return Ws(x.cm)})},Tt.prototype.setUneditable=function(x){x.contentEditable="false"},Tt.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||Kn(this.cm,Wd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},Tt.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},Tt.prototype.onContextMenu=function(){},Tt.prototype.resetPosition=function(){},Tt.prototype.needsContentAttribute=!0;function or(x,E){var ie=gs(x,E.line);if(!ie||ie.hidden)return null;var re=Gt(x.doc,E.line),oe=Bo(ie,re,E.line),pe=En(re,x.doc.direction),je="left";if(pe){var nt=yt(pe,E.ch);je=nt%2?"right":"left"}var dt=Pu(oe.map,E.ch,je);return dt.offset=dt.collapse=="right"?dt.end:dt.start,dt}function zn(x){for(var E=x;E;E=E.parentNode)if(/CodeMirror-gutter-wrapper/.test(E.className))return!0;return!1}function Yn(x,E){return E&&(x.bad=!0),x}function Er(x,E,ie,re,oe){var pe="",je=!1,nt=x.doc.lineSeparator(),dt=!1;function St(Rt){return function(Br){return Br.id==Rt}}function Kt(){je&&(pe+=nt,dt&&(pe+=nt),je=dt=!1)}function rn(Rt){Rt&&(Kt(),pe+=Rt)}function fn(Rt){if(Rt.nodeType==1){var Br=Rt.getAttribute("cm-text");if(Br){rn(Br);return}var vr=Rt.getAttribute("cm-marker"),Jn;if(vr){var Vr=x.findMarks(bn(re,0),bn(oe+1,0),St(+vr));Vr.length&&(Jn=Vr[0].find(0))&&rn(nn(x.doc,Jn.from,Jn.to).join(nt));return}if(Rt.getAttribute("contenteditable")=="false")return;var Ei=/^(pre|div|p|li|table|br)$/i.test(Rt.nodeName);if(!/^br$/i.test(Rt.nodeName)&&Rt.textContent.length==0)return;Ei&&Kt();for(var Dn=0;Dn<Rt.childNodes.length;Dn++)fn(Rt.childNodes[Dn]);/^(pre|p)$/i.test(Rt.nodeName)&&(dt=!0),Ei&&(je=!0)}else Rt.nodeType==3&&rn(Rt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;fn(E),E!=ie;)E=E.nextSibling,dt=!1;return pe}function Cn(x,E,ie){var re;if(E==x.display.lineDiv){if(re=x.display.lineDiv.childNodes[ie],!re)return Yn(x.clipPos(bn(x.display.viewTo-1)),!0);E=null,ie=0}else for(re=E;;re=re.parentNode){if(!re||re==x.display.lineDiv)return null;if(re.parentNode&&re.parentNode==x.display.lineDiv)break}for(var oe=0;oe<x.display.view.length;oe++){var pe=x.display.view[oe];if(pe.node==re)return tr(pe,E,ie)}}function tr(x,E,ie){var re=x.text.firstChild,oe=!1;if(!E||!xt(re,E))return Yn(bn(Sn(x.line),0),!0);if(E==re&&(oe=!0,E=re.childNodes[ie],ie=0,!E)){var pe=x.rest?Qt(x.rest):x.line;return Yn(bn(Sn(pe),pe.text.length),oe)}var je=E.nodeType==3?E:null,nt=E;for(!je&&E.childNodes.length==1&&E.firstChild.nodeType==3&&(je=E.firstChild,ie&&(ie=je.nodeValue.length));nt.parentNode!=re;)nt=nt.parentNode;var dt=x.measure,St=dt.maps;function Kt(Jn,Vr,Ei){for(var Dn=-1;Dn<(St?St.length:0);Dn++)for(var hr=Dn<0?dt.map:St[Dn],ii=0;ii<hr.length;ii+=3){var qr=hr[ii+2];if(qr==Jn||qr==Vr){var Nn=Sn(Dn<0?x.line:x.rest[Dn]),ba=hr[ii]+Ei;return(Ei<0||qr!=Jn)&&(ba=hr[ii+(Ei?1:0)]),bn(Nn,ba)}}}var rn=Kt(je,nt,ie);if(rn)return Yn(rn,oe);for(var fn=nt.nextSibling,Rt=je?je.nodeValue.length-ie:0;fn;fn=fn.nextSibling){if(rn=Kt(fn,fn.firstChild,0),rn)return Yn(bn(rn.line,rn.ch-Rt),oe);Rt+=fn.textContent.length}for(var Br=nt.previousSibling,vr=ie;Br;Br=Br.previousSibling){if(rn=Kt(Br,Br.firstChild,-1),rn)return Yn(bn(rn.line,rn.ch+vr),oe);vr+=Br.textContent.length}}var wa=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Me,this.hasSelection=!1,this.composing=null};wa.prototype.init=function(x){var E=this,ie=this,re=this.cm;this.createField(x);var oe=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),we&&(oe.style.width="0px"),Yt(oe,"input",function(){xe&&Ee>=9&&E.hasSelection&&(E.hasSelection=null),ie.poll()}),Yt(oe,"paste",function(je){Et(re,je)||rd(je,re)||(re.state.pasteIncoming=+new Date,ie.fastPoll())});function pe(je){if(!Et(re,je)){if(re.somethingSelected())Vu({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var nt=ud(re);Vu({lineWise:!0,text:nt.text}),je.type=="cut"?re.setSelections(nt.ranges,null,tt):(ie.prevInput="",oe.value=nt.text.join(`
|
|
|
`),mt(oe))}else return;je.type=="cut"&&(re.state.cutIncoming=+new Date)}}Yt(oe,"cut",pe),Yt(oe,"copy",pe),Yt(x.scroller,"paste",function(je){if(!(as(x,je)||Et(re,je))){if(!oe.dispatchEvent){re.state.pasteIncoming=+new Date,ie.focus();return}var nt=new Event("paste");nt.clipboardData=je.clipboardData,oe.dispatchEvent(nt)}}),Yt(x.lineSpace,"selectstart",function(je){as(x,je)||gn(je)}),Yt(oe,"compositionstart",function(){var je=re.getCursor("from");ie.composing&&ie.composing.range.clear(),ie.composing={start:je,range:re.markText(je,re.getCursor("to"),{className:"CodeMirror-composing"})}}),Yt(oe,"compositionend",function(){ie.composing&&(ie.poll(),ie.composing.range.clear(),ie.composing=null)})},wa.prototype.createField=function(x){this.wrapper=Ud(),this.textarea=this.wrapper.firstChild},wa.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},wa.prototype.prepareSelection=function(){var x=this.cm,E=x.display,ie=x.doc,re=en(x);if(x.options.moveInputWithCursor){var oe=js(x,ie.sel.primary().head,"div"),pe=E.wrapper.getBoundingClientRect(),je=E.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(E.wrapper.clientHeight-10,oe.top+je.top-pe.top)),re.teLeft=Math.max(0,Math.min(E.wrapper.clientWidth-10,oe.left+je.left-pe.left))}return re},wa.prototype.showSelection=function(x){var E=this.cm,ie=E.display;Pe(ie.cursorDiv,x.cursors),Pe(ie.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},wa.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var E=this.cm;if(E.somethingSelected()){this.prevInput="";var ie=E.getSelection();this.textarea.value=ie,E.state.focused&&mt(this.textarea),xe&&Ee>=9&&(this.hasSelection=ie)}else x||(this.prevInput=this.textarea.value="",xe&&Ee>=9&&(this.hasSelection=null))}},wa.prototype.getField=function(){return this.textarea},wa.prototype.supportsTouch=function(){return!1},wa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ne||Ze()!=this.textarea))try{this.textarea.focus()}catch(x){}},wa.prototype.blur=function(){this.textarea.blur()},wa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},wa.prototype.receivedFocus=function(){this.slowPoll()},wa.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},wa.prototype.fastPoll=function(){var x=!1,E=this;E.pollingFast=!0;function ie(){var re=E.poll();!re&&!x?(x=!0,E.polling.set(60,ie)):(E.pollingFast=!1,E.slowPoll())}E.polling.set(20,ie)},wa.prototype.poll=function(){var x=this,E=this.cm,ie=this.textarea,re=this.prevInput;if(this.contextMenuPending||!E.state.focused||Mn(ie)&&!re&&!this.composing||E.isReadOnly()||E.options.disableInput||E.state.keySeq)return!1;var oe=ie.value;if(oe==re&&!E.somethingSelected())return!1;if(xe&&Ee>=9&&this.hasSelection===oe||ke&&/[\uf700-\uf7ff]/.test(oe))return E.display.input.reset(),!1;if(E.doc.sel==E.display.selForContextMenu){var pe=oe.charCodeAt(0);if(pe==8203&&!re&&(re="\u200B"),pe==8666)return this.reset(),this.cm.execCommand("undo")}for(var je=0,nt=Math.min(re.length,oe.length);je<nt&&re.charCodeAt(je)==oe.charCodeAt(je);)++je;return sn(E,function(){Wd(E,oe.slice(je),re.length-je,null,x.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
|
|
|
`)>-1?ie.value=x.prevInput="":x.prevInput=oe,x.composing&&(x.composing.range.clear(),x.composing.range=E.markText(x.composing.start,E.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},wa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},wa.prototype.onKeyPress=function(){xe&&Ee>=9&&(this.hasSelection=null),this.fastPoll()},wa.prototype.onContextMenu=function(x){var E=this,ie=E.cm,re=ie.display,oe=E.textarea;E.contextMenuPending&&E.contextMenuPending();var pe=eu(ie,x),je=re.scroller.scrollTop;if(!pe||He)return;var nt=ie.options.resetSelectionOnContextMenu;nt&&ie.doc.sel.contains(pe)==-1&&Kn(ie,bl)(ie.doc,xo(pe),tt);var dt=oe.style.cssText,St=E.wrapper.style.cssText,Kt=E.wrapper.offsetParent.getBoundingClientRect();E.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(x.clientY-Kt.top-5)+"px; left: "+(x.clientX-Kt.left-5)+`px;
|
|
|
z-index: 1000; background: `+(xe?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var rn;fe&&(rn=window.scrollY),re.input.focus(),fe&&window.scrollTo(null,rn),re.input.reset(),ie.somethingSelected()||(oe.value=E.prevInput=" "),E.contextMenuPending=Rt,re.selForContextMenu=ie.doc.sel,clearTimeout(re.detectingSelectAll);function fn(){if(oe.selectionStart!=null){var vr=ie.somethingSelected(),Jn="\u200B"+(vr?oe.value:"");oe.value="\u21DA",oe.value=Jn,E.prevInput=vr?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=Jn.length,re.selForContextMenu=ie.doc.sel}}function Rt(){if(E.contextMenuPending==Rt&&(E.contextMenuPending=!1,E.wrapper.style.cssText=St,oe.style.cssText=dt,xe&&Ee<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=je),oe.selectionStart!=null)){(!xe||xe&&Ee<9)&&fn();var vr=0,Jn=function(){re.selForContextMenu==ie.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&E.prevInput=="\u200B"?Kn(ie,tu)(ie):vr++<10?re.detectingSelectAll=setTimeout(Jn,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(Jn,200)}}if(xe&&Ee>=9&&fn(),_e){Dr(x);var Br=function(){Ft(window,"mouseup",Br),setTimeout(Rt,20)};Yt(window,"mouseup",Br)}else setTimeout(Rt,50)},wa.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},wa.prototype.setUneditable=function(){},wa.prototype.needsContentAttribute=!1;function ao(x,E){if(E=E?It(E):{},E.value=x.value,!E.tabindex&&x.tabIndex&&(E.tabindex=x.tabIndex),!E.placeholder&&x.placeholder&&(E.placeholder=x.placeholder),E.autofocus==null){var ie=Ze();E.autofocus=ie==x||x.getAttribute("autofocus")!=null&&ie==document.body}function re(){x.value=nt.getValue()}var oe;if(x.form&&(Yt(x.form,"submit",re),!E.leaveSubmitMethodAlone)){var pe=x.form;oe=pe.submit;try{var je=pe.submit=function(){re(),pe.submit=oe,pe.submit(),pe.submit=je}}catch(dt){}}E.finishInit=function(dt){dt.save=re,dt.getTextArea=function(){return x},dt.toTextArea=function(){dt.toTextArea=isNaN,re(),x.parentNode.removeChild(dt.getWrapperElement()),x.style.display="",x.form&&(Ft(x.form,"submit",re),!E.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=oe))}},x.style.display="none";var nt=Jo(function(dt){return x.parentNode.insertBefore(dt,x.nextSibling)},E);return nt}function Ha(x){x.off=Ft,x.on=Yt,x.wheelEventPixels=sr,x.Doc=Ps,x.splitLines=pi,x.countColumn=Qe,x.findColumn=on,x.isWordChar=ve,x.Pass=ut,x.signal=it,x.Line=ea,x.changeEnd=Do,x.scrollbarModel=zl,x.Pos=bn,x.cmpPos=$n,x.modes=zr,x.mimeModes=ei,x.resolveMode=Pr,x.getMode=dr,x.modeExtensions=oi,x.extendMode=$t,x.copyState=pt,x.startState=At,x.innerMode=Bt,x.commands=ru,x.keyMap=ss,x.keyName=ec,x.isModifierKey=Pc,x.lookupKey=qu,x.normalizeKeyMap=kc,x.StringStream=Ct,x.SharedTextMarker=ml,x.TextMarker=cc,x.LineWidget=Hs,x.e_preventDefault=gn,x.e_stopPropagation=Xn,x.e_stop=Dr,x.addClass=vt,x.contains=xt,x.rmClass=Re,x.keyNames=_l}nd(Jo),ae(Jo);var Oi="iter insert remove copy getEditor constructor".split(" ");for(var Va in Ps.prototype)Ps.prototype.hasOwnProperty(Va)&&st(Oi,Va)<0&&(Jo.prototype[Va]=function(x){return function(){return x.apply(this.doc,arguments)}}(Ps.prototype[Va]));return vn(Ps),Jo.inputStyles={textarea:wa,contenteditable:Tt},Jo.defineMode=function(x){!Jo.defaults.mode&&x!="null"&&(Jo.defaults.mode=x),Hr.apply(this,arguments)},Jo.defineMIME=fi,Jo.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),Jo.defineMIME("text/plain","null"),Jo.defineExtension=function(x,E){Jo.prototype[x]=E},Jo.defineDocExtension=function(x,E){Ps.prototype[x]=E},Jo.fromTextArea=ao,Ha(Jo),Jo.version="5.58.2",Jo})},25419:function(tn,kt,te){(function(ee){ee(te(89780),te(15525),te(98101))})(function(ee){"use strict";ee.defineMode("markdown",function(de,Ce){var We=ee.getMode(de,"text/html"),xe=We.name=="null";function Ee(Qe){if(ee.findModeByName){var Me=ee.findModeByName(Qe);Me&&(Qe=Me.mime||Me.mimes[0])}var st=ee.getMode(de,Qe);return st.name=="null"?null:st}Ce.highlightFormatting===void 0&&(Ce.highlightFormatting=!1),Ce.maxBlockquoteDepth===void 0&&(Ce.maxBlockquoteDepth=0),Ce.taskLists===void 0&&(Ce.taskLists=!1),Ce.strikethrough===void 0&&(Ce.strikethrough=!1),Ce.emoji===void 0&&(Ce.emoji=!1),Ce.fencedCodeBlockHighlighting===void 0&&(Ce.fencedCodeBlockHighlighting=!0),Ce.fencedCodeBlockDefaultMode===void 0&&(Ce.fencedCodeBlockDefaultMode="text/plain"),Ce.xml===void 0&&(Ce.xml=!0),Ce.tokenTypeOverrides===void 0&&(Ce.tokenTypeOverrides={});var fe={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 be in fe)fe.hasOwnProperty(be)&&Ce.tokenTypeOverrides[be]&&(fe[be]=Ce.tokenTypeOverrides[be]);var Fe=/^([*\-_])(?:\s*\1){2,}\s*$/,He=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,rt=/^\[(x| )\](?=\s)/i,Ae=Ce.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ge=/^ {0,3}(?:\={1,}|-{2,})\s*$/,we=/^[^#!\[\]*_\\<>` "'(~:]+/,Se=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ne=/^\s*\[[^\]]+?\]:.*$/,ke=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ye=" ";function et(Qe,Me,st){return Me.f=Me.inline=st,st(Qe,Me)}function Ke(Qe,Me,st){return Me.f=Me.block=st,st(Qe,Me)}function Oe(Qe){return!Qe||!/\S/.test(Qe.string)}function _e(Qe){if(Qe.linkTitle=!1,Qe.linkHref=!1,Qe.linkText=!1,Qe.em=!1,Qe.strong=!1,Qe.strikethrough=!1,Qe.quote=0,Qe.indentedCode=!1,Qe.f==Re){var Me=xe;if(!Me){var st=ee.innerMode(We,Qe.htmlState);Me=st.mode.name=="xml"&&st.state.tagStart===null&&!st.state.context&&st.state.tokenize.isInText}Me&&(Qe.f=ze,Qe.block=me,Qe.htmlState=null)}return Qe.trailingSpace=0,Qe.trailingSpaceNewLine=!1,Qe.prevLine=Qe.thisLine,Qe.thisLine={stream:null},null}function me(Qe,Me){var st=Qe.column()===Me.indentation,zt=Oe(Me.prevLine.stream),ut=Me.indentedCode,tt=Me.prevLine.hr,at=Me.list!==!1,Nt=(Me.listStack[Me.listStack.length-1]||0)+3;Me.indentedCode=!1;var on=Me.indentation;if(Me.indentationDiff===null&&(Me.indentationDiff=Me.indentation,at)){for(Me.list=null;on<Me.listStack[Me.listStack.length-1];)Me.listStack.pop(),Me.listStack.length?Me.indentation=Me.listStack[Me.listStack.length-1]:Me.list=!1;Me.list!==!1&&(Me.indentationDiff=on-Me.listStack[Me.listStack.length-1])}var Ht=!zt&&!tt&&!Me.prevLine.header&&(!at||!ut)&&!Me.prevLine.fencedCodeEnd,Fn=(Me.list===!1||tt||zt)&&Me.indentation<=Nt&&Qe.match(Fe),Qt=null;if(Me.indentationDiff>=4&&(ut||Me.prevLine.fencedCodeEnd||Me.prevLine.header||zt))return Qe.skipToEnd(),Me.indentedCode=!0,fe.code;if(Qe.eatSpace())return null;if(st&&Me.indentation<=Nt&&(Qt=Qe.match(Ae))&&Qt[1].length<=6)return Me.quote=0,Me.header=Qt[1].length,Me.thisLine.header=!0,Ce.highlightFormatting&&(Me.formatting="header"),Me.f=Me.inline,Pe(Me);if(Me.indentation<=Nt&&Qe.eat(">"))return Me.quote=st?1:Me.quote+1,Ce.highlightFormatting&&(Me.formatting="quote"),Qe.eatSpace(),Pe(Me);if(!Fn&&!Me.setext&&st&&Me.indentation<=Nt&&(Qt=Qe.match(He))){var Ut=Qt[1]?"ol":"ul";return Me.indentation=on+Qe.current().length,Me.list=!0,Me.quote=0,Me.listStack.push(Me.indentation),Me.em=!1,Me.strong=!1,Me.code=!1,Me.strikethrough=!1,Ce.taskLists&&Qe.match(rt,!1)&&(Me.taskList=!0),Me.f=Me.inline,Ce.highlightFormatting&&(Me.formatting=["list","list-"+Ut]),Pe(Me)}else{if(st&&Me.indentation<=Nt&&(Qt=Qe.match(Se,!0)))return Me.quote=0,Me.fencedEndRE=new RegExp(Qt[1]+"+ *$"),Me.localMode=Ce.fencedCodeBlockHighlighting&&Ee(Qt[2]||Ce.fencedCodeBlockDefaultMode),Me.localMode&&(Me.localState=ee.startState(Me.localMode)),Me.f=Me.block=Le,Ce.highlightFormatting&&(Me.formatting="code-block"),Me.code=-1,Pe(Me);if(Me.setext||(!Ht||!at)&&!Me.quote&&Me.list===!1&&!Me.code&&!Fn&&!Ne.test(Qe.string)&&(Qt=Qe.lookAhead(1))&&(Qt=Qt.match(ge)))return Me.setext?(Me.header=Me.setext,Me.setext=0,Qe.skipToEnd(),Ce.highlightFormatting&&(Me.formatting="header")):(Me.header=Qt[0].charAt(0)=="="?1:2,Me.setext=Me.header),Me.thisLine.header=!0,Me.f=Me.inline,Pe(Me);if(Fn)return Qe.skipToEnd(),Me.hr=!0,Me.thisLine.hr=!0,fe.hr;if(Qe.peek()==="[")return et(Qe,Me,ot)}return et(Qe,Me,Me.inline)}function Re(Qe,Me){var st=We.token(Qe,Me.htmlState);if(!xe){var zt=ee.innerMode(We,Me.htmlState);(zt.mode.name=="xml"&&zt.state.tagStart===null&&!zt.state.context&&zt.state.tokenize.isInText||Me.md_inside&&Qe.current().indexOf(">")>-1)&&(Me.f=ze,Me.block=me,Me.htmlState=null)}return st}function Le(Qe,Me){var st=Me.listStack[Me.listStack.length-1]||0,zt=Me.indentation<st,ut=st+3;if(Me.fencedEndRE&&Me.indentation<=ut&&(zt||Qe.match(Me.fencedEndRE))){Ce.highlightFormatting&&(Me.formatting="code-block");var tt;return zt||(tt=Pe(Me)),Me.localMode=Me.localState=null,Me.block=me,Me.f=ze,Me.fencedEndRE=null,Me.code=0,Me.thisLine.fencedCodeEnd=!0,zt?Ke(Qe,Me,Me.block):tt}else return Me.localMode?Me.localMode.token(Qe,Me.localState):(Qe.skipToEnd(),fe.code)}function Pe(Qe){var Me=[];if(Qe.formatting){Me.push(fe.formatting),typeof Qe.formatting=="string"&&(Qe.formatting=[Qe.formatting]);for(var st=0;st<Qe.formatting.length;st++)Me.push(fe.formatting+"-"+Qe.formatting[st]),Qe.formatting[st]==="header"&&Me.push(fe.formatting+"-"+Qe.formatting[st]+"-"+Qe.header),Qe.formatting[st]==="quote"&&(!Ce.maxBlockquoteDepth||Ce.maxBlockquoteDepth>=Qe.quote?Me.push(fe.formatting+"-"+Qe.formatting[st]+"-"+Qe.quote):Me.push("error"))}if(Qe.taskOpen)return Me.push("meta"),Me.length?Me.join(" "):null;if(Qe.taskClosed)return Me.push("property"),Me.length?Me.join(" "):null;if(Qe.linkHref?Me.push(fe.linkHref,"url"):(Qe.strong&&Me.push(fe.strong),Qe.em&&Me.push(fe.em),Qe.strikethrough&&Me.push(fe.strikethrough),Qe.emoji&&Me.push(fe.emoji),Qe.linkText&&Me.push(fe.linkText),Qe.code&&Me.push(fe.code),Qe.image&&Me.push(fe.image),Qe.imageAltText&&Me.push(fe.imageAltText,"link"),Qe.imageMarker&&Me.push(fe.imageMarker)),Qe.header&&Me.push(fe.header,fe.header+"-"+Qe.header),Qe.quote&&(Me.push(fe.quote),!Ce.maxBlockquoteDepth||Ce.maxBlockquoteDepth>=Qe.quote?Me.push(fe.quote+"-"+Qe.quote):Me.push(fe.quote+"-"+Ce.maxBlockquoteDepth)),Qe.list!==!1){var zt=(Qe.listStack.length-1)%3;zt?zt===1?Me.push(fe.list2):Me.push(fe.list3):Me.push(fe.list1)}return Qe.trailingSpaceNewLine?Me.push("trailing-space-new-line"):Qe.trailingSpace&&Me.push("trailing-space-"+(Qe.trailingSpace%2?"a":"b")),Me.length?Me.join(" "):null}function De(Qe,Me){if(Qe.match(we,!0))return Pe(Me)}function ze(Qe,Me){var st=Me.text(Qe,Me);if(typeof st!="undefined")return st;if(Me.list)return Me.list=null,Pe(Me);if(Me.taskList){var zt=Qe.match(rt,!0)[1]===" ";return zt?Me.taskOpen=!0:Me.taskClosed=!0,Ce.highlightFormatting&&(Me.formatting="task"),Me.taskList=!1,Pe(Me)}if(Me.taskOpen=!1,Me.taskClosed=!1,Me.header&&Qe.match(/^#+$/,!0))return Ce.highlightFormatting&&(Me.formatting="header"),Pe(Me);var ut=Qe.next();if(Me.linkTitle){Me.linkTitle=!1;var tt=ut;ut==="("&&(tt=")"),tt=(tt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var at="^\\s*(?:[^"+tt+"\\\\]+|\\\\\\\\|\\\\.)"+tt;if(Qe.match(new RegExp(at),!0))return fe.linkHref}if(ut==="`"){var Nt=Me.formatting;Ce.highlightFormatting&&(Me.formatting="code"),Qe.eatWhile("`");var on=Qe.current().length;if(Me.code==0&&(!Me.quote||on==1))return Me.code=on,Pe(Me);if(on==Me.code){var Ht=Pe(Me);return Me.code=0,Ht}else return Me.formatting=Nt,Pe(Me)}else if(Me.code)return Pe(Me);if(ut==="\\"&&(Qe.next(),Ce.highlightFormatting)){var Fn=Pe(Me),Qt=fe.formatting+"-escape";return Fn?Fn+" "+Qt:Qt}if(ut==="!"&&Qe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Me.imageMarker=!0,Me.image=!0,Ce.highlightFormatting&&(Me.formatting="image"),Pe(Me);if(ut==="["&&Me.imageMarker&&Qe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Me.imageMarker=!1,Me.imageAltText=!0,Ce.highlightFormatting&&(Me.formatting="image"),Pe(Me);if(ut==="]"&&Me.imageAltText){Ce.highlightFormatting&&(Me.formatting="image");var Fn=Pe(Me);return Me.imageAltText=!1,Me.image=!1,Me.inline=Me.f=xt,Fn}if(ut==="["&&!Me.image)return Me.linkText&&Qe.match(/^.*?\]/)||(Me.linkText=!0,Ce.highlightFormatting&&(Me.formatting="link")),Pe(Me);if(ut==="]"&&Me.linkText){Ce.highlightFormatting&&(Me.formatting="link");var Fn=Pe(Me);return Me.linkText=!1,Me.inline=Me.f=Qe.match(/\(.*?\)| ?\[.*?\]/,!1)?xt:ze,Fn}if(ut==="<"&&Qe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Me.f=Me.inline=Te,Ce.highlightFormatting&&(Me.formatting="link");var Fn=Pe(Me);return Fn?Fn+=" ":Fn="",Fn+fe.linkInline}if(ut==="<"&&Qe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Me.f=Me.inline=Te,Ce.highlightFormatting&&(Me.formatting="link");var Fn=Pe(Me);return Fn?Fn+=" ":Fn="",Fn+fe.linkEmail}if(Ce.xml&&ut==="<"&&Qe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ut=Qe.string.indexOf(">",Qe.pos);if(Ut!=-1){var Wt=Qe.string.substring(Qe.start,Ut);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Wt)&&(Me.md_inside=!0)}return Qe.backUp(1),Me.htmlState=ee.startState(We),Ke(Qe,Me,Re)}if(Ce.xml&&ut==="<"&&Qe.match(/^\/\w*?>/))return Me.md_inside=!1,"tag";if(ut==="*"||ut==="_"){for(var Ie=1,he=Qe.pos==1?" ":Qe.string.charAt(Qe.pos-2);Ie<3&&Qe.eat(ut);)Ie++;var ue=Qe.peek()||" ",ve=!/\s/.test(ue)&&(!ke.test(ue)||/\s/.test(he)||ke.test(he)),ye=!/\s/.test(he)&&(!ke.test(he)||/\s/.test(ue)||ke.test(ue)),se=null,$e=null;if(Ie%2&&(!Me.em&&ve&&(ut==="*"||!ye||ke.test(he))?se=!0:Me.em==ut&&ye&&(ut==="*"||!ve||ke.test(ue))&&(se=!1)),Ie>1&&(!Me.strong&&ve&&(ut==="*"||!ye||ke.test(he))?$e=!0:Me.strong==ut&&ye&&(ut==="*"||!ve||ke.test(ue))&&($e=!1)),$e!=null||se!=null){Ce.highlightFormatting&&(Me.formatting=se==null?"strong":$e==null?"em":"strong em"),se===!0&&(Me.em=ut),$e===!0&&(Me.strong=ut);var Ht=Pe(Me);return se===!1&&(Me.em=!1),$e===!1&&(Me.strong=!1),Ht}}else if(ut===" "&&(Qe.eat("*")||Qe.eat("_"))){if(Qe.peek()===" ")return Pe(Me);Qe.backUp(1)}if(Ce.strikethrough){if(ut==="~"&&Qe.eatWhile(ut)){if(Me.strikethrough){Ce.highlightFormatting&&(Me.formatting="strikethrough");var Ht=Pe(Me);return Me.strikethrough=!1,Ht}else if(Qe.match(/^[^\s]/,!1))return Me.strikethrough=!0,Ce.highlightFormatting&&(Me.formatting="strikethrough"),Pe(Me)}else if(ut===" "&&Qe.match(/^~~/,!0)){if(Qe.peek()===" ")return Pe(Me);Qe.backUp(2)}}if(Ce.emoji&&ut===":"&&Qe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Me.emoji=!0,Ce.highlightFormatting&&(Me.formatting="emoji");var wt=Pe(Me);return Me.emoji=!1,wt}return ut===" "&&(Qe.match(/^ +$/,!1)?Me.trailingSpace++:Me.trailingSpace&&(Me.trailingSpaceNewLine=!0)),Pe(Me)}function Te(Qe,Me){var st=Qe.next();if(st===">"){Me.f=Me.inline=ze,Ce.highlightFormatting&&(Me.formatting="link");var zt=Pe(Me);return zt?zt+=" ":zt="",zt+fe.linkInline}return Qe.match(/^[^>]+/,!0),fe.linkInline}function xt(Qe,Me){if(Qe.eatSpace())return null;var st=Qe.next();return st==="("||st==="["?(Me.f=Me.inline=vt(st==="("?")":"]"),Ce.highlightFormatting&&(Me.formatting="link-string"),Me.linkHref=!0,Pe(Me)):"error"}var Ze={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function vt(Qe){return function(Me,st){var zt=Me.next();if(zt===Qe){st.f=st.inline=ze,Ce.highlightFormatting&&(st.formatting="link-string");var ut=Pe(st);return st.linkHref=!1,ut}return Me.match(Ze[Qe]),st.linkHref=!0,Pe(st)}}function ot(Qe,Me){return Qe.match(/^([^\]\\]|\\.)*\]:/,!1)?(Me.f=mt,Qe.next(),Ce.highlightFormatting&&(Me.formatting="link"),Me.linkText=!0,Pe(Me)):et(Qe,Me,ze)}function mt(Qe,Me){if(Qe.match(/^\]:/,!0)){Me.f=Me.inline=Lt,Ce.highlightFormatting&&(Me.formatting="link");var st=Pe(Me);return Me.linkText=!1,st}return Qe.match(/^([^\]\\]|\\.)+/,!0),fe.linkText}function Lt(Qe,Me){return Qe.eatSpace()?null:(Qe.match(/^[^\s]+/,!0),Qe.peek()===void 0?Me.linkTitle=!0:Qe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Me.f=Me.inline=ze,fe.linkHref+" url")}var It={startState:function(){return{f:me,prevLine:{stream:null},thisLine:{stream:null},block:me,htmlState:null,indentation:0,inline:ze,text:De,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(Qe){return{f:Qe.f,prevLine:Qe.prevLine,thisLine:Qe.thisLine,block:Qe.block,htmlState:Qe.htmlState&&ee.copyState(We,Qe.htmlState),indentation:Qe.indentation,localMode:Qe.localMode,localState:Qe.localMode?ee.copyState(Qe.localMode,Qe.localState):null,inline:Qe.inline,text:Qe.text,formatting:!1,linkText:Qe.linkText,linkTitle:Qe.linkTitle,linkHref:Qe.linkHref,code:Qe.code,em:Qe.em,strong:Qe.strong,strikethrough:Qe.strikethrough,emoji:Qe.emoji,header:Qe.header,setext:Qe.setext,hr:Qe.hr,taskList:Qe.taskList,list:Qe.list,listStack:Qe.listStack.slice(0),quote:Qe.quote,indentedCode:Qe.indentedCode,trailingSpace:Qe.trailingSpace,trailingSpaceNewLine:Qe.trailingSpaceNewLine,md_inside:Qe.md_inside,fencedEndRE:Qe.fencedEndRE}},token:function(Qe,Me){if(Me.formatting=!1,Qe!=Me.thisLine.stream){if(Me.header=0,Me.hr=!1,Qe.match(/^\s*$/,!0))return _e(Me),null;if(Me.prevLine=Me.thisLine,Me.thisLine={stream:Qe},Me.taskList=!1,Me.trailingSpace=0,Me.trailingSpaceNewLine=!1,!Me.localState&&(Me.f=Me.block,Me.f!=Re)){var st=Qe.match(/^\s*/,!0)[0].replace(/\t/g,Ye).length;if(Me.indentation=st,Me.indentationDiff=null,st>0)return null}}return Me.f(Qe,Me)},innerMode:function(Qe){return Qe.block==Re?{state:Qe.htmlState,mode:We}:Qe.localState?{state:Qe.localState,mode:Qe.localMode}:{state:Qe,mode:It}},indent:function(Qe,Me,st){return Qe.block==Re&&We.indent?We.indent(Qe.htmlState,Me,st):Qe.localState&&Qe.localMode.indent?Qe.localMode.indent(Qe.localState,Me,st):ee.Pass},blankLine:_e,getType:Pe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return It},"xml"),ee.defineMIME("text/markdown","markdown"),ee.defineMIME("text/x-markdown","markdown")})},98101:function(tn,kt,te){(function(ee){ee(te(89780))})(function(ee){"use strict";ee.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 de=0;de<ee.modeInfo.length;de++){var Ce=ee.modeInfo[de];Ce.mimes&&(Ce.mime=Ce.mimes[0])}ee.findModeByMIME=function(We){We=We.toLowerCase();for(var xe=0;xe<ee.modeInfo.length;xe++){var Ee=ee.modeInfo[xe];if(Ee.mime==We)return Ee;if(Ee.mimes){for(var fe=0;fe<Ee.mimes.length;fe++)if(Ee.mimes[fe]==We)return Ee}}if(/\+xml$/.test(We))return ee.findModeByMIME("application/xml");if(/\+json$/.test(We))return ee.findModeByMIME("application/json")},ee.findModeByExtension=function(We){We=We.toLowerCase();for(var xe=0;xe<ee.modeInfo.length;xe++){var Ee=ee.modeInfo[xe];if(Ee.ext){for(var fe=0;fe<Ee.ext.length;fe++)if(Ee.ext[fe]==We)return Ee}}},ee.findModeByFileName=function(We){for(var xe=0;xe<ee.modeInfo.length;xe++){var Ee=ee.modeInfo[xe];if(Ee.file&&Ee.file.test(We))return Ee}var fe=We.lastIndexOf("."),be=fe>-1&&We.substring(fe+1,We.length);if(be)return ee.findModeByExtension(be)},ee.findModeByName=function(We){We=We.toLowerCase();for(var xe=0;xe<ee.modeInfo.length;xe++){var Ee=ee.modeInfo[xe];if(Ee.name.toLowerCase()==We)return Ee;if(Ee.alias){for(var fe=0;fe<Ee.alias.length;fe++)if(Ee.alias[fe].toLowerCase()==We)return Ee}}}})},67549:function(tn,kt,te){(function(ee){ee(te(89780))})(function(ee){"use strict";ee.defineMode("stex",function(de,Ce){"use strict";function We(we,Se){we.cmdState.push(Se)}function xe(we){return we.cmdState.length>0?we.cmdState[we.cmdState.length-1]:null}function Ee(we){var Se=we.cmdState.pop();Se&&Se.closeBracket()}function fe(we){for(var Se=we.cmdState,Ne=Se.length-1;Ne>=0;Ne--){var ke=Se[Ne];if(ke.name!="DEFAULT")return ke}return{styleIdentifier:function(){return null}}}function be(we,Se,Ne){return function(){this.name=we,this.bracketNo=0,this.style=Se,this.styles=Ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Fe={};Fe.importmodule=be("importmodule","tag",["string","builtin"]),Fe.documentclass=be("documentclass","tag",["","atom"]),Fe.usepackage=be("usepackage","tag",["atom"]),Fe.begin=be("begin","tag",["atom"]),Fe.end=be("end","tag",["atom"]),Fe.label=be("label","tag",["atom"]),Fe.ref=be("ref","tag",["atom"]),Fe.eqref=be("eqref","tag",["atom"]),Fe.cite=be("cite","tag",["atom"]),Fe.bibitem=be("bibitem","tag",["atom"]),Fe.Bibitem=be("Bibitem","tag",["atom"]),Fe.RBibitem=be("RBibitem","tag",["atom"]),Fe.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function He(we,Se){we.f=Se}function rt(we,Se){var Ne;if(we.match(/^\\[a-zA-Z@]+/)){var ke=we.current().slice(1);return Ne=Fe.hasOwnProperty(ke)?Fe[ke]:Fe.DEFAULT,Ne=new Ne,We(Se,Ne),He(Se,ge),Ne.style}if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/\\]/))return"tag";if(we.match("\\["))return He(Se,function(et,Ke){return Ae(et,Ke,"\\]")}),"keyword";if(we.match("\\("))return He(Se,function(et,Ke){return Ae(et,Ke,"\\)")}),"keyword";if(we.match("$$"))return He(Se,function(et,Ke){return Ae(et,Ke,"$$")}),"keyword";if(we.match("$"))return He(Se,function(et,Ke){return Ae(et,Ke,"$")}),"keyword";var Ye=we.next();if(Ye=="%")return we.skipToEnd(),"comment";if(Ye=="}"||Ye=="]"){if(Ne=xe(Se),Ne)Ne.closeBracket(Ye),He(Se,ge);else return"error";return"bracket"}else return Ye=="{"||Ye=="["?(Ne=Fe.DEFAULT,Ne=new Ne,We(Se,Ne),"bracket"):/\d/.test(Ye)?(we.eatWhile(/[\w.%]/),"atom"):(we.eatWhile(/[\w\-_]/),Ne=fe(Se),Ne.name=="begin"&&(Ne.argument=we.current()),Ne.styleIdentifier())}function Ae(we,Se,Ne){if(we.eatSpace())return null;if(Ne&&we.match(Ne))return He(Se,rt),"keyword";if(we.match(/^\\[a-zA-Z@]+/))return"tag";if(we.match(/^[a-zA-Z]+/))return"variable-2";if(we.match(/^\\[$&%#{}_]/)||we.match(/^\\[,;!\/]/)||we.match(/^[\^_&]/))return"tag";if(we.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(we.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ke=we.next();return ke=="{"||ke=="}"||ke=="["||ke=="]"||ke=="("||ke==")"?"bracket":ke=="%"?(we.skipToEnd(),"comment"):"error"}function ge(we,Se){var Ne=we.peek(),ke;return Ne=="{"||Ne=="["?(ke=xe(Se),ke.openBracket(Ne),we.eat(Ne),He(Se,rt),"bracket"):/[ \t\r]/.test(Ne)?(we.eat(Ne),null):(He(Se,rt),Ee(Se),rt(we,Se))}return{startState:function(){var we=Ce.inMathMode?function(Se,Ne){return Ae(Se,Ne)}:rt;return{cmdState:[],f:we}},copyState:function(we){return{cmdState:we.cmdState.slice(),f:we.f}},token:function(we,Se){return Se.f(we,Se)},blankLine:function(we){we.f=rt,we.cmdState.length=0},lineComment:"%"}}),ee.defineMIME("text/x-stex","stex"),ee.defineMIME("text/x-latex","stex")})},15525:function(tn,kt,te){(function(ee){ee(te(89780))})(function(ee){"use strict";var de={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},Ce={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ee.defineMode("xml",function(We,xe){var Ee=We.indentUnit,fe={},be=xe.htmlMode?de:Ce;for(var Fe in be)fe[Fe]=be[Fe];for(var Fe in xe)fe[Fe]=xe[Fe];var He,rt;function Ae(Te,xt){function Ze(mt){return xt.tokenize=mt,mt(Te,xt)}var vt=Te.next();if(vt=="<")return Te.eat("!")?Te.eat("[")?Te.match("CDATA[")?Ze(Se("atom","]]>")):null:Te.match("--")?Ze(Se("comment","-->")):Te.match("DOCTYPE",!0,!0)?(Te.eatWhile(/[\w\._\-]/),Ze(Ne(1))):null:Te.eat("?")?(Te.eatWhile(/[\w\._\-]/),xt.tokenize=Se("meta","?>"),"meta"):(He=Te.eat("/")?"closeTag":"openTag",xt.tokenize=ge,"tag bracket");if(vt=="&"){var ot;return Te.eat("#")?Te.eat("x")?ot=Te.eatWhile(/[a-fA-F\d]/)&&Te.eat(";"):ot=Te.eatWhile(/[\d]/)&&Te.eat(";"):ot=Te.eatWhile(/[\w\.\-:]/)&&Te.eat(";"),ot?"atom":"error"}else return Te.eatWhile(/[^&<]/),null}Ae.isInText=!0;function ge(Te,xt){var Ze=Te.next();if(Ze==">"||Ze=="/"&&Te.eat(">"))return xt.tokenize=Ae,He=Ze==">"?"endTag":"selfcloseTag","tag bracket";if(Ze=="=")return He="equals",null;if(Ze=="<"){xt.tokenize=Ae,xt.state=Ke,xt.tagName=xt.tagStart=null;var vt=xt.tokenize(Te,xt);return vt?vt+" tag error":"tag error"}else return/[\'\"]/.test(Ze)?(xt.tokenize=we(Ze),xt.stringStartCol=Te.column(),xt.tokenize(Te,xt)):(Te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function we(Te){var xt=function(Ze,vt){for(;!Ze.eol();)if(Ze.next()==Te){vt.tokenize=ge;break}return"string"};return xt.isInAttribute=!0,xt}function Se(Te,xt){return function(Ze,vt){for(;!Ze.eol();){if(Ze.match(xt)){vt.tokenize=Ae;break}Ze.next()}return Te}}function Ne(Te){return function(xt,Ze){for(var vt;(vt=xt.next())!=null;){if(vt=="<")return Ze.tokenize=Ne(Te+1),Ze.tokenize(xt,Ze);if(vt==">")if(Te==1){Ze.tokenize=Ae;break}else return Ze.tokenize=Ne(Te-1),Ze.tokenize(xt,Ze)}return"meta"}}function ke(Te,xt,Ze){this.prev=Te.context,this.tagName=xt,this.indent=Te.indented,this.startOfLine=Ze,(fe.doNotIndent.hasOwnProperty(xt)||Te.context&&Te.context.noIndent)&&(this.noIndent=!0)}function Ye(Te){Te.context&&(Te.context=Te.context.prev)}function et(Te,xt){for(var Ze;;){if(!Te.context||(Ze=Te.context.tagName,!fe.contextGrabbers.hasOwnProperty(Ze)||!fe.contextGrabbers[Ze].hasOwnProperty(xt)))return;Ye(Te)}}function Ke(Te,xt,Ze){return Te=="openTag"?(Ze.tagStart=xt.column(),Oe):Te=="closeTag"?_e:Ke}function Oe(Te,xt,Ze){return Te=="word"?(Ze.tagName=xt.current(),rt="tag",Le):fe.allowMissingTagName&&Te=="endTag"?(rt="tag bracket",Le(Te,xt,Ze)):(rt="error",Oe)}function _e(Te,xt,Ze){if(Te=="word"){var vt=xt.current();return Ze.context&&Ze.context.tagName!=vt&&fe.implicitlyClosed.hasOwnProperty(Ze.context.tagName)&&Ye(Ze),Ze.context&&Ze.context.tagName==vt||fe.matchClosing===!1?(rt="tag",me):(rt="tag error",Re)}else return fe.allowMissingTagName&&Te=="endTag"?(rt="tag bracket",me(Te,xt,Ze)):(rt="error",Re)}function me(Te,xt,Ze){return Te!="endTag"?(rt="error",me):(Ye(Ze),Ke)}function Re(Te,xt,Ze){return rt="error",me(Te,xt,Ze)}function Le(Te,xt,Ze){if(Te=="word")return rt="attribute",Pe;if(Te=="endTag"||Te=="selfcloseTag"){var vt=Ze.tagName,ot=Ze.tagStart;return Ze.tagName=Ze.tagStart=null,Te=="selfcloseTag"||fe.autoSelfClosers.hasOwnProperty(vt)?et(Ze,vt):(et(Ze,vt),Ze.context=new ke(Ze,vt,ot==Ze.indented)),Ke}return rt="error",Le}function Pe(Te,xt,Ze){return Te=="equals"?De:(fe.allowMissing||(rt="error"),Le(Te,xt,Ze))}function De(Te,xt,Ze){return Te=="string"?ze:Te=="word"&&fe.allowUnquoted?(rt="string",Le):(rt="error",Le(Te,xt,Ze))}function ze(Te,xt,Ze){return Te=="string"?ze:Le(Te,xt,Ze)}return{startState:function(Te){var xt={tokenize:Ae,state:Ke,indented:Te||0,tagName:null,tagStart:null,context:null};return Te!=null&&(xt.baseIndent=Te),xt},token:function(Te,xt){if(!xt.tagName&&Te.sol()&&(xt.indented=Te.indentation()),Te.eatSpace())return null;He=null;var Ze=xt.tokenize(Te,xt);return(Ze||He)&&Ze!="comment"&&(rt=null,xt.state=xt.state(He||Ze,Te,xt),rt&&(Ze=rt=="error"?Ze+" error":rt)),Ze},indent:function(Te,xt,Ze){var vt=Te.context;if(Te.tokenize.isInAttribute)return Te.tagStart==Te.indented?Te.stringStartCol+1:Te.indented+Ee;if(vt&&vt.noIndent)return ee.Pass;if(Te.tokenize!=ge&&Te.tokenize!=Ae)return Ze?Ze.match(/^(\s*)/)[0].length:0;if(Te.tagName)return fe.multilineTagIndentPastTag!==!1?Te.tagStart+Te.tagName.length+2:Te.tagStart+Ee*(fe.multilineTagIndentFactor||1);if(fe.alignCDATA&&/<!\[CDATA\[/.test(xt))return 0;var ot=xt&&/^<(\/)?([\w_:\.-]*)/.exec(xt);if(ot&&ot[1])for(;vt;)if(vt.tagName==ot[2]){vt=vt.prev;break}else if(fe.implicitlyClosed.hasOwnProperty(vt.tagName))vt=vt.prev;else break;else if(ot)for(;vt;){var mt=fe.contextGrabbers[vt.tagName];if(mt&&mt.hasOwnProperty(ot[2]))vt=vt.prev;else break}for(;vt&&vt.prev&&!vt.startOfLine;)vt=vt.prev;return vt?vt.indent+Ee:Te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:fe.htmlMode?"html":"xml",helperType:fe.htmlMode?"html":"xml",skipAttribute:function(Te){Te.state==De&&(Te.state=Le)},xmlCurrentTag:function(Te){return Te.tagName?{name:Te.tagName,close:Te.type=="closeTag"}:null},xmlCurrentContext:function(Te){for(var xt=[],Ze=Te.context;Ze;Ze=Ze.prev)Ze.tagName&&xt.push(Ze.tagName);return xt.reverse()}}}),ee.defineMIME("text/xml","xml"),ee.defineMIME("application/xml","xml"),ee.mimeModes.hasOwnProperty("text/html")||ee.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(tn,kt,te){"use strict";te.d(kt,{hP:function(){return Wt}});var ee=function(Ie,he){return(ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ve){ue.__proto__=ve}||function(ue,ve){for(var ye in ve)Object.prototype.hasOwnProperty.call(ve,ye)&&(ue[ye]=ve[ye])})(Ie,he)};function de(Ie,he){function ue(){this.constructor=Ie}ee(Ie,he),Ie.prototype=he===null?Object.create(he):(ue.prototype=he.prototype,new ue)}function Ce(Ie,he,ue,ve){return new(ue||(ue=Promise))(function(ye,se){function $e(Je){try{lt(ve.next(Je))}catch(Pt){se(Pt)}}function wt(Je){try{lt(ve.throw(Je))}catch(Pt){se(Pt)}}function lt(Je){var Pt;Je.done?ye(Je.value):(Pt=Je.value,Pt instanceof ue?Pt:new ue(function(Dt){Dt(Pt)})).then($e,wt)}lt((ve=ve.apply(Ie,he||[])).next())})}function We(Ie,he){var ue,ve,ye,se,$e={label:0,sent:function(){if(1&ye[0])throw ye[1];return ye[1]},trys:[],ops:[]};return se={next:wt(0),throw:wt(1),return:wt(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function wt(lt){return function(Je){return function(Pt){if(ue)throw new TypeError("Generator is already executing.");for(;$e;)try{if(ue=1,ve&&(ye=2&Pt[0]?ve.return:Pt[0]?ve.throw||((ye=ve.return)&&ye.call(ve),0):ve.next)&&!(ye=ye.call(ve,Pt[1])).done)return ye;switch(ve=0,ye&&(Pt=[2&Pt[0],ye.value]),Pt[0]){case 0:case 1:ye=Pt;break;case 4:return $e.label++,{value:Pt[1],done:!1};case 5:$e.label++,ve=Pt[1],Pt=[0];continue;case 7:Pt=$e.ops.pop(),$e.trys.pop();continue;default:if(ye=$e.trys,!((ye=ye.length>0&&ye[ye.length-1])||Pt[0]!==6&&Pt[0]!==2)){$e=0;continue}if(Pt[0]===3&&(!ye||Pt[1]>ye[0]&&Pt[1]<ye[3])){$e.label=Pt[1];break}if(Pt[0]===6&&$e.label<ye[1]){$e.label=ye[1],ye=Pt;break}if(ye&&$e.label<ye[2]){$e.label=ye[2],$e.ops.push(Pt);break}ye[2]&&$e.ops.pop(),$e.trys.pop();continue}Pt=he.call(Ie,$e)}catch(Dt){Pt=[6,Dt],ve=0}finally{ue=ye=0}if(5&Pt[0])throw Pt[1];return{value:Pt[0]?Pt[1]:void 0,done:!0}}([lt,Je])}}}function xe(){for(var Ie=0,he=0,ue=arguments.length;he<ue;he++)Ie+=arguments[he].length;var ve=Array(Ie),ye=0;for(he=0;he<ue;he++)for(var se=arguments[he],$e=0,wt=se.length;$e<wt;$e++,ye++)ve[ye]=se[$e];return ve}var Ee=function(){function Ie(){}return Ie.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ie.setAttributes=function(he,ue){for(var ve=0,ye=ue;ve<ye.length;ve++){var se=ye[ve],$e=se[0],wt=se[1];he.setAttribute($e,wt)}},Ie.createRect=function(he,ue,ve){var ye=document.createElementNS("http://www.w3.org/2000/svg","rect");return ye.setAttribute("width",he.toString()),ye.setAttribute("height",ue.toString()),ve&&Ie.setAttributes(ye,ve),ye},Ie.createLine=function(he,ue,ve,ye,se){var $e=document.createElementNS("http://www.w3.org/2000/svg","line");return $e.setAttribute("x1",he.toString()),$e.setAttribute("y1",ue.toString()),$e.setAttribute("x2",ve.toString()),$e.setAttribute("y2",ye.toString()),se&&Ie.setAttributes($e,se),$e},Ie.createPolygon=function(he,ue){var ve=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ve.setAttribute("points",he),ue&&Ie.setAttributes(ve,ue),ve},Ie.createCircle=function(he,ue){var ve=document.createElementNS("http://www.w3.org/2000/svg","circle");return ve.setAttribute("cx",(he/2).toString()),ve.setAttribute("cy",(he/2).toString()),ve.setAttribute("r",he.toString()),ue&&Ie.setAttributes(ve,ue),ve},Ie.createEllipse=function(he,ue,ve){var ye=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return ye.setAttribute("cx",(he/2).toString()),ye.setAttribute("cy",(ue/2).toString()),ye.setAttribute("rx",(he/2).toString()),ye.setAttribute("ry",(ue/2).toString()),ve&&Ie.setAttributes(ye,ve),ye},Ie.createGroup=function(he){var ue=document.createElementNS("http://www.w3.org/2000/svg","g");return he&&Ie.setAttributes(ue,he),ue},Ie.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ie.createMarker=function(he,ue,ve,ye,se,$e,wt){var lt=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ie.setAttributes(lt,[["id",he],["orient",ue],["markerWidth",ve.toString()],["markerHeight",ye.toString()],["refX",se.toString()],["refY",$e.toString()]]),lt.appendChild(wt),lt},Ie.createText=function(he){var ue=document.createElementNS("http://www.w3.org/2000/svg","text");return ue.setAttribute("x","0"),ue.setAttribute("y","0"),he&&Ie.setAttributes(ue,he),ue},Ie.createTSpan=function(he,ue){var ve=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ve.textContent=he,ue&&Ie.setAttributes(ve,ue),ve},Ie.createImage=function(he){var ue=document.createElementNS("http://www.w3.org/2000/svg","image");return he&&Ie.setAttributes(ue,he),ue},Ie.createPoint=function(he,ue){var ve=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ve.x=he,ve.y=ue,ve},Ie.createPath=function(he,ue){var ve=document.createElementNS("http://www.w3.org/2000/svg","path");return ve.setAttribute("d",he),ue&&Ie.setAttributes(ve,ue),ve},Ie}(),fe=function(){function Ie(){}return Ie.addKey=function(he){Ie.key=he},Object.defineProperty(Ie,"isLicensed",{get:function(){return!!Ie.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ie.key)},enumerable:!1,configurable:!0}),Ie}(),be=function(){function Ie(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ie.prototype.rasterize=function(he,ue,ve){var ye=this;return new Promise(function(se){var $e=ve!==void 0?ve:document.createElement("canvas");he===null&&(ye.markersOnly=!0,ye.naturalSize=!1);var wt=document.createElementNS("http://www.w3.org/2000/svg","svg");wt.setAttribute("xmlns","http://www.w3.org/2000/svg"),wt.setAttribute("width",ue.width.baseVal.valueAsString),wt.setAttribute("height",ue.height.baseVal.valueAsString),wt.setAttribute("viewBox","0 0 "+ue.viewBox.baseVal.width.toString()+" "+ue.viewBox.baseVal.height.toString()),wt.innerHTML=ue.innerHTML,ye.naturalSize===!0?(wt.width.baseVal.value=he.naturalWidth,wt.height.baseVal.value=he.naturalHeight):ye.width!==void 0&&ye.height!==void 0&&(wt.width.baseVal.value=ye.width,wt.height.baseVal.value=ye.height),$e.width=wt.width.baseVal.value,$e.height=wt.height.baseVal.value;var lt=wt.outerHTML,Je=$e.getContext("2d");ye.markersOnly!==!0&&Je.drawImage(he,0,0,$e.width,$e.height);var Pt=window.URL,Dt=new Image($e.width,$e.height);Dt.setAttribute("crossOrigin","anonymous");var yt=new Blob([lt],{type:"image/svg+xml"}),jt=Pt.createObjectURL(yt);Dt.onload=function(){Je.drawImage(Dt,0,0),Pt.revokeObjectURL(jt);var En=$e.toDataURL(ye.imageType,ye.imageQuality);se(En)},Dt.src=jt})},Ie}(),Fe=function(){},He=function(){function Ie(he){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+he+"_"}return Object.defineProperty(Ie.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.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(Ie.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ie.prototype.addClass=function(he){return this.styleSheet===void 0&&this.addStyleSheet(),he.name=""+this.classNamePrefix+he.localName,this.classes.push(he),this.styleSheet.sheet.insertRule("."+he.name+" {"+he.style+"}",this.styleSheet.sheet.cssRules.length),he},Ie.prototype.addRule=function(he){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(he),this.styleSheet.sheet.insertRule(he.selector+" {"+he.style+"}",this.styleSheet.sheet.cssRules.length)},Ie.prototype.addStyleSheet=function(){var he;this.styleSheet=document.createElement("style"),((he=this.styleSheetRoot)!==null&&he!==void 0?he:document.head).appendChild(this.styleSheet),this.addRule(new rt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new rt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new rt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Ae("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Ae("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},Ie.prototype.removeStyleSheet=function(){var he;this.styleSheet&&(((he=this.styleSheetRoot)!==null&&he!==void 0?he:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ie}(),rt=function(Ie,he){this.selector=Ie,this.style=he},Ae=function(Ie,he){this.localName=Ie,this.style=he},ge=function(){function Ie(he,ue,ve,ye,se){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=he,this.displayMode=ue,this.markerItems=ve,this.uiStyleSettings=ye,this.styles=se,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ie.prototype.show=function(he){var ue=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=he,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ve=document.createElement("div");ve.className=this.toolbarBlockStyleClass.name,ve.style.whiteSpace="nowrap",this.uiContainer.appendChild(ve),this.addActionButton(ve,'<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(ve,'<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(ve,'<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(ve,'<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(ve,'<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(ve,'<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(ve,'<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(ve,'<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(se){var $e=document.createElement("div");$e.className=""+ue.toolbarButtonStyleClass.name,$e.setAttribute("data-type-name",se.typeName),$e.innerHTML=se.icon,$e.addEventListener("click",function(){ue.markerToolbarButtonClicked($e,se)}),ue.buttons.push($e),ue.markerButtons.push($e)}),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 ye=document.createElement("div");ye.className=this.toolbarBlockStyleClass.name,ye.style.whiteSpace="nowrap",ye.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ye),this.addActionButton(ye,'<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(ye,'<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()},Ie.prototype.addButtonClickListener=function(he){this.buttonClickListeners.push(he)},Ie.prototype.removeButtonClickListener=function(he){this.buttonClickListeners.indexOf(he)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(he),1)},Ie.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ie.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var he=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<he||ue===he&&this.markerButtons.length-1===he?this.markerButtonBlock.appendChild(this.markerButtons[ue]):(ue===he&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ue]))}},Ie.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")},Ie.prototype.resetButtonStyles=function(){var he=this;this.buttons.forEach(function(ue){ue.className=ue.className.replace(he.uiStyleSettings.toolbarButtonStyleColorsClassName?he.uiStyleSettings.toolbarButtonStyleColorsClassName:he.toolbarButtonStyleColorsClass.name,"").trim(),ue.className=ue.className.replace(he.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?he.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:he.toolbarActiveButtonStyleColorsClass.name,"").trim(),ue.className+=" "+(he.uiStyleSettings.toolbarButtonStyleColorsClassName?he.uiStyleSettings.toolbarButtonStyleColorsClassName:he.toolbarButtonStyleColorsClass.name)})},Ie.prototype.addActionButton=function(he,ue,ve){var ye=this,se=document.createElement("div");switch(se.className=""+this.toolbarButtonStyleClass.name,se.innerHTML=ue,se.setAttribute("data-action",ve),se.addEventListener("click",function(){ye.actionToolbarButtonClicked(se,ve)}),ve){case"select":se.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":se.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":se.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":se.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":se.style.fill=this.uiStyleSettings.closeButtonColor}he.appendChild(se),this.buttons.push(se)},Ie.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Ae("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 Ae("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Ae("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Ae("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 Ae("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var he=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Ae("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
|
|
|
padding: `+he+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Ae("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Ae("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new rt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new rt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},Ie.prototype.markerToolbarButtonClicked=function(he,ue){this.setActiveButton(he),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ve){return ve("marker",ue)}),this.markerButtonOverflowBlock.style.display="none"},Ie.prototype.actionToolbarButtonClicked=function(he,ue){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ve){return ve("action",ue)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ie.prototype.setActiveButton=function(he){this.resetButtonStyles(),he.className=he.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),he.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ie.prototype.setActiveMarkerButton=function(he){var ue=this.markerButtons.find(function(ve){return ve.getAttribute("data-type-name")===he});ue&&this.setActiveButton(ue)},Ie.prototype.setCurrentMarker=function(he){var ue=this;this.currentMarker=he,this.buttons.filter(function(ve){return/delete|notes/.test(ve.getAttribute("data-action"))}).forEach(function(ve){ue.currentMarker===void 0?(ve.style.fillOpacity="0.4",ve.style.pointerEvents="none"):(ve.style.fillOpacity="1",ve.style.pointerEvents="all")})},Ie}(),we=function(){function Ie(he,ue,ve,ye){this.panels=[],this.panelButtons=[],this.markerjsContainer=he,this.displayMode=ue,this.uiStyleSettings=ve,this.styles=ye,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ie.prototype.addStyles=function(){var he;this.toolboxStyleClass=this.styles.addClass(new Ae("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 Ae("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var ue=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ae("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ae("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ae("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 Ae("toolbox-panel-row_colors",`
|
|
|
background-color: `+((he=this.uiStyleSettings.toolboxBackgroundColor)!==null&&he!==void 0?he:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Ae("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 Ae("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ae("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new rt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new rt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},Ie.prototype.show=function(he){var ue;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=he,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ue=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ue!==void 0?ue:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ie.prototype.setPanelButtons=function(he){var ue,ve,ye=this;this.panels=he,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+" "+((ve=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ve!==void 0?ve:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(se){var $e;se.uiStyleSettings=ye.uiStyleSettings;var wt=document.createElement("div");wt.className=ye.toolboxButtonStyleClass.name+" "+(($e=ye.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&$e!==void 0?$e:ye.toolboxButtonStyleColorsClass.name),wt.innerHTML=se.icon,wt.title=se.title,wt.addEventListener("click",function(){ye.panelButtonClick(se)}),ye.panelButtons.push(wt),ye.buttonRow.appendChild(wt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ie.prototype.panelButtonClick=function(he){var ue=this,ve=-1;if(he!==this.activePanel){ve=this.panels.indexOf(he),this.panelRow.innerHTML="";var ye=he.getUi();ye.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ye),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=he}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(se,$e){var wt,lt;se.className=ue.toolboxButtonStyleClass.name+" "+($e===ve?""+((wt=ue.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&wt!==void 0?wt:ue.toolboxActiveButtonStyleColorsClass.name):""+((lt=ue.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&<!==void 0?lt:ue.toolboxButtonStyleColorsClass.name))})},Ie}(),Se=function(Ie,he){this.title=Ie,this.icon=he},Ne=function(Ie){function he(ue,ve,ye,se){var $e=Ie.call(this,ue,se||'<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 $e.colors=[],$e.addTransparent=!1,$e.colorBoxes=[],$e.colors=ve,$e.currentColor=ye,$e.setCurrentColor=$e.setCurrentColor.bind($e),$e.getColorBox=$e.getColorBox.bind($e),$e}return de(he,Ie),he.prototype.getUi=function(){var ue=this,ve=document.createElement("div");return ve.style.overflow="hidden",ve.style.whiteSpace="nowrap",this.colors.forEach(function(ye){var se=ue.getColorBox(ye);ve.appendChild(se),ue.colorBoxes.push(se)}),ve},he.prototype.getColorBox=function(ue){var ve=this,ye=this.uiStyleSettings.toolbarHeight/4,se=this.uiStyleSettings.toolbarHeight-ye,$e=document.createElement("div");$e.style.display="inline-block",$e.style.boxSizing="content-box",$e.style.width=se-2+"px",$e.style.height=se-2+"px",$e.style.padding="1px",$e.style.marginRight="2px",$e.style.marginBottom="2px",$e.style.borderWidth="2px",$e.style.borderStyle="solid",$e.style.borderRadius=(se+2)/2+"px",$e.style.borderColor=ue===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",$e.addEventListener("click",function(){ve.setCurrentColor(ue,$e)});var wt=document.createElement("div");return wt.style.display="inline-block",wt.style.width=se-2+"px",wt.style.height=se-2+"px",wt.style.backgroundColor=ue,wt.style.borderRadius=se/2+"px",ue==="transparent"&&(wt.style.fill=this.uiStyleSettings.toolboxAccentColor,wt.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>`),$e.appendChild(wt),$e},he.prototype.setCurrentColor=function(ue,ve){var ye=this;this.currentColor=ue,this.colorBoxes.forEach(function(se){se.style.borderColor=se===ve?ye.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ue)},he}(Se),ke=function(){function Ie(he,ue,ve){this._state="new",this._isSelected=!1,this._container=he,this._overlayContainer=ue,this.globalSettings=ve,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ie.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ie.prototype.ownsTarget=function(he){return!1},Object.defineProperty(Ie.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ie.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ie.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ie.prototype.pointerDown=function(he,ue){},Ie.prototype.dblClick=function(he,ue){},Ie.prototype.manipulate=function(he){},Ie.prototype.pointerUp=function(he){this.stateChanged()},Ie.prototype.dispose=function(){},Ie.prototype.addMarkerVisualToContainer=function(he){this.container.childNodes.length>0?this.container.insertBefore(he,this.container.childNodes[0]):this.container.appendChild(he)},Ie.prototype.getState=function(){return{typeName:Ie.typeName,state:this.state,notes:this.notes}},Ie.prototype.restoreState=function(he){this._state=he.state,this.notes=he.notes},Ie.prototype.scale=function(he,ue){},Ie.prototype.colorChanged=function(he){this.onColorChanged&&this.onColorChanged(he),this.stateChanged()},Ie.prototype.fillColorChanged=function(he){this.onFillColorChanged&&this.onFillColorChanged(he),this.stateChanged()},Ie.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var he=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),he.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(he)&&this.onStateChanged(this)}},Ie.typeName="MarkerBase",Ie}(),Ye=function(){function Ie(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ie.prototype.findGripByVisual=function(he){return this.topLeft.ownsTarget(he)?this.topLeft:this.topCenter.ownsTarget(he)?this.topCenter:this.topRight.ownsTarget(he)?this.topRight:this.centerLeft.ownsTarget(he)?this.centerLeft:this.centerRight.ownsTarget(he)?this.centerRight:this.bottomLeft.ownsTarget(he)?this.bottomLeft:this.bottomCenter.ownsTarget(he)?this.bottomCenter:this.bottomRight.ownsTarget(he)?this.bottomRight:void 0},Ie}(),et=function(){function Ie(){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 Ie.prototype.ownsTarget=function(he){return he===this.visual||he===this.visual.childNodes[0]||he===this.visual.childNodes[1]},Ie}(),Ke=function(){function Ie(){}return Ie.toITransformMatrix=function(he){return{a:he.a,b:he.b,c:he.c,d:he.d,e:he.e,f:he.f}},Ie.toSVGMatrix=function(he,ue){return he.a=ue.a,he.b=ue.b,he.c=ue.c,he.d=ue.d,he.e=ue.e,he.f=ue.f,he},Ie}(),Oe=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.left=0,se.top=0,se.width=0,se.height=0,se.defaultSize={x:50,y:20},se.offsetX=0,se.offsetY=0,se.rotationAngle=0,se.CB_DISTANCE=10,se._suppressMarkerCreateEvent=!1,se.container.transform.baseVal.appendItem(Ee.createTransform()),se.setupControlBox(),se}return de(he,Ie),Object.defineProperty(he.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"visual",{get:function(){return this._visual},set:function(ue){this._visual=ue;var ve=Ee.createTransform();this._visual.transform.baseVal.appendItem(ve)},enumerable:!1,configurable:!0}),he.prototype.ownsTarget=function(ue){return!!Ie.prototype.ownsTarget.call(this,ue)||!!(this.controlGrips.findGripByVisual(ue)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ue))},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),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 ye=this.unrotatePoint(ue);if(this.manipulationStartX=ye.x,this.manipulationStartY=ye.y,this.offsetX=ye.x-this.left,this.offsetY=ye.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ve),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ve)){this.activeGrip=this.rotatorGrip;var se=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=se.x-this.width/2,this.top=se.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var $e=this.container.transform.baseVal.getItem(0);$e.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem($e,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},he.prototype.pointerUp=function(ue){var ve=this.state;Ie.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",ve==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},he.prototype.moveVisual=function(ue){this.visual.style.transform="translate("+ue.x+"px, "+ue.y+"px)"},he.prototype.manipulate=function(ue){var ve=this.unrotatePoint(ue);this.state==="creating"?this.resize(ue):this.state==="move"?(this.left=this.manipulationStartLeft+(ve.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ve.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ve):this.state==="rotate"&&this.rotate(ue)},he.prototype.resize=function(ue){var ve=this.manipulationStartLeft,ye=this.manipulationStartWidth,se=this.manipulationStartTop,$e=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ve=this.manipulationStartLeft+ue.x-this.manipulationStartX,ye=this.manipulationStartWidth+this.manipulationStartLeft-ve;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ye=this.manipulationStartWidth+ue.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:se=this.manipulationStartTop+ue.y-this.manipulationStartY,$e=this.manipulationStartHeight+this.manipulationStartTop-se;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:$e=this.manipulationStartHeight+ue.y-this.manipulationStartY}ye>=0?(this.left=ve,this.width=ye):(this.left=ve+ye,this.width=-ye),$e>=0?(this.top=se,this.height=$e):(this.top=se+$e,this.height=-$e),this.setSize()},he.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},he.prototype.rotate=function(ue){if(Math.abs(ue.x-this.centerX)>.1){var ve=Math.sign(ue.x-this.centerX);this.rotationAngle=180*Math.atan((ue.y-this.centerY)/(ue.x-this.centerX))/Math.PI+90*ve,this.applyRotation()}},he.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)},he.prototype.rotatePoint=function(ue){if(this.rotationAngle===0)return ue;var ve=this.container.getCTM(),ye=Ee.createPoint(ue.x,ue.y);return{x:(ye=ye.matrixTransform(ve)).x,y:ye.y}},he.prototype.unrotatePoint=function(ue){if(this.rotationAngle===0)return ue;var ve=this.container.getCTM();ve=ve.inverse();var ye=Ee.createPoint(ue.x,ue.y);return{x:(ye=ye.matrixTransform(ve)).x,y:ye.y}},he.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},he.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},he.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 Ye,this.addControlGrips(),this.controlBox.style.display="none"},he.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()},he.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()},he.prototype.createGrip=function(){var ue=new et;return ue.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ue.visual),ue},he.prototype.positionGrips=function(){var ue=this.controlGrips.topLeft.GRIP_SIZE,ve=-ue/2,ye=ve,se=(this.width+this.CB_DISTANCE)/2-ue/2,$e=(this.height+this.CB_DISTANCE)/2-ue/2,wt=this.height+this.CB_DISTANCE-ue/2,lt=this.width+this.CB_DISTANCE-ue/2;this.positionGrip(this.controlGrips.topLeft.visual,ve,ye),this.positionGrip(this.controlGrips.topCenter.visual,se,ye),this.positionGrip(this.controlGrips.topRight.visual,lt,ye),this.positionGrip(this.controlGrips.centerLeft.visual,ve,$e),this.positionGrip(this.controlGrips.centerRight.visual,lt,$e),this.positionGrip(this.controlGrips.bottomLeft.visual,ve,wt),this.positionGrip(this.controlGrips.bottomCenter.visual,se,wt),this.positionGrip(this.controlGrips.bottomRight.visual,lt,wt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,se,ye-3*this.CB_DISTANCE)},he.prototype.positionGrip=function(ue,ve,ye){var se=ue.transform.baseVal.getItem(0);se.setTranslate(ve,ye),ue.transform.baseVal.replaceItem(se,0)},he.prototype.hideControlBox=function(){this.controlBox.style.display="none"},he.prototype.showControlBox=function(){this.controlBox.style.display=""},he.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ke.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ke.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ie.prototype.getState.call(this))},he.prototype.restoreState=function(ue){Ie.prototype.restoreState.call(this,ue);var ve=ue;this.left=ve.left,this.top=ve.top,this.width=ve.width,this.height=ve.height,this.rotationAngle=ve.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ve.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ve.containerTransformMatrix))},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve);var ye=this.rotatePoint({x:this.left,y:this.top}),se=this.unrotatePoint({x:ye.x*ue,y:ye.y*ve});this.left=se.x,this.top=se.y,this.width=this.width*ue,this.height=this.height*ve,this.adjustControlBox()},he}(ke),_e=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.createVisual=se.createVisual.bind(se),se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},he.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)},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},he.prototype.manipulate=function(ue){Ie.prototype.manipulate.call(this,ue)},he.prototype.resize=function(ue){Ie.prototype.resize.call(this,ue),this.setSize()},he.prototype.setSize=function(){Ie.prototype.setSize.call(this),Ee.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},he.prototype.pointerUp=function(ue){Ie.prototype.pointerUp.call(this,ue),this.setSize()},he.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},he.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},he.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},he.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ie.prototype.getState.call(this))},he.prototype.restoreState=function(ue){var ve=ue;this.fillColor=ve.fillColor,this.strokeColor=ve.strokeColor,this.strokeWidth=ve.strokeWidth,this.strokeDasharray=ve.strokeDasharray,this.opacity=ve.opacity,this.createVisual(),Ie.prototype.restoreState.call(this,ue),this.setSize()},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.setSize()},he.title="Rectangle marker",he}(Oe),me=function(Ie){function he(ue,ve,ye,se){var $e=Ie.call(this,ue,se||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return $e.widths=[],$e.widthBoxes=[],$e.widths=ve,$e.currentWidth=ye,$e.setCurrentWidth=$e.setCurrentWidth.bind($e),$e}return de(he,Ie),he.prototype.getUi=function(){var ue=this,ve=document.createElement("div");return ve.style.display="flex",ve.style.overflow="hidden",ve.style.flexGrow="2",this.widths.forEach(function(ye){var se=document.createElement("div");se.style.display="flex",se.style.flexGrow="2",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.borderColor=ye===ue.currentWidth?ue.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ue.setCurrentWidth(ye,se)}),ve.appendChild(se);var $e=document.createElement("div");$e.innerText=ye.toString(),$e.style.marginRight="5px",se.appendChild($e);var wt=document.createElement("div");wt.style.minHeight="20px",wt.style.flexGrow="2",wt.style.display="flex",wt.style.alignItems="center";var lt=document.createElement("hr");lt.style.minWidth="20px",lt.style.border="0px",lt.style.borderTop=ye+"px solid "+ue.uiStyleSettings.toolboxColor,lt.style.flexGrow="2",wt.appendChild(lt),se.appendChild(wt),ue.widthBoxes.push(se)}),ve},he.prototype.setCurrentWidth=function(ue,ve){var ye=this;this.currentWidth=ue,this.widthBoxes.forEach(function(se){se.style.borderColor=se===ve?ye.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},he}(Se),Re=function(Ie){function he(ue,ve,ye,se){var $e=Ie.call(this,ue,se||'<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 $e.styles=[],$e.styleBoxes=[],$e.styles=ve,$e.currentStyle=ye,$e.setCurrentStyle=$e.setCurrentStyle.bind($e),$e}return de(he,Ie),he.prototype.getUi=function(){var ue=this,ve=document.createElement("div");return ve.style.display="flex",ve.style.overflow="hidden",ve.style.flexGrow="2",this.styles.forEach(function(ye){var se=document.createElement("div");se.style.display="flex",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.overflow="hidden",se.style.maxWidth=100/ue.styles.length-5+"%",se.style.borderColor=ye===ue.currentStyle?ue.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ue.setCurrentStyle(ye,se)}),ve.appendChild(se);var $e=document.createElement("div");$e.style.minHeight="20px",$e.style.flexGrow="2",$e.style.overflow="hidden";var wt=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ue.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(ye!==""?'stroke-dasharray="'+ye+'"':"")+` />
|
|
|
</svg>`;$e.innerHTML=wt,se.appendChild($e),ue.styleBoxes.push(se)}),ve},he.prototype.setCurrentStyle=function(ue,ve){var ye=this;this.currentStyle=ue,this.styleBoxes.forEach(function(se){se.style.borderColor=se===ve?ye.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},he}(Se),Le=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.strokeColor=ye.defaultColor,se.strokeWidth=ye.defaultStrokeWidth,se.strokeDasharray=ye.defaultStrokeDasharray,se.strokePanel=new Ne("Line color",ye.defaultColorSet,ye.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new me("Line width",ye.defaultStrokeWidths,ye.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Re("Line style",ye.defaultStrokeDasharrays,ye.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return de(he,Ie),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Ie.prototype.getState.call(this);return ue.typeName=he.typeName,ue},he.typeName="FrameMarker",he.title="Frame marker",he.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',he}(_e),Pe=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"},De=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.x1=0,se.y1=0,se.x2=0,se.y2=0,se.defaultLength=50,se.manipulationStartX=0,se.manipulationStartY=0,se.manipulationStartX1=0,se.manipulationStartY1=0,se.manipulationStartX2=0,se.manipulationStartY2=0,se.setupControlBox(),se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!!Ie.prototype.ownsTarget.call(this,ue)||!(!this.grip1.ownsTarget(ue)&&!this.grip2.ownsTarget(ue))},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),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(ve)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ve)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},he.prototype.pointerUp=function(ue){var ve=this.state;Ie.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",ve==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},he.prototype.adjustVisual=function(){},he.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)},he.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()},he.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},he.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},he.prototype.setupControlBox=function(){this.controlBox=Ee.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},he.prototype.adjustControlBox=function(){this.positionGrips()},he.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},he.prototype.createGrip=function(){var ue=new et;return ue.visual.transform.baseVal.appendItem(Ee.createTransform()),this.controlBox.appendChild(ue.visual),ue},he.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)},he.prototype.positionGrip=function(ue,ve,ye){var se=ue.transform.baseVal.getItem(0);se.setTranslate(ve,ye),ue.transform.baseVal.replaceItem(se,0)},he.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ie.prototype.getState.call(this))},he.prototype.restoreState=function(ue){Ie.prototype.restoreState.call(this,ue);var ve=ue;this.x1=ve.x1,this.y1=ve.y1,this.x2=ve.x2,this.y2=ve.y2},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.x1=this.x1*ue,this.y1=this.y1*ve,this.x2=this.x2*ue,this.y2=this.y2*ve,this.adjustVisual(),this.adjustControlBox()},he}(ke),ze=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.setStrokeColor=se.setStrokeColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.strokeColor=ye.defaultColor,se.strokeWidth=ye.defaultStrokeWidth,se.strokeDasharray=ye.defaultStrokeDasharray,se.strokePanel=new Ne("Line color",ye.defaultColorSet,ye.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new me("Line width",ye.defaultStrokeWidths,ye.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Re("Line style",ye.defaultStrokeDasharrays,ye.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorLine&&ue!==this.visibleLine)},he.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)},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},he.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()]]))},he.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},he.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},he.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){Ie.prototype.restoreState.call(this,ue);var ve=ue;this.strokeColor=ve.strokeColor,this.strokeWidth=ve.strokeWidth,this.strokeDasharray=ve.strokeDasharray,this.createVisual(),this.adjustVisual()},he.typeName="LineMarker",he.title="Line marker",he.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',he}(De),Te=function(Ie){function he(ue,ve,ye,se){var $e=Ie.call(this,ue,se||'<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 $e.fonts=[],$e.fontBoxes=[],$e.fonts=ve,$e.currentFont=ye,$e.setCurrentFont=$e.setCurrentFont.bind($e),$e}return de(he,Ie),he.prototype.getUi=function(){var ue=this,ve=document.createElement("div");return ve.style.overflow="hidden",ve.style.flexGrow="2",this.fonts.forEach(function(ye){var se=document.createElement("div");se.style.display="inline-block",se.style.alignItems="center",se.style.justifyContent="space-between",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.overflow="hidden",se.style.maxWidth=100/ue.fonts.length-5+"%",se.style.borderColor=ye===ue.currentFont?ue.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ue.setCurrentFont(ye,se)}),ve.appendChild(se);var $e=document.createElement("div");$e.style.display="flex",$e.style.minHeight="20px",$e.style.flexGrow="2",$e.style.fontFamily=ye,$e.style.overflow="hidden";var wt=document.createElement("div");wt.style.whiteSpace="nowrap",wt.style.overflow="hidden",wt.style.textOverflow="ellipsis",wt.innerHTML="The quick brown fox jumps over the lazy dog",$e.appendChild(wt),se.appendChild($e),ue.fontBoxes.push(se)}),ve},he.prototype.setCurrentFont=function(ue,ve){var ye=this;this.currentFont=ue,this.fontBoxes.forEach(function(se){se.style.borderColor=se===ve?ye.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},he}(Se),xt=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.color="transparent",se.padding=5,se.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",se.text=se.DEFAULT_TEXT,se.isMoved=!1,se.color=ye.defaultColor,se.fontFamily=ye.defaultFontFamily,se.defaultSize={x:100,y:30},se.setColor=se.setColor.bind(se),se.setFont=se.setFont.bind(se),se.renderText=se.renderText.bind(se),se.sizeText=se.sizeText.bind(se),se.textEditDivClicked=se.textEditDivClicked.bind(se),se.showTextEditor=se.showTextEditor.bind(se),se.setSize=se.setSize.bind(se),se.positionTextEditor=se.positionTextEditor.bind(se),se.colorPanel=new Ne("Color",ye.defaultColorSet,ye.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.fontFamilyPanel=new Te("Font",ye.defaultFontFamilies,ye.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){if(Ie.prototype.ownsTarget.call(this,ue)||ue===this.visual||ue===this.textElement||ue===this.bgRectangle)return!0;var ve=!1;return this.textElement.childNodes.forEach(function(ye){ye===ue&&(ve=!0)}),ve},he.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()},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},he.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(ve){ue.textElement.appendChild(Ee.createTSpan(ve.trim()===""?" ":ve.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},he.prototype.getTextScale=function(){var ue=this.textElement.getBBox(),ve=1;if(ue.width>0&&ue.height>0){var ye=(1*this.width-this.width*this.padding*2/100)/ue.width,se=(1*this.height-this.height*this.padding*2/100)/ue.height;ve=Math.min(ye,se)}return ve},he.prototype.getTextPosition=function(ue){var ve=this.textElement.getBBox(),ye=0,se=0;return ve.width>0&&ve.height>0&&(ye=(this.width-ve.width*ue)/2,se=this.height/2-ve.height*ue/2),{x:ye,y:se}},he.prototype.sizeText=function(){var ue=this.textElement.getBBox(),ve=this.getTextScale(),ye=this.getTextPosition(ve);ye.y-=ue.y*ve,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ye.x+"px, "+ye.y+"px) scale("+ve+", "+ve+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ye.x,ye.y),this.textElement.transform.baseVal.getItem(1).setScale(ve,ve))},he.prototype.manipulate=function(ue){Ie.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)},he.prototype.resize=function(ue){Ie.prototype.resize.call(this,ue),this.isMoved=!0,this.setSize(),this.sizeText()},he.prototype.setSize=function(){Ie.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()]]))},he.prototype.pointerUp=function(ue){var ve=this.state;ve==="creating"&&(this._suppressMarkerCreateEvent=!0),Ie.prototype.pointerUp.call(this,ue),this.setSize(),(ve==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},he.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(ve){ve.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ve=Number.parseFloat(ue.textEditor.style.fontSize);ue.textEditor.clientWidth>=Number.parseInt(ue.textEditor.style.maxWidth)&&ve>.9;)ve-=.1,ue.textEditor.style.fontSize=Math.max(ve,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ve){ve.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ve){if(ve.clipboardData){var ye=ve.clipboardData.getData("text"),se=window.getSelection();if(!se.rangeCount)return!1;se.deleteFromDocument(),se.getRangeAt(0).insertNode(document.createTextNode(ye)),ve.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")},he.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ue=this.getTextScale(),ve=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ye=this.textElement.getBBox(),se={x:ye.width*ue,y:ye.height*ue};ve.x-=se.x/2,ve.y-=se.y/2,this.textEditor.style.top=ve.y+"px",this.textEditor.style.left=ve.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ve.x+"px",this.textEditor.style.fontSize=Math.max(16*ue,12)+"px",this.textElement.style.display="none"}},he.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()},he.prototype.select=function(){Ie.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},he.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ie.prototype.deselect.call(this)},he.prototype.dblClick=function(ue,ve){Ie.prototype.dblClick.call(this,ue,ve),this.showTextEditor()},he.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)},he.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()},he.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},he.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){var ve=ue;this.color=ve.color,this.fontFamily=ve.fontFamily,this.padding=ve.padding,this.text=ve.text,this.createVisual(),Ie.prototype.restoreState.call(this,ue),this.setSize()},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.setSize(),this.sizeText(),this.positionTextEditor()},he.typeName="TextMarker",he.title="Text marker",he.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>',he}(Oe),Ze=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.color="transparent",se.lineWidth=3,se.drawing=!1,se.pixelRatio=1,se.color=ye.defaultColor,se.lineWidth=ye.defaultStrokeWidth,se.pixelRatio=ye.freehandPixelRatio,se.setColor=se.setColor.bind(se),se.addCanvas=se.addCanvas.bind(se),se.finishCreation=se.finishCreation.bind(se),se.setLineWidth=se.setLineWidth.bind(se),se.colorPanel=new Ne("Color",ye.defaultColorSet,ye.defaultColor),se.colorPanel.onColorChanged=se.setColor,se.lineWidthPanel=new me("Line width",ye.defaultStrokeWidths,ye.defaultStrokeWidth),se.lineWidthPanel.onWidthChanged=se.setLineWidth,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.drawingImage)},he.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)},he.prototype.pointerDown=function(ue,ve){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):Ie.prototype.pointerDown.call(this,ue,ve)},he.prototype.manipulate=function(ue){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ue.x,ue.y),this.canvasContext.stroke()):Ie.prototype.manipulate.call(this,ue)},he.prototype.resize=function(ue){Ie.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()]])},he.prototype.pointerUp=function(ue){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ie.prototype.pointerUp.call(this,ue)},he.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)},he.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.select.call(this)},he.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.deselect.call(this)},he.prototype.finishCreation=function(){for(var ue=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ve=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ye=ve[0],se=ve[1],$e=ve[2],wt=ve[3],lt=!1,Je=0;Je<this.canvasElement.height;Je++)for(var Pt=0;Pt<this.canvasElement.width;Pt++)ue.data[Je*this.canvasElement.width*4+4*Pt+3]>0&&(lt=!0,Je<se&&(se=Je),Pt<ye&&(ye=Pt),Je>wt&&(wt=Je),Pt>$e&&($e=Pt));if(lt){this.left=ye/this.pixelRatio,this.top=se/this.pixelRatio,this.width=($e-ye)/this.pixelRatio,this.height=(wt-se)/this.pixelRatio;var Dt=document.createElement("canvas");Dt.width=$e-ye,Dt.height=wt-se,Dt.getContext("2d").putImageData(this.canvasContext.getImageData(ye,se,$e-ye,wt-se),0,0),this.drawingImgUrl=Dt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},he.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})},he.prototype.setColor=function(ue){this.color=ue,this.colorChanged(ue)},he.prototype.setLineWidth=function(ue){this.lineWidth=ue},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Object.assign({drawingImgUrl:this.drawingImgUrl},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){this.createVisual(),Ie.prototype.restoreState.call(this,ue),this.drawingImgUrl=ue.drawingImgUrl,this.setDrawingImage()},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.setDrawingImage()},he.typeName="FreehandMarker",he.title="Freehand marker",he.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>',he}(Oe),vt=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ye||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return se.typeBoxes=[],se.currentType=ve,se.setCurrentType=se.setCurrentType.bind(se),se}return de(he,Ie),he.prototype.getUi=function(){var ue=this,ve=document.createElement("div");ve.style.display="flex",ve.style.overflow="hidden",ve.style.flexGrow="2";for(var ye=function(wt){var lt="both";switch(wt){case 0:lt="both";break;case 1:lt="start";break;case 2:lt="end";break;case 3:lt="none"}var Je=document.createElement("div");if(Je.style.display="flex",Je.style.flexGrow="2",Je.style.alignItems="center",Je.style.justifyContent="space-between",Je.style.padding="5px",Je.style.borderWidth="2px",Je.style.borderStyle="solid",Je.style.borderColor=lt===se.currentType?se.uiStyleSettings.toolboxAccentColor:"transparent",Je.addEventListener("click",function(){ue.setCurrentType(lt,Je)}),ve.appendChild(Je),lt==="both"||lt==="start"){var Pt=document.createElement("div");Pt.style.display="flex",Pt.style.alignItems="center",Pt.style.minHeight="20px",Pt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Pt.style.marginLeft="5px",Je.appendChild(Pt)}var Dt=document.createElement("div");Dt.style.display="flex",Dt.style.alignItems="center",Dt.style.minHeight="20px",Dt.style.flexGrow="2";var yt=document.createElement("hr");if(yt.style.minWidth="20px",yt.style.border="0px",yt.style.borderTop="3px solid "+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee"),yt.style.flexGrow="2",Dt.appendChild(yt),Je.appendChild(Dt),lt==="both"||lt==="end"){var jt=document.createElement("div");jt.style.display="flex",jt.style.alignItems="center",jt.style.minHeight="20px",jt.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="`+(se.uiStyleSettings!==void 0?se.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,jt.style.marginRight="5px",Je.appendChild(jt)}se.typeBoxes.push(Je)},se=this,$e=0;$e<4;$e++)ye($e);return ve},he.prototype.setCurrentType=function(ue,ve){var ye=this;this.currentType=ue,this.typeBoxes.forEach(function(se){se.style.borderColor=se===ve?ye.uiStyleSettings!==void 0?ye.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},he}(Se),ot=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.arrowType="end",se.arrowBaseHeight=10,se.arrowBaseWidth=10,se.getArrowPoints=se.getArrowPoints.bind(se),se.setArrowType=se.setArrowType.bind(se),se.arrowTypePanel=new vt("Arrow type","end"),se.arrowTypePanel.onArrowTypeChanged=se.setArrowType,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.arrow1&&ue!==this.arrow2)},he.prototype.getArrowPoints=function(ue,ve){var ye=this.arrowBaseWidth+2*this.strokeWidth,se=this.arrowBaseHeight+2*this.strokeWidth;return ue-ye/2+","+(ve+se/2)+" "+ue+","+(ve-se/2)+" "+(ue+ye/2)+","+(ve+se/2)},he.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)},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.state==="creating"&&this.createTips()},he.prototype.adjustVisual=function(){if(Ie.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 ve=this.arrow1.transform.baseVal.getItem(0);ve.setRotate(ue,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ve,0);var ye=this.arrow2.transform.baseVal.getItem(0);ye.setRotate(ue+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ye,0)}},he.prototype.setArrowType=function(ue){this.arrowType=ue,this.adjustVisual(),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Object.assign({arrowType:this.arrowType},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){Ie.prototype.restoreState.call(this,ue);var ve=ue;this.arrowType=ve.arrowType,this.createTips(),this.adjustVisual()},he.typeName="ArrowMarker",he.title="Arrow marker",he.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',he}(ze),mt=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.fillColor=ye.defaultFillColor,se.strokeWidth=0,se.fillPanel=new Ne("Color",ye.defaultColorSet,ye.defaultFillColor),se.fillPanel.onColorChanged=se.setFillColor,se}return de(he,Ie),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Ie.prototype.getState.call(this);return ue.typeName=he.typeName,ue},he.typeName="CoverMarker",he.title="Cover marker",he.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',he}(_e),Lt=function(Ie){function he(ue,ve,ye,se){var $e=Ie.call(this,ue,se||'<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 $e.opacities=[],$e.opacityBoxes=[],$e.opacities=ve,$e.currentOpacity=ye,$e.setCurrentOpacity=$e.setCurrentOpacity.bind($e),$e}return de(he,Ie),he.prototype.getUi=function(){var ue=this,ve=document.createElement("div");return ve.style.display="flex",ve.style.overflow="hidden",ve.style.flexGrow="2",ve.style.justifyContent="space-between",this.opacities.forEach(function(ye){var se=document.createElement("div");se.style.display="flex",se.style.alignItems="center",se.style.justifyContent="center",se.style.padding="5px",se.style.borderWidth="2px",se.style.borderStyle="solid",se.style.borderColor=ye===ue.currentOpacity?ue.uiStyleSettings.toolboxAccentColor:"transparent",se.addEventListener("click",function(){ue.setCurrentOpacity(ye,se)}),ve.appendChild(se);var $e=document.createElement("div");$e.innerText=100*ye+"%",se.appendChild($e),ue.opacityBoxes.push(se)}),ve},he.prototype.setCurrentOpacity=function(ue,ve){var ye=this;this.currentOpacity=ue,this.opacityBoxes.forEach(function(se){se.style.borderColor=se===ve?ye.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},he}(Se),It=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.setOpacity=se.setOpacity.bind(se),se.fillColor=ye.defaultHighlightColor,se.strokeWidth=0,se.opacity=ye.defaultHighlightOpacity,se.fillPanel=new Ne("Color",ye.defaultColorSet,se.fillColor),se.fillPanel.onColorChanged=se.setFillColor,se.opacityPanel=new Lt("Opacity",ye.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return de(he,Ie),he.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Ie.prototype.getState.call(this);return ue.typeName=he.typeName,ue},he.typeName="HighlightMarker",he.title="Highlight marker",he.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>',he}(mt),Qe='<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>',Me='<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>',st=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.bgColor="transparent",se.tipPosition={x:0,y:0},se.tipBase1Position={x:0,y:0},se.tipBase2Position={x:0,y:0},se.tipMoving=!1,se.color=ye.defaultStrokeColor,se.bgColor=ye.defaultFillColor,se.fontFamily=ye.defaultFontFamily,se.defaultSize={x:100,y:30},se.setBgColor=se.setBgColor.bind(se),se.getTipPoints=se.getTipPoints.bind(se),se.positionTip=se.positionTip.bind(se),se.setTipPoints=se.setTipPoints.bind(se),se.colorPanel=new Ne("Text color",ye.defaultColorSet,se.color,Qe),se.colorPanel.onColorChanged=se.setColor,se.bgColorPanel=new Ne("Fill color",ye.defaultColorSet,se.bgColor,Me),se.bgColorPanel.onColorChanged=se.setBgColor,se.fontFamilyPanel=new Te("Font",ye.defaultFontFamilies,ye.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.tipGrip=new et,se.tipGrip.visual.transform.baseVal.appendItem(Ee.createTransform()),se.controlBox.appendChild(se.tipGrip.visual),se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return Ie.prototype.ownsTarget.call(this,ue)||this.tipGrip.ownsTarget(ue)||this.tip===ue},he.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)},he.prototype.pointerDown=function(ue,ve){this.state==="new"&&Ie.prototype.pointerDown.call(this,ue,ve),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ve)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ie.prototype.pointerDown.call(this,ue,ve)},he.prototype.pointerUp=function(ue){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ie.prototype.pointerUp.call(this,ue);else{var ve=this.state==="creating";Ie.prototype.pointerUp.call(this,ue),this.setTipPoints(ve),this.positionTip()}},he.prototype.manipulate=function(ue){if(this.tipMoving){var ve=this.unrotatePoint(ue);this.tipPosition={x:ve.x-this.manipulationStartLeft,y:ve.y-this.manipulationStartTop},this.positionTip()}else Ie.prototype.manipulate.call(this,ue)},he.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)},he.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},he.prototype.setTipPoints=function(ue){ue===void 0&&(ue=!1);var ve=Math.min(this.height/2,15),ye=this.height/5;ue&&(this.tipPosition={x:ve+ye/2,y:this.height+20});var se=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?se<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(ye=this.width/5,ve=Math.min(this.width/2,15),this.tipBase1Position={x:ve,y:0},this.tipBase2Position={x:ve+ye,y:0}):(this.tipBase1Position={x:0,y:ve},this.tipBase2Position={x:0,y:ve+ye}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?se<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(ye=this.width/5,ve=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ve-ye,y:0},this.tipBase2Position={x:this.width-ve,y:0}):(this.tipBase1Position={x:this.width,y:ve},this.tipBase2Position={x:this.width,y:ve+ye}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?se<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(ye=this.width/5,ve=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ve-ye,y:this.height},this.tipBase2Position={x:this.width-ve,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ve-ye},this.tipBase2Position={x:this.width,y:this.height-ve}):se<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(ye=this.width/5,ve=Math.min(this.width/2,15),this.tipBase1Position={x:ve,y:this.height},this.tipBase2Position={x:ve+ye,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ve},this.tipBase2Position={x:0,y:this.height-ve-ye})},he.prototype.resize=function(ue){Ie.prototype.resize.call(this,ue),this.positionTip()},he.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(he.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),he.prototype.select=function(){this.positionTip(),Ie.prototype.select.call(this)},he.prototype.getState=function(){var ue=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){var ve=ue;this.bgColor=ve.bgColor,this.tipPosition=ve.tipPosition,Ie.prototype.restoreState.call(this,ue),this.createTip(),this.setTipPoints()},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.tipPosition={x:this.tipPosition.x*ue,y:this.tipPosition.y*ve},this.positionTip()},he.typeName="CalloutMarker",he.title="Callout marker",he.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>',he}(xt),zt=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.opacity=1,se.strokeColor=ye.defaultColor,se.strokeWidth=ye.defaultStrokeWidth,se.strokeDasharray=ye.defaultStrokeDasharray,se.fillColor=ye.defaultFillColor,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.setOpacity=se.setOpacity.bind(se),se.createVisual=se.createVisual.bind(se),se.strokePanel=new Ne("Line color",xe(ye.defaultColorSet,["transparent"]),ye.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new Ne("Fill color",xe(ye.defaultColorSet,["transparent"]),se.fillColor,Me),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new me("Line width",ye.defaultStrokeWidths,ye.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Re("Line style",ye.defaultStrokeDasharrays,ye.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.opacityPanel=new Lt("Opacity",ye.defaultOpacitySteps,se.opacity),se.opacityPanel.onOpacityChanged=se.setOpacity,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.visual)},he.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)},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},he.prototype.manipulate=function(ue){Ie.prototype.manipulate.call(this,ue)},he.prototype.resize=function(ue){Ie.prototype.resize.call(this,ue),this.setSize()},he.prototype.setSize=function(){Ie.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()]])},he.prototype.pointerUp=function(ue){Ie.prototype.pointerUp.call(this,ue),this.setSize()},he.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},he.prototype.setFillColor=function(ue){this.fillColor=ue,this.visual&&Ee.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},he.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.visual&&Ee.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},he.prototype.setOpacity=function(ue){this.opacity=ue,this.visual&&Ee.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){var ve=ue;this.fillColor=ve.fillColor,this.strokeColor=ve.strokeColor,this.strokeWidth=ve.strokeWidth,this.strokeDasharray=ve.strokeDasharray,this.opacity=ve.opacity,this.createVisual(),Ie.prototype.restoreState.call(this,ue),this.setSize()},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.setSize()},he.typeName="EllipseMarker",he.title="Ellipse marker",he.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>',he}(Oe),ut=function(Ie){function he(ue,ve,ye){return Ie.call(this,ue,ve,ye)||this}return de(he,Ie),Object.defineProperty(he.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.tip1&&ue!==this.tip2)},he.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)},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.state==="creating"&&this.createTips()},he.prototype.adjustVisual=function(){if(Ie.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),ve=this.tip1.transform.baseVal.getItem(0);ve.setRotate(ue,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ve,0);var ye=this.tip2.transform.baseVal.getItem(0);ye.setRotate(ue+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ye,0)}},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Ie.prototype.getState.call(this);return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){Ie.prototype.restoreState.call(this,ue),this.createTips(),this.adjustVisual()},he.typeName="MeasurementMarker",he.title="Measurement marker",he.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>',he}(ze),tt=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.strokePanel.colors=ye.defaultColorSet,se.fillColor="transparent",se}return de(he,Ie),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Ie.prototype.getState.call(this);return ue.typeName=he.typeName,ue},he.typeName="EllipseFrameMarker",he.title="Ellipse frame marker",he.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>',he}(zt),at=function(){function Ie(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ie.prototype.addUndoStep=function(he){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(he)||(this.undoStack.push(he),JSON.stringify(this.lastRedoStep)!==JSON.stringify(he)&&this.redoStack.splice(0,this.redoStack.length))},Ie.prototype.replaceLastUndoStep=function(he){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=he)},Ie.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ie.prototype.undo=function(){if(this.undoStack.length>1){var he=this.undoStack.pop();return he!==void 0&&this.redoStack.push(he),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ie.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ie}(),Nt=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.curveX=0,se.curveY=0,se.manipulationStartCurveX=0,se.manipulationStartCurveY=0,se.setStrokeColor=se.setStrokeColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.positionGrips=se.positionGrips.bind(se),se.addControlGrips=se.addControlGrips.bind(se),se.adjustVisual=se.adjustVisual.bind(se),se.setupControlBox=se.setupControlBox.bind(se),se.resize=se.resize.bind(se),se.strokeColor=ye.defaultColor,se.strokeWidth=ye.defaultStrokeWidth,se.strokeDasharray=ye.defaultStrokeDasharray,se.strokePanel=new Ne("Line color",ye.defaultColorSet,ye.defaultColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.strokeWidthPanel=new me("Line width",ye.defaultStrokeWidths,ye.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Re("Line style",ye.defaultStrokeDasharrays,ye.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.selectorCurve&&ue!==this.visibleCurve&&!this.curveGrip.ownsTarget(ue))},he.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},he.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)},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),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(ve)&&(this.activeGrip=this.curveGrip,this._state="resize")},he.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()]]))},he.prototype.setupControlBox=function(){Ie.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)},he.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ie.prototype.addControlGrips.call(this)},he.prototype.positionGrips=function(){Ie.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()))},he.prototype.manipulate=function(ue){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ue.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ue.y-this.manipulationStartY),Ie.prototype.manipulate.call(this,ue)},he.prototype.resize=function(ue){this.activeGrip===this.curveGrip&&(this.curveX=ue.x,this.curveY=ue.y),Ie.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)},he.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.adjustVisual(),this.colorChanged(ue)},he.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.adjustVisual()},he.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.adjustVisual()},he.prototype.scale=function(ue,ve){this.curveX=this.curveX*ue,this.curveY=this.curveY*ve,Ie.prototype.scale.call(this,ue,ve)},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ue=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ie.prototype.getState.call(this));return ue.typeName=he.typeName,ue},he.prototype.restoreState=function(ue){Ie.prototype.restoreState.call(this,ue);var ve=ue;this.strokeColor=ve.strokeColor,this.strokeWidth=ve.strokeWidth,this.strokeDasharray=ve.strokeDasharray,this.curveX=ve.curveX,this.curveY=ve.curveY,this.createVisual(),this.adjustVisual()},he.typeName="CurveMarker",he.title="Curve marker",he.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>',he}(De),on=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,ve,ye)||this;return se.fillColor="transparent",se.strokeColor="transparent",se.strokeWidth=0,se.strokeDasharray="",se.textColor="transparent",se.fontSize="1rem",se.isMoved=!1,se.captionText="Caption",se.PADDING=5,se.captionBoxWidth=0,se.captionBoxHeight=0,se.strokeColor=ye.defaultColor,se.strokeWidth=ye.defaultStrokeWidth,se.strokeDasharray=ye.defaultStrokeDasharray,se.fillColor=ye.defaultFillColor,se.textColor=ye.defaultStrokeColor,se.fontFamily=ye.defaultFontFamily,se.fontSize=ye.defaultCaptionFontSize,se.captionText=ye.defaultCaptionText,se.setStrokeColor=se.setStrokeColor.bind(se),se.setFillColor=se.setFillColor.bind(se),se.setStrokeWidth=se.setStrokeWidth.bind(se),se.setStrokeDasharray=se.setStrokeDasharray.bind(se),se.createVisual=se.createVisual.bind(se),se.sizeCaption=se.sizeCaption.bind(se),se.setCaptionText=se.setCaptionText.bind(se),se.showTextEditor=se.showTextEditor.bind(se),se.positionTextEditor=se.positionTextEditor.bind(se),se.finishTextEditing=se.finishTextEditing.bind(se),se.setFont=se.setFont.bind(se),se.setTextColor=se.setTextColor.bind(se),se.strokePanel=new Ne("Line color",xe(ye.defaultColorSet,["transparent"]),se.strokeColor),se.strokePanel.onColorChanged=se.setStrokeColor,se.fillPanel=new Ne("Fill color",xe(ye.defaultColorSet,["transparent"]),se.fillColor,Me),se.fillPanel.onColorChanged=se.setFillColor,se.strokeWidthPanel=new me("Line width",ye.defaultStrokeWidths,ye.defaultStrokeWidth),se.strokeWidthPanel.onWidthChanged=se.setStrokeWidth,se.strokeStylePanel=new Re("Line style",ye.defaultStrokeDasharrays,ye.defaultStrokeDasharray),se.strokeStylePanel.onStyleChanged=se.setStrokeDasharray,se.fontFamilyPanel=new Te("Font",ye.defaultFontFamilies,ye.defaultFontFamily),se.fontFamilyPanel.onFontChanged=se.setFont,se.textColorPanel=new Ne("Text color",ye.defaultColorSet,se.textColor,Qe),se.textColorPanel.onColorChanged=se.setTextColor,se}return de(he,Ie),he.prototype.ownsTarget=function(ue){return!(!Ie.prototype.ownsTarget.call(this,ue)&&ue!==this.visual&&ue!==this.frame&&ue!==this.captionBg&&ue!==this.captionElement)},he.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()},he.prototype.setCaptionText=function(ue){this.captionText=ue,this.captionElement.textContent=this.captionText,this.sizeCaption()},he.prototype.pointerDown=function(ue,ve){Ie.prototype.pointerDown.call(this,ue,ve),this.isMoved=!1,this.pointerDownPoint=ue,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ue),this._state="creating")},he.prototype.manipulate=function(ue){Ie.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)},he.prototype.resize=function(ue){Ie.prototype.resize.call(this,ue),this.setSize()},he.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')"]])},he.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(ve){ve.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ve){ve.key==="Enter"&&ue.finishTextEditing(ue.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ve){ve.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()},he.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"))},he.prototype.finishTextEditing=function(ue){this.setCaptionText(ue.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},he.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()},he.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()},he.prototype.setSize=function(){Ie.prototype.setSize.call(this),Ee.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},he.prototype.pointerUp=function(ue){Ie.prototype.pointerUp.call(this,ue),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},he.prototype.dblClick=function(ue,ve){Ie.prototype.dblClick.call(this,ue,ve),this.showTextEditor()},he.prototype.setStrokeColor=function(ue){this.strokeColor=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ue),this.stateChanged()},he.prototype.setFillColor=function(ue){this.fillColor=ue,this.captionBg&&Ee.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ue),this.stateChanged()},he.prototype.setStrokeWidth=function(ue){this.strokeWidth=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ue){this.strokeDasharray=ue,this.frame&&Ee.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),he.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},Ie.prototype.getState.call(this));return ue.typeName=this.typeName,ue},he.prototype.restoreState=function(ue){var ve=ue;this.fillColor=ve.fillColor,this.strokeColor=ve.strokeColor,this.strokeWidth=ve.strokeWidth,this.strokeDasharray=ve.strokeDasharray,this.textColor=ve.textColor,this.fontFamily=ve.fontFamily,this.captionText=ve.captionText,this.fontSize=ve.fontSize,this.createVisual(),Ie.prototype.restoreState.call(this,ue),this.setSize()},he.prototype.scale=function(ue,ve){Ie.prototype.scale.call(this,ue,ve),this.setSize()},he.typeName="CaptionFrameMarker",he.title="Caption frame marker",he.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>',he}(Oe),Ht=function(){function Ie(he,ue){ue===void 0&&(ue=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=he,this.cancelable=ue}return Object.defineProperty(Ie.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ie.prototype.preventDefault=function(){this._defaultPrevented=!0},Ie}(),Fn=function(Ie){function he(ue,ve,ye){var se=Ie.call(this,ue,!1)||this;return se.dataUrl=ve,se.state=ye,se}return de(he,Ie),he}(Ht),Qt=function(Ie){function he(ue,ve,ye){ye===void 0&&(ye=!1);var se=Ie.call(this,ue,ye)||this;return se.marker=ve,se}return de(he,Ie),he}(Ht),Ut=function(){function Ie(){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 Ie.prototype.addEventListener=function(he,ue){this[he].push(ue)},Ie.prototype.removeEventListener=function(he,ue){var ve=this[he].indexOf(ue);ve>-1&&this[he].splice(ve,1)},Ie}(),Wt=function(){function Ie(he){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Pe,this._isOpen=!1,this.undoRedoManager=new at,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 Ut,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ie.instanceCounter++,this.styles=new He(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=he,this.targetRoot=document.body,this.width=he.clientWidth,this.height=he.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(Ie.prototype,"ALL_MARKER_TYPES",{get:function(){return[Le,Ze,ot,xt,tt,zt,It,st,ut,mt,ze,Nt,on]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Le,Ze,ot,xt,zt,It,st]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Le,Ze,ot,xt,It]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(he){var ue=this;this._availableMarkerTypes.splice(0),he.forEach(function(ve){if(typeof ve=="string"){var ye=ue.ALL_MARKER_TYPES.find(function(se){return se.typeName===ve});ye!==void 0&&ue._availableMarkerTypes.push(ye)}else ue._availableMarkerTypes.push(ve)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(he){this._zoomLevel=he,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(Ie.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ie.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),fe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ie.prototype.show=function(){var he=this;this.styles.styleSheetRoot===void 0&&Fe.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Fe.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ue){return ue(new Ht(he))})},Ie.prototype.render=function(){return Ce(this,void 0,void 0,function(){var he;return We(this,function(ue){switch(ue.label){case 0:return this.setCurrentMarker(),(he=new be).naturalSize=this.renderAtNaturalSize,he.imageType=this.renderImageType,he.imageQuality=this.renderImageQuality,he.markersOnly=this.renderMarkersOnly,he.width=this.renderWidth,he.height=this.renderHeight,[4,he.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ue.sent(),[4,he.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ue.sent()]}})})},Ie.prototype.close=function(he){var ue=this;if(he===void 0&&(he=!1),this.isOpen){var ve=!1;he||this.eventListeners.beforeclose.forEach(function(ye){var se=new Ht(ue,!0);ye(se),se.defaultPrevented&&(ve=!0)}),ve||(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(ye){return ye(new Ht(ue))}),this.detachEvents(),this._isOpen=!1)}},Ie.prototype.addMarkersToToolbar=function(){for(var he,ue=[],ve=0;ve<arguments.length;ve++)ue[ve]=arguments[ve];(he=this._availableMarkerTypes).push.apply(he,ue)},Ie.prototype.addRenderEventListener=function(he){this.addEventListener("render",function(ue){he(ue.dataUrl,ue.state)})},Ie.prototype.removeRenderEventListener=function(he){},Ie.prototype.addCloseEventListener=function(he){this.addEventListener("close",function(){he()})},Ie.prototype.removeCloseEventListener=function(he){},Ie.prototype.setupResizeObserver=function(){var he=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){he.resize(he.target.clientWidth,he.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return he.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ie.prototype.onPopupTargetResize=function(){var he=1*this.target.clientWidth/this.target.clientHeight,ue=this.editorCanvas.clientWidth/he>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*he:this.editorCanvas.clientWidth,ve=ue<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/he;this.resize(ue,ve)},Ie.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ie.prototype.resize=function(he,ue){this._isResizing=!0;var ve=he/this.imageWidth,ye=ue/this.imageHeight;this.imageWidth=Math.round(he),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(ve,ye),this._isResizing=!1},Ie.prototype.scaleMarkers=function(he,ue){var ve,ye=this;this._currentMarker&&this._currentMarker instanceof xt?this._currentMarker.scale(he,ue):(ve=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(se){se!==ye._currentMarker&&se.scale(he,ue)}),ve!==void 0&&this.setCurrentMarker(ve)},Ie.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"},Ie.prototype.setTopLeft=function(){var he=this.editingTarget.getBoundingClientRect(),ue=this.editorCanvas.getBoundingClientRect();this.left=he.left-ue.left,this.top=he.top-ue.top},Ie.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)},Ie.prototype.addDefs=function(){for(var he,ue=[],ve=0;ve<arguments.length;ve++)ue[ve]=arguments[ve];this.defs=Ee.createDefs(),this.addDefsToImage(),(he=this.defs).append.apply(he,ue)},Ie.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ie.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)},Ie.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ie.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ie.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)},Ie.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ie.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)},Ie.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 he=document.createElement("a");he.href="https://markerjs.com/",he.target="_blank",he.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>',he.title="Powered by marker.js",he.style.display="grid",he.style.alignItems="center",he.style.justifyItems="center",he.style.padding="3px",he.style.width="20px",he.style.height="20px",this.logoUI.appendChild(he),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ie.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")},Ie.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"},Ie.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ie.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 he=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=he+"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 ge(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 we(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ie.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ie.prototype.removeMarker=function(he){this.markerImage.removeChild(he.container),this.markers.indexOf(he)>-1&&this.markers.splice(this.markers.indexOf(he),1),he.dispose()},Ie.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())},Ie.prototype.toolbarButtonClicked=function(he,ue){if(he==="marker"&&ue!==void 0)this.createNewMarker(ue);else if(he==="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()}},Ie.prototype.deleteSelectedMarker=function(){var he=this;if(this._currentMarker!==void 0){var ue=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ye){var se=new Qt(he,he._currentMarker,!0);ye(se),se.defaultPrevented&&(ue=!0)}),!ue){var ve=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(ye){return ye(new Qt(he,ve))})}}},Ie.prototype.clear=function(){var he=this,ue=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function($e){var wt=new Qt(he,void 0,!0);$e(wt),wt.defaultPrevented&&(ue=!0)}),!ue)){this.setCurrentMarker();for(var ve=function($e){var wt=ye.markers[$e];ye.setCurrentMarker(ye.markers[$e]),ye._currentMarker.dispose(),ye.markerImage.removeChild(ye._currentMarker.container),ye.markers.splice(ye.markers.indexOf(ye._currentMarker),1),ye.eventListeners.markerdelete.forEach(function(lt){return lt(new Qt(he,wt))})},ye=this,se=this.markers.length-1;se>=0;se--)ve(se);this.addUndoStep()}},Object.defineProperty(Ie.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ie.prototype.showNotesEditor=function(){var he;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=(he=this._currentMarker.notes)!==null&&he!==void 0?he:"",this.overlayContainer.appendChild(this.notesArea))},Ie.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)},Ie.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ie.prototype.addUndoStep=function(){var he=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ue=this.getState(),ve=this.undoRedoManager.getLastUndoStep();if(!ve||ve.width===ue.width&&ve.height===ue.height){var ye=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ue),ye<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(se){return se(new Ht(he))})}else this.undoRedoManager.replaceLastUndoStep(ue),this.eventListeners.statechange.forEach(function(se){return se(new Ht(he))})}},Ie.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ie.prototype.undoStep=function(){var he=this,ue=this.undoRedoManager.undo();ue!==void 0&&(this.restoreState(ue),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ve){return ve(new Ht(he))}))},Ie.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ie.prototype.redoStep=function(){var he=this,ue=this.undoRedoManager.redo();ue!==void 0&&(this.restoreState(ue),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ve){return ve(new Ht(he))}))},Ie.prototype.stepZoom=function(){var he=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=he<this.zoomSteps.length-1?this.zoomSteps[he+1]:this.zoomSteps[0]},Ie.prototype.panTo=function(he){this.contentDiv.scrollBy({left:this.prevPanPoint.x-he.x,top:this.prevPanPoint.y-he.y}),this.prevPanPoint=he},Ie.prototype.startRenderAndClose=function(){return Ce(this,void 0,void 0,function(){var he,ue,ve=this;return We(this,function(ye){switch(ye.label){case 0:return[4,this.render()];case 1:return he=ye.sent(),ue=this.getState(),this.eventListeners.render.forEach(function(se){return se(new Fn(ve,he,ue))}),this.close(!0),[2]}})})},Ie.prototype.getState=function(he){he===!0&&this.setCurrentMarker();var ue={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ve){return ue.markers.push(ve.getState())}),ue},Ie.prototype.restoreState=function(he){var ue=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);he.markers.forEach(function(ve){var ye=ue._availableMarkerTypes.find(function($e){return $e.typeName===ve.typeName});if(ye!==void 0){var se=ue.addNewMarker(ye);se.restoreState(ve),ue.markers.push(se)}}),he.width&&he.height&&(he.width!==this.imageWidth||he.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/he.width,this.imageHeight/he.height),this.eventListeners.restorestate.forEach(function(ve){return ve(new Ht(ue))})},Ie.prototype.addNewMarker=function(he){var ue=Ee.createGroup();return this.markerImage.appendChild(ue),new he(ue,this.overlayContainer,this.settings)},Ie.prototype.createNewMarker=function(he){var ue,ve=this;(ue=typeof he=="string"?this._availableMarkerTypes.find(function(ye){return ye.typeName===he}):he)&&(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(ye){return ye(new Qt(ve,ve._currentMarker))}))},Ie.prototype.markerCreated=function(he){var ue=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(he),this.setCurrentMarker(he),he instanceof Ze&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Ze):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ve){return ve(new Qt(ue,ue._currentMarker))})},Ie.prototype.colorChanged=function(he){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=he,this.settings.defaultStrokeColor=he)},Ie.prototype.fillColorChanged=function(he){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=he)},Ie.prototype.markerStateChanged=function(he){var ue=this;this.eventListeners.markerchange.forEach(function(ve){return ve(new Qt(ue,he))})},Ie.prototype.setCurrentMarker=function(he){var ue=this;this._currentMarker!==he&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ve){return ve(new Qt(ue,ue._currentMarker))})),this._currentMarker=he,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(ve){return ve(new Qt(ue,ue._currentMarker))}))},Ie.prototype.onPointerDown=function(he){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||he.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(ve){return ve.ownsTarget(he.target)});ue!==void 0?(this.setCurrentMarker(ue),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(he.clientX,he.clientY),he.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:he.clientX,y:he.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(he.clientX,he.clientY))},Ie.prototype.onDblClick=function(he){if(this._isFocused||this.focus(),this.mode==="select"){var ue=this.markers.find(function(ve){return ve.ownsTarget(he.target)});ue!==void 0&&ue!==this._currentMarker&&this.setCurrentMarker(ue),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(he.clientX,he.clientY),he.target):this.setCurrentMarker()}},Ie.prototype.onPointerMove=function(he){this.touchPoints!==1&&he.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||he.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(he.clientX,he.clientY)):this.zoomLevel>1&&this.panTo({x:he.clientX,y:he.clientY}))},Ie.prototype.onPointerUp=function(he){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(he.clientX,he.clientY)),this.isDragging=!1,this.addUndoStep()},Ie.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ie.prototype.onKeyUp=function(he){this._currentMarker===void 0||this.notesArea!==void 0||he.key!=="Delete"&&he.key!=="Backspace"||this.deleteSelectedMarker()},Ie.prototype.clientToLocalCoordinates=function(he,ue){var ve=this.markerImage.getBoundingClientRect();return{x:(he-ve.left)/this.zoomLevel,y:(ue-ve.top)/this.zoomLevel}},Ie.prototype.onWindowResize=function(){this.positionUI()},Ie.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var he=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=he+"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()},Ie.prototype.addLicenseKey=function(he){fe.addKey(he)},Ie.prototype.addEventListener=function(he,ue){this.eventListeners.addEventListener(he,ue)},Ie.prototype.removeEventListener=function(he,ue){this.eventListeners.removeEventListener(he,ue)},Ie.prototype.renderState=function(he){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(he),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ie.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ie.prototype.focus=function(){var he=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 Ht(he))}))},Ie.prototype.blur=function(){var he=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ue){return ue(new Ht(he))}))},Ie.instanceCounter=0,Ie}()},5630:function(tn,kt,te){"use strict";var ee=te(60499),de=te(85899),Ce=te(18642),We=te(72190),xe=te(42244),Ee=te(92310),fe=te.n(Ee),be=te(18929),Fe=te(59301),He=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],rt=(0,Fe.forwardRef)(function(Ae,ge){var we,Se=Ae.prefixCls,Ne=Se===void 0?"rc-checkbox":Se,ke=Ae.className,Ye=Ae.style,et=Ae.checked,Ke=Ae.disabled,Oe=Ae.defaultChecked,_e=Oe===void 0?!1:Oe,me=Ae.type,Re=me===void 0?"checkbox":me,Le=Ae.title,Pe=Ae.onChange,De=(0,xe.Z)(Ae,He),ze=(0,Fe.useRef)(null),Te=(0,be.Z)(_e,{value:et}),xt=(0,We.Z)(Te,2),Ze=xt[0],vt=xt[1];(0,Fe.useImperativeHandle)(ge,function(){return{focus:function(){var It;(It=ze.current)===null||It===void 0||It.focus()},blur:function(){var It;(It=ze.current)===null||It===void 0||It.blur()},input:ze.current}});var ot=fe()(Ne,ke,(we={},(0,Ce.Z)(we,"".concat(Ne,"-checked"),Ze),(0,Ce.Z)(we,"".concat(Ne,"-disabled"),Ke),we)),mt=function(It){Ke||("checked"in Ae||vt(It.target.checked),Pe==null||Pe({target:(0,de.Z)((0,de.Z)({},Ae),{},{type:Re,checked:It.target.checked}),stopPropagation:function(){It.stopPropagation()},preventDefault:function(){It.preventDefault()},nativeEvent:It.nativeEvent}))};return Fe.createElement("span",{className:ot,title:Le,style:Ye},Fe.createElement("input",(0,ee.Z)({},De,{className:"".concat(Ne,"-input"),ref:ze,onChange:mt,disabled:Ke,checked:!!Ze,type:Re})),Fe.createElement("span",{className:"".concat(Ne,"-inner")}))});kt.Z=rt},31561:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Re}});var ee=te(60499),de=te(18642),Ce=te(72190),We=te(42244),xe=te(35593),Ee=te(92310),fe=te.n(Ee),be=te(8654),Fe=te(59301),He=te(10228),rt=te(16089),Ae=He.Z.ESC,ge=He.Z.TAB;function we(Le){var Pe=Le.visible,De=Le.triggerRef,ze=Le.onVisibleChange,Te=Le.autoFocus,xt=Le.overlayRef,Ze=Fe.useRef(!1),vt=function(){if(Pe){var It,Qe;(It=De.current)===null||It===void 0||(Qe=It.focus)===null||Qe===void 0||Qe.call(It),ze==null||ze(!1)}},ot=function(){var It;return(It=xt.current)!==null&&It!==void 0&&It.focus?(xt.current.focus(),Ze.current=!0,!0):!1},mt=function(It){switch(It.keyCode){case Ae:vt();break;case ge:{var Qe=!1;Ze.current||(Qe=ot()),Qe?It.preventDefault():vt();break}}};Fe.useEffect(function(){return Pe?(window.addEventListener("keydown",mt),Te&&(0,rt.Z)(ot,3),function(){window.removeEventListener("keydown",mt),Ze.current=!1}):function(){Ze.current=!1}},[Pe])}var Se=(0,Fe.forwardRef)(function(Le,Pe){var De=Le.overlay,ze=Le.arrow,Te=Le.prefixCls,xt=(0,Fe.useMemo)(function(){var vt;return typeof De=="function"?vt=De():vt=De,vt},[De]),Ze=(0,be.sQ)(Pe,xt==null?void 0:xt.ref);return Fe.createElement(Fe.Fragment,null,ze&&Fe.createElement("div",{className:"".concat(Te,"-arrow")}),Fe.cloneElement(xt,{ref:(0,be.Yr)(xt)?Ze:void 0}))}),Ne=Se,ke={adjustX:1,adjustY:1},Ye=[0,0],et={topLeft:{points:["bl","tl"],overflow:ke,offset:[0,-4],targetOffset:Ye},top:{points:["bc","tc"],overflow:ke,offset:[0,-4],targetOffset:Ye},topRight:{points:["br","tr"],overflow:ke,offset:[0,-4],targetOffset:Ye},bottomLeft:{points:["tl","bl"],overflow:ke,offset:[0,4],targetOffset:Ye},bottom:{points:["tc","bc"],overflow:ke,offset:[0,4],targetOffset:Ye},bottomRight:{points:["tr","br"],overflow:ke,offset:[0,4],targetOffset:Ye}},Ke=et,Oe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function _e(Le,Pe){var De,ze=Le.arrow,Te=ze===void 0?!1:ze,xt=Le.prefixCls,Ze=xt===void 0?"rc-dropdown":xt,vt=Le.transitionName,ot=Le.animation,mt=Le.align,Lt=Le.placement,It=Lt===void 0?"bottomLeft":Lt,Qe=Le.placements,Me=Qe===void 0?Ke:Qe,st=Le.getPopupContainer,zt=Le.showAction,ut=Le.hideAction,tt=Le.overlayClassName,at=Le.overlayStyle,Nt=Le.visible,on=Le.trigger,Ht=on===void 0?["hover"]:on,Fn=Le.autoFocus,Qt=Le.overlay,Ut=Le.children,Wt=Le.onVisibleChange,Ie=(0,We.Z)(Le,Oe),he=Fe.useState(),ue=(0,Ce.Z)(he,2),ve=ue[0],ye=ue[1],se="visible"in Le?Nt:ve,$e=Fe.useRef(null),wt=Fe.useRef(null),lt=Fe.useRef(null);Fe.useImperativeHandle(Pe,function(){return $e.current});var Je=function(Ft){ye(Ft),Wt==null||Wt(Ft)};we({visible:se,triggerRef:lt,onVisibleChange:Je,autoFocus:Fn,overlayRef:wt});var Pt=function(Ft){var it=Le.onOverlayClick;ye(!1),it&&it(Ft)},Dt=function(){return Fe.createElement(Ne,{ref:wt,overlay:Qt,prefixCls:Ze,arrow:Te})},yt=function(){return typeof Qt=="function"?Dt:Dt()},jt=function(){var Ft=Le.minOverlayWidthMatchTrigger,it=Le.alignPoint;return"minOverlayWidthMatchTrigger"in Le?Ft:!it},En=function(){var Ft=Le.openClassName;return Ft!==void 0?Ft:"".concat(Ze,"-open")},_t=Fe.cloneElement(Ut,{className:fe()((De=Ut.props)===null||De===void 0?void 0:De.className,se&&En()),ref:(0,be.Yr)(Ut)?(0,be.sQ)(lt,Ut.ref):void 0}),Yt=ut;return!Yt&&Ht.indexOf("contextMenu")!==-1&&(Yt=["click"]),Fe.createElement(xe.Z,(0,ee.Z)({builtinPlacements:Me},Ie,{prefixCls:Ze,ref:$e,popupClassName:fe()(tt,(0,de.Z)({},"".concat(Ze,"-show-arrow"),Te)),popupStyle:at,action:Ht,showAction:zt,hideAction:Yt,popupPlacement:It,popupAlign:mt,popupTransitionName:vt,popupAnimation:ot,popupVisible:se,stretch:jt()?"minWidth":"",popup:yt(),onPopupVisibleChange:Je,onPopupClick:Pt,getPopupContainer:st}),_t)}var me=Fe.forwardRef(_e),Re=me},93681:function(tn,kt,te){"use strict";te.r(kt),te.d(kt,{BaseInput:function(){return He},default:function(){return et}});var ee=te(60499),de=te(85899),Ce=te(18642),We=te(43749),xe=te(92310),Ee=te.n(xe),fe=te(59301),be=te(5643),Fe=function(Oe){var _e,me,Re=Oe.inputElement,Le=Oe.prefixCls,Pe=Oe.prefix,De=Oe.suffix,ze=Oe.addonBefore,Te=Oe.addonAfter,xt=Oe.className,Ze=Oe.style,vt=Oe.disabled,ot=Oe.readOnly,mt=Oe.focused,Lt=Oe.triggerFocus,It=Oe.allowClear,Qe=Oe.value,Me=Oe.handleReset,st=Oe.hidden,zt=Oe.classes,ut=Oe.classNames,tt=Oe.dataAttrs,at=Oe.styles,Nt=Oe.components,on=(Nt==null?void 0:Nt.affixWrapper)||"span",Ht=(Nt==null?void 0:Nt.groupWrapper)||"span",Fn=(Nt==null?void 0:Nt.wrapper)||"span",Qt=(Nt==null?void 0:Nt.groupAddon)||"span",Ut=(0,fe.useRef)(null),Wt=function(Dt){var yt;(yt=Ut.current)!==null&&yt!==void 0&&yt.contains(Dt.target)&&(Lt==null||Lt())},Ie=function(){var Dt;if(!It)return null;var yt=!vt&&!ot&&Qe,jt="".concat(Le,"-clear-icon"),En=(0,We.Z)(It)==="object"&&It!==null&&It!==void 0&&It.clearIcon?It.clearIcon:"\u2716";return fe.createElement("span",{onClick:Me,onMouseDown:function(Yt){return Yt.preventDefault()},className:Ee()(jt,(Dt={},(0,Ce.Z)(Dt,"".concat(jt,"-hidden"),!yt),(0,Ce.Z)(Dt,"".concat(jt,"-has-suffix"),!!De),Dt)),role:"button",tabIndex:-1},En)},he=(0,fe.cloneElement)(Re,{value:Qe,hidden:st,className:Ee()((_e=Re.props)===null||_e===void 0?void 0:_e.className,!(0,be.X3)(Oe)&&!(0,be.He)(Oe)&&xt)||null,style:(0,de.Z)((0,de.Z)({},(me=Re.props)===null||me===void 0?void 0:me.style),!(0,be.X3)(Oe)&&!(0,be.He)(Oe)?Ze:{})});if((0,be.X3)(Oe)){var ue,ve="".concat(Le,"-affix-wrapper"),ye=Ee()(ve,(ue={},(0,Ce.Z)(ue,"".concat(ve,"-disabled"),vt),(0,Ce.Z)(ue,"".concat(ve,"-focused"),mt),(0,Ce.Z)(ue,"".concat(ve,"-readonly"),ot),(0,Ce.Z)(ue,"".concat(ve,"-input-with-clear-btn"),De&&It&&Qe),ue),!(0,be.He)(Oe)&&xt,zt==null?void 0:zt.affixWrapper,ut==null?void 0:ut.affixWrapper),se=(De||It)&&fe.createElement("span",{className:Ee()("".concat(Le,"-suffix"),ut==null?void 0:ut.suffix),style:at==null?void 0:at.suffix},Ie(),De);he=fe.createElement(on,(0,ee.Z)({className:ye,style:(0,de.Z)((0,de.Z)({},(0,be.He)(Oe)?void 0:Ze),at==null?void 0:at.affixWrapper),hidden:!(0,be.He)(Oe)&&st,onClick:Wt},tt==null?void 0:tt.affixWrapper,{ref:Ut}),Pe&&fe.createElement("span",{className:Ee()("".concat(Le,"-prefix"),ut==null?void 0:ut.prefix),style:at==null?void 0:at.prefix},Pe),(0,fe.cloneElement)(Re,{value:Qe,hidden:null}),se)}if((0,be.He)(Oe)){var $e="".concat(Le,"-group"),wt="".concat($e,"-addon"),lt=Ee()("".concat(Le,"-wrapper"),$e,zt==null?void 0:zt.wrapper),Je=Ee()("".concat(Le,"-group-wrapper"),xt,zt==null?void 0:zt.group);return fe.createElement(Ht,{className:Je,style:Ze,hidden:st},fe.createElement(Fn,{className:lt},ze&&fe.createElement(Qt,{className:wt},ze),(0,fe.cloneElement)(he,{hidden:null}),Te&&fe.createElement(Qt,{className:wt},Te)))}return he},He=Fe,rt=te(77654),Ae=te(72190),ge=te(42244),we=te(18929),Se=te(2738),Ne=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],ke=(0,fe.forwardRef)(function(Ke,Oe){var _e=Ke.autoComplete,me=Ke.onChange,Re=Ke.onFocus,Le=Ke.onBlur,Pe=Ke.onPressEnter,De=Ke.onKeyDown,ze=Ke.prefixCls,Te=ze===void 0?"rc-input":ze,xt=Ke.disabled,Ze=Ke.htmlSize,vt=Ke.className,ot=Ke.maxLength,mt=Ke.suffix,Lt=Ke.showCount,It=Ke.type,Qe=It===void 0?"text":It,Me=Ke.classes,st=Ke.classNames,zt=Ke.styles,ut=(0,ge.Z)(Ke,Ne),tt=(0,we.Z)(Ke.defaultValue,{value:Ke.value}),at=(0,Ae.Z)(tt,2),Nt=at[0],on=at[1],Ht=(0,fe.useState)(!1),Fn=(0,Ae.Z)(Ht,2),Qt=Fn[0],Ut=Fn[1],Wt=(0,fe.useRef)(null),Ie=function(Je){Wt.current&&(0,be.nH)(Wt.current,Je)};(0,fe.useImperativeHandle)(Oe,function(){return{focus:Ie,blur:function(){var Je;(Je=Wt.current)===null||Je===void 0||Je.blur()},setSelectionRange:function(Je,Pt,Dt){var yt;(yt=Wt.current)===null||yt===void 0||yt.setSelectionRange(Je,Pt,Dt)},select:function(){var Je;(Je=Wt.current)===null||Je===void 0||Je.select()},input:Wt.current}}),(0,fe.useEffect)(function(){Ut(function(lt){return lt&&xt?!1:lt})},[xt]);var he=function(Je){Ke.value===void 0&&on(Je.target.value),Wt.current&&(0,be.rJ)(Wt.current,Je,me)},ue=function(Je){Pe&&Je.key==="Enter"&&Pe(Je),De==null||De(Je)},ve=function(Je){Ut(!0),Re==null||Re(Je)},ye=function(Je){Ut(!1),Le==null||Le(Je)},se=function(Je){on(""),Ie(),Wt.current&&(0,be.rJ)(Wt.current,Je,me)},$e=function(){var Je=(0,Se.Z)(Ke,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return fe.createElement("input",(0,ee.Z)({autoComplete:_e},Je,{onChange:he,onFocus:ve,onBlur:ye,onKeyDown:ue,className:Ee()(Te,(0,Ce.Z)({},"".concat(Te,"-disabled"),xt),st==null?void 0:st.input),style:zt==null?void 0:zt.input,ref:Wt,size:Ze,type:Qe}))},wt=function(){var Je=Number(ot)>0;if(mt||Lt){var Pt=(0,be.D7)(Nt),Dt=(0,rt.Z)(Pt).length,yt=(0,We.Z)(Lt)==="object"?Lt.formatter({value:Pt,count:Dt,maxLength:ot}):"".concat(Dt).concat(Je?" / ".concat(ot):"");return fe.createElement(fe.Fragment,null,!!Lt&&fe.createElement("span",{className:Ee()("".concat(Te,"-show-count-suffix"),(0,Ce.Z)({},"".concat(Te,"-show-count-has-suffix"),!!mt),st==null?void 0:st.count),style:(0,de.Z)({},zt==null?void 0:zt.count)},yt),mt)}return null};return fe.createElement(He,(0,ee.Z)({},ut,{prefixCls:Te,className:vt,inputElement:$e(),handleReset:se,value:(0,be.D7)(Nt),focused:Qt,triggerFocus:Ie,suffix:wt(),disabled:xt,classes:Me,classNames:st,styles:zt}))}),Ye=ke,et=Ye},5643:function(tn,kt,te){"use strict";te.d(kt,{D7:function(){return xe},He:function(){return ee},X3:function(){return de},nH:function(){return We},rJ:function(){return Ce}});function ee(Ee){return!!(Ee.addonBefore||Ee.addonAfter)}function de(Ee){return!!(Ee.prefix||Ee.suffix||Ee.allowClear)}function Ce(Ee,fe,be,Fe){if(be){var He=fe;if(fe.type==="click"){var rt=Ee.cloneNode(!0);He=Object.create(fe,{target:{value:rt},currentTarget:{value:rt}}),rt.value="",be(He);return}if(Fe!==void 0){He=Object.create(fe,{target:{value:Ee},currentTarget:{value:Ee}}),Ee.value=Fe,be(He);return}be(He)}}function We(Ee,fe){if(Ee){Ee.focus(fe);var be=fe||{},Fe=be.cursor;if(Fe){var He=Ee.value.length;switch(Fe){case"start":Ee.setSelectionRange(0,0);break;case"end":Ee.setSelectionRange(He,He);break;default:Ee.setSelectionRange(0,He)}}}}function xe(Ee){return typeof Ee=="undefined"||Ee===null?"":String(Ee)}},15285:function(tn,kt,te){"use strict";te.d(kt,{iz:function(){return Cr},ck:function(){return Nr},BW:function(){return gr},sN:function(){return Nr},Wd:function(){return nn},ZP:function(){return jn},Xl:function(){return De}});var ee=te(60499),de=te(18642),Ce=te(85899),We=te(77654),xe=te(72190),Ee=te(42244),fe=te(92310),be=te.n(fe),Fe=te(83836),He=te(18929),rt=te(13697),Ae=te(48736),ge=te(59301),we=te(4676),Se=ge.createContext(null);function Ne(Mt,cn){return Mt===void 0?null:"".concat(Mt,"-").concat(cn)}function ke(Mt){var cn=ge.useContext(Se);return Ne(cn,Mt)}var Ye=te(80547),et=["children","locked"],Ke=ge.createContext(null);function Oe(Mt,cn){var hn=(0,Ce.Z)({},Mt);return Object.keys(cn).forEach(function(In){var Ln=cn[In];Ln!==void 0&&(hn[In]=Ln)}),hn}function _e(Mt){var cn=Mt.children,hn=Mt.locked,In=(0,Ee.Z)(Mt,et),Ln=ge.useContext(Ke),Un=(0,Ye.Z)(function(){return Oe(Ln,In)},[Ln,In],function(Gn,cr){return!hn&&(Gn[0]!==cr[0]||!(0,rt.Z)(Gn[1],cr[1],!0))});return ge.createElement(Ke.Provider,{value:Un},cn)}var me=[],Re=ge.createContext(null);function Le(){return ge.useContext(Re)}var Pe=ge.createContext(me);function De(Mt){var cn=ge.useContext(Pe);return ge.useMemo(function(){return Mt!==void 0?[].concat((0,We.Z)(cn),[Mt]):cn},[cn,Mt])}var ze=ge.createContext(null),Te=ge.createContext({}),xt=Te,Ze=te(29194);function vt(Mt){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Ze.Z)(Mt)){var hn=Mt.nodeName.toLowerCase(),In=["input","select","textarea","button"].includes(hn)||Mt.isContentEditable||hn==="a"&&!!Mt.getAttribute("href"),Ln=Mt.getAttribute("tabindex"),Un=Number(Ln),Gn=null;return Ln&&!Number.isNaN(Un)?Gn=Un:In&&Gn===null&&(Gn=0),In&&Mt.disabled&&(Gn=null),Gn!==null&&(Gn>=0||cn&&Gn<0)}return!1}function ot(Mt){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,hn=(0,We.Z)(Mt.querySelectorAll("*")).filter(function(In){return vt(In,cn)});return vt(Mt,cn)&&hn.unshift(Mt),hn}var mt=null;function Lt(){mt=document.activeElement}function It(){mt=null}function Qe(){if(mt)try{mt.focus()}catch(Mt){}}function Me(Mt,cn){if(cn.keyCode===9){var hn=ot(Mt),In=hn[cn.shiftKey?0:hn.length-1],Ln=In===document.activeElement||Mt===document.activeElement;if(Ln){var Un=hn[cn.shiftKey?hn.length-1:0];Un.focus(),cn.preventDefault()}}}var st=te(10228),zt=te(16089),ut=st.Z.LEFT,tt=st.Z.RIGHT,at=st.Z.UP,Nt=st.Z.DOWN,on=st.Z.ENTER,Ht=st.Z.ESC,Fn=st.Z.HOME,Qt=st.Z.END,Ut=[at,Nt,ut,tt];function Wt(Mt,cn,hn,In){var Ln,Un,Gn,cr,Sr="prev",Wr="next",gi="children",ki="parent";if(Mt==="inline"&&In===on)return{inlineTrigger:!0};var si=(Ln={},(0,de.Z)(Ln,at,Sr),(0,de.Z)(Ln,Nt,Wr),Ln),wi=(Un={},(0,de.Z)(Un,ut,hn?Wr:Sr),(0,de.Z)(Un,tt,hn?Sr:Wr),(0,de.Z)(Un,Nt,gi),(0,de.Z)(Un,on,gi),Un),Qr=(Gn={},(0,de.Z)(Gn,at,Sr),(0,de.Z)(Gn,Nt,Wr),(0,de.Z)(Gn,on,gi),(0,de.Z)(Gn,Ht,ki),(0,de.Z)(Gn,ut,hn?gi:ki),(0,de.Z)(Gn,tt,hn?ki:gi),Gn),Gi={inline:si,horizontal:wi,vertical:Qr,inlineSub:si,horizontalSub:Qr,verticalSub:Qr},Hi=(cr=Gi["".concat(Mt).concat(cn?"":"Sub")])===null||cr===void 0?void 0:cr[In];switch(Hi){case Sr:return{offset:-1,sibling:!0};case Wr:return{offset:1,sibling:!0};case ki:return{offset:-1,sibling:!1};case gi:return{offset:1,sibling:!1};default:return null}}function Ie(Mt){for(var cn=Mt;cn;){if(cn.getAttribute("data-menu-list"))return cn;cn=cn.parentElement}return null}function he(Mt,cn){for(var hn=Mt||document.activeElement;hn;){if(cn.has(hn))return hn;hn=hn.parentElement}return null}function ue(Mt,cn){var hn=ot(Mt,!0);return hn.filter(function(In){return cn.has(In)})}function ve(Mt,cn,hn){var In=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Mt)return null;var Ln=ue(Mt,cn),Un=Ln.length,Gn=Ln.findIndex(function(cr){return hn===cr});return In<0?Gn===-1?Gn=Un-1:Gn-=1:In>0&&(Gn+=1),Gn=(Gn+Un)%Un,Ln[Gn]}var ye=function(cn,hn){var In=new Set,Ln=new Map,Un=new Map;return cn.forEach(function(Gn){var cr=document.querySelector("[data-menu-id='".concat(Ne(hn,Gn),"']"));cr&&(In.add(cr),Un.set(cr,Gn),Ln.set(Gn,cr))}),{elements:In,key2element:Ln,element2key:Un}};function se(Mt,cn,hn,In,Ln,Un,Gn,cr,Sr,Wr){var gi=ge.useRef(),ki=ge.useRef();ki.current=cn;var si=function(){zt.Z.cancel(gi.current)};return ge.useEffect(function(){return function(){si()}},[]),function(wi){var Qr=wi.which;if([].concat(Ut,[on,Ht,Fn,Qt]).includes(Qr)){var Gi=Un(),Hi=ye(Gi,In),$i=Hi,Ai=$i.elements,li=$i.key2element,Qi=$i.element2key,Pi=li.get(cn),xa=he(Pi,Ai),lo=Qi.get(xa),Vi=Wt(Mt,Gn(lo,!0).length===1,hn,Qr);if(!Vi&&Qr!==Fn&&Qr!==Qt)return;(Ut.includes(Qr)||[Fn,Qt].includes(Qr))&&wi.preventDefault();var Or=function(aa){if(aa){var Ao=aa,Di=aa.querySelector("a");Di!=null&&Di.getAttribute("href")&&(Ao=Di);var Ti=Qi.get(aa);cr(Ti),si(),gi.current=(0,zt.Z)(function(){ki.current===Ti&&Ao.focus()})}};if([Fn,Qt].includes(Qr)||Vi.sibling||!xa){var Lr;!xa||Mt==="inline"?Lr=Ln.current:Lr=Ie(xa);var ia,Zi=ue(Lr,Ai);Qr===Fn?ia=Zi[0]:Qr===Qt?ia=Zi[Zi.length-1]:ia=ve(Lr,Ai,xa,Vi.offset),Or(ia)}else if(Vi.inlineTrigger)Sr(lo);else if(Vi.offset>0)Sr(lo,!0),si(),gi.current=(0,zt.Z)(function(){Hi=ye(Gi,In);var qi=xa.getAttribute("aria-controls"),aa=document.getElementById(qi),Ao=ve(aa,Hi.elements);Or(Ao)},5);else if(Vi.offset<0){var ma=Gn(lo,!0),pa=ma[ma.length-2],ha=li.get(pa);Sr(pa,!1),Or(ha)}}Wr==null||Wr(wi)}}function $e(Mt){Promise.resolve().then(Mt)}var wt="__RC_UTIL_PATH_SPLIT__",lt=function(cn){return cn.join(wt)},Je=function(cn){return cn.split(wt)},Pt="rc-menu-more";function Dt(){var Mt=ge.useState({}),cn=(0,xe.Z)(Mt,2),hn=cn[1],In=(0,ge.useRef)(new Map),Ln=(0,ge.useRef)(new Map),Un=ge.useState([]),Gn=(0,xe.Z)(Un,2),cr=Gn[0],Sr=Gn[1],Wr=(0,ge.useRef)(0),gi=(0,ge.useRef)(!1),ki=function(){gi.current||hn({})},si=(0,ge.useCallback)(function(li,Qi){var Pi=lt(Qi);Ln.current.set(Pi,li),In.current.set(li,Pi),Wr.current+=1;var xa=Wr.current;$e(function(){xa===Wr.current&&ki()})},[]),wi=(0,ge.useCallback)(function(li,Qi){var Pi=lt(Qi);Ln.current.delete(Pi),In.current.delete(li)},[]),Qr=(0,ge.useCallback)(function(li){Sr(li)},[]),Gi=(0,ge.useCallback)(function(li,Qi){var Pi=In.current.get(li)||"",xa=Je(Pi);return Qi&&cr.includes(xa[0])&&xa.unshift(Pt),xa},[cr]),Hi=(0,ge.useCallback)(function(li,Qi){return li.some(function(Pi){var xa=Gi(Pi,!0);return xa.includes(Qi)})},[Gi]),$i=function(){var Qi=(0,We.Z)(In.current.keys());return cr.length&&Qi.push(Pt),Qi},Ai=(0,ge.useCallback)(function(li){var Qi="".concat(In.current.get(li)).concat(wt),Pi=new Set;return(0,We.Z)(Ln.current.keys()).forEach(function(xa){xa.startsWith(Qi)&&Pi.add(Ln.current.get(xa))}),Pi},[]);return ge.useEffect(function(){return function(){gi.current=!0}},[]),{registerPath:si,unregisterPath:wi,refreshOverflowKeys:Qr,isSubPathKey:Hi,getKeyPath:Gi,getKeys:$i,getSubPathKeys:Ai}}function yt(Mt){var cn=ge.useRef(Mt);cn.current=Mt;var hn=ge.useCallback(function(){for(var In,Ln=arguments.length,Un=new Array(Ln),Gn=0;Gn<Ln;Gn++)Un[Gn]=arguments[Gn];return(In=cn.current)===null||In===void 0?void 0:In.call.apply(In,[cn].concat(Un))},[]);return Mt?hn:void 0}var jt=Math.random().toFixed(5).toString().slice(2),En=0;function _t(Mt){var cn=(0,He.Z)(Mt,{value:Mt}),hn=(0,xe.Z)(cn,2),In=hn[0],Ln=hn[1];return ge.useEffect(function(){En+=1;var Un="".concat(jt,"-").concat(En);Ln("rc-menu-uuid-".concat(Un))},[]),In}var Yt=te(38705),wn=te(17212),Ft=te(39153),it=te(55401),Et=te(2738),an=te(8654);function un(Mt,cn,hn,In){var Ln=ge.useContext(Ke),Un=Ln.activeKey,Gn=Ln.onActive,cr=Ln.onInactive,Sr={active:Un===Mt};return cn||(Sr.onMouseEnter=function(Wr){hn==null||hn({key:Mt,domEvent:Wr}),Gn(Mt)},Sr.onMouseLeave=function(Wr){In==null||In({key:Mt,domEvent:Wr}),cr(Mt)}),Sr}function vn(Mt){var cn=ge.useContext(Ke),hn=cn.mode,In=cn.rtl,Ln=cn.inlineIndent;if(hn!=="inline")return null;var Un=Mt;return In?{paddingRight:Un*Ln}:{paddingLeft:Un*Ln}}function gn(Mt){var cn=Mt.icon,hn=Mt.props,In=Mt.children,Ln;return cn===null||cn===!1?null:(typeof cn=="function"?Ln=ge.createElement(cn,(0,Ce.Z)({},hn)):typeof cn!="boolean"&&(Ln=cn),Ln||In||null)}var Xn=["item"];function ir(Mt){var cn=Mt.item,hn=(0,Ee.Z)(Mt,Xn);return Object.defineProperty(hn,"item",{get:function(){return(0,Ae.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),cn}}),hn}var Dr=["title","attribute","elementRef"],kr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Bn=["active"],jr=function(Mt){(0,Ft.Z)(hn,Mt);var cn=(0,it.Z)(hn);function hn(){return(0,Yt.Z)(this,hn),cn.apply(this,arguments)}return(0,wn.Z)(hn,[{key:"render",value:function(){var Ln=this.props,Un=Ln.title,Gn=Ln.attribute,cr=Ln.elementRef,Sr=(0,Ee.Z)(Ln,Dr),Wr=(0,Et.Z)(Sr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Ae.ZP)(!Gn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),ge.createElement(Fe.Z.Item,(0,ee.Z)({},Gn,{title:typeof Un=="string"?Un:void 0},Wr,{ref:cr}))}}]),hn}(ge.Component),ci=ge.forwardRef(function(Mt,cn){var hn,In=Mt.style,Ln=Mt.className,Un=Mt.eventKey,Gn=Mt.warnKey,cr=Mt.disabled,Sr=Mt.itemIcon,Wr=Mt.children,gi=Mt.role,ki=Mt.onMouseEnter,si=Mt.onMouseLeave,wi=Mt.onClick,Qr=Mt.onKeyDown,Gi=Mt.onFocus,Hi=(0,Ee.Z)(Mt,kr),$i=ke(Un),Ai=ge.useContext(Ke),li=Ai.prefixCls,Qi=Ai.onItemClick,Pi=Ai.disabled,xa=Ai.overflowDisabled,lo=Ai.itemIcon,Vi=Ai.selectedKeys,Or=Ai.onActive,Lr=ge.useContext(xt),ia=Lr._internalRenderMenuItem,Zi="".concat(li,"-item"),ma=ge.useRef(),pa=ge.useRef(),ha=Pi||cr,qi=(0,an.x1)(cn,pa),aa=De(Un),Ao=function(Mi){return{key:Un,keyPath:(0,We.Z)(aa).reverse(),item:ma.current,domEvent:Mi}},Di=Sr||lo,Ti=un(Un,ha,ki,si),Ea=Ti.active,_a=(0,Ee.Z)(Ti,Bn),jo=Vi.includes(Un),Zo=vn(aa.length),ko=function(Mi){if(!ha){var ea=Ao(Mi);wi==null||wi(ir(ea)),Qi(ea)}},vo=function(Mi){if(Qr==null||Qr(Mi),Mi.which===st.Z.ENTER){var ea=Ao(Mi);wi==null||wi(ir(ea)),Qi(ea)}},Ar=function(Mi){Or(Un),Gi==null||Gi(Mi)},il={};Mt.role==="option"&&(il["aria-selected"]=jo);var _i=ge.createElement(jr,(0,ee.Z)({ref:ma,elementRef:qi,role:gi===null?"none":gi||"menuitem",tabIndex:cr?null:-1,"data-menu-id":xa&&$i?null:$i},Hi,_a,il,{component:"li","aria-disabled":cr,style:(0,Ce.Z)((0,Ce.Z)({},Zo),In),className:be()(Zi,(hn={},(0,de.Z)(hn,"".concat(Zi,"-active"),Ea),(0,de.Z)(hn,"".concat(Zi,"-selected"),jo),(0,de.Z)(hn,"".concat(Zi,"-disabled"),ha),hn),Ln),onClick:ko,onKeyDown:vo,onFocus:Ar}),Wr,ge.createElement(gn,{props:(0,Ce.Z)((0,Ce.Z)({},Mt),{},{isSelected:jo}),icon:Di}));return ia&&(_i=ia(_i,Mt,{selected:jo})),_i});function _r(Mt,cn){var hn=Mt.eventKey,In=Le(),Ln=De(hn);return ge.useEffect(function(){if(In)return In.registerPath(hn,Ln),function(){In.unregisterPath(hn,Ln)}},[Ln]),In?null:ge.createElement(ci,(0,ee.Z)({},Mt,{ref:cn}))}var Nr=ge.forwardRef(_r),ai=["className","children"],pi=function(cn,hn){var In=cn.className,Ln=cn.children,Un=(0,Ee.Z)(cn,ai),Gn=ge.useContext(Ke),cr=Gn.prefixCls,Sr=Gn.mode,Wr=Gn.rtl;return ge.createElement("ul",(0,ee.Z)({className:be()(cr,Wr&&"".concat(cr,"-rtl"),"".concat(cr,"-sub"),"".concat(cr,"-").concat(Sr==="inline"?"inline":"vertical"),In),role:"menu"},Un,{"data-menu-list":!0,ref:hn}),Ln)},Mn=ge.forwardRef(pi);Mn.displayName="SubMenuList";var pr=Mn,Rr=te(11592);function Gr(Mt,cn){return(0,Rr.Z)(Mt).map(function(hn,In){if(ge.isValidElement(hn)){var Ln,Un,Gn=hn.key,cr=(Ln=(Un=hn.props)===null||Un===void 0?void 0:Un.eventKey)!==null&&Ln!==void 0?Ln:Gn,Sr=cr==null;Sr&&(cr="tmp_key-".concat([].concat((0,We.Z)(cn),[In]).join("-")));var Wr={key:cr,eventKey:cr};return ge.cloneElement(hn,Wr)}return hn})}var zr=te(35593),ei={adjustX:1,adjustY:1},Hr={topLeft:{points:["bl","tl"],overflow:ei},topRight:{points:["br","tr"],overflow:ei},bottomLeft:{points:["tl","bl"],overflow:ei},bottomRight:{points:["tr","br"],overflow:ei},leftTop:{points:["tr","tl"],overflow:ei},leftBottom:{points:["br","bl"],overflow:ei},rightTop:{points:["tl","tr"],overflow:ei},rightBottom:{points:["bl","br"],overflow:ei}},fi={topLeft:{points:["bl","tl"],overflow:ei},topRight:{points:["br","tr"],overflow:ei},bottomLeft:{points:["tl","bl"],overflow:ei},bottomRight:{points:["tr","br"],overflow:ei},rightTop:{points:["tr","tl"],overflow:ei},rightBottom:{points:["br","bl"],overflow:ei},leftTop:{points:["tl","tr"],overflow:ei},leftBottom:{points:["bl","br"],overflow:ei}},Pr=null;function dr(Mt,cn,hn){if(cn)return cn;if(hn)return hn[Mt]||hn.other}var oi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function $t(Mt){var cn=Mt.prefixCls,hn=Mt.visible,In=Mt.children,Ln=Mt.popup,Un=Mt.popupStyle,Gn=Mt.popupClassName,cr=Mt.popupOffset,Sr=Mt.disabled,Wr=Mt.mode,gi=Mt.onVisibleChange,ki=ge.useContext(Ke),si=ki.getPopupContainer,wi=ki.rtl,Qr=ki.subMenuOpenDelay,Gi=ki.subMenuCloseDelay,Hi=ki.builtinPlacements,$i=ki.triggerSubMenuAction,Ai=ki.forceSubMenuRender,li=ki.rootClassName,Qi=ki.motion,Pi=ki.defaultMotions,xa=ge.useState(!1),lo=(0,xe.Z)(xa,2),Vi=lo[0],Or=lo[1],Lr=wi?(0,Ce.Z)((0,Ce.Z)({},fi),Hi):(0,Ce.Z)((0,Ce.Z)({},Hr),Hi),ia=oi[Wr],Zi=dr(Wr,Qi,Pi),ma=ge.useRef(Zi);Wr!=="inline"&&(ma.current=Zi);var pa=(0,Ce.Z)((0,Ce.Z)({},ma.current),{},{leavedClassName:"".concat(cn,"-hidden"),removeOnLeave:!1,motionAppear:!0}),ha=ge.useRef();return ge.useEffect(function(){return ha.current=(0,zt.Z)(function(){Or(hn)}),function(){zt.Z.cancel(ha.current)}},[hn]),ge.createElement(zr.Z,{prefixCls:cn,popupClassName:be()("".concat(cn,"-popup"),(0,de.Z)({},"".concat(cn,"-rtl"),wi),Gn,li),stretch:Wr==="horizontal"?"minWidth":null,getPopupContainer:si,builtinPlacements:Lr,popupPlacement:ia,popupVisible:Vi,popup:Ln,popupStyle:Un,popupAlign:cr&&{offset:cr},action:Sr?[]:[$i],mouseEnterDelay:Qr,mouseLeaveDelay:Gi,onPopupVisibleChange:gi,forceRender:Ai,popupMotion:pa,fresh:!0},In)}var pt=te(77900);function Bt(Mt){var cn=Mt.id,hn=Mt.open,In=Mt.keyPath,Ln=Mt.children,Un="inline",Gn=ge.useContext(Ke),cr=Gn.prefixCls,Sr=Gn.forceSubMenuRender,Wr=Gn.motion,gi=Gn.defaultMotions,ki=Gn.mode,si=ge.useRef(!1);si.current=ki===Un;var wi=ge.useState(!si.current),Qr=(0,xe.Z)(wi,2),Gi=Qr[0],Hi=Qr[1],$i=si.current?hn:!1;ge.useEffect(function(){si.current&&Hi(!1)},[ki]);var Ai=(0,Ce.Z)({},dr(Un,Wr,gi));In.length>1&&(Ai.motionAppear=!1);var li=Ai.onVisibleChanged;return Ai.onVisibleChanged=function(Qi){return!si.current&&!Qi&&Hi(!0),li==null?void 0:li(Qi)},Gi?null:ge.createElement(_e,{mode:Un,locked:!si.current},ge.createElement(pt.default,(0,ee.Z)({visible:$i},Ai,{forceRender:Sr,removeOnLeave:!1,leavedClassName:"".concat(cr,"-hidden")}),function(Qi){var Pi=Qi.className,xa=Qi.style;return ge.createElement(pr,{id:cn,className:Pi,style:xa},Ln)}))}var At=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ct=["active"],Gt=function(cn){var hn,In=cn.style,Ln=cn.className,Un=cn.title,Gn=cn.eventKey,cr=cn.warnKey,Sr=cn.disabled,Wr=cn.internalPopupClose,gi=cn.children,ki=cn.itemIcon,si=cn.expandIcon,wi=cn.popupClassName,Qr=cn.popupOffset,Gi=cn.popupStyle,Hi=cn.onClick,$i=cn.onMouseEnter,Ai=cn.onMouseLeave,li=cn.onTitleClick,Qi=cn.onTitleMouseEnter,Pi=cn.onTitleMouseLeave,xa=(0,Ee.Z)(cn,At),lo=ke(Gn),Vi=ge.useContext(Ke),Or=Vi.prefixCls,Lr=Vi.mode,ia=Vi.openKeys,Zi=Vi.disabled,ma=Vi.overflowDisabled,pa=Vi.activeKey,ha=Vi.selectedKeys,qi=Vi.itemIcon,aa=Vi.expandIcon,Ao=Vi.onItemClick,Di=Vi.onOpenChange,Ti=Vi.onActive,Ea=ge.useContext(xt),_a=Ea._internalRenderSubMenuItem,jo=ge.useContext(ze),Zo=jo.isSubPathKey,ko=De(),vo="".concat(Or,"-submenu"),Ar=Zi||Sr,il=ge.useRef(),_i=ge.useRef(),Li=ki!=null?ki:qi,Mi=si!=null?si:aa,ea=ia.includes(Gn),mo=!ma&&ea,Vo=Zo(ha,Gn),qo=un(Gn,Ar,Qi,Pi),Uo=qo.active,Co=(0,Ee.Z)(qo,Ct),ul=ge.useState(!1),Wl=(0,xe.Z)(ul,2),Il=Wl[0],ms=Wl[1],Qa=function(va){Ar||ms(va)},la=function(va){Qa(!0),$i==null||$i({key:Gn,domEvent:va})},cl=function(va){Qa(!1),Ai==null||Ai({key:Gn,domEvent:va})},To=ge.useMemo(function(){return Uo||(Lr!=="inline"?Il||Zo([pa],Gn):!1)},[Lr,Uo,pa,Il,Gn,Zo]),Go=vn(ko.length),nr=function(va){Ar||(li==null||li({key:Gn,domEvent:va}),Lr==="inline"&&Di(Gn,!ea))},Qn=yt(function(Ka){Hi==null||Hi(ir(Ka)),Ao(Ka)}),Zn=function(va){Lr!=="inline"&&Di(Gn,va)},xr=function(){Ti(Gn)},ni=lo&&"".concat(lo,"-popup"),ti=ge.createElement("div",(0,ee.Z)({role:"menuitem",style:Go,className:"".concat(vo,"-title"),tabIndex:Ar?null:-1,ref:il,title:typeof Un=="string"?Un:null,"data-menu-id":ma&&lo?null:lo,"aria-expanded":mo,"aria-haspopup":!0,"aria-controls":ni,"aria-disabled":Ar,onClick:nr,onFocus:xr},Co),Un,ge.createElement(gn,{icon:Lr!=="horizontal"?Mi:void 0,props:(0,Ce.Z)((0,Ce.Z)({},cn),{},{isOpen:mo,isSubMenu:!0})},ge.createElement("i",{className:"".concat(vo,"-arrow")}))),yr=ge.useRef(Lr);if(Lr!=="inline"&&ko.length>1?yr.current="vertical":yr.current=Lr,!ma){var Bi=yr.current;ti=ge.createElement($t,{mode:Bi,prefixCls:vo,visible:!Wr&&mo&&Lr!=="inline",popupClassName:wi,popupOffset:Qr,popupStyle:Gi,popup:ge.createElement(_e,{mode:Bi==="horizontal"?"vertical":Bi},ge.createElement(pr,{id:ni,ref:_i},gi)),disabled:Ar,onVisibleChange:Zn},ti)}var ga=ge.createElement(Fe.Z.Item,(0,ee.Z)({role:"none"},xa,{component:"li",style:In,className:be()(vo,"".concat(vo,"-").concat(Lr),Ln,(hn={},(0,de.Z)(hn,"".concat(vo,"-open"),mo),(0,de.Z)(hn,"".concat(vo,"-active"),To),(0,de.Z)(hn,"".concat(vo,"-selected"),Vo),(0,de.Z)(hn,"".concat(vo,"-disabled"),Ar),hn)),onMouseEnter:la,onMouseLeave:cl}),ti,!ma&&ge.createElement(Bt,{id:ni,open:mo,keyPath:ko},gi));return _a&&(ga=_a(ga,cn,{selected:Vo,active:To,open:mo,disabled:Ar})),ge.createElement(_e,{onItemClick:Qn,mode:Lr==="horizontal"?"vertical":Lr,itemIcon:Li,expandIcon:Mi},ga)};function nn(Mt){var cn=Mt.eventKey,hn=Mt.children,In=De(cn),Ln=Gr(hn,In),Un=Le();ge.useEffect(function(){if(Un)return Un.registerPath(cn,In),function(){Un.unregisterPath(cn,In)}},[In]);var Gn;return Un?Gn=Ln:Gn=ge.createElement(Gt,Mt,Ln),ge.createElement(Pe.Provider,{value:In},Gn)}var _n=te(43749),Pn=["className","title","eventKey","children"],Sn=["children"],rr=function(cn){var hn=cn.className,In=cn.title,Ln=cn.eventKey,Un=cn.children,Gn=(0,Ee.Z)(cn,Pn),cr=ge.useContext(Ke),Sr=cr.prefixCls,Wr="".concat(Sr,"-item-group");return ge.createElement("li",(0,ee.Z)({role:"presentation"},Gn,{onClick:function(ki){return ki.stopPropagation()},className:be()(Wr,hn)}),ge.createElement("div",{role:"presentation",className:"".concat(Wr,"-title"),title:typeof In=="string"?In:void 0},In),ge.createElement("ul",{role:"group",className:"".concat(Wr,"-list")},Un))};function gr(Mt){var cn=Mt.children,hn=(0,Ee.Z)(Mt,Sn),In=De(hn.eventKey),Ln=Gr(cn,In),Un=Le();return Un?Ln:ge.createElement(rr,(0,Et.Z)(hn,["warnKey"]),Ln)}function Cr(Mt){var cn=Mt.className,hn=Mt.style,In=ge.useContext(Ke),Ln=In.prefixCls,Un=Le();return Un?null:ge.createElement("li",{role:"separator",className:be()("".concat(Ln,"-item-divider"),cn),style:hn})}var bn=["label","children","key","type"];function $n(Mt){return(Mt||[]).map(function(cn,hn){if(cn&&(0,_n.Z)(cn)==="object"){var In=cn,Ln=In.label,Un=In.children,Gn=In.key,cr=In.type,Sr=(0,Ee.Z)(In,bn),Wr=Gn!=null?Gn:"tmp-".concat(hn);return Un||cr==="group"?cr==="group"?ge.createElement(gr,(0,ee.Z)({key:Wr},Sr,{title:Ln}),$n(Un)):ge.createElement(nn,(0,ee.Z)({key:Wr},Sr,{title:Ln}),$n(Un)):cr==="divider"?ge.createElement(Cr,(0,ee.Z)({key:Wr},Sr)):ge.createElement(Nr,(0,ee.Z)({key:Wr},Sr),Ln)}return null}).filter(function(cn){return cn})}function Jt(Mt,cn,hn){var In=Mt;return cn&&(In=$n(cn)),Gr(In,hn)}var pn=["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"],An=[],dn=ge.forwardRef(function(Mt,cn){var hn,In,Ln=Mt,Un=Ln.prefixCls,Gn=Un===void 0?"rc-menu":Un,cr=Ln.rootClassName,Sr=Ln.style,Wr=Ln.className,gi=Ln.tabIndex,ki=gi===void 0?0:gi,si=Ln.items,wi=Ln.children,Qr=Ln.direction,Gi=Ln.id,Hi=Ln.mode,$i=Hi===void 0?"vertical":Hi,Ai=Ln.inlineCollapsed,li=Ln.disabled,Qi=Ln.disabledOverflow,Pi=Ln.subMenuOpenDelay,xa=Pi===void 0?.1:Pi,lo=Ln.subMenuCloseDelay,Vi=lo===void 0?.1:lo,Or=Ln.forceSubMenuRender,Lr=Ln.defaultOpenKeys,ia=Ln.openKeys,Zi=Ln.activeKey,ma=Ln.defaultActiveFirst,pa=Ln.selectable,ha=pa===void 0?!0:pa,qi=Ln.multiple,aa=qi===void 0?!1:qi,Ao=Ln.defaultSelectedKeys,Di=Ln.selectedKeys,Ti=Ln.onSelect,Ea=Ln.onDeselect,_a=Ln.inlineIndent,jo=_a===void 0?24:_a,Zo=Ln.motion,ko=Ln.defaultMotions,vo=Ln.triggerSubMenuAction,Ar=vo===void 0?"hover":vo,il=Ln.builtinPlacements,_i=Ln.itemIcon,Li=Ln.expandIcon,Mi=Ln.overflowedIndicator,ea=Mi===void 0?"...":Mi,mo=Ln.overflowedIndicatorPopupClassName,Vo=Ln.getPopupContainer,qo=Ln.onClick,Uo=Ln.onOpenChange,Co=Ln.onKeyDown,ul=Ln.openAnimation,Wl=Ln.openTransitionName,Il=Ln._internalRenderMenuItem,ms=Ln._internalRenderSubMenuItem,Qa=(0,Ee.Z)(Ln,pn),la=ge.useMemo(function(){return Jt(wi,si,An)},[wi,si]),cl=ge.useState(!1),To=(0,xe.Z)(cl,2),Go=To[0],nr=To[1],Qn=ge.useRef(),Zn=_t(Gi),xr=Qr==="rtl",ni=(0,He.Z)(Lr,{value:ia,postState:function(Nl){return Nl||An}}),ti=(0,xe.Z)(ni,2),yr=ti[0],Bi=ti[1],ga=function(Nl){var $l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function au(){Bi(Nl),Uo==null||Uo(Nl)}$l?(0,we.flushSync)(au):au()},Ka=ge.useState(yr),va=(0,xe.Z)(Ka,2),bi=va[0],ta=va[1],Xr=ge.useRef(!1),Lo=ge.useMemo(function(){return($i==="inline"||$i==="vertical")&&Ai?["vertical",Ai]:[$i,!1]},[$i,Ai]),Aa=(0,xe.Z)(Lo,2),Fa=Aa[0],yo=Aa[1],tl=Fa==="inline",xl=ge.useState(Fa),as=(0,xe.Z)(xl,2),Yo=as[0],Ys=as[1],Ts=ge.useState(yo),os=(0,xe.Z)(Ts,2),cs=os[0],du=os[1];ge.useEffect(function(){Ys(Fa),du(yo),Xr.current&&(tl?Bi(bi):ga(An))},[Fa,yo]);var ps=ge.useState(0),Bo=(0,xe.Z)(ps,2),wu=Bo[0],fu=Bo[1],gs=wu>=la.length-1||Yo!=="horizontal"||Qi;ge.useEffect(function(){tl&&ta(yr)},[yr]),ge.useEffect(function(){return Xr.current=!0,function(){Xr.current=!1}},[]);var Vl=Dt(),El=Vl.registerPath,yu=Vl.unregisterPath,Pu=Vl.refreshOverflowKeys,bs=Vl.isSubPathKey,al=Vl.getKeyPath,Ho=Vl.getKeys,Ul=Vl.getSubPathKeys,ds=ge.useMemo(function(){return{registerPath:El,unregisterPath:yu}},[El,yu]),ts=ge.useMemo(function(){return{isSubPathKey:bs}},[bs]);ge.useEffect(function(){Pu(gs?An:la.slice(wu+1).map(function(Al){return Al.key}))},[wu,gs]);var Ns=(0,He.Z)(Zi||ma&&((hn=la[0])===null||hn===void 0?void 0:hn.key),{value:Zi}),Cs=(0,xe.Z)(Ns,2),No=Cs[0],Qs=Cs[1],Su=yt(function(Al){Qs(Al)}),hu=yt(function(){Qs(void 0)});(0,ge.useImperativeHandle)(cn,function(){return{list:Qn.current,focus:function(Nl){var $l,au=Ho(),Zs=ye(au,Zn),eu=Zs.elements,Ks=Zs.key2element,Ws=Zs.element2key,ou=ue(Qn.current,eu),lu=No!=null?No:ou[0]?Ws.get(ou[0]):($l=la.find(function(gt){return!gt.props.disabled}))===null||$l===void 0?void 0:$l.key,Ge=Ks.get(lu);if(lu&&Ge){var ct;Ge==null||(ct=Ge.focus)===null||ct===void 0||ct.call(Ge,Nl)}}}});var js=(0,He.Z)(Ao||[],{value:Di,postState:function(Nl){return Array.isArray(Nl)?Nl:Nl==null?An:[Nl]}}),wc=(0,xe.Z)(js,2),Lu=wc[0],zu=wc[1],iu=function(Nl){if(ha){var $l=Nl.key,au=Lu.includes($l),Zs;aa?au?Zs=Lu.filter(function(Ks){return Ks!==$l}):Zs=[].concat((0,We.Z)(Lu),[$l]):Zs=[$l],zu(Zs);var eu=(0,Ce.Z)((0,Ce.Z)({},Nl),{},{selectedKeys:Zs});au?Ea==null||Ea(eu):Ti==null||Ti(eu)}!aa&&yr.length&&Yo!=="inline"&&ga(An)},ic=yt(function(Al){qo==null||qo(ir(Al)),iu(Al)}),ac=yt(function(Al,Nl){var $l=yr.filter(function(Zs){return Zs!==Al});if(Nl)$l.push(Al);else if(Yo!=="inline"){var au=Ul(Al);$l=$l.filter(function(Zs){return!au.has(Zs)})}(0,rt.Z)(yr,$l,!0)||ga($l,!0)}),zc=function(Nl,$l){var au=$l!=null?$l:!yr.includes(Nl);ac(Nl,au)},Qu=se(Yo,No,xr,Zn,Qn,Ho,al,Qs,zc,Co);ge.useEffect(function(){nr(!0)},[]);var Au=ge.useMemo(function(){return{_internalRenderMenuItem:Il,_internalRenderSubMenuItem:ms}},[Il,ms]),Ia=Yo!=="horizontal"||Qi?la:la.map(function(Al,Nl){return ge.createElement(_e,{key:Al.key,overflowDisabled:Nl>wu},Al)}),Ju=ge.createElement(Fe.Z,(0,ee.Z)({id:Gi,ref:Qn,prefixCls:"".concat(Gn,"-overflow"),component:"ul",itemComponent:Nr,className:be()(Gn,"".concat(Gn,"-root"),"".concat(Gn,"-").concat(Yo),Wr,(In={},(0,de.Z)(In,"".concat(Gn,"-inline-collapsed"),cs),(0,de.Z)(In,"".concat(Gn,"-rtl"),xr),In),cr),dir:Qr,style:Sr,role:"menu",tabIndex:ki,data:Ia,renderRawItem:function(Nl){return Nl},renderRawRest:function(Nl){var $l=Nl.length,au=$l?la.slice(-$l):null;return ge.createElement(nn,{eventKey:Pt,title:ea,disabled:gs,internalPopupClose:$l===0,popupClassName:mo},au)},maxCount:Yo!=="horizontal"||Qi?Fe.Z.INVALIDATE:Fe.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Nl){fu(Nl)},onKeyDown:Qu},Qa));return ge.createElement(xt.Provider,{value:Au},ge.createElement(Se.Provider,{value:Zn},ge.createElement(_e,{prefixCls:Gn,rootClassName:cr,mode:Yo,openKeys:yr,rtl:xr,disabled:li,motion:Go?Zo:null,defaultMotions:Go?ko:null,activeKey:No,onActive:Su,onInactive:hu,selectedKeys:Lu,inlineIndent:jo,subMenuOpenDelay:xa,subMenuCloseDelay:Vi,forceSubMenuRender:Or,builtinPlacements:il,triggerSubMenuAction:Ar,getPopupContainer:Vo,itemIcon:_i,expandIcon:Li,onItemClick:ic,onOpenChange:ac},ge.createElement(ze.Provider,{value:ts},Ju),ge.createElement("div",{style:{display:"none"},"aria-hidden":!0},ge.createElement(Re.Provider,{value:ds},la)))))}),Hn=dn,ln=Hn;ln.Item=Nr,ln.SubMenu=nn,ln.ItemGroup=gr,ln.Divider=Cr;var jn=ln},83836:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Lt}});var ee=te(60499),de=te(85899),Ce=te(72190),We=te(42244),xe=te(59301),Ee=te(92310),fe=te.n(Ee),be=te(29301),Fe=te(34280),He=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],rt=void 0;function Ae(It,Qe){var Me=It.prefixCls,st=It.invalidate,zt=It.item,ut=It.renderItem,tt=It.responsive,at=It.responsiveDisabled,Nt=It.registerSize,on=It.itemKey,Ht=It.className,Fn=It.style,Qt=It.children,Ut=It.display,Wt=It.order,Ie=It.component,he=Ie===void 0?"div":Ie,ue=(0,We.Z)(It,He),ve=tt&&!Ut;function ye(Je){Nt(on,Je)}xe.useEffect(function(){return function(){ye(null)}},[]);var se=ut&&zt!==rt?ut(zt,{index:Wt}):Qt,$e;st||($e={opacity:ve?0:1,height:ve?0:rt,overflowY:ve?"hidden":rt,order:tt?Wt:rt,pointerEvents:ve?"none":rt,position:ve?"absolute":rt});var wt={};ve&&(wt["aria-hidden"]=!0);var lt=xe.createElement(he,(0,ee.Z)({className:fe()(!st&&Me,Ht),style:(0,de.Z)((0,de.Z)({},$e),Fn)},wt,ue,{ref:Qe}),se);return tt&&(lt=xe.createElement(be.Z,{onResize:function(Pt){var Dt=Pt.offsetWidth;ye(Dt)},disabled:at},lt)),lt}var ge=xe.forwardRef(Ae);ge.displayName="Item";var we=ge,Se=te(6089),Ne=te(4676),ke=te(16089);function Ye(It){if(typeof MessageChannel=="undefined")(0,ke.Z)(It);else{var Qe=new MessageChannel;Qe.port1.onmessage=function(){return It()},Qe.port2.postMessage(void 0)}}function et(){var It=xe.useRef(null),Qe=function(st){It.current||(It.current=[],Ye(function(){(0,Ne.unstable_batchedUpdates)(function(){It.current.forEach(function(zt){zt()}),It.current=null})})),It.current.push(st)};return Qe}function Ke(It,Qe){var Me=xe.useState(Qe),st=(0,Ce.Z)(Me,2),zt=st[0],ut=st[1],tt=(0,Se.Z)(function(at){It(function(){ut(at)})});return[zt,tt]}var Oe=xe.createContext(null),_e=["component"],me=["className"],Re=["className"],Le=function(Qe,Me){var st=xe.useContext(Oe);if(!st){var zt=Qe.component,ut=zt===void 0?"div":zt,tt=(0,We.Z)(Qe,_e);return xe.createElement(ut,(0,ee.Z)({},tt,{ref:Me}))}var at=st.className,Nt=(0,We.Z)(st,me),on=Qe.className,Ht=(0,We.Z)(Qe,Re);return xe.createElement(Oe.Provider,{value:null},xe.createElement(we,(0,ee.Z)({ref:Me,className:fe()(at,on)},Nt,Ht)))},Pe=xe.forwardRef(Le);Pe.displayName="RawItem";var De=Pe,ze=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Te="responsive",xt="invalidate";function Ze(It){return"+ ".concat(It.length," ...")}function vt(It,Qe){var Me=It.prefixCls,st=Me===void 0?"rc-overflow":Me,zt=It.data,ut=zt===void 0?[]:zt,tt=It.renderItem,at=It.renderRawItem,Nt=It.itemKey,on=It.itemWidth,Ht=on===void 0?10:on,Fn=It.ssr,Qt=It.style,Ut=It.className,Wt=It.maxCount,Ie=It.renderRest,he=It.renderRawRest,ue=It.prefix,ve=It.suffix,ye=It.component,se=ye===void 0?"div":ye,$e=It.itemComponent,wt=It.onVisibleChange,lt=(0,We.Z)(It,ze),Je=Fn==="full",Pt=et(),Dt=Ke(Pt,null),yt=(0,Ce.Z)(Dt,2),jt=yt[0],En=yt[1],_t=jt||0,Yt=Ke(Pt,new Map),wn=(0,Ce.Z)(Yt,2),Ft=wn[0],it=wn[1],Et=Ke(Pt,0),an=(0,Ce.Z)(Et,2),un=an[0],vn=an[1],gn=Ke(Pt,0),Xn=(0,Ce.Z)(gn,2),ir=Xn[0],Dr=Xn[1],kr=Ke(Pt,0),Bn=(0,Ce.Z)(kr,2),jr=Bn[0],ci=Bn[1],_r=Ke(Pt,0),Nr=(0,Ce.Z)(_r,2),ai=Nr[0],pi=Nr[1],Mn=(0,xe.useState)(null),pr=(0,Ce.Z)(Mn,2),Rr=pr[0],Gr=pr[1],zr=(0,xe.useState)(null),ei=(0,Ce.Z)(zr,2),Hr=ei[0],fi=ei[1],Pr=xe.useMemo(function(){return Hr===null&&Je?Number.MAX_SAFE_INTEGER:Hr||0},[Hr,jt]),dr=(0,xe.useState)(!1),oi=(0,Ce.Z)(dr,2),$t=oi[0],pt=oi[1],Bt="".concat(st,"-item"),At=Math.max(un,ir),Ct=Wt===Te,Gt=ut.length&&Ct,nn=Wt===xt,_n=Gt||typeof Wt=="number"&&ut.length>Wt,Pn=(0,xe.useMemo)(function(){var Un=ut;return Gt?jt===null&&Je?Un=ut:Un=ut.slice(0,Math.min(ut.length,_t/Ht)):typeof Wt=="number"&&(Un=ut.slice(0,Wt)),Un},[ut,Ht,jt,Wt,Gt]),Sn=(0,xe.useMemo)(function(){return Gt?ut.slice(Pr+1):ut.slice(Pn.length)},[ut,Pn,Gt,Pr]),rr=(0,xe.useCallback)(function(Un,Gn){var cr;return typeof Nt=="function"?Nt(Un):(cr=Nt&&(Un==null?void 0:Un[Nt]))!==null&&cr!==void 0?cr:Gn},[Nt]),gr=(0,xe.useCallback)(tt||function(Un){return Un},[tt]);function Cr(Un,Gn,cr){Hr===Un&&(Gn===void 0||Gn===Rr)||(fi(Un),cr||(pt(Un<ut.length-1),wt==null||wt(Un)),Gn!==void 0&&Gr(Gn))}function bn(Un,Gn){En(Gn.clientWidth)}function $n(Un,Gn){it(function(cr){var Sr=new Map(cr);return Gn===null?Sr.delete(Un):Sr.set(Un,Gn),Sr})}function Jt(Un,Gn){Dr(Gn),vn(ir)}function pn(Un,Gn){ci(Gn)}function An(Un,Gn){pi(Gn)}function dn(Un){return Ft.get(rr(Pn[Un],Un))}(0,Fe.Z)(function(){if(_t&&typeof At=="number"&&Pn){var Un=jr+ai,Gn=Pn.length,cr=Gn-1;if(!Gn){Cr(0,null);return}for(var Sr=0;Sr<Gn;Sr+=1){var Wr=dn(Sr);if(Je&&(Wr=Wr||0),Wr===void 0){Cr(Sr-1,void 0,!0);break}if(Un+=Wr,cr===0&&Un<=_t||Sr===cr-1&&Un+dn(cr)<=_t){Cr(cr,null);break}else if(Un+At>_t){Cr(Sr-1,Un-Wr-ai+ir);break}}ve&&dn(0)+ai>_t&&Gr(null)}},[_t,Ft,ir,jr,ai,rr,Pn]);var Hn=$t&&!!Sn.length,ln={};Rr!==null&&Gt&&(ln={position:"absolute",left:Rr,top:0});var jn={prefixCls:Bt,responsive:Gt,component:$e,invalidate:nn},Mt=at?function(Un,Gn){var cr=rr(Un,Gn);return xe.createElement(Oe.Provider,{key:cr,value:(0,de.Z)((0,de.Z)({},jn),{},{order:Gn,item:Un,itemKey:cr,registerSize:$n,display:Gn<=Pr})},at(Un,Gn))}:function(Un,Gn){var cr=rr(Un,Gn);return xe.createElement(we,(0,ee.Z)({},jn,{order:Gn,key:cr,item:Un,renderItem:gr,itemKey:cr,registerSize:$n,display:Gn<=Pr}))},cn={order:Hn?Pr:Number.MAX_SAFE_INTEGER,className:"".concat(Bt,"-rest"),registerSize:Jt,display:Hn},hn=Ie||Ze,In=he?xe.createElement(Oe.Provider,{value:(0,de.Z)((0,de.Z)({},jn),cn)},he(Sn)):xe.createElement(we,(0,ee.Z)({},jn,cn),typeof hn=="function"?hn(Sn):hn),Ln=xe.createElement(se,(0,ee.Z)({className:fe()(!nn&&st,Ut),style:Qt,ref:Qe},lt),ue&&xe.createElement(we,(0,ee.Z)({},jn,{responsive:Ct,responsiveDisabled:!Gt,order:-1,className:"".concat(Bt,"-prefix"),registerSize:pn,display:!0}),ue),Pn.map(Mt),_n?In:null,ve&&xe.createElement(we,(0,ee.Z)({},jn,{responsive:Ct,responsiveDisabled:!Gt,order:Pr,className:"".concat(Bt,"-suffix"),registerSize:An,display:!0,style:ln}),ve));return Ct?xe.createElement(be.Z,{onResize:bn,disabled:!Gt},Ln):Ln}var ot=xe.forwardRef(vt);ot.displayName="Overflow",ot.Item=De,ot.RESPONSIVE=Te,ot.INVALIDATE=xt;var mt=ot,Lt=mt},91735:function(tn,kt){"use strict";kt.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},17115:function(tn,kt,te){"use strict";te.d(kt,{ZP:function(){return fe}});var ee=te(72190),de=te(59301),Ce=te(47273),We=0,xe=(0,Ce.Z)();function Ee(){var be;return xe?(be=We,We+=1):be="TEST_OR_SSR",be}function fe(be){var Fe=de.useState(),He=(0,ee.Z)(Fe,2),rt=He[0],Ae=He[1];return de.useEffect(function(){Ae("rc_select_".concat(Ee()))},[]),be||rt}},77861:function(tn,kt,te){"use strict";te.d(kt,{Ac:function(){return jt},Xo:function(){return ir},Wx:function(){return kr},ZP:function(){return Bt},lk:function(){return Oe}});var ee=te(60499),de=te(77654),Ce=te(18642),We=te(85899),xe=te(72190),Ee=te(42244),fe=te(43749),be=te(18929),Fe=te(48736),He=te(59301),rt=te(92310),Ae=te.n(rt),ge=te(34280),we=te(49658),Se=te(10228),Ne=te(8654),ke=function(Ct){var Gt=Ct.className,nn=Ct.customizeIcon,_n=Ct.customizeIconProps,Pn=Ct.onMouseDown,Sn=Ct.onClick,rr=Ct.children,gr;return typeof nn=="function"?gr=nn(_n):gr=nn,He.createElement("span",{className:Gt,onMouseDown:function(bn){bn.preventDefault(),Pn&&Pn(bn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Sn,"aria-hidden":!0},gr!==void 0?gr:He.createElement("span",{className:Ae()(Gt.split(/\s+/).map(function(Cr){return"".concat(Cr,"-icon")}))},rr))},Ye=ke;function et(At,Ct,Gt,nn,_n){var Pn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Sn=arguments.length>6?arguments[6]:void 0,rr=arguments.length>7?arguments[7]:void 0,gr=He.useMemo(function(){if((0,fe.Z)(nn)==="object")return nn.clearIcon;if(_n)return _n},[nn,_n]),Cr=He.useMemo(function(){return!!(!Pn&&nn&&(Gt.length||Sn)&&!(rr==="combobox"&&Sn===""))},[nn,Pn,Gt.length,Sn,rr]);return{allowClear:Cr,clearIcon:He.createElement(Ye,{className:"".concat(At,"-clear"),onMouseDown:Ct,customizeIcon:gr},"\xD7")}}var Ke=He.createContext(null);function Oe(){return He.useContext(Ke)}function _e(){var At=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ct=He.useState(!1),Gt=(0,xe.Z)(Ct,2),nn=Gt[0],_n=Gt[1],Pn=He.useRef(null),Sn=function(){window.clearTimeout(Pn.current)};He.useEffect(function(){return Sn},[]);var rr=function(Cr,bn){Sn(),Pn.current=window.setTimeout(function(){_n(Cr),bn&&bn()},At)};return[nn,rr,Sn]}function me(){var At=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ct=He.useRef(null),Gt=He.useRef(null);He.useEffect(function(){return function(){window.clearTimeout(Gt.current)}},[]);function nn(_n){(_n||Ct.current===null)&&(Ct.current=_n),window.clearTimeout(Gt.current),Gt.current=window.setTimeout(function(){Ct.current=null},At)}return[function(){return Ct.current},nn]}function Re(At,Ct,Gt,nn){var _n=He.useRef(null);_n.current={open:Ct,triggerOpen:Gt,customizedTrigger:nn},He.useEffect(function(){function Pn(Sn){var rr;if(!((rr=_n.current)!==null&&rr!==void 0&&rr.customizedTrigger)){var gr=Sn.target;gr.shadowRoot&&Sn.composed&&(gr=Sn.composedPath()[0]||gr),_n.current.open&&At().filter(function(Cr){return Cr}).every(function(Cr){return!Cr.contains(gr)&&Cr!==gr})&&_n.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Pn),function(){return window.removeEventListener("mousedown",Pn)}},[])}var Le=te(26112),Pe=te(83836),De=function(Ct,Gt){var nn,_n,Pn=Ct.prefixCls,Sn=Ct.id,rr=Ct.inputElement,gr=Ct.disabled,Cr=Ct.tabIndex,bn=Ct.autoFocus,$n=Ct.autoComplete,Jt=Ct.editable,pn=Ct.activeDescendantId,An=Ct.value,dn=Ct.maxLength,Hn=Ct.onKeyDown,ln=Ct.onMouseDown,jn=Ct.onChange,Mt=Ct.onPaste,cn=Ct.onCompositionStart,hn=Ct.onCompositionEnd,In=Ct.open,Ln=Ct.attrs,Un=rr||He.createElement("input",null),Gn=Un,cr=Gn.ref,Sr=Gn.props,Wr=Sr.onKeyDown,gi=Sr.onChange,ki=Sr.onMouseDown,si=Sr.onCompositionStart,wi=Sr.onCompositionEnd,Qr=Sr.style;return(0,Fe.Kp)(!("maxLength"in Un.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Un=He.cloneElement(Un,(0,We.Z)((0,We.Z)((0,We.Z)({type:"search"},Sr),{},{id:Sn,ref:(0,Ne.sQ)(Gt,cr),disabled:gr,tabIndex:Cr,autoComplete:$n||"off",autoFocus:bn,className:Ae()("".concat(Pn,"-selection-search-input"),(nn=Un)===null||nn===void 0||(_n=nn.props)===null||_n===void 0?void 0:_n.className),role:"combobox","aria-label":"Search","aria-expanded":In||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Sn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Sn,"_list"),"aria-activedescendant":In?pn:void 0},Ln),{},{value:Jt?An:"",maxLength:dn,readOnly:!Jt,unselectable:Jt?null:"on",style:(0,We.Z)((0,We.Z)({},Qr),{},{opacity:Jt?null:0}),onKeyDown:function(Hi){Hn(Hi),Wr&&Wr(Hi)},onMouseDown:function(Hi){ln(Hi),ki&&ki(Hi)},onChange:function(Hi){jn(Hi),gi&&gi(Hi)},onCompositionStart:function(Hi){cn(Hi),si&&si(Hi)},onCompositionEnd:function(Hi){hn(Hi),wi&&wi(Hi)},onPaste:Mt})),Un},ze=He.forwardRef(De);ze.displayName="Input";var Te=ze;function xt(At){return Array.isArray(At)?At:At!==void 0?[At]:[]}var Ze=typeof window!="undefined"&&window.document&&window.document.documentElement,vt=Ze;function ot(At){return At!=null}function mt(At){return!At&&At!==0}function Lt(At){return["string","number"].includes((0,fe.Z)(At))}function It(At){var Ct=void 0;return At&&(Lt(At.title)?Ct=At.title.toString():Lt(At.label)&&(Ct=At.label.toString())),Ct}function Qe(At,Ct){vt?He.useLayoutEffect(At,Ct):He.useEffect(At,Ct)}function Me(At){var Ct;return(Ct=At.key)!==null&&Ct!==void 0?Ct:At.value}var st=function(Ct){Ct.preventDefault(),Ct.stopPropagation()},zt=function(Ct){var Gt=Ct.id,nn=Ct.prefixCls,_n=Ct.values,Pn=Ct.open,Sn=Ct.searchValue,rr=Ct.autoClearSearchValue,gr=Ct.inputRef,Cr=Ct.placeholder,bn=Ct.disabled,$n=Ct.mode,Jt=Ct.showSearch,pn=Ct.autoFocus,An=Ct.autoComplete,dn=Ct.activeDescendantId,Hn=Ct.tabIndex,ln=Ct.removeIcon,jn=Ct.maxTagCount,Mt=Ct.maxTagTextLength,cn=Ct.maxTagPlaceholder,hn=cn===void 0?function(pa){return"+ ".concat(pa.length," ...")}:cn,In=Ct.tagRender,Ln=Ct.onToggleOpen,Un=Ct.onRemove,Gn=Ct.onInputChange,cr=Ct.onInputPaste,Sr=Ct.onInputKeyDown,Wr=Ct.onInputMouseDown,gi=Ct.onInputCompositionStart,ki=Ct.onInputCompositionEnd,si=He.useRef(null),wi=(0,He.useState)(0),Qr=(0,xe.Z)(wi,2),Gi=Qr[0],Hi=Qr[1],$i=(0,He.useState)(!1),Ai=(0,xe.Z)($i,2),li=Ai[0],Qi=Ai[1],Pi="".concat(nn,"-selection"),xa=Pn||$n==="multiple"&&rr===!1||$n==="tags"?Sn:"",lo=$n==="tags"||$n==="multiple"&&rr===!1||Jt&&(Pn||li);Qe(function(){Hi(si.current.scrollWidth)},[xa]);function Vi(pa,ha,qi,aa,Ao){return He.createElement("span",{className:Ae()("".concat(Pi,"-item"),(0,Ce.Z)({},"".concat(Pi,"-item-disabled"),qi)),title:It(pa)},He.createElement("span",{className:"".concat(Pi,"-item-content")},ha),aa&&He.createElement(Ye,{className:"".concat(Pi,"-item-remove"),onMouseDown:st,onClick:Ao,customizeIcon:ln},"\xD7"))}function Or(pa,ha,qi,aa,Ao){var Di=function(Ea){st(Ea),Ln(!Pn)};return He.createElement("span",{onMouseDown:Di},In({label:ha,value:pa,disabled:qi,closable:aa,onClose:Ao}))}function Lr(pa){var ha=pa.disabled,qi=pa.label,aa=pa.value,Ao=!bn&&!ha,Di=qi;if(typeof Mt=="number"&&(typeof qi=="string"||typeof qi=="number")){var Ti=String(Di);Ti.length>Mt&&(Di="".concat(Ti.slice(0,Mt),"..."))}var Ea=function(jo){jo&&jo.stopPropagation(),Un(pa)};return typeof In=="function"?Or(aa,Di,ha,Ao,Ea):Vi(pa,Di,ha,Ao,Ea)}function ia(pa){var ha=typeof hn=="function"?hn(pa):hn;return Vi({title:ha},ha,!1)}var Zi=He.createElement("div",{className:"".concat(Pi,"-search"),style:{width:Gi},onFocus:function(){Qi(!0)},onBlur:function(){Qi(!1)}},He.createElement(Te,{ref:gr,open:Pn,prefixCls:nn,id:Gt,inputElement:null,disabled:bn,autoFocus:pn,autoComplete:An,editable:lo,activeDescendantId:dn,value:xa,onKeyDown:Sr,onMouseDown:Wr,onChange:Gn,onPaste:cr,onCompositionStart:gi,onCompositionEnd:ki,tabIndex:Hn,attrs:(0,Le.Z)(Ct,!0)}),He.createElement("span",{ref:si,className:"".concat(Pi,"-search-mirror"),"aria-hidden":!0},xa,"\xA0")),ma=He.createElement(Pe.Z,{prefixCls:"".concat(Pi,"-overflow"),data:_n,renderItem:Lr,renderRest:ia,suffix:Zi,itemKey:Me,maxCount:jn});return He.createElement(He.Fragment,null,ma,!_n.length&&!xa&&He.createElement("span",{className:"".concat(Pi,"-placeholder")},Cr))},ut=zt,tt=function(Ct){var Gt=Ct.inputElement,nn=Ct.prefixCls,_n=Ct.id,Pn=Ct.inputRef,Sn=Ct.disabled,rr=Ct.autoFocus,gr=Ct.autoComplete,Cr=Ct.activeDescendantId,bn=Ct.mode,$n=Ct.open,Jt=Ct.values,pn=Ct.placeholder,An=Ct.tabIndex,dn=Ct.showSearch,Hn=Ct.searchValue,ln=Ct.activeValue,jn=Ct.maxLength,Mt=Ct.onInputKeyDown,cn=Ct.onInputMouseDown,hn=Ct.onInputChange,In=Ct.onInputPaste,Ln=Ct.onInputCompositionStart,Un=Ct.onInputCompositionEnd,Gn=Ct.title,cr=He.useState(!1),Sr=(0,xe.Z)(cr,2),Wr=Sr[0],gi=Sr[1],ki=bn==="combobox",si=ki||dn,wi=Jt[0],Qr=Hn||"";ki&&ln&&!Wr&&(Qr=ln),He.useEffect(function(){ki&&gi(!1)},[ki,ln]);var Gi=bn!=="combobox"&&!$n&&!dn?!1:!!Qr,Hi=Gn===void 0?It(wi):Gn,$i=function(){if(wi)return null;var li=Gi?{visibility:"hidden"}:void 0;return He.createElement("span",{className:"".concat(nn,"-selection-placeholder"),style:li},pn)};return He.createElement(He.Fragment,null,He.createElement("span",{className:"".concat(nn,"-selection-search")},He.createElement(Te,{ref:Pn,prefixCls:nn,id:_n,open:$n,inputElement:Gt,disabled:Sn,autoFocus:rr,autoComplete:gr,editable:si,activeDescendantId:Cr,value:Qr,onKeyDown:Mt,onMouseDown:cn,onChange:function(li){gi(!0),hn(li)},onPaste:In,onCompositionStart:Ln,onCompositionEnd:Un,tabIndex:An,attrs:(0,Le.Z)(Ct,!0),maxLength:ki?jn:void 0})),!ki&&wi?He.createElement("span",{className:"".concat(nn,"-selection-item"),title:Hi,style:Gi?{visibility:"hidden"}:void 0},wi.label):null,$i())},at=tt;function Nt(At){return![Se.Z.ESC,Se.Z.SHIFT,Se.Z.BACKSPACE,Se.Z.TAB,Se.Z.WIN_KEY,Se.Z.ALT,Se.Z.META,Se.Z.WIN_KEY_RIGHT,Se.Z.CTRL,Se.Z.SEMICOLON,Se.Z.EQUALS,Se.Z.CAPS_LOCK,Se.Z.CONTEXT_MENU,Se.Z.F1,Se.Z.F2,Se.Z.F3,Se.Z.F4,Se.Z.F5,Se.Z.F6,Se.Z.F7,Se.Z.F8,Se.Z.F9,Se.Z.F10,Se.Z.F11,Se.Z.F12].includes(At)}var on=function(Ct,Gt){var nn=(0,He.useRef)(null),_n=(0,He.useRef)(!1),Pn=Ct.prefixCls,Sn=Ct.open,rr=Ct.mode,gr=Ct.showSearch,Cr=Ct.tokenWithEnter,bn=Ct.autoClearSearchValue,$n=Ct.onSearch,Jt=Ct.onSearchSubmit,pn=Ct.onToggleOpen,An=Ct.onInputKeyDown,dn=Ct.domRef;He.useImperativeHandle(Gt,function(){return{focus:function(){nn.current.focus()},blur:function(){nn.current.blur()}}});var Hn=me(0),ln=(0,xe.Z)(Hn,2),jn=ln[0],Mt=ln[1],cn=function(Qr){var Gi=Qr.which;(Gi===Se.Z.UP||Gi===Se.Z.DOWN)&&Qr.preventDefault(),An&&An(Qr),Gi===Se.Z.ENTER&&rr==="tags"&&!_n.current&&!Sn&&(Jt==null||Jt(Qr.target.value)),Nt(Gi)&&pn(!0)},hn=function(){Mt(!0)},In=(0,He.useRef)(null),Ln=function(Qr){$n(Qr,!0,_n.current)!==!1&&pn(!0)},Un=function(){_n.current=!0},Gn=function(Qr){_n.current=!1,rr!=="combobox"&&Ln(Qr.target.value)},cr=function(Qr){var Gi=Qr.target.value;if(Cr&&In.current&&/[\r\n]/.test(In.current)){var Hi=In.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Gi=Gi.replace(Hi,In.current)}In.current=null,Ln(Gi)},Sr=function(Qr){var Gi=Qr.clipboardData,Hi=Gi.getData("text");In.current=Hi},Wr=function(Qr){var Gi=Qr.target;if(Gi!==nn.current){var Hi=document.body.style.msTouchAction!==void 0;Hi?setTimeout(function(){nn.current.focus()}):nn.current.focus()}},gi=function(Qr){var Gi=jn();Qr.target!==nn.current&&!Gi&&rr!=="combobox"&&Qr.preventDefault(),(rr!=="combobox"&&(!gr||!Gi)||!Sn)&&(Sn&&bn!==!1&&$n("",!0,!1),pn())},ki={inputRef:nn,onInputKeyDown:cn,onInputMouseDown:hn,onInputChange:cr,onInputPaste:Sr,onInputCompositionStart:Un,onInputCompositionEnd:Gn},si=rr==="multiple"||rr==="tags"?He.createElement(ut,(0,ee.Z)({},Ct,ki)):He.createElement(at,(0,ee.Z)({},Ct,ki));return He.createElement("div",{ref:dn,className:"".concat(Pn,"-selector"),onClick:Wr,onMouseDown:gi},si)},Ht=He.forwardRef(on);Ht.displayName="Selector";var Fn=Ht,Qt=te(35593),Ut=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Wt=function(Ct){var Gt=Ct===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Gt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Gt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Gt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Gt,adjustY:1},htmlRegion:"scroll"}}},Ie=function(Ct,Gt){var nn=Ct.prefixCls,_n=Ct.disabled,Pn=Ct.visible,Sn=Ct.children,rr=Ct.popupElement,gr=Ct.animation,Cr=Ct.transitionName,bn=Ct.dropdownStyle,$n=Ct.dropdownClassName,Jt=Ct.direction,pn=Jt===void 0?"ltr":Jt,An=Ct.placement,dn=Ct.builtinPlacements,Hn=Ct.dropdownMatchSelectWidth,ln=Ct.dropdownRender,jn=Ct.dropdownAlign,Mt=Ct.getPopupContainer,cn=Ct.empty,hn=Ct.getTriggerDOMNode,In=Ct.onPopupVisibleChange,Ln=Ct.onPopupMouseEnter,Un=(0,Ee.Z)(Ct,Ut),Gn="".concat(nn,"-dropdown"),cr=rr;ln&&(cr=ln(rr));var Sr=He.useMemo(function(){return dn||Wt(Hn)},[dn,Hn]),Wr=gr?"".concat(Gn,"-").concat(gr):Cr,gi=typeof Hn=="number",ki=He.useMemo(function(){return gi?null:Hn===!1?"minWidth":"width"},[Hn,gi]),si=bn;gi&&(si=(0,We.Z)((0,We.Z)({},si),{},{width:Hn}));var wi=He.useRef(null);return He.useImperativeHandle(Gt,function(){return{getPopupElement:function(){return wi.current}}}),He.createElement(Qt.Z,(0,ee.Z)({},Un,{showAction:In?["click"]:[],hideAction:In?["click"]:[],popupPlacement:An||(pn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Sr,prefixCls:Gn,popupTransitionName:Wr,popup:He.createElement("div",{ref:wi,onMouseEnter:Ln},cr),stretch:ki,popupAlign:jn,popupVisible:Pn,getPopupContainer:Mt,popupClassName:Ae()($n,(0,Ce.Z)({},"".concat(Gn,"-empty"),cn)),popupStyle:si,getTriggerDOMNode:hn,onPopupVisibleChange:In}),Sn)},he=He.forwardRef(Ie);he.displayName="SelectTrigger";var ue=he,ve=te(48745);function ye(At,Ct){var Gt=At.key,nn;return"value"in At&&(nn=At.value),Gt!=null?Gt:nn!==void 0?nn:"rc-index-key-".concat(Ct)}function se(At,Ct){var Gt=At||{},nn=Gt.label,_n=Gt.value,Pn=Gt.options,Sn=Gt.groupLabel,rr=nn||(Ct?"children":"label");return{label:rr,value:_n||"value",options:Pn||"options",groupLabel:Sn||rr}}function $e(At){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Gt=Ct.fieldNames,nn=Ct.childrenAsData,_n=[],Pn=se(Gt,!1),Sn=Pn.label,rr=Pn.value,gr=Pn.options,Cr=Pn.groupLabel;function bn($n,Jt){$n.forEach(function(pn){if(Jt||!(gr in pn)){var An=pn[rr];_n.push({key:ye(pn,_n.length),groupOption:Jt,data:pn,label:pn[Sn],value:An})}else{var dn=pn[Cr];dn===void 0&&nn&&(dn=pn.label),_n.push({key:ye(pn,_n.length),group:!0,data:pn,label:dn}),bn(pn[gr],!0)}})}return bn(At,!1),_n}function wt(At){var Ct=(0,We.Z)({},At);return"props"in Ct||Object.defineProperty(Ct,"props",{get:function(){return(0,Fe.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ct}}),Ct}function lt(At,Ct){if(!Ct||!Ct.length)return null;var Gt=!1;function nn(Pn,Sn){var rr=(0,ve.Z)(Sn),gr=rr[0],Cr=rr.slice(1);if(!gr)return[Pn];var bn=Pn.split(gr);return Gt=Gt||bn.length>1,bn.reduce(function($n,Jt){return[].concat((0,de.Z)($n),(0,de.Z)(nn(Jt,Cr)))},[]).filter(function($n){return $n})}var _n=nn(At,Ct);return Gt?_n:null}var Je=["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"],Pt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Dt(At){return At==="tags"||At==="multiple"}var yt=He.forwardRef(function(At,Ct){var Gt,nn,_n=At.id,Pn=At.prefixCls,Sn=At.className,rr=At.showSearch,gr=At.tagRender,Cr=At.direction,bn=At.omitDomProps,$n=At.displayValues,Jt=At.onDisplayValuesChange,pn=At.emptyOptions,An=At.notFoundContent,dn=An===void 0?"Not Found":An,Hn=At.onClear,ln=At.mode,jn=At.disabled,Mt=At.loading,cn=At.getInputElement,hn=At.getRawInputElement,In=At.open,Ln=At.defaultOpen,Un=At.onDropdownVisibleChange,Gn=At.activeValue,cr=At.onActiveValueChange,Sr=At.activeDescendantId,Wr=At.searchValue,gi=At.autoClearSearchValue,ki=At.onSearch,si=At.onSearchSplit,wi=At.tokenSeparators,Qr=At.allowClear,Gi=At.suffixIcon,Hi=At.clearIcon,$i=At.OptionList,Ai=At.animation,li=At.transitionName,Qi=At.dropdownStyle,Pi=At.dropdownClassName,xa=At.dropdownMatchSelectWidth,lo=At.dropdownRender,Vi=At.dropdownAlign,Or=At.placement,Lr=At.builtinPlacements,ia=At.getPopupContainer,Zi=At.showAction,ma=Zi===void 0?[]:Zi,pa=At.onFocus,ha=At.onBlur,qi=At.onKeyUp,aa=At.onKeyDown,Ao=At.onMouseDown,Di=(0,Ee.Z)(At,Je),Ti=Dt(ln),Ea=(rr!==void 0?rr:Ti)||ln==="combobox",_a=(0,We.Z)({},Di);Pt.forEach(function(al){delete _a[al]}),bn==null||bn.forEach(function(al){delete _a[al]});var jo=He.useState(!1),Zo=(0,xe.Z)(jo,2),ko=Zo[0],vo=Zo[1];He.useEffect(function(){vo((0,we.Z)())},[]);var Ar=He.useRef(null),il=He.useRef(null),_i=He.useRef(null),Li=He.useRef(null),Mi=He.useRef(null),ea=_e(),mo=(0,xe.Z)(ea,3),Vo=mo[0],qo=mo[1],Uo=mo[2];He.useImperativeHandle(Ct,function(){var al,Ho;return{focus:(al=Li.current)===null||al===void 0?void 0:al.focus,blur:(Ho=Li.current)===null||Ho===void 0?void 0:Ho.blur,scrollTo:function(ds){var ts;return(ts=Mi.current)===null||ts===void 0?void 0:ts.scrollTo(ds)}}});var Co=He.useMemo(function(){var al;if(ln!=="combobox")return Wr;var Ho=(al=$n[0])===null||al===void 0?void 0:al.value;return typeof Ho=="string"||typeof Ho=="number"?String(Ho):""},[Wr,ln,$n]),ul=ln==="combobox"&&typeof cn=="function"&&cn()||null,Wl=typeof hn=="function"&&hn(),Il=(0,Ne.x1)(il,Wl==null||(Gt=Wl.props)===null||Gt===void 0?void 0:Gt.ref),ms=He.useState(!1),Qa=(0,xe.Z)(ms,2),la=Qa[0],cl=Qa[1];(0,ge.Z)(function(){cl(!0)},[]);var To=(0,be.Z)(!1,{defaultValue:Ln,value:In}),Go=(0,xe.Z)(To,2),nr=Go[0],Qn=Go[1],Zn=la?nr:!1,xr=!dn&&pn;(jn||xr&&Zn&&ln==="combobox")&&(Zn=!1);var ni=xr?!1:Zn,ti=He.useCallback(function(al){var Ho=al!==void 0?al:!Zn;jn||(Qn(Ho),Zn!==Ho&&(Un==null||Un(Ho)))},[jn,Zn,Qn,Un]),yr=He.useMemo(function(){return(wi||[]).some(function(al){return[`
|
|
|
`,`\r
|
|
|
`].includes(al)})},[wi]),Bi=function(Ho,Ul,ds){var ts=!0,Ns=Ho;cr==null||cr(null);var Cs=ds?null:lt(Ho,wi);return ln!=="combobox"&&Cs&&(Ns="",si==null||si(Cs),ti(!1),ts=!1),ki&&Co!==Ns&&ki(Ns,{source:Ul?"typing":"effect"}),ts},ga=function(Ho){!Ho||!Ho.trim()||ki(Ho,{source:"submit"})};He.useEffect(function(){!Zn&&!Ti&&ln!=="combobox"&&Bi("",!1,!1)},[Zn]),He.useEffect(function(){nr&&jn&&Qn(!1),jn&&qo(!1)},[jn]);var Ka=me(),va=(0,xe.Z)(Ka,2),bi=va[0],ta=va[1],Xr=function(Ho){var Ul=bi(),ds=Ho.which;if(ds===Se.Z.ENTER&&(ln!=="combobox"&&Ho.preventDefault(),Zn||ti(!0)),ta(!!Co),ds===Se.Z.BACKSPACE&&!Ul&&Ti&&!Co&&$n.length){for(var ts=(0,de.Z)($n),Ns=null,Cs=ts.length-1;Cs>=0;Cs-=1){var No=ts[Cs];if(!No.disabled){ts.splice(Cs,1),Ns=No;break}}Ns&&Jt(ts,{type:"remove",values:[Ns]})}for(var Qs=arguments.length,Su=new Array(Qs>1?Qs-1:0),hu=1;hu<Qs;hu++)Su[hu-1]=arguments[hu];if(Zn&&Mi.current){var js;(js=Mi.current).onKeyDown.apply(js,[Ho].concat(Su))}aa==null||aa.apply(void 0,[Ho].concat(Su))},Lo=function(Ho){for(var Ul=arguments.length,ds=new Array(Ul>1?Ul-1:0),ts=1;ts<Ul;ts++)ds[ts-1]=arguments[ts];if(Zn&&Mi.current){var Ns;(Ns=Mi.current).onKeyUp.apply(Ns,[Ho].concat(ds))}qi==null||qi.apply(void 0,[Ho].concat(ds))},Aa=function(Ho){var Ul=$n.filter(function(ds){return ds!==Ho});Jt(Ul,{type:"remove",values:[Ho]})},Fa=He.useRef(!1),yo=function(){qo(!0),jn||(pa&&!Fa.current&&pa.apply(void 0,arguments),ma.includes("focus")&&ti(!0)),Fa.current=!0},tl=function(){qo(!1,function(){Fa.current=!1,ti(!1)}),!jn&&(Co&&(ln==="tags"?ki(Co,{source:"submit"}):ln==="multiple"&&ki("",{source:"blur"})),ha&&ha.apply(void 0,arguments))},xl=[];He.useEffect(function(){return function(){xl.forEach(function(al){return clearTimeout(al)}),xl.splice(0,xl.length)}},[]);var as=function(Ho){var Ul,ds=Ho.target,ts=(Ul=_i.current)===null||Ul===void 0?void 0:Ul.getPopupElement();if(ts&&ts.contains(ds)){var Ns=setTimeout(function(){var Su=xl.indexOf(Ns);if(Su!==-1&&xl.splice(Su,1),Uo(),!ko&&!ts.contains(document.activeElement)){var hu;(hu=Li.current)===null||hu===void 0||hu.focus()}});xl.push(Ns)}for(var Cs=arguments.length,No=new Array(Cs>1?Cs-1:0),Qs=1;Qs<Cs;Qs++)No[Qs-1]=arguments[Qs];Ao==null||Ao.apply(void 0,[Ho].concat(No))},Yo=He.useState({}),Ys=(0,xe.Z)(Yo,2),Ts=Ys[1];function os(){Ts({})}var cs;Wl&&(cs=function(Ho){ti(Ho)}),Re(function(){var al;return[Ar.current,(al=_i.current)===null||al===void 0?void 0:al.getPopupElement()]},ni,ti,!!Wl);var du=He.useMemo(function(){return(0,We.Z)((0,We.Z)({},At),{},{notFoundContent:dn,open:Zn,triggerOpen:ni,id:_n,showSearch:Ea,multiple:Ti,toggleOpen:ti})},[At,dn,ni,Zn,_n,Ea,Ti,ti]),ps=!!Gi||Mt,Bo;ps&&(Bo=He.createElement(Ye,{className:Ae()("".concat(Pn,"-arrow"),(0,Ce.Z)({},"".concat(Pn,"-arrow-loading"),Mt)),customizeIcon:Gi,customizeIconProps:{loading:Mt,searchValue:Co,open:Zn,focused:Vo,showSearch:Ea}}));var wu=function(){var Ho;Hn==null||Hn(),(Ho=Li.current)===null||Ho===void 0||Ho.focus(),Jt([],{type:"clear",values:$n}),Bi("",!1,!1)},fu=et(Pn,wu,$n,Qr,Hi,jn,Co,ln),gs=fu.allowClear,Vl=fu.clearIcon,El=He.createElement($i,{ref:Mi}),yu=Ae()(Pn,Sn,(nn={},(0,Ce.Z)(nn,"".concat(Pn,"-focused"),Vo),(0,Ce.Z)(nn,"".concat(Pn,"-multiple"),Ti),(0,Ce.Z)(nn,"".concat(Pn,"-single"),!Ti),(0,Ce.Z)(nn,"".concat(Pn,"-allow-clear"),Qr),(0,Ce.Z)(nn,"".concat(Pn,"-show-arrow"),ps),(0,Ce.Z)(nn,"".concat(Pn,"-disabled"),jn),(0,Ce.Z)(nn,"".concat(Pn,"-loading"),Mt),(0,Ce.Z)(nn,"".concat(Pn,"-open"),Zn),(0,Ce.Z)(nn,"".concat(Pn,"-customize-input"),ul),(0,Ce.Z)(nn,"".concat(Pn,"-show-search"),Ea),nn)),Pu=He.createElement(ue,{ref:_i,disabled:jn,prefixCls:Pn,visible:ni,popupElement:El,animation:Ai,transitionName:li,dropdownStyle:Qi,dropdownClassName:Pi,direction:Cr,dropdownMatchSelectWidth:xa,dropdownRender:lo,dropdownAlign:Vi,placement:Or,builtinPlacements:Lr,getPopupContainer:ia,empty:pn,getTriggerDOMNode:function(){return il.current},onPopupVisibleChange:cs,onPopupMouseEnter:os},Wl?He.cloneElement(Wl,{ref:Il}):He.createElement(Fn,(0,ee.Z)({},At,{domRef:il,prefixCls:Pn,inputElement:ul,ref:Li,id:_n,showSearch:Ea,autoClearSearchValue:gi,mode:ln,activeDescendantId:Sr,tagRender:gr,values:$n,open:Zn,onToggleOpen:ti,activeValue:Gn,searchValue:Co,onSearch:Bi,onSearchSubmit:ga,onRemove:Aa,tokenWithEnter:yr}))),bs;return Wl?bs=Pu:bs=He.createElement("div",(0,ee.Z)({className:yu},_a,{ref:Ar,onMouseDown:as,onKeyDown:Xr,onKeyUp:Lo,onFocus:yo,onBlur:tl}),Vo&&!Zn&&He.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat($n.map(function(al){var Ho=al.label,Ul=al.value;return["number","string"].includes((0,fe.Z)(Ho))?Ho:Ul}).join(", "))),Pu,Bo,gs&&Vl),He.createElement(Ke.Provider,{value:du},bs)}),jt=yt,En=function(At,Ct){var Gt=He.useRef({values:new Map,options:new Map}),nn=He.useMemo(function(){var Pn=Gt.current,Sn=Pn.values,rr=Pn.options,gr=At.map(function($n){if($n.label===void 0){var Jt;return(0,We.Z)((0,We.Z)({},$n),{},{label:(Jt=Sn.get($n.value))===null||Jt===void 0?void 0:Jt.label})}return $n}),Cr=new Map,bn=new Map;return gr.forEach(function($n){Cr.set($n.value,$n),bn.set($n.value,Ct.get($n.value)||rr.get($n.value))}),Gt.current.values=Cr,Gt.current.options=bn,gr},[At,Ct]),_n=He.useCallback(function(Pn){return Ct.get(Pn)||Gt.current.options.get(Pn)},[Ct]);return[nn,_n]};function _t(At,Ct){return xt(At).join("").toUpperCase().includes(Ct)}var Yt=function(At,Ct,Gt,nn,_n){return He.useMemo(function(){if(!Gt||nn===!1)return At;var Pn=Ct.options,Sn=Ct.label,rr=Ct.value,gr=[],Cr=typeof nn=="function",bn=Gt.toUpperCase(),$n=Cr?nn:function(pn,An){return _n?_t(An[_n],bn):An[Pn]?_t(An[Sn!=="children"?Sn:"label"],bn):_t(An[rr],bn)},Jt=Cr?function(pn){return wt(pn)}:function(pn){return pn};return At.forEach(function(pn){if(pn[Pn]){var An=$n(Gt,Jt(pn));if(An)gr.push(pn);else{var dn=pn[Pn].filter(function(Hn){return $n(Gt,Jt(Hn))});dn.length&&gr.push((0,We.Z)((0,We.Z)({},pn),{},(0,Ce.Z)({},Pn,dn)))}return}$n(Gt,Jt(pn))&&gr.push(pn)}),gr},[At,nn,_n,Gt,Ct])},wn=te(17115),Ft=te(11592),it=["children","value"],Et=["children"];function an(At){var Ct=At,Gt=Ct.key,nn=Ct.props,_n=nn.children,Pn=nn.value,Sn=(0,Ee.Z)(nn,it);return(0,We.Z)({key:Gt,value:Pn!==void 0?Pn:Gt,children:_n},Sn)}function un(At){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Ft.Z)(At).map(function(Gt,nn){if(!He.isValidElement(Gt)||!Gt.type)return null;var _n=Gt,Pn=_n.type.isSelectOptGroup,Sn=_n.key,rr=_n.props,gr=rr.children,Cr=(0,Ee.Z)(rr,Et);return Ct||!Pn?an(Gt):(0,We.Z)((0,We.Z)({key:"__RC_SELECT_GRP__".concat(Sn===null?nn:Sn,"__"),label:Sn},Cr),{},{options:un(gr)})}).filter(function(Gt){return Gt})}function vn(At,Ct,Gt,nn,_n){return He.useMemo(function(){var Pn=At,Sn=!At;Sn&&(Pn=un(Ct));var rr=new Map,gr=new Map,Cr=function(Jt,pn,An){An&&typeof An=="string"&&Jt.set(pn[An],pn)};function bn($n){for(var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pn=0;pn<$n.length;pn+=1){var An=$n[pn];!An[Gt.options]||Jt?(rr.set(An[Gt.value],An),Cr(gr,An,Gt.label),Cr(gr,An,nn),Cr(gr,An,_n)):bn(An[Gt.options],!0)}}return bn(Pn),{options:Pn,valueOptions:rr,labelOptions:gr}},[At,Ct,Gt,nn,_n])}function gn(At){var Ct=He.useRef();Ct.current=At;var Gt=He.useCallback(function(){return Ct.current.apply(Ct,arguments)},[]);return Gt}var Xn=function(){return null};Xn.isSelectOptGroup=!0;var ir=Xn,Dr=function(){return null};Dr.isSelectOption=!0;var kr=Dr,Bn=te(80547),jr=te(2738),ci=te(48911),_r=He.createContext(null),Nr=_r;function ai(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var pi=["disabled","title","children","style","className"];function Mn(At){return typeof At=="string"||typeof At=="number"}var pr=function(Ct,Gt){var nn=Oe(),_n=nn.prefixCls,Pn=nn.id,Sn=nn.open,rr=nn.multiple,gr=nn.mode,Cr=nn.searchValue,bn=nn.toggleOpen,$n=nn.notFoundContent,Jt=nn.onPopupScroll,pn=He.useContext(Nr),An=pn.flattenOptions,dn=pn.onActiveValue,Hn=pn.defaultActiveFirstOption,ln=pn.onSelect,jn=pn.menuItemSelectedIcon,Mt=pn.rawValues,cn=pn.fieldNames,hn=pn.virtual,In=pn.direction,Ln=pn.listHeight,Un=pn.listItemHeight,Gn="".concat(_n,"-item"),cr=(0,Bn.Z)(function(){return An},[Sn,An],function(Vi,Or){return Or[0]&&Vi[1]!==Or[1]}),Sr=He.useRef(null),Wr=function(Or){Or.preventDefault()},gi=function(Or){Sr.current&&Sr.current.scrollTo(typeof Or=="number"?{index:Or}:Or)},ki=function(Or){for(var Lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ia=cr.length,Zi=0;Zi<ia;Zi+=1){var ma=(Or+Zi*Lr+ia)%ia,pa=cr[ma],ha=pa.group,qi=pa.data;if(!ha&&!qi.disabled)return ma}return-1},si=He.useState(function(){return ki(0)}),wi=(0,xe.Z)(si,2),Qr=wi[0],Gi=wi[1],Hi=function(Or){var Lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Gi(Or);var ia={source:Lr?"keyboard":"mouse"},Zi=cr[Or];if(!Zi){dn(null,-1,ia);return}dn(Zi.value,Or,ia)};(0,He.useEffect)(function(){Hi(Hn!==!1?ki(0):-1)},[cr.length,Cr]);var $i=He.useCallback(function(Vi){return Mt.has(Vi)&&gr!=="combobox"},[gr,(0,de.Z)(Mt).toString(),Mt.size]);(0,He.useEffect)(function(){var Vi=setTimeout(function(){if(!rr&&Sn&&Mt.size===1){var Lr=Array.from(Mt)[0],ia=cr.findIndex(function(Zi){var ma=Zi.data;return ma.value===Lr});ia!==-1&&(Hi(ia),gi(ia))}});if(Sn){var Or;(Or=Sr.current)===null||Or===void 0||Or.scrollTo(void 0)}return function(){return clearTimeout(Vi)}},[Sn,Cr,An.length]);var Ai=function(Or){Or!==void 0&&ln(Or,{selected:!Mt.has(Or)}),rr||bn(!1)};if(He.useImperativeHandle(Gt,function(){return{onKeyDown:function(Or){var Lr=Or.which,ia=Or.ctrlKey;switch(Lr){case Se.Z.N:case Se.Z.P:case Se.Z.UP:case Se.Z.DOWN:{var Zi=0;if(Lr===Se.Z.UP?Zi=-1:Lr===Se.Z.DOWN?Zi=1:ai()&&ia&&(Lr===Se.Z.N?Zi=1:Lr===Se.Z.P&&(Zi=-1)),Zi!==0){var ma=ki(Qr+Zi,Zi);gi(ma),Hi(ma,!0)}break}case Se.Z.ENTER:{var pa=cr[Qr];pa&&!pa.data.disabled?Ai(pa.value):Ai(void 0),Sn&&Or.preventDefault();break}case Se.Z.ESC:bn(!1),Sn&&Or.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Or){gi(Or)}}}),cr.length===0)return He.createElement("div",{role:"listbox",id:"".concat(Pn,"_list"),className:"".concat(Gn,"-empty"),onMouseDown:Wr},$n);var li=Object.keys(cn).map(function(Vi){return cn[Vi]}),Qi=function(Or){return Or.label};function Pi(Vi,Or){var Lr=Vi.group;return{role:Lr?"presentation":"option",id:"".concat(Pn,"_list_").concat(Or)}}var xa=function(Or){var Lr=cr[Or];if(!Lr)return null;var ia=Lr.data||{},Zi=ia.value,ma=Lr.group,pa=(0,Le.Z)(ia,!0),ha=Qi(Lr);return Lr?He.createElement("div",(0,ee.Z)({"aria-label":typeof ha=="string"&&!ma?ha:null},pa,{key:Or},Pi(Lr,Or),{"aria-selected":$i(Zi)}),Zi):null},lo={role:"listbox",id:"".concat(Pn,"_list")};return He.createElement(He.Fragment,null,hn&&He.createElement("div",(0,ee.Z)({},lo,{style:{height:0,width:0,overflow:"hidden"}}),xa(Qr-1),xa(Qr),xa(Qr+1)),He.createElement(ci.Z,{itemKey:"key",ref:Sr,data:cr,height:Ln,itemHeight:Un,fullHeight:!1,onMouseDown:Wr,onScroll:Jt,virtual:hn,direction:In,innerProps:hn?null:lo},function(Vi,Or){var Lr,ia=Vi.group,Zi=Vi.groupOption,ma=Vi.data,pa=Vi.label,ha=Vi.value,qi=ma.key;if(ia){var aa,Ao=(aa=ma.title)!==null&&aa!==void 0?aa:Mn(pa)?pa.toString():void 0;return He.createElement("div",{className:Ae()(Gn,"".concat(Gn,"-group")),title:Ao},pa!==void 0?pa:qi)}var Di=ma.disabled,Ti=ma.title,Ea=ma.children,_a=ma.style,jo=ma.className,Zo=(0,Ee.Z)(ma,pi),ko=(0,jr.Z)(Zo,li),vo=$i(ha),Ar="".concat(Gn,"-option"),il=Ae()(Gn,Ar,jo,(Lr={},(0,Ce.Z)(Lr,"".concat(Ar,"-grouped"),Zi),(0,Ce.Z)(Lr,"".concat(Ar,"-active"),Qr===Or&&!Di),(0,Ce.Z)(Lr,"".concat(Ar,"-disabled"),Di),(0,Ce.Z)(Lr,"".concat(Ar,"-selected"),vo),Lr)),_i=Qi(Vi),Li=!jn||typeof jn=="function"||vo,Mi=typeof _i=="number"?_i:_i||ha,ea=Mn(Mi)?Mi.toString():void 0;return Ti!==void 0&&(ea=Ti),He.createElement("div",(0,ee.Z)({},(0,Le.Z)(ko),hn?{}:Pi(Vi,Or),{"aria-selected":vo,className:il,title:ea,onMouseMove:function(){Qr===Or||Di||Hi(Or)},onClick:function(){Di||Ai(ha)},style:_a}),He.createElement("div",{className:"".concat(Ar,"-content")},Mi),He.isValidElement(jn)||vo,Li&&He.createElement(Ye,{className:"".concat(Gn,"-option-state"),customizeIcon:jn,customizeIconProps:{isSelected:vo}},vo?"\u2713":null))}))},Rr=He.forwardRef(pr);Rr.displayName="OptionList";var Gr=Rr;function zr(At){var Ct=At.mode,Gt=At.options,nn=At.children,_n=At.backfill,Pn=At.allowClear,Sn=At.placeholder,rr=At.getInputElement,gr=At.showSearch,Cr=At.onSearch,bn=At.defaultOpen,$n=At.autoFocus,Jt=At.labelInValue,pn=At.value,An=At.inputValue,dn=At.optionLabelProp,Hn=isMultiple(Ct),ln=gr!==void 0?gr:Hn||Ct==="combobox",jn=Gt||convertChildrenToData(nn);if(warning(Ct!=="tags"||jn.every(function(In){return!In.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ct==="tags"||Ct==="combobox"){var Mt=jn.some(function(In){return In.options?In.options.some(function(Ln){return typeof("value"in Ln?Ln.value:Ln.key)=="number"}):typeof("value"in In?In.value:In.key)=="number"});warning(!Mt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ct!=="combobox"||!dn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ct==="combobox"||!_n,"`backfill` only works with `combobox` mode."),warning(Ct==="combobox"||!rr,"`getInputElement` only work with `combobox` mode."),noteOnce(Ct!=="combobox"||!rr||!Pn||!Sn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Cr&&!ln&&Ct!=="combobox"&&Ct!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!bn||$n,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),pn!=null){var cn=toArray(pn);warning(!Jt||cn.every(function(In){return _typeof(In)==="object"&&("key"in In||"value"in In)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Hn||Array.isArray(pn),"`value` should be array when `mode` is `multiple` or `tags`")}if(nn){var hn=null;toNodeArray(nn).some(function(In){if(!React.isValidElement(In)||!In.type)return!1;var Ln=In,Un=Ln.type;if(Un.isSelectOption)return!1;if(Un.isSelectOptGroup){var Gn=toNodeArray(In.props.children).every(function(cr){return!React.isValidElement(cr)||!In.type||cr.type.isSelectOption?!0:(hn=cr.type,!1)});return!Gn}return hn=Un,!0}),hn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(hn.displayName||hn.name||hn,"`.")),warning(An===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ei(At,Ct){if(At){var Gt=function nn(_n){for(var Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sn=0;Sn<_n.length;Sn++){var rr=_n[Sn];if(rr[Ct==null?void 0:Ct.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Pn&&Array.isArray(rr[Ct==null?void 0:Ct.options])&&nn(rr[Ct==null?void 0:Ct.options],!0))break}};Gt(At)}}var Hr=null,fi=["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"],Pr=["inputValue"];function dr(At){return!At||(0,fe.Z)(At)!=="object"}var oi=He.forwardRef(function(At,Ct){var Gt=At.id,nn=At.mode,_n=At.prefixCls,Pn=_n===void 0?"rc-select":_n,Sn=At.backfill,rr=At.fieldNames,gr=At.inputValue,Cr=At.searchValue,bn=At.onSearch,$n=At.autoClearSearchValue,Jt=$n===void 0?!0:$n,pn=At.onSelect,An=At.onDeselect,dn=At.dropdownMatchSelectWidth,Hn=dn===void 0?!0:dn,ln=At.filterOption,jn=At.filterSort,Mt=At.optionFilterProp,cn=At.optionLabelProp,hn=At.options,In=At.children,Ln=At.defaultActiveFirstOption,Un=At.menuItemSelectedIcon,Gn=At.virtual,cr=At.direction,Sr=At.listHeight,Wr=Sr===void 0?200:Sr,gi=At.listItemHeight,ki=gi===void 0?20:gi,si=At.value,wi=At.defaultValue,Qr=At.labelInValue,Gi=At.onChange,Hi=(0,Ee.Z)(At,fi),$i=(0,wn.ZP)(Gt),Ai=Dt(nn),li=!!(!hn&&In),Qi=He.useMemo(function(){return ln===void 0&&nn==="combobox"?!1:ln},[ln,nn]),Pi=He.useMemo(function(){return se(rr,li)},[JSON.stringify(rr),li]),xa=(0,be.Z)("",{value:Cr!==void 0?Cr:gr,postState:function(xr){return xr||""}}),lo=(0,xe.Z)(xa,2),Vi=lo[0],Or=lo[1],Lr=vn(hn,In,Pi,Mt,cn),ia=Lr.valueOptions,Zi=Lr.labelOptions,ma=Lr.options,pa=He.useCallback(function(Zn){var xr=xt(Zn);return xr.map(function(ni){var ti,yr,Bi,ga,Ka;if(dr(ni))ti=ni;else{var va;Bi=ni.key,yr=ni.label,ti=(va=ni.value)!==null&&va!==void 0?va:Bi}var bi=ia.get(ti);if(bi){var ta;if(yr===void 0&&(yr=bi==null?void 0:bi[cn||Pi.label]),Bi===void 0&&(Bi=(ta=bi==null?void 0:bi.key)!==null&&ta!==void 0?ta:ti),ga=bi==null?void 0:bi.disabled,Ka=bi==null?void 0:bi.title,0)var Xr}return{label:yr,value:ti,key:Bi,disabled:ga,title:Ka}})},[Pi,cn,ia]),ha=(0,be.Z)(wi,{value:si}),qi=(0,xe.Z)(ha,2),aa=qi[0],Ao=qi[1],Di=He.useMemo(function(){var Zn,xr=pa(aa);return nn==="combobox"&&mt((Zn=xr[0])===null||Zn===void 0?void 0:Zn.value)?[]:xr},[aa,pa,nn]),Ti=En(Di,ia),Ea=(0,xe.Z)(Ti,2),_a=Ea[0],jo=Ea[1],Zo=He.useMemo(function(){if(!nn&&_a.length===1){var Zn=_a[0];if(Zn.value===null&&(Zn.label===null||Zn.label===void 0))return[]}return _a.map(function(xr){var ni;return(0,We.Z)((0,We.Z)({},xr),{},{label:(ni=xr.label)!==null&&ni!==void 0?ni:xr.value})})},[nn,_a]),ko=He.useMemo(function(){return new Set(_a.map(function(Zn){return Zn.value}))},[_a]);He.useEffect(function(){if(nn==="combobox"){var Zn,xr=(Zn=_a[0])===null||Zn===void 0?void 0:Zn.value;Or(ot(xr)?String(xr):"")}},[_a]);var vo=gn(function(Zn,xr){var ni,ti=xr!=null?xr:Zn;return ni={},(0,Ce.Z)(ni,Pi.value,Zn),(0,Ce.Z)(ni,Pi.label,ti),ni}),Ar=He.useMemo(function(){if(nn!=="tags")return ma;var Zn=(0,de.Z)(ma),xr=function(ti){return ia.has(ti)};return(0,de.Z)(_a).sort(function(ni,ti){return ni.value<ti.value?-1:1}).forEach(function(ni){var ti=ni.value;xr(ti)||Zn.push(vo(ti,ni.label))}),Zn},[vo,ma,ia,_a,nn]),il=Yt(Ar,Pi,Vi,Qi,Mt),_i=He.useMemo(function(){return nn!=="tags"||!Vi||il.some(function(Zn){return Zn[Mt||"value"]===Vi})||il.some(function(Zn){return Zn[Pi.value]===Vi})?il:[vo(Vi)].concat((0,de.Z)(il))},[vo,Mt,nn,il,Vi,Pi]),Li=He.useMemo(function(){return jn?(0,de.Z)(_i).sort(function(Zn,xr){return jn(Zn,xr)}):_i},[_i,jn]),Mi=He.useMemo(function(){return $e(Li,{fieldNames:Pi,childrenAsData:li})},[Li,Pi,li]),ea=function(xr){var ni=pa(xr);if(Ao(ni),Gi&&(ni.length!==_a.length||ni.some(function(Bi,ga){var Ka;return((Ka=_a[ga])===null||Ka===void 0?void 0:Ka.value)!==(Bi==null?void 0:Bi.value)}))){var ti=Qr?ni:ni.map(function(Bi){return Bi.value}),yr=ni.map(function(Bi){return wt(jo(Bi.value))});Gi(Ai?ti:ti[0],Ai?yr:yr[0])}},mo=He.useState(null),Vo=(0,xe.Z)(mo,2),qo=Vo[0],Uo=Vo[1],Co=He.useState(0),ul=(0,xe.Z)(Co,2),Wl=ul[0],Il=ul[1],ms=Ln!==void 0?Ln:nn!=="combobox",Qa=He.useCallback(function(Zn,xr){var ni=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ti=ni.source,yr=ti===void 0?"keyboard":ti;Il(xr),Sn&&nn==="combobox"&&Zn!==null&&yr==="keyboard"&&Uo(String(Zn))},[Sn,nn]),la=function(xr,ni,ti){var yr=function(){var Fa,yo=jo(xr);return[Qr?{label:yo==null?void 0:yo[Pi.label],value:xr,key:(Fa=yo==null?void 0:yo.key)!==null&&Fa!==void 0?Fa:xr}:xr,wt(yo)]};if(ni&&pn){var Bi=yr(),ga=(0,xe.Z)(Bi,2),Ka=ga[0],va=ga[1];pn(Ka,va)}else if(!ni&&An&&ti!=="clear"){var bi=yr(),ta=(0,xe.Z)(bi,2),Xr=ta[0],Lo=ta[1];An(Xr,Lo)}},cl=gn(function(Zn,xr){var ni,ti=Ai?xr.selected:!0;ti?ni=Ai?[].concat((0,de.Z)(_a),[Zn]):[Zn]:ni=_a.filter(function(yr){return yr.value!==Zn}),ea(ni),la(Zn,ti),nn==="combobox"?Uo(""):(!Dt||Jt)&&(Or(""),Uo(""))}),To=function(xr,ni){ea(xr);var ti=ni.type,yr=ni.values;(ti==="remove"||ti==="clear")&&yr.forEach(function(Bi){la(Bi.value,!1,ti)})},Go=function(xr,ni){if(Or(xr),Uo(null),ni.source==="submit"){var ti=(xr||"").trim();if(ti){var yr=Array.from(new Set([].concat((0,de.Z)(ko),[ti])));ea(yr),la(ti,!0),Or("")}return}ni.source!=="blur"&&(nn==="combobox"&&ea(xr),bn==null||bn(xr))},nr=function(xr){var ni=xr;nn!=="tags"&&(ni=xr.map(function(yr){var Bi=Zi.get(yr);return Bi==null?void 0:Bi.value}).filter(function(yr){return yr!==void 0}));var ti=Array.from(new Set([].concat((0,de.Z)(ko),(0,de.Z)(ni))));ea(ti),ti.forEach(function(yr){la(yr,!0)})},Qn=He.useMemo(function(){var Zn=Gn!==!1&&Hn!==!1;return(0,We.Z)((0,We.Z)({},Lr),{},{flattenOptions:Mi,onActiveValue:Qa,defaultActiveFirstOption:ms,onSelect:cl,menuItemSelectedIcon:Un,rawValues:ko,fieldNames:Pi,virtual:Zn,direction:cr,listHeight:Wr,listItemHeight:ki,childrenAsData:li})},[Lr,Mi,Qa,ms,cl,Un,ko,Pi,Gn,Hn,Wr,ki,li]);return He.createElement(Nr.Provider,{value:Qn},He.createElement(jt,(0,ee.Z)({},Hi,{id:$i,prefixCls:Pn,ref:Ct,omitDomProps:Pr,mode:nn,displayValues:Zo,onDisplayValuesChange:To,direction:cr,searchValue:Vi,onSearch:Go,autoClearSearchValue:Jt,onSearchSplit:nr,dropdownMatchSelectWidth:Hn,OptionList:Gr,emptyOptions:!Mi.length,activeValue:qo,activeDescendantId:"".concat($i,"_list_").concat(Wl)})))}),$t=oi;$t.Option=kr,$t.OptGroup=ir;var pt=$t,Bt=pt},9296:function(tn,kt,te){"use strict";te.r(kt),te.d(kt,{ResizableTextArea:function(){return ze},default:function(){return mt}});var ee=te(60499),de=te(85899),Ce=te(18642),We=te(43749),xe=te(72190),Ee=te(42244),fe=te(77654),be=te(92310),Fe=te.n(be),He=te(93681),rt=te(5643),Ae=te(18929),ge=te(59301),we=te(29301),Se=te(34280),Ne=te(16089),ke=`
|
|
|
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;
|
|
|
`,Ye=["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"],et={},Ke;function Oe(Lt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=Lt.getAttribute("id")||Lt.getAttribute("data-reactid")||Lt.getAttribute("name");if(It&&et[Qe])return et[Qe];var Me=window.getComputedStyle(Lt),st=Me.getPropertyValue("box-sizing")||Me.getPropertyValue("-moz-box-sizing")||Me.getPropertyValue("-webkit-box-sizing"),zt=parseFloat(Me.getPropertyValue("padding-bottom"))+parseFloat(Me.getPropertyValue("padding-top")),ut=parseFloat(Me.getPropertyValue("border-bottom-width"))+parseFloat(Me.getPropertyValue("border-top-width")),tt=Ye.map(function(Nt){return"".concat(Nt,":").concat(Me.getPropertyValue(Nt))}).join(";"),at={sizingStyle:tt,paddingSize:zt,borderSize:ut,boxSizing:st};return It&&Qe&&(et[Qe]=at),at}function _e(Lt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ke||(Ke=document.createElement("textarea"),Ke.setAttribute("tab-index","-1"),Ke.setAttribute("aria-hidden","true"),document.body.appendChild(Ke)),Lt.getAttribute("wrap")?Ke.setAttribute("wrap",Lt.getAttribute("wrap")):Ke.removeAttribute("wrap");var st=Oe(Lt,It),zt=st.paddingSize,ut=st.borderSize,tt=st.boxSizing,at=st.sizingStyle;Ke.setAttribute("style","".concat(at,";").concat(ke)),Ke.value=Lt.value||Lt.placeholder||"";var Nt=void 0,on=void 0,Ht,Fn=Ke.scrollHeight;if(tt==="border-box"?Fn+=ut:tt==="content-box"&&(Fn-=zt),Qe!==null||Me!==null){Ke.value=" ";var Qt=Ke.scrollHeight-zt;Qe!==null&&(Nt=Qt*Qe,tt==="border-box"&&(Nt=Nt+zt+ut),Fn=Math.max(Nt,Fn)),Me!==null&&(on=Qt*Me,tt==="border-box"&&(on=on+zt+ut),Ht=Fn>on?"":"hidden",Fn=Math.min(on,Fn))}var Ut={height:Fn,overflowY:Ht,resize:"none"};return Nt&&(Ut.minHeight=Nt),on&&(Ut.maxHeight=on),Ut}var me=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Re=0,Le=1,Pe=2,De=ge.forwardRef(function(Lt,It){var Qe=Lt,Me=Qe.prefixCls,st=Qe.onPressEnter,zt=Qe.defaultValue,ut=Qe.value,tt=Qe.autoSize,at=Qe.onResize,Nt=Qe.className,on=Qe.style,Ht=Qe.disabled,Fn=Qe.onChange,Qt=Qe.onInternalAutoSize,Ut=(0,Ee.Z)(Qe,me),Wt=(0,Ae.Z)(zt,{value:ut,postState:function(ir){return ir!=null?ir:""}}),Ie=(0,xe.Z)(Wt,2),he=Ie[0],ue=Ie[1],ve=function(ir){ue(ir.target.value),Fn==null||Fn(ir)},ye=ge.useRef();ge.useImperativeHandle(It,function(){return{textArea:ye.current}});var se=ge.useMemo(function(){return tt&&(0,We.Z)(tt)==="object"?[tt.minRows,tt.maxRows]:[]},[tt]),$e=(0,xe.Z)(se,2),wt=$e[0],lt=$e[1],Je=!!tt,Pt=function(){try{if(document.activeElement===ye.current){var ir=ye.current,Dr=ir.selectionStart,kr=ir.selectionEnd,Bn=ir.scrollTop;ye.current.setSelectionRange(Dr,kr),ye.current.scrollTop=Bn}}catch(jr){}},Dt=ge.useState(Pe),yt=(0,xe.Z)(Dt,2),jt=yt[0],En=yt[1],_t=ge.useState(),Yt=(0,xe.Z)(_t,2),wn=Yt[0],Ft=Yt[1],it=function(){En(Re)};(0,Se.Z)(function(){Je&&it()},[ut,wt,lt,Je]),(0,Se.Z)(function(){if(jt===Re)En(Le);else if(jt===Le){var Xn=_e(ye.current,!1,wt,lt);En(Pe),Ft(Xn)}else Pt()},[jt]);var Et=ge.useRef(),an=function(){Ne.Z.cancel(Et.current)},un=function(ir){jt===Pe&&(at==null||at(ir),tt&&(an(),Et.current=(0,Ne.Z)(function(){it()})))};ge.useEffect(function(){return an},[]);var vn=Je?wn:null,gn=(0,de.Z)((0,de.Z)({},on),vn);return(jt===Re||jt===Le)&&(gn.overflowY="hidden",gn.overflowX="hidden"),ge.createElement(we.Z,{onResize:un,disabled:!(tt||at)},ge.createElement("textarea",(0,ee.Z)({},Ut,{ref:ye,style:gn,className:Fe()(Me,Nt,(0,Ce.Z)({},"".concat(Me,"-disabled"),Ht)),disabled:Ht,value:he,onChange:ve})))}),ze=De,Te=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function xt(Lt,It){return(0,fe.Z)(Lt||"").slice(0,It).join("")}function Ze(Lt,It,Qe,Me){var st=Qe;return Lt?st=xt(Qe,Me):(0,fe.Z)(It||"").length<Qe.length&&(0,fe.Z)(Qe||"").length>Me&&(st=It),st}var vt=ge.forwardRef(function(Lt,It){var Qe,Me=Lt.defaultValue,st=Lt.value,zt=Lt.onFocus,ut=Lt.onBlur,tt=Lt.onChange,at=Lt.allowClear,Nt=Lt.maxLength,on=Lt.onCompositionStart,Ht=Lt.onCompositionEnd,Fn=Lt.suffix,Qt=Lt.prefixCls,Ut=Qt===void 0?"rc-textarea":Qt,Wt=Lt.classes,Ie=Lt.showCount,he=Lt.className,ue=Lt.style,ve=Lt.disabled,ye=Lt.hidden,se=Lt.classNames,$e=Lt.styles,wt=Lt.onResize,lt=(0,Ee.Z)(Lt,Te),Je=(0,Ae.Z)(Me,{value:st,defaultValue:Me}),Pt=(0,xe.Z)(Je,2),Dt=Pt[0],yt=Pt[1],jt=(0,ge.useRef)(null),En=ge.useState(!1),_t=(0,xe.Z)(En,2),Yt=_t[0],wn=_t[1],Ft=ge.useState(!1),it=(0,xe.Z)(Ft,2),Et=it[0],an=it[1],un=ge.useRef(),vn=ge.useRef(0),gn=ge.useState(null),Xn=(0,xe.Z)(gn,2),ir=Xn[0],Dr=Xn[1],kr=function(){var dr;(dr=jt.current)===null||dr===void 0||dr.textArea.focus()};(0,ge.useImperativeHandle)(It,function(){return{resizableTextArea:jt.current,focus:kr,blur:function(){var dr;(dr=jt.current)===null||dr===void 0||dr.textArea.blur()}}}),(0,ge.useEffect)(function(){wn(function(Pr){return!ve&&Pr})},[ve]);var Bn=Number(Nt)>0,jr=function(dr){an(!0),un.current=Dt,vn.current=dr.currentTarget.selectionStart,on==null||on(dr)},ci=function(dr){an(!1);var oi=dr.currentTarget.value;if(Bn){var $t,pt=vn.current>=Nt+1||vn.current===(($t=un.current)===null||$t===void 0?void 0:$t.length);oi=Ze(pt,un.current,oi,Nt)}oi!==Dt&&(yt(oi),(0,rt.rJ)(dr.currentTarget,dr,tt,oi)),Ht==null||Ht(dr)},_r=function(dr){var oi=dr.target.value;if(!Et&&Bn){var $t=dr.target.selectionStart>=Nt+1||dr.target.selectionStart===oi.length||!dr.target.selectionStart;oi=Ze($t,Dt,oi,Nt)}yt(oi),(0,rt.rJ)(dr.currentTarget,dr,tt,oi)},Nr=function(dr){var oi=lt.onPressEnter,$t=lt.onKeyDown;dr.key==="Enter"&&oi&&oi(dr),$t==null||$t(dr)},ai=function(dr){wn(!0),zt==null||zt(dr)},pi=function(dr){wn(!1),ut==null||ut(dr)},Mn=function(dr){var oi;yt(""),kr(),(0,rt.rJ)((oi=jt.current)===null||oi===void 0?void 0:oi.textArea,dr,tt)},pr=(0,rt.D7)(Dt);!Et&&Bn&&st==null&&(pr=xt(pr,Nt));var Rr=Fn,Gr;if(Ie){var zr=(0,fe.Z)(pr).length;(0,We.Z)(Ie)==="object"?Gr=Ie.formatter({value:pr,count:zr,maxLength:Nt}):Gr="".concat(zr).concat(Bn?" / ".concat(Nt):""),Rr=ge.createElement(ge.Fragment,null,Rr,ge.createElement("span",{className:Fe()("".concat(Ut,"-data-count"),se==null?void 0:se.count),style:$e==null?void 0:$e.count},Gr))}var ei=function(dr){var oi;wt==null||wt(dr),(oi=jt.current)!==null&&oi!==void 0&&oi.textArea.style.height&&Dr(!0)},Hr=!lt.autoSize&&!Ie&&!at,fi=ge.createElement(He.BaseInput,{value:pr,allowClear:at,handleReset:Mn,suffix:Rr,prefixCls:Ut,classes:{affixWrapper:Fe()(Wt==null?void 0:Wt.affixWrapper,(Qe={},(0,Ce.Z)(Qe,"".concat(Ut,"-show-count"),Ie),(0,Ce.Z)(Qe,"".concat(Ut,"-textarea-allow-clear"),at),Qe))},disabled:ve,focused:Yt,className:he,style:(0,de.Z)((0,de.Z)({},ue),ir&&!Hr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Gr=="string"?Gr:void 0}},hidden:ye,inputElement:ge.createElement(ze,(0,ee.Z)({},lt,{onKeyDown:Nr,onChange:_r,onFocus:ai,onBlur:pi,onCompositionStart:jr,onCompositionEnd:ci,className:se==null?void 0:se.textarea,style:(0,de.Z)((0,de.Z)({},$e==null?void 0:$e.textarea),{},{resize:ue==null?void 0:ue.resize}),disabled:ve,prefixCls:Ut,onResize:ei,ref:jt}))});return fi}),ot=vt,mt=ot},39417:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Le}});var ee=te(60499),de=te(18642),Ce=te(42244),We=te(85899),xe=te(38705),Ee=te(17212),fe=te(15793),be=te(39153),Fe=te(55401),He=te(92310),rt=te.n(He),Ae=te(26112),ge=te(59301),we=te(39378),Se=function(De){for(var ze=De.prefixCls,Te=De.level,xt=De.isStart,Ze=De.isEnd,vt="".concat(ze,"-indent-unit"),ot=[],mt=0;mt<Te;mt+=1){var Lt;ot.push(ge.createElement("span",{key:mt,className:rt()(vt,(Lt={},(0,de.Z)(Lt,"".concat(vt,"-start"),xt[mt]),(0,de.Z)(Lt,"".concat(vt,"-end"),Ze[mt]),Lt))}))}return ge.createElement("span",{"aria-hidden":"true",className:"".concat(ze,"-indent")},ot)},Ne=ge.memo(Se),ke=te(67841),Ye=te(71430),et=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Ke="open",Oe="close",_e="---",me=function(Pe){(0,be.Z)(ze,Pe);var De=(0,Fe.Z)(ze);function ze(){var Te;(0,xe.Z)(this,ze);for(var xt=arguments.length,Ze=new Array(xt),vt=0;vt<xt;vt++)Ze[vt]=arguments[vt];return Te=De.call.apply(De,[this].concat(Ze)),Te.state={dragNodeHighlight:!1},Te.selectHandle=void 0,Te.cacheIndent=void 0,Te.onSelectorClick=function(ot){var mt=Te.props.context.onNodeClick;mt(ot,(0,Ye.F)(Te.props)),Te.isSelectable()?Te.onSelect(ot):Te.onCheck(ot)},Te.onSelectorDoubleClick=function(ot){var mt=Te.props.context.onNodeDoubleClick;mt(ot,(0,Ye.F)(Te.props))},Te.onSelect=function(ot){if(!Te.isDisabled()){var mt=Te.props.context.onNodeSelect;mt(ot,(0,Ye.F)(Te.props))}},Te.onCheck=function(ot){if(!Te.isDisabled()){var mt=Te.props,Lt=mt.disableCheckbox,It=mt.checked,Qe=Te.props.context.onNodeCheck;if(!(!Te.isCheckable()||Lt)){var Me=!It;Qe(ot,(0,Ye.F)(Te.props),Me)}}},Te.onMouseEnter=function(ot){var mt=Te.props.context.onNodeMouseEnter;mt(ot,(0,Ye.F)(Te.props))},Te.onMouseLeave=function(ot){var mt=Te.props.context.onNodeMouseLeave;mt(ot,(0,Ye.F)(Te.props))},Te.onContextMenu=function(ot){var mt=Te.props.context.onNodeContextMenu;mt(ot,(0,Ye.F)(Te.props))},Te.onDragStart=function(ot){var mt=Te.props.context.onNodeDragStart;ot.stopPropagation(),Te.setState({dragNodeHighlight:!0}),mt(ot,(0,fe.Z)(Te));try{ot.dataTransfer.setData("text/plain","")}catch(Lt){}},Te.onDragEnter=function(ot){var mt=Te.props.context.onNodeDragEnter;ot.preventDefault(),ot.stopPropagation(),mt(ot,(0,fe.Z)(Te))},Te.onDragOver=function(ot){var mt=Te.props.context.onNodeDragOver;ot.preventDefault(),ot.stopPropagation(),mt(ot,(0,fe.Z)(Te))},Te.onDragLeave=function(ot){var mt=Te.props.context.onNodeDragLeave;ot.stopPropagation(),mt(ot,(0,fe.Z)(Te))},Te.onDragEnd=function(ot){var mt=Te.props.context.onNodeDragEnd;ot.stopPropagation(),Te.setState({dragNodeHighlight:!1}),mt(ot,(0,fe.Z)(Te))},Te.onDrop=function(ot){var mt=Te.props.context.onNodeDrop;ot.preventDefault(),ot.stopPropagation(),Te.setState({dragNodeHighlight:!1}),mt(ot,(0,fe.Z)(Te))},Te.onExpand=function(ot){var mt=Te.props,Lt=mt.loading,It=mt.context.onNodeExpand;Lt||It(ot,(0,Ye.F)(Te.props))},Te.setSelectHandle=function(ot){Te.selectHandle=ot},Te.getNodeState=function(){var ot=Te.props.expanded;return Te.isLeaf()?null:ot?Ke:Oe},Te.hasChildren=function(){var ot=Te.props.eventKey,mt=Te.props.context.keyEntities,Lt=(0,ke.Z)(mt,ot)||{},It=Lt.children;return!!(It||[]).length},Te.isLeaf=function(){var ot=Te.props,mt=ot.isLeaf,Lt=ot.loaded,It=Te.props.context.loadData,Qe=Te.hasChildren();return mt===!1?!1:mt||!It&&!Qe||It&&Lt&&!Qe},Te.isDisabled=function(){var ot=Te.props.disabled,mt=Te.props.context.disabled;return!!(mt||ot)},Te.isCheckable=function(){var ot=Te.props.checkable,mt=Te.props.context.checkable;return!mt||ot===!1?!1:mt},Te.syncLoadData=function(ot){var mt=ot.expanded,Lt=ot.loading,It=ot.loaded,Qe=Te.props.context,Me=Qe.loadData,st=Qe.onNodeLoad;Lt||Me&&mt&&!Te.isLeaf()&&!Te.hasChildren()&&!It&&st((0,Ye.F)(Te.props))},Te.isDraggable=function(){var ot=Te.props,mt=ot.data,Lt=ot.context.draggable;return!!(Lt&&(!Lt.nodeDraggable||Lt.nodeDraggable(mt)))},Te.renderDragHandler=function(){var ot=Te.props.context,mt=ot.draggable,Lt=ot.prefixCls;return mt!=null&&mt.icon?ge.createElement("span",{className:"".concat(Lt,"-draggable-icon")},mt.icon):null},Te.renderSwitcherIconDom=function(ot){var mt=Te.props.switcherIcon,Lt=Te.props.context.switcherIcon,It=mt||Lt;return typeof It=="function"?It((0,We.Z)((0,We.Z)({},Te.props),{},{isLeaf:ot})):It},Te.renderSwitcher=function(){var ot=Te.props.expanded,mt=Te.props.context.prefixCls;if(Te.isLeaf()){var Lt=Te.renderSwitcherIconDom(!0);return Lt!==!1?ge.createElement("span",{className:rt()("".concat(mt,"-switcher"),"".concat(mt,"-switcher-noop"))},Lt):null}var It=rt()("".concat(mt,"-switcher"),"".concat(mt,"-switcher_").concat(ot?Ke:Oe)),Qe=Te.renderSwitcherIconDom(!1);return Qe!==!1?ge.createElement("span",{onClick:Te.onExpand,className:It},Qe):null},Te.renderCheckbox=function(){var ot=Te.props,mt=ot.checked,Lt=ot.halfChecked,It=ot.disableCheckbox,Qe=Te.props.context.prefixCls,Me=Te.isDisabled(),st=Te.isCheckable();if(!st)return null;var zt=typeof st!="boolean"?st:null;return ge.createElement("span",{className:rt()("".concat(Qe,"-checkbox"),mt&&"".concat(Qe,"-checkbox-checked"),!mt&&Lt&&"".concat(Qe,"-checkbox-indeterminate"),(Me||It)&&"".concat(Qe,"-checkbox-disabled")),onClick:Te.onCheck},zt)},Te.renderIcon=function(){var ot=Te.props.loading,mt=Te.props.context.prefixCls;return ge.createElement("span",{className:rt()("".concat(mt,"-iconEle"),"".concat(mt,"-icon__").concat(Te.getNodeState()||"docu"),ot&&"".concat(mt,"-icon_loading"))})},Te.renderSelector=function(){var ot=Te.state.dragNodeHighlight,mt=Te.props,Lt=mt.title,It=Lt===void 0?_e:Lt,Qe=mt.selected,Me=mt.icon,st=mt.loading,zt=mt.data,ut=Te.props.context,tt=ut.prefixCls,at=ut.showIcon,Nt=ut.icon,on=ut.loadData,Ht=ut.titleRender,Fn=Te.isDisabled(),Qt="".concat(tt,"-node-content-wrapper"),Ut;if(at){var Wt=Me||Nt;Ut=Wt?ge.createElement("span",{className:rt()("".concat(tt,"-iconEle"),"".concat(tt,"-icon__customize"))},typeof Wt=="function"?Wt(Te.props):Wt):Te.renderIcon()}else on&&st&&(Ut=Te.renderIcon());var Ie;typeof It=="function"?Ie=It(zt):Ht?Ie=Ht(zt):Ie=It;var he=ge.createElement("span",{className:"".concat(tt,"-title")},Ie);return ge.createElement("span",{ref:Te.setSelectHandle,title:typeof It=="string"?It:"",className:rt()("".concat(Qt),"".concat(Qt,"-").concat(Te.getNodeState()||"normal"),!Fn&&(Qe||ot)&&"".concat(tt,"-node-selected")),onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onContextMenu:Te.onContextMenu,onClick:Te.onSelectorClick,onDoubleClick:Te.onSelectorDoubleClick},Ut,he,Te.renderDropIndicator())},Te.renderDropIndicator=function(){var ot=Te.props,mt=ot.disabled,Lt=ot.eventKey,It=Te.props.context,Qe=It.draggable,Me=It.dropLevelOffset,st=It.dropPosition,zt=It.prefixCls,ut=It.indent,tt=It.dropIndicatorRender,at=It.dragOverNodeKey,Nt=It.direction,on=!!Qe,Ht=!mt&&on&&at===Lt,Fn=ut!=null?ut:Te.cacheIndent;return Te.cacheIndent=ut,Ht?tt({dropPosition:st,dropLevelOffset:Me,indent:Fn,prefixCls:zt,direction:Nt}):null},Te}return(0,Ee.Z)(ze,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var xt=this.props.selectable,Ze=this.props.context.selectable;return typeof xt=="boolean"?xt:Ze}},{key:"render",value:function(){var xt,Ze=this.props,vt=Ze.eventKey,ot=Ze.className,mt=Ze.style,Lt=Ze.dragOver,It=Ze.dragOverGapTop,Qe=Ze.dragOverGapBottom,Me=Ze.isLeaf,st=Ze.isStart,zt=Ze.isEnd,ut=Ze.expanded,tt=Ze.selected,at=Ze.checked,Nt=Ze.halfChecked,on=Ze.loading,Ht=Ze.domRef,Fn=Ze.active,Qt=Ze.data,Ut=Ze.onMouseMove,Wt=Ze.selectable,Ie=(0,Ce.Z)(Ze,et),he=this.props.context,ue=he.prefixCls,ve=he.filterTreeNode,ye=he.keyEntities,se=he.dropContainerKey,$e=he.dropTargetKey,wt=he.draggingNodeKey,lt=this.isDisabled(),Je=(0,Ae.Z)(Ie,{aria:!0,data:!0}),Pt=(0,ke.Z)(ye,vt)||{},Dt=Pt.level,yt=zt[zt.length-1],jt=this.isDraggable(),En=!lt&&jt,_t=wt===vt,Yt=Wt!==void 0?{"aria-selected":!!Wt}:void 0;return ge.createElement("div",(0,ee.Z)({ref:Ht,className:rt()(ot,"".concat(ue,"-treenode"),(xt={},(0,de.Z)(xt,"".concat(ue,"-treenode-disabled"),lt),(0,de.Z)(xt,"".concat(ue,"-treenode-switcher-").concat(ut?"open":"close"),!Me),(0,de.Z)(xt,"".concat(ue,"-treenode-checkbox-checked"),at),(0,de.Z)(xt,"".concat(ue,"-treenode-checkbox-indeterminate"),Nt),(0,de.Z)(xt,"".concat(ue,"-treenode-selected"),tt),(0,de.Z)(xt,"".concat(ue,"-treenode-loading"),on),(0,de.Z)(xt,"".concat(ue,"-treenode-active"),Fn),(0,de.Z)(xt,"".concat(ue,"-treenode-leaf-last"),yt),(0,de.Z)(xt,"".concat(ue,"-treenode-draggable"),jt),(0,de.Z)(xt,"dragging",_t),(0,de.Z)(xt,"drop-target",$e===vt),(0,de.Z)(xt,"drop-container",se===vt),(0,de.Z)(xt,"drag-over",!lt&&Lt),(0,de.Z)(xt,"drag-over-gap-top",!lt&&It),(0,de.Z)(xt,"drag-over-gap-bottom",!lt&&Qe),(0,de.Z)(xt,"filter-node",ve&&ve((0,Ye.F)(this.props))),xt)),style:mt,draggable:En,"aria-grabbed":_t,onDragStart:En?this.onDragStart:void 0,onDragEnter:jt?this.onDragEnter:void 0,onDragOver:jt?this.onDragOver:void 0,onDragLeave:jt?this.onDragLeave:void 0,onDrop:jt?this.onDrop:void 0,onDragEnd:jt?this.onDragEnd:void 0,onMouseMove:Ut},Yt,Je),ge.createElement(Ne,{prefixCls:ue,level:Dt,isStart:st,isEnd:zt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ze}(ge.Component),Re=function(De){return ge.createElement(we.k.Consumer,null,function(ze){return ge.createElement(me,(0,ee.Z)({},De,{context:ze}))})};Re.displayName="TreeNode",Re.isTreeNode=1;var Le=Re},39378:function(tn,kt,te){"use strict";te.d(kt,{k:function(){return de}});var ee=te(59301),de=ee.createContext(null)},38028:function(tn,kt,te){"use strict";te.d(kt,{O:function(){return Le.Z},Z:function(){return he}});var ee=te(60499),de=te(18642),Ce=te(43749),We=te(85899),xe=te(77654),Ee=te(38705),fe=te(17212),be=te(15793),Fe=te(39153),He=te(55401),rt=te(92310),Ae=te.n(rt),ge=te(10228),we=te(26112),Se=te(48736),Ne=te(59301),ke=te(39378);function Ye(ue){var ve=ue.dropPosition,ye=ue.dropLevelOffset,se=ue.indent,$e={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ve){case-1:$e.top=0,$e.left=-ye*se;break;case 1:$e.bottom=0,$e.left=-ye*se;break;case 0:$e.bottom=0,$e.left=se;break}return Ne.createElement("div",{style:$e})}function et(ue){if(ue==null)throw new TypeError("Cannot destructure "+ue)}var Ke=te(72190),Oe=te(42244),_e=te(34280),me=te(48911),Re=te(77900),Le=te(39417);function Pe(ue,ve){var ye=Ne.useState(!1),se=(0,Ke.Z)(ye,2),$e=se[0],wt=se[1];Ne.useLayoutEffect(function(){if($e)return ue(),function(){ve()}},[$e]),Ne.useLayoutEffect(function(){return wt(!0),function(){wt(!1)}},[])}var De=te(71430),ze=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Te=function(ve,ye){var se=ve.className,$e=ve.style,wt=ve.motion,lt=ve.motionNodes,Je=ve.motionType,Pt=ve.onMotionStart,Dt=ve.onMotionEnd,yt=ve.active,jt=ve.treeNodeRequiredProps,En=(0,Oe.Z)(ve,ze),_t=Ne.useState(!0),Yt=(0,Ke.Z)(_t,2),wn=Yt[0],Ft=Yt[1],it=Ne.useContext(ke.k),Et=it.prefixCls,an=lt&&Je!=="hide";(0,_e.Z)(function(){lt&&an!==wn&&Ft(an)},[lt]);var un=function(){lt&&Pt()},vn=Ne.useRef(!1),gn=function(){lt&&!vn.current&&(vn.current=!0,Dt())};Pe(un,gn);var Xn=function(Dr){an===Dr&&gn()};return lt?Ne.createElement(Re.default,(0,ee.Z)({ref:ye,visible:wn},wt,{motionAppear:Je==="show",onVisibleChanged:Xn}),function(ir,Dr){var kr=ir.className,Bn=ir.style;return Ne.createElement("div",{ref:Dr,className:Ae()("".concat(Et,"-treenode-motion"),kr),style:Bn},lt.map(function(jr){var ci=(0,ee.Z)({},(et(jr.data),jr.data)),_r=jr.title,Nr=jr.key,ai=jr.isStart,pi=jr.isEnd;delete ci.children;var Mn=(0,De.H8)(Nr,jt);return Ne.createElement(Le.Z,(0,ee.Z)({},ci,Mn,{title:_r,active:yt,data:jr.data,key:Nr,isStart:ai,isEnd:pi}))}))}):Ne.createElement(Le.Z,(0,ee.Z)({domRef:ye,className:se,style:$e},En,{active:yt}))};Te.displayName="MotionTreeNode";var xt=Ne.forwardRef(Te),Ze=xt;function vt(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ye=ue.length,se=ve.length;if(Math.abs(ye-se)!==1)return{add:!1,key:null};function $e(wt,lt){var Je=new Map;wt.forEach(function(Dt){Je.set(Dt,!0)});var Pt=lt.filter(function(Dt){return!Je.has(Dt)});return Pt.length===1?Pt[0]:null}return ye<se?{add:!0,key:$e(ue,ve)}:{add:!1,key:$e(ve,ue)}}function ot(ue,ve,ye){var se=ue.findIndex(function(Je){return Je.key===ye}),$e=ue[se+1],wt=ve.findIndex(function(Je){return Je.key===ye});if($e){var lt=ve.findIndex(function(Je){return Je.key===$e.key});return ve.slice(wt+1,lt)}return ve.slice(wt+1)}var mt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Lt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},It=function(){},Qe="RC_TREE_MOTION_".concat(Math.random()),Me={key:Qe},st={key:Qe,level:0,index:0,pos:"0",node:Me,nodes:[Me]},zt={parent:null,children:[],pos:st.pos,data:Me,title:null,key:Qe,isStart:[],isEnd:[]};function ut(ue,ve,ye,se){return ve===!1||!ye?ue:ue.slice(0,Math.ceil(ye/se)+1)}function tt(ue){var ve=ue.key,ye=ue.pos;return(0,De.km)(ve,ye)}function at(ue){for(var ve=String(ue.data.key),ye=ue;ye.parent;)ye=ye.parent,ve="".concat(ye.data.key," > ").concat(ve);return ve}var Nt=Ne.forwardRef(function(ue,ve){var ye=ue.prefixCls,se=ue.data,$e=ue.selectable,wt=ue.checkable,lt=ue.expandedKeys,Je=ue.selectedKeys,Pt=ue.checkedKeys,Dt=ue.loadedKeys,yt=ue.loadingKeys,jt=ue.halfCheckedKeys,En=ue.keyEntities,_t=ue.disabled,Yt=ue.dragging,wn=ue.dragOverNodeKey,Ft=ue.dropPosition,it=ue.motion,Et=ue.height,an=ue.itemHeight,un=ue.virtual,vn=ue.focusable,gn=ue.activeItem,Xn=ue.focused,ir=ue.tabIndex,Dr=ue.onKeyDown,kr=ue.onFocus,Bn=ue.onBlur,jr=ue.onActiveChange,ci=ue.onListChangeStart,_r=ue.onListChangeEnd,Nr=(0,Oe.Z)(ue,mt),ai=Ne.useRef(null),pi=Ne.useRef(null);Ne.useImperativeHandle(ve,function(){return{scrollTo:function($n){ai.current.scrollTo($n)},getIndentWidth:function(){return pi.current.offsetWidth}}});var Mn=Ne.useState(lt),pr=(0,Ke.Z)(Mn,2),Rr=pr[0],Gr=pr[1],zr=Ne.useState(se),ei=(0,Ke.Z)(zr,2),Hr=ei[0],fi=ei[1],Pr=Ne.useState(se),dr=(0,Ke.Z)(Pr,2),oi=dr[0],$t=dr[1],pt=Ne.useState([]),Bt=(0,Ke.Z)(pt,2),At=Bt[0],Ct=Bt[1],Gt=Ne.useState(null),nn=(0,Ke.Z)(Gt,2),_n=nn[0],Pn=nn[1],Sn=Ne.useRef(se);Sn.current=se;function rr(){var bn=Sn.current;fi(bn),$t(bn),Ct([]),Pn(null),_r()}(0,_e.Z)(function(){Gr(lt);var bn=vt(Rr,lt);if(bn.key!==null)if(bn.add){var $n=Hr.findIndex(function(ln){var jn=ln.key;return jn===bn.key}),Jt=ut(ot(Hr,se,bn.key),un,Et,an),pn=Hr.slice();pn.splice($n+1,0,zt),$t(pn),Ct(Jt),Pn("show")}else{var An=se.findIndex(function(ln){var jn=ln.key;return jn===bn.key}),dn=ut(ot(se,Hr,bn.key),un,Et,an),Hn=se.slice();Hn.splice(An+1,0,zt),$t(Hn),Ct(dn),Pn("hide")}else Hr!==se&&(fi(se),$t(se))},[lt,se]),Ne.useEffect(function(){Yt||rr()},[Yt]);var gr=it?oi:se,Cr={expandedKeys:lt,selectedKeys:Je,loadedKeys:Dt,loadingKeys:yt,checkedKeys:Pt,halfCheckedKeys:jt,dragOverNodeKey:wn,dropPosition:Ft,keyEntities:En};return Ne.createElement(Ne.Fragment,null,Xn&&gn&&Ne.createElement("span",{style:Lt,"aria-live":"assertive"},at(gn)),Ne.createElement("div",null,Ne.createElement("input",{style:Lt,disabled:vn===!1||_t,tabIndex:vn!==!1?ir:null,onKeyDown:Dr,onFocus:kr,onBlur:Bn,value:"",onChange:It,"aria-label":"for screen reader"})),Ne.createElement("div",{className:"".concat(ye,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ne.createElement("div",{className:"".concat(ye,"-indent")},Ne.createElement("div",{ref:pi,className:"".concat(ye,"-indent-unit")}))),Ne.createElement(me.Z,(0,ee.Z)({},Nr,{data:gr,itemKey:tt,height:Et,fullHeight:!1,virtual:un,itemHeight:an,prefixCls:"".concat(ye,"-list"),ref:ai,onVisibleChange:function($n,Jt){var pn=new Set($n),An=Jt.filter(function(dn){return!pn.has(dn)});An.some(function(dn){return tt(dn)===Qe})&&rr()}}),function(bn){var $n=bn.pos,Jt=(0,ee.Z)({},(et(bn.data),bn.data)),pn=bn.title,An=bn.key,dn=bn.isStart,Hn=bn.isEnd,ln=(0,De.km)(An,$n);delete Jt.key,delete Jt.children;var jn=(0,De.H8)(ln,Cr);return Ne.createElement(Ze,(0,ee.Z)({},Jt,jn,{title:pn,active:!!gn&&An===gn.key,pos:$n,data:bn.data,isStart:dn,isEnd:Hn,motion:it,motionNodes:An===Qe?At:null,motionType:_n,onMotionStart:ci,onMotionEnd:rr,treeNodeRequiredProps:Cr,onMouseMove:function(){jr(null)}}))}))});Nt.displayName="NodeList";var on=Nt,Ht=te(35654),Fn=te(90782),Qt=te(67841),Ut=10,Wt=function(ue){(0,Fe.Z)(ye,ue);var ve=(0,He.Z)(ye);function ye(){var se;(0,Ee.Z)(this,ye);for(var $e=arguments.length,wt=new Array($e),lt=0;lt<$e;lt++)wt[lt]=arguments[lt];return se=ve.call.apply(ve,[this].concat(wt)),se.destroyed=!1,se.delayedDragEnterLogic=void 0,se.loadingRetryTimes={},se.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,De.w$)()},se.dragStartMousePosition=null,se.dragNode=void 0,se.currentMouseOverDroppableNodeKey=null,se.listRef=Ne.createRef(),se.onNodeDragStart=function(Je,Pt){var Dt=se.state,yt=Dt.expandedKeys,jt=Dt.keyEntities,En=se.props.onDragStart,_t=Pt.props.eventKey;se.dragNode=Pt,se.dragStartMousePosition={x:Je.clientX,y:Je.clientY};var Yt=(0,Ht._5)(yt,_t);se.setState({draggingNodeKey:_t,dragChildrenKeys:(0,Ht.wA)(_t,jt),indent:se.listRef.current.getIndentWidth()}),se.setExpandedKeys(Yt),window.addEventListener("dragend",se.onWindowDragEnd),En==null||En({event:Je,node:(0,De.F)(Pt.props)})},se.onNodeDragEnter=function(Je,Pt){var Dt=se.state,yt=Dt.expandedKeys,jt=Dt.keyEntities,En=Dt.dragChildrenKeys,_t=Dt.flattenNodes,Yt=Dt.indent,wn=se.props,Ft=wn.onDragEnter,it=wn.onExpand,Et=wn.allowDrop,an=wn.direction,un=Pt.props,vn=un.pos,gn=un.eventKey,Xn=(0,be.Z)(se),ir=Xn.dragNode;if(se.currentMouseOverDroppableNodeKey!==gn&&(se.currentMouseOverDroppableNodeKey=gn),!ir){se.resetDragState();return}var Dr=(0,Ht.OM)(Je,ir,Pt,Yt,se.dragStartMousePosition,Et,_t,jt,yt,an),kr=Dr.dropPosition,Bn=Dr.dropLevelOffset,jr=Dr.dropTargetKey,ci=Dr.dropContainerKey,_r=Dr.dropTargetPos,Nr=Dr.dropAllowed,ai=Dr.dragOverNodeKey;if(En.indexOf(jr)!==-1||!Nr){se.resetDragState();return}if(se.delayedDragEnterLogic||(se.delayedDragEnterLogic={}),Object.keys(se.delayedDragEnterLogic).forEach(function(pi){clearTimeout(se.delayedDragEnterLogic[pi])}),ir.props.eventKey!==Pt.props.eventKey&&(Je.persist(),se.delayedDragEnterLogic[vn]=window.setTimeout(function(){if(se.state.draggingNodeKey!==null){var pi=(0,xe.Z)(yt),Mn=(0,Qt.Z)(jt,Pt.props.eventKey);Mn&&(Mn.children||[]).length&&(pi=(0,Ht.L0)(yt,Pt.props.eventKey)),"expandedKeys"in se.props||se.setExpandedKeys(pi),it==null||it(pi,{node:(0,De.F)(Pt.props),expanded:!0,nativeEvent:Je.nativeEvent})}},800)),ir.props.eventKey===jr&&Bn===0){se.resetDragState();return}se.setState({dragOverNodeKey:ai,dropPosition:kr,dropLevelOffset:Bn,dropTargetKey:jr,dropContainerKey:ci,dropTargetPos:_r,dropAllowed:Nr}),Ft==null||Ft({event:Je,node:(0,De.F)(Pt.props),expandedKeys:yt})},se.onNodeDragOver=function(Je,Pt){var Dt=se.state,yt=Dt.dragChildrenKeys,jt=Dt.flattenNodes,En=Dt.keyEntities,_t=Dt.expandedKeys,Yt=Dt.indent,wn=se.props,Ft=wn.onDragOver,it=wn.allowDrop,Et=wn.direction,an=(0,be.Z)(se),un=an.dragNode;if(un){var vn=(0,Ht.OM)(Je,un,Pt,Yt,se.dragStartMousePosition,it,jt,En,_t,Et),gn=vn.dropPosition,Xn=vn.dropLevelOffset,ir=vn.dropTargetKey,Dr=vn.dropContainerKey,kr=vn.dropAllowed,Bn=vn.dropTargetPos,jr=vn.dragOverNodeKey;yt.indexOf(ir)!==-1||!kr||(un.props.eventKey===ir&&Xn===0?se.state.dropPosition===null&&se.state.dropLevelOffset===null&&se.state.dropTargetKey===null&&se.state.dropContainerKey===null&&se.state.dropTargetPos===null&&se.state.dropAllowed===!1&&se.state.dragOverNodeKey===null||se.resetDragState():gn===se.state.dropPosition&&Xn===se.state.dropLevelOffset&&ir===se.state.dropTargetKey&&Dr===se.state.dropContainerKey&&Bn===se.state.dropTargetPos&&kr===se.state.dropAllowed&&jr===se.state.dragOverNodeKey||se.setState({dropPosition:gn,dropLevelOffset:Xn,dropTargetKey:ir,dropContainerKey:Dr,dropTargetPos:Bn,dropAllowed:kr,dragOverNodeKey:jr}),Ft==null||Ft({event:Je,node:(0,De.F)(Pt.props)}))}},se.onNodeDragLeave=function(Je,Pt){se.currentMouseOverDroppableNodeKey===Pt.props.eventKey&&!Je.currentTarget.contains(Je.relatedTarget)&&(se.resetDragState(),se.currentMouseOverDroppableNodeKey=null);var Dt=se.props.onDragLeave;Dt==null||Dt({event:Je,node:(0,De.F)(Pt.props)})},se.onWindowDragEnd=function(Je){se.onNodeDragEnd(Je,null,!0),window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDragEnd=function(Je,Pt){var Dt=se.props.onDragEnd;se.setState({dragOverNodeKey:null}),se.cleanDragState(),Dt==null||Dt({event:Je,node:(0,De.F)(Pt.props)}),se.dragNode=null,window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDrop=function(Je,Pt){var Dt,yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,jt=se.state,En=jt.dragChildrenKeys,_t=jt.dropPosition,Yt=jt.dropTargetKey,wn=jt.dropTargetPos,Ft=jt.dropAllowed;if(Ft){var it=se.props.onDrop;if(se.setState({dragOverNodeKey:null}),se.cleanDragState(),Yt!==null){var Et=(0,We.Z)((0,We.Z)({},(0,De.H8)(Yt,se.getTreeNodeRequiredProps())),{},{active:((Dt=se.getActiveItem())===null||Dt===void 0?void 0:Dt.key)===Yt,data:(0,Qt.Z)(se.state.keyEntities,Yt).node}),an=En.indexOf(Yt)!==-1;(0,Se.ZP)(!an,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var un=(0,Ht.yx)(wn),vn={event:Je,node:(0,De.F)(Et),dragNode:se.dragNode?(0,De.F)(se.dragNode.props):null,dragNodesKeys:[se.dragNode.props.eventKey].concat(En),dropToGap:_t!==0,dropPosition:_t+Number(un[un.length-1])};yt||it==null||it(vn),se.dragNode=null}}},se.cleanDragState=function(){var Je=se.state.draggingNodeKey;Je!==null&&se.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),se.dragStartMousePosition=null,se.currentMouseOverDroppableNodeKey=null},se.triggerExpandActionExpand=function(Je,Pt){var Dt=se.state,yt=Dt.expandedKeys,jt=Dt.flattenNodes,En=Pt.expanded,_t=Pt.key,Yt=Pt.isLeaf;if(!(Yt||Je.shiftKey||Je.metaKey||Je.ctrlKey)){var wn=jt.filter(function(it){return it.key===_t})[0],Ft=(0,De.F)((0,We.Z)((0,We.Z)({},(0,De.H8)(_t,se.getTreeNodeRequiredProps())),{},{data:wn.data}));se.setExpandedKeys(En?(0,Ht._5)(yt,_t):(0,Ht.L0)(yt,_t)),se.onNodeExpand(Je,Ft)}},se.onNodeClick=function(Je,Pt){var Dt=se.props,yt=Dt.onClick,jt=Dt.expandAction;jt==="click"&&se.triggerExpandActionExpand(Je,Pt),yt==null||yt(Je,Pt)},se.onNodeDoubleClick=function(Je,Pt){var Dt=se.props,yt=Dt.onDoubleClick,jt=Dt.expandAction;jt==="doubleClick"&&se.triggerExpandActionExpand(Je,Pt),yt==null||yt(Je,Pt)},se.onNodeSelect=function(Je,Pt){var Dt=se.state.selectedKeys,yt=se.state,jt=yt.keyEntities,En=yt.fieldNames,_t=se.props,Yt=_t.onSelect,wn=_t.multiple,Ft=Pt.selected,it=Pt[En.key],Et=!Ft;Et?wn?Dt=(0,Ht.L0)(Dt,it):Dt=[it]:Dt=(0,Ht._5)(Dt,it);var an=Dt.map(function(un){var vn=(0,Qt.Z)(jt,un);return vn?vn.node:null}).filter(function(un){return un});se.setUncontrolledState({selectedKeys:Dt}),Yt==null||Yt(Dt,{event:"select",selected:Et,node:Pt,selectedNodes:an,nativeEvent:Je.nativeEvent})},se.onNodeCheck=function(Je,Pt,Dt){var yt=se.state,jt=yt.keyEntities,En=yt.checkedKeys,_t=yt.halfCheckedKeys,Yt=se.props,wn=Yt.checkStrictly,Ft=Yt.onCheck,it=Pt.key,Et,an={event:"check",node:Pt,checked:Dt,nativeEvent:Je.nativeEvent};if(wn){var un=Dt?(0,Ht.L0)(En,it):(0,Ht._5)(En,it),vn=(0,Ht._5)(_t,it);Et={checked:un,halfChecked:vn},an.checkedNodes=un.map(function(Bn){return(0,Qt.Z)(jt,Bn)}).filter(function(Bn){return Bn}).map(function(Bn){return Bn.node}),se.setUncontrolledState({checkedKeys:un})}else{var gn=(0,Fn.S)([].concat((0,xe.Z)(En),[it]),!0,jt),Xn=gn.checkedKeys,ir=gn.halfCheckedKeys;if(!Dt){var Dr=new Set(Xn);Dr.delete(it);var kr=(0,Fn.S)(Array.from(Dr),{checked:!1,halfCheckedKeys:ir},jt);Xn=kr.checkedKeys,ir=kr.halfCheckedKeys}Et=Xn,an.checkedNodes=[],an.checkedNodesPositions=[],an.halfCheckedKeys=ir,Xn.forEach(function(Bn){var jr=(0,Qt.Z)(jt,Bn);if(jr){var ci=jr.node,_r=jr.pos;an.checkedNodes.push(ci),an.checkedNodesPositions.push({node:ci,pos:_r})}}),se.setUncontrolledState({checkedKeys:Xn},!1,{halfCheckedKeys:ir})}Ft==null||Ft(Et,an)},se.onNodeLoad=function(Je){var Pt=Je.key,Dt=new Promise(function(yt,jt){se.setState(function(En){var _t=En.loadedKeys,Yt=_t===void 0?[]:_t,wn=En.loadingKeys,Ft=wn===void 0?[]:wn,it=se.props,Et=it.loadData,an=it.onLoad;if(!Et||Yt.indexOf(Pt)!==-1||Ft.indexOf(Pt)!==-1)return null;var un=Et(Je);return un.then(function(){var vn=se.state.loadedKeys,gn=(0,Ht.L0)(vn,Pt);an==null||an(gn,{event:"load",node:Je}),se.setUncontrolledState({loadedKeys:gn}),se.setState(function(Xn){return{loadingKeys:(0,Ht._5)(Xn.loadingKeys,Pt)}}),yt()}).catch(function(vn){if(se.setState(function(Xn){return{loadingKeys:(0,Ht._5)(Xn.loadingKeys,Pt)}}),se.loadingRetryTimes[Pt]=(se.loadingRetryTimes[Pt]||0)+1,se.loadingRetryTimes[Pt]>=Ut){var gn=se.state.loadedKeys;(0,Se.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),se.setUncontrolledState({loadedKeys:(0,Ht.L0)(gn,Pt)}),yt()}jt(vn)}),{loadingKeys:(0,Ht.L0)(Ft,Pt)}})});return Dt.catch(function(){}),Dt},se.onNodeMouseEnter=function(Je,Pt){var Dt=se.props.onMouseEnter;Dt==null||Dt({event:Je,node:Pt})},se.onNodeMouseLeave=function(Je,Pt){var Dt=se.props.onMouseLeave;Dt==null||Dt({event:Je,node:Pt})},se.onNodeContextMenu=function(Je,Pt){var Dt=se.props.onRightClick;Dt&&(Je.preventDefault(),Dt({event:Je,node:Pt}))},se.onFocus=function(){var Je=se.props.onFocus;se.setState({focused:!0});for(var Pt=arguments.length,Dt=new Array(Pt),yt=0;yt<Pt;yt++)Dt[yt]=arguments[yt];Je==null||Je.apply(void 0,Dt)},se.onBlur=function(){var Je=se.props.onBlur;se.setState({focused:!1}),se.onActiveChange(null);for(var Pt=arguments.length,Dt=new Array(Pt),yt=0;yt<Pt;yt++)Dt[yt]=arguments[yt];Je==null||Je.apply(void 0,Dt)},se.getTreeNodeRequiredProps=function(){var Je=se.state,Pt=Je.expandedKeys,Dt=Je.selectedKeys,yt=Je.loadedKeys,jt=Je.loadingKeys,En=Je.checkedKeys,_t=Je.halfCheckedKeys,Yt=Je.dragOverNodeKey,wn=Je.dropPosition,Ft=Je.keyEntities;return{expandedKeys:Pt||[],selectedKeys:Dt||[],loadedKeys:yt||[],loadingKeys:jt||[],checkedKeys:En||[],halfCheckedKeys:_t||[],dragOverNodeKey:Yt,dropPosition:wn,keyEntities:Ft}},se.setExpandedKeys=function(Je){var Pt=se.state,Dt=Pt.treeData,yt=Pt.fieldNames,jt=(0,De.oH)(Dt,Je,yt);se.setUncontrolledState({expandedKeys:Je,flattenNodes:jt},!0)},se.onNodeExpand=function(Je,Pt){var Dt=se.state.expandedKeys,yt=se.state,jt=yt.listChanging,En=yt.fieldNames,_t=se.props,Yt=_t.onExpand,wn=_t.loadData,Ft=Pt.expanded,it=Pt[En.key];if(!jt){var Et=Dt.indexOf(it),an=!Ft;if((0,Se.ZP)(Ft&&Et!==-1||!Ft&&Et===-1,"Expand state not sync with index check"),an?Dt=(0,Ht.L0)(Dt,it):Dt=(0,Ht._5)(Dt,it),se.setExpandedKeys(Dt),Yt==null||Yt(Dt,{node:Pt,expanded:an,nativeEvent:Je.nativeEvent}),an&&wn){var un=se.onNodeLoad(Pt);un&&un.then(function(){var vn=(0,De.oH)(se.state.treeData,Dt,En);se.setUncontrolledState({flattenNodes:vn})}).catch(function(){var vn=se.state.expandedKeys,gn=(0,Ht._5)(vn,it);se.setExpandedKeys(gn)})}}},se.onListChangeStart=function(){se.setUncontrolledState({listChanging:!0})},se.onListChangeEnd=function(){setTimeout(function(){se.setUncontrolledState({listChanging:!1})})},se.onActiveChange=function(Je){var Pt=se.state.activeKey,Dt=se.props.onActiveChange;Pt!==Je&&(se.setState({activeKey:Je}),Je!==null&&se.scrollTo({key:Je}),Dt==null||Dt(Je))},se.getActiveItem=function(){var Je=se.state,Pt=Je.activeKey,Dt=Je.flattenNodes;return Pt===null?null:Dt.find(function(yt){var jt=yt.key;return jt===Pt})||null},se.offsetActiveKey=function(Je){var Pt=se.state,Dt=Pt.flattenNodes,yt=Pt.activeKey,jt=Dt.findIndex(function(Yt){var wn=Yt.key;return wn===yt});jt===-1&&Je<0&&(jt=Dt.length),jt=(jt+Je+Dt.length)%Dt.length;var En=Dt[jt];if(En){var _t=En.key;se.onActiveChange(_t)}else se.onActiveChange(null)},se.onKeyDown=function(Je){var Pt=se.state,Dt=Pt.activeKey,yt=Pt.expandedKeys,jt=Pt.checkedKeys,En=Pt.fieldNames,_t=se.props,Yt=_t.onKeyDown,wn=_t.checkable,Ft=_t.selectable;switch(Je.which){case ge.Z.UP:{se.offsetActiveKey(-1),Je.preventDefault();break}case ge.Z.DOWN:{se.offsetActiveKey(1),Je.preventDefault();break}}var it=se.getActiveItem();if(it&&it.data){var Et=se.getTreeNodeRequiredProps(),an=it.data.isLeaf===!1||!!(it.data[En.children]||[]).length,un=(0,De.F)((0,We.Z)((0,We.Z)({},(0,De.H8)(Dt,Et)),{},{data:it.data,active:!0}));switch(Je.which){case ge.Z.LEFT:{an&&yt.includes(Dt)?se.onNodeExpand({},un):it.parent&&se.onActiveChange(it.parent.key),Je.preventDefault();break}case ge.Z.RIGHT:{an&&!yt.includes(Dt)?se.onNodeExpand({},un):it.children&&it.children.length&&se.onActiveChange(it.children[0].key),Je.preventDefault();break}case ge.Z.ENTER:case ge.Z.SPACE:{wn&&!un.disabled&&un.checkable!==!1&&!un.disableCheckbox?se.onNodeCheck({},un,!jt.includes(Dt)):!wn&&Ft&&!un.disabled&&un.selectable!==!1&&se.onNodeSelect({},un);break}}}Yt==null||Yt(Je)},se.setUncontrolledState=function(Je){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!se.destroyed){var yt=!1,jt=!0,En={};Object.keys(Je).forEach(function(_t){if(_t in se.props){jt=!1;return}yt=!0,En[_t]=Je[_t]}),yt&&(!Pt||jt)&&se.setState((0,We.Z)((0,We.Z)({},En),Dt))}},se.scrollTo=function(Je){se.listRef.current.scrollTo(Je)},se}return(0,fe.Z)(ye,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var $e=this.props.activeKey;$e!==void 0&&$e!==this.state.activeKey&&(this.setState({activeKey:$e}),$e!==null&&this.scrollTo({key:$e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var $e,wt=this.state,lt=wt.focused,Je=wt.flattenNodes,Pt=wt.keyEntities,Dt=wt.draggingNodeKey,yt=wt.activeKey,jt=wt.dropLevelOffset,En=wt.dropContainerKey,_t=wt.dropTargetKey,Yt=wt.dropPosition,wn=wt.dragOverNodeKey,Ft=wt.indent,it=this.props,Et=it.prefixCls,an=it.className,un=it.style,vn=it.showLine,gn=it.focusable,Xn=it.tabIndex,ir=Xn===void 0?0:Xn,Dr=it.selectable,kr=it.showIcon,Bn=it.icon,jr=it.switcherIcon,ci=it.draggable,_r=it.checkable,Nr=it.checkStrictly,ai=it.disabled,pi=it.motion,Mn=it.loadData,pr=it.filterTreeNode,Rr=it.height,Gr=it.itemHeight,zr=it.virtual,ei=it.titleRender,Hr=it.dropIndicatorRender,fi=it.onContextMenu,Pr=it.onScroll,dr=it.direction,oi=it.rootClassName,$t=it.rootStyle,pt=(0,we.Z)(this.props,{aria:!0,data:!0}),Bt;return ci&&((0,Ce.Z)(ci)==="object"?Bt=ci:typeof ci=="function"?Bt={nodeDraggable:ci}:Bt={}),Ne.createElement(ke.k.Provider,{value:{prefixCls:Et,selectable:Dr,showIcon:kr,icon:Bn,switcherIcon:jr,draggable:Bt,draggingNodeKey:Dt,checkable:_r,checkStrictly:Nr,disabled:ai,keyEntities:Pt,dropLevelOffset:jt,dropContainerKey:En,dropTargetKey:_t,dropPosition:Yt,dragOverNodeKey:wn,indent:Ft,direction:dr,dropIndicatorRender:Hr,loadData:Mn,filterTreeNode:pr,titleRender:ei,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},Ne.createElement("div",{role:"tree",className:Ae()(Et,an,oi,($e={},(0,de.Z)($e,"".concat(Et,"-show-line"),vn),(0,de.Z)($e,"".concat(Et,"-focused"),lt),(0,de.Z)($e,"".concat(Et,"-active-focused"),yt!==null),$e)),style:$t},Ne.createElement(on,(0,ee.Z)({ref:this.listRef,prefixCls:Et,style:un,data:Je,disabled:ai,selectable:Dr,checkable:!!_r,motion:pi,dragging:Dt!==null,height:Rr,itemHeight:Gr,virtual:zr,focusable:gn,focused:lt,tabIndex:ir,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:fi,onScroll:Pr},this.getTreeNodeRequiredProps(),pt))))}}],[{key:"getDerivedStateFromProps",value:function($e,wt){var lt=wt.prevProps,Je={prevProps:$e};function Pt(gn){return!lt&&gn in $e||lt&<[gn]!==$e[gn]}var Dt,yt=wt.fieldNames;if(Pt("fieldNames")&&(yt=(0,De.w$)($e.fieldNames),Je.fieldNames=yt),Pt("treeData")?Dt=$e.treeData:Pt("children")&&((0,Se.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Dt=(0,De.zn)($e.children)),Dt){Je.treeData=Dt;var jt=(0,De.I8)(Dt,{fieldNames:yt});Je.keyEntities=(0,We.Z)((0,de.Z)({},Qe,st),jt.keyEntities)}var En=Je.keyEntities||wt.keyEntities;if(Pt("expandedKeys")||lt&&Pt("autoExpandParent"))Je.expandedKeys=$e.autoExpandParent||!lt&&$e.defaultExpandParent?(0,Ht.r7)($e.expandedKeys,En):$e.expandedKeys;else if(!lt&&$e.defaultExpandAll){var _t=(0,We.Z)({},En);delete _t[Qe],Je.expandedKeys=Object.keys(_t).map(function(gn){return _t[gn].key})}else!lt&&$e.defaultExpandedKeys&&(Je.expandedKeys=$e.autoExpandParent||$e.defaultExpandParent?(0,Ht.r7)($e.defaultExpandedKeys,En):$e.defaultExpandedKeys);if(Je.expandedKeys||delete Je.expandedKeys,Dt||Je.expandedKeys){var Yt=(0,De.oH)(Dt||wt.treeData,Je.expandedKeys||wt.expandedKeys,yt);Je.flattenNodes=Yt}if($e.selectable&&(Pt("selectedKeys")?Je.selectedKeys=(0,Ht.BT)($e.selectedKeys,$e):!lt&&$e.defaultSelectedKeys&&(Je.selectedKeys=(0,Ht.BT)($e.defaultSelectedKeys,$e))),$e.checkable){var wn;if(Pt("checkedKeys")?wn=(0,Ht.E6)($e.checkedKeys)||{}:!lt&&$e.defaultCheckedKeys?wn=(0,Ht.E6)($e.defaultCheckedKeys)||{}:Dt&&(wn=(0,Ht.E6)($e.checkedKeys)||{checkedKeys:wt.checkedKeys,halfCheckedKeys:wt.halfCheckedKeys}),wn){var Ft=wn,it=Ft.checkedKeys,Et=it===void 0?[]:it,an=Ft.halfCheckedKeys,un=an===void 0?[]:an;if(!$e.checkStrictly){var vn=(0,Fn.S)(Et,!0,En);Et=vn.checkedKeys,un=vn.halfCheckedKeys}Je.checkedKeys=Et,Je.halfCheckedKeys=un}}return Pt("loadedKeys")&&(Je.loadedKeys=$e.loadedKeys),Je}}]),ye}(Ne.Component);Wt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Ye,allowDrop:function(){return!0},expandAction:!1},Wt.TreeNode=Le.Z;var Ie=Wt,he=Ie},35654:function(tn,kt,te){"use strict";te.d(kt,{BT:function(){return Ne},E6:function(){return et},L0:function(){return He},OM:function(){return Se},_5:function(){return Fe},r7:function(){return Ke},wA:function(){return Ae},yx:function(){return rt}});var ee=te(77654),de=te(43749),Ce=te(48736),We=te(59301),xe=te(39417),Ee=te(67841),fe=te(71430),be=null;function Fe(Oe,_e){if(!Oe)return[];var me=Oe.slice(),Re=me.indexOf(_e);return Re>=0&&me.splice(Re,1),me}function He(Oe,_e){var me=(Oe||[]).slice();return me.indexOf(_e)===-1&&me.push(_e),me}function rt(Oe){return Oe.split("-")}function Ae(Oe,_e){var me=[],Re=(0,Ee.Z)(_e,Oe);function Le(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Pe.forEach(function(De){var ze=De.key,Te=De.children;me.push(ze),Le(Te)})}return Le(Re.children),me}function ge(Oe){if(Oe.parent){var _e=rt(Oe.pos);return Number(_e[_e.length-1])===Oe.parent.children.length-1}return!1}function we(Oe){var _e=rt(Oe.pos);return Number(_e[_e.length-1])===0}function Se(Oe,_e,me,Re,Le,Pe,De,ze,Te,xt){var Ze,vt=Oe.clientX,ot=Oe.clientY,mt=Oe.target.getBoundingClientRect(),Lt=mt.top,It=mt.height,Qe=(xt==="rtl"?-1:1)*(((Le==null?void 0:Le.x)||0)-vt),Me=(Qe-12)/Re,st=(0,Ee.Z)(ze,me.props.eventKey);if(ot<Lt+It/2){var zt=De.findIndex(function(he){return he.key===st.key}),ut=zt<=0?0:zt-1,tt=De[ut].key;st=(0,Ee.Z)(ze,tt)}var at=st.key,Nt=st,on=st.key,Ht=0,Fn=0;if(!Te.includes(at))for(var Qt=0;Qt<Me&&ge(st);Qt+=1)st=st.parent,Fn+=1;var Ut=_e.props.data,Wt=st.node,Ie=!0;return we(st)&&st.level===0&&ot<Lt+It/2&&Pe({dragNode:Ut,dropNode:Wt,dropPosition:-1})&&st.key===me.props.eventKey?Ht=-1:(Nt.children||[]).length&&Te.includes(on)?Pe({dragNode:Ut,dropNode:Wt,dropPosition:0})?Ht=0:Ie=!1:Fn===0?Me>-1.5?Pe({dragNode:Ut,dropNode:Wt,dropPosition:1})?Ht=1:Ie=!1:Pe({dragNode:Ut,dropNode:Wt,dropPosition:0})?Ht=0:Pe({dragNode:Ut,dropNode:Wt,dropPosition:1})?Ht=1:Ie=!1:Pe({dragNode:Ut,dropNode:Wt,dropPosition:1})?Ht=1:Ie=!1,{dropPosition:Ht,dropLevelOffset:Fn,dropTargetKey:st.key,dropTargetPos:st.pos,dragOverNodeKey:on,dropContainerKey:Ht===0?null:((Ze=st.parent)===null||Ze===void 0?void 0:Ze.key)||null,dropAllowed:Ie}}function Ne(Oe,_e){if(Oe){var me=_e.multiple;return me?Oe.slice():Oe.length?[Oe[0]]:Oe}}var ke=function(_e){return _e};function Ye(Oe,_e){if(!Oe)return[];var me=_e||{},Re=me.processProps,Le=Re===void 0?ke:Re,Pe=Array.isArray(Oe)?Oe:[Oe];return Pe.map(function(De){var ze=De.children,Te=_objectWithoutProperties(De,be),xt=Ye(ze,_e);return React.createElement(TreeNode,_extends({key:Te.key},Le(Te)),xt)})}function et(Oe){if(!Oe)return null;var _e;if(Array.isArray(Oe))_e={checkedKeys:Oe,halfCheckedKeys:void 0};else if((0,de.Z)(Oe)==="object")_e={checkedKeys:Oe.checked||void 0,halfCheckedKeys:Oe.halfChecked||void 0};else return(0,Ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return _e}function Ke(Oe,_e){var me=new Set;function Re(Le){if(!me.has(Le)){var Pe=(0,Ee.Z)(_e,Le);if(Pe){me.add(Le);var De=Pe.parent,ze=Pe.node;ze.disabled||De&&Re(De.key)}}}return(Oe||[]).forEach(function(Le){Re(Le)}),(0,ee.Z)(me)}},90782:function(tn,kt,te){"use strict";te.d(kt,{S:function(){return fe}});var ee=te(48736),de=te(67841);function Ce(be,Fe){var He=new Set;return be.forEach(function(rt){Fe.has(rt)||He.add(rt)}),He}function We(be){var Fe=be||{},He=Fe.disabled,rt=Fe.disableCheckbox,Ae=Fe.checkable;return!!(He||rt)||Ae===!1}function xe(be,Fe,He,rt){for(var Ae=new Set(be),ge=new Set,we=0;we<=He;we+=1){var Se=Fe.get(we)||new Set;Se.forEach(function(et){var Ke=et.key,Oe=et.node,_e=et.children,me=_e===void 0?[]:_e;Ae.has(Ke)&&!rt(Oe)&&me.filter(function(Re){return!rt(Re.node)}).forEach(function(Re){Ae.add(Re.key)})})}for(var Ne=new Set,ke=He;ke>=0;ke-=1){var Ye=Fe.get(ke)||new Set;Ye.forEach(function(et){var Ke=et.parent,Oe=et.node;if(!(rt(Oe)||!et.parent||Ne.has(et.parent.key))){if(rt(et.parent.node)){Ne.add(Ke.key);return}var _e=!0,me=!1;(Ke.children||[]).filter(function(Re){return!rt(Re.node)}).forEach(function(Re){var Le=Re.key,Pe=Ae.has(Le);_e&&!Pe&&(_e=!1),!me&&(Pe||ge.has(Le))&&(me=!0)}),_e&&Ae.add(Ke.key),me&&ge.add(Ke.key),Ne.add(Ke.key)}})}return{checkedKeys:Array.from(Ae),halfCheckedKeys:Array.from(Ce(ge,Ae))}}function Ee(be,Fe,He,rt,Ae){for(var ge=new Set(be),we=new Set(Fe),Se=0;Se<=rt;Se+=1){var Ne=He.get(Se)||new Set;Ne.forEach(function(Ke){var Oe=Ke.key,_e=Ke.node,me=Ke.children,Re=me===void 0?[]:me;!ge.has(Oe)&&!we.has(Oe)&&!Ae(_e)&&Re.filter(function(Le){return!Ae(Le.node)}).forEach(function(Le){ge.delete(Le.key)})})}we=new Set;for(var ke=new Set,Ye=rt;Ye>=0;Ye-=1){var et=He.get(Ye)||new Set;et.forEach(function(Ke){var Oe=Ke.parent,_e=Ke.node;if(!(Ae(_e)||!Ke.parent||ke.has(Ke.parent.key))){if(Ae(Ke.parent.node)){ke.add(Oe.key);return}var me=!0,Re=!1;(Oe.children||[]).filter(function(Le){return!Ae(Le.node)}).forEach(function(Le){var Pe=Le.key,De=ge.has(Pe);me&&!De&&(me=!1),!Re&&(De||we.has(Pe))&&(Re=!0)}),me||ge.delete(Oe.key),Re&&we.add(Oe.key),ke.add(Oe.key)}})}return{checkedKeys:Array.from(ge),halfCheckedKeys:Array.from(Ce(we,ge))}}function fe(be,Fe,He,rt){var Ae=[],ge;rt?ge=rt:ge=We;var we=new Set(be.filter(function(Ye){var et=!!(0,de.Z)(He,Ye);return et||Ae.push(Ye),et})),Se=new Map,Ne=0;Object.keys(He).forEach(function(Ye){var et=He[Ye],Ke=et.level,Oe=Se.get(Ke);Oe||(Oe=new Set,Se.set(Ke,Oe)),Oe.add(et),Ne=Math.max(Ne,Ke)}),(0,ee.ZP)(!Ae.length,"Tree missing follow keys: ".concat(Ae.slice(0,100).map(function(Ye){return"'".concat(Ye,"'")}).join(", ")));var ke;return Fe===!0?ke=xe(we,Se,Ne,ge):ke=Ee(we,Fe.halfCheckedKeys,Se,Ne,ge),ke}},67841:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return ee}});function ee(de,Ce){return de[Ce]}},71430:function(tn,kt,te){"use strict";te.d(kt,{F:function(){return Ke},H8:function(){return et},I8:function(){return Ye},km:function(){return Ae},oH:function(){return Ne},w$:function(){return ge},zn:function(){return Se}});var ee=te(43749),de=te(77654),Ce=te(85899),We=te(42244),xe=te(11592),Ee=te(2738),fe=te(48736),be=te(67841),Fe=["children"];function He(Oe,_e){return"".concat(Oe,"-").concat(_e)}function rt(Oe){return Oe&&Oe.type&&Oe.type.isTreeNode}function Ae(Oe,_e){return Oe!=null?Oe:_e}function ge(Oe){var _e=Oe||{},me=_e.title,Re=_e._title,Le=_e.key,Pe=_e.children,De=me||"title";return{title:De,_title:Re||[De],key:Le||"key",children:Pe||"children"}}function we(Oe,_e){var me=new Map;function Re(Le){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Le||[]).forEach(function(De){var ze=De[_e.key],Te=De[_e.children];warning(ze!=null,"Tree node must have a certain key: [".concat(Pe).concat(ze,"]"));var xt=String(ze);warning(!me.has(xt)||ze===null||ze===void 0,"Same 'key' exist in the Tree: ".concat(xt)),me.set(xt,!0),Re(Te,"".concat(Pe).concat(xt," > "))})}Re(Oe)}function Se(Oe){function _e(me){var Re=(0,xe.Z)(me);return Re.map(function(Le){if(!rt(Le))return(0,fe.ZP)(!Le,"Tree/TreeNode can only accept TreeNode as children."),null;var Pe=Le.key,De=Le.props,ze=De.children,Te=(0,We.Z)(De,Fe),xt=(0,Ce.Z)({key:Pe},Te),Ze=_e(ze);return Ze.length&&(xt.children=Ze),xt}).filter(function(Le){return Le})}return _e(Oe)}function Ne(Oe,_e,me){var Re=ge(me),Le=Re._title,Pe=Re.key,De=Re.children,ze=new Set(_e===!0?[]:_e),Te=[];function xt(Ze){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ze.map(function(ot,mt){for(var Lt=He(vt?vt.pos:"0",mt),It=Ae(ot[Pe],Lt),Qe,Me=0;Me<Le.length;Me+=1){var st=Le[Me];if(ot[st]!==void 0){Qe=ot[st];break}}var zt=(0,Ce.Z)((0,Ce.Z)({},(0,Ee.Z)(ot,[].concat((0,de.Z)(Le),[Pe,De]))),{},{title:Qe,key:It,parent:vt,pos:Lt,children:null,data:ot,isStart:[].concat((0,de.Z)(vt?vt.isStart:[]),[mt===0]),isEnd:[].concat((0,de.Z)(vt?vt.isEnd:[]),[mt===Ze.length-1])});return Te.push(zt),_e===!0||ze.has(It)?zt.children=xt(ot[De]||[],zt):zt.children=[],zt})}return xt(Oe),Te}function ke(Oe,_e,me){var Re={};(0,ee.Z)(me)==="object"?Re=me:Re={externalGetKey:me},Re=Re||{};var Le=Re,Pe=Le.childrenPropName,De=Le.externalGetKey,ze=Le.fieldNames,Te=ge(ze),xt=Te.key,Ze=Te.children,vt=Pe||Ze,ot;De?typeof De=="string"?ot=function(It){return It[De]}:typeof De=="function"&&(ot=function(It){return De(It)}):ot=function(It,Qe){return Ae(It[xt],Qe)};function mt(Lt,It,Qe,Me){var st=Lt?Lt[vt]:Oe,zt=Lt?He(Qe.pos,It):"0",ut=Lt?[].concat((0,de.Z)(Me),[Lt]):[];if(Lt){var tt=ot(Lt,zt),at={node:Lt,index:It,pos:zt,key:tt,parentPos:Qe.node?Qe.pos:null,level:Qe.level+1,nodes:ut};_e(at)}st&&st.forEach(function(Nt,on){mt(Nt,on,{node:Lt,pos:zt,level:Qe?Qe.level+1:-1},ut)})}mt(null)}function Ye(Oe){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=_e.initWrapper,Re=_e.processEntity,Le=_e.onProcessFinished,Pe=_e.externalGetKey,De=_e.childrenPropName,ze=_e.fieldNames,Te=arguments.length>2?arguments[2]:void 0,xt=Pe||Te,Ze={},vt={},ot={posEntities:Ze,keyEntities:vt};return me&&(ot=me(ot)||ot),ke(Oe,function(mt){var Lt=mt.node,It=mt.index,Qe=mt.pos,Me=mt.key,st=mt.parentPos,zt=mt.level,ut=mt.nodes,tt={node:Lt,nodes:ut,index:It,key:Me,pos:Qe,level:zt},at=Ae(Me,Qe);Ze[Qe]=tt,vt[at]=tt,tt.parent=Ze[st],tt.parent&&(tt.parent.children=tt.parent.children||[],tt.parent.children.push(tt)),Re&&Re(tt,ot)},{externalGetKey:xt,childrenPropName:De,fieldNames:ze}),Le&&Le(ot),ot}function et(Oe,_e){var me=_e.expandedKeys,Re=_e.selectedKeys,Le=_e.loadedKeys,Pe=_e.loadingKeys,De=_e.checkedKeys,ze=_e.halfCheckedKeys,Te=_e.dragOverNodeKey,xt=_e.dropPosition,Ze=_e.keyEntities,vt=(0,be.Z)(Ze,Oe),ot={eventKey:Oe,expanded:me.indexOf(Oe)!==-1,selected:Re.indexOf(Oe)!==-1,loaded:Le.indexOf(Oe)!==-1,loading:Pe.indexOf(Oe)!==-1,checked:De.indexOf(Oe)!==-1,halfChecked:ze.indexOf(Oe)!==-1,pos:String(vt?vt.pos:""),dragOver:Te===Oe&&xt===0,dragOverGapTop:Te===Oe&&xt===-1,dragOverGapBottom:Te===Oe&&xt===1};return ot}function Ke(Oe){var _e=Oe.data,me=Oe.expanded,Re=Oe.selected,Le=Oe.checked,Pe=Oe.loaded,De=Oe.loading,ze=Oe.halfChecked,Te=Oe.dragOver,xt=Oe.dragOverGapTop,Ze=Oe.dragOverGapBottom,vt=Oe.pos,ot=Oe.active,mt=Oe.eventKey,Lt=(0,Ce.Z)((0,Ce.Z)({},_e),{},{expanded:me,selected:Re,checked:Le,loaded:Pe,loading:De,halfChecked:ze,dragOver:Te,dragOverGapTop:xt,dragOverGapBottom:Ze,pos:vt,active:ot,key:mt});return"props"in Lt||Object.defineProperty(Lt,"props",{get:function(){return(0,fe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Oe}}),Lt}},8224:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return de}});var ee=te(4676);function de(Ce,We,xe,Ee){var fe=ee.unstable_batchedUpdates?function(Fe){ee.unstable_batchedUpdates(xe,Fe)}:xe;return Ce!=null&&Ce.addEventListener&&Ce.addEventListener(We,fe,Ee),{remove:function(){Ce!=null&&Ce.removeEventListener&&Ce.removeEventListener(We,fe,Ee)}}}},55468:function(tn,kt,te){"use strict";te.d(kt,{g1:function(){return rt},os:function(){return ge}});var ee=/margin|padding|width|height|max|min|offset/,de={left:!0,top:!0},Ce={cssFloat:1,styleFloat:1,float:1};function We(we){return we.nodeType===1?we.ownerDocument.defaultView.getComputedStyle(we,null):{}}function xe(we,Se,Ne){if(Se=Se.toLowerCase(),Ne==="auto"){if(Se==="height")return we.offsetHeight;if(Se==="width")return we.offsetWidth}return Se in de||(de[Se]=ee.test(Se)),de[Se]?parseFloat(Ne)||0:Ne}function Ee(we,Se){var Ne=arguments.length,ke=We(we);return Se=Ce[Se]?"cssFloat"in we.style?"cssFloat":"styleFloat":Se,Ne===1?ke:xe(we,Se,ke[Se]||we.style[Se])}function fe(we,Se,Ne){var ke=arguments.length;if(Se=Ce[Se]?"cssFloat"in we.style?"cssFloat":"styleFloat":Se,ke===3)return typeof Ne=="number"&&ee.test(Se)&&(Ne="".concat(Ne,"px")),we.style[Se]=Ne,Ne;for(var Ye in Se)Se.hasOwnProperty(Ye)&&fe(we,Ye,Se[Ye]);return We(we)}function be(we){return we===document.body?document.documentElement.clientWidth:we.offsetWidth}function Fe(we){return we===document.body?window.innerHeight||document.documentElement.clientHeight:we.offsetHeight}function He(){var we=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Se=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:we,height:Se}}function rt(){var we=document.documentElement.clientWidth,Se=window.innerHeight||document.documentElement.clientHeight;return{width:we,height:Se}}function Ae(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ge(we){var Se=we.getBoundingClientRect(),Ne=document.documentElement;return{left:Se.left+(window.pageXOffset||Ne.scrollLeft)-(Ne.clientLeft||document.body.clientLeft||0),top:Se.top+(window.pageYOffset||Ne.scrollTop)-(Ne.clientTop||document.body.clientTop||0)}}},24514:function(tn,kt,te){"use strict";te.d(kt,{G:function(){return We}});var ee=te(47273),de=function(Ee){if((0,ee.Z)()&&window.document.documentElement){var fe=Array.isArray(Ee)?Ee:[Ee],be=window.document.documentElement;return fe.some(function(Fe){return Fe in be.style})}return!1},Ce=function(Ee,fe){if(!de(Ee))return!1;var be=document.createElement("div"),Fe=be.style[Ee];return be.style[Ee]=fe,be.style[Ee]!==Fe};function We(xe,Ee){return!Array.isArray(xe)&&Ee!==void 0?Ce(xe,Ee):de(xe)}},48911:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return Wt}});var ee=te(60499),de=te(43749),Ce=te(85899),We=te(18642),xe=te(72190),Ee=te(42244),fe=te(92310),be=te.n(fe),Fe=te(29301),He=te(70425),rt=te(34280),Ae=te(59301),ge=te(4676),we=Ae.forwardRef(function(Ie,he){var ue=Ie.height,ve=Ie.offsetY,ye=Ie.offsetX,se=Ie.children,$e=Ie.prefixCls,wt=Ie.onInnerResize,lt=Ie.innerProps,Je=Ie.rtl,Pt=Ie.extra,Dt={},yt={display:"flex",flexDirection:"column"};return ve!==void 0&&(Dt={height:ue,position:"relative",overflow:"hidden"},yt=(0,Ce.Z)((0,Ce.Z)({},yt),{},(0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)((0,We.Z)({transform:"translateY(".concat(ve,"px)")},Je?"marginRight":"marginLeft",-ye),"position","absolute"),"left",0),"right",0),"top",0))),Ae.createElement("div",{style:Dt},Ae.createElement(Fe.Z,{onResize:function(En){var _t=En.offsetHeight;_t&&wt&&wt()}},Ae.createElement("div",(0,ee.Z)({style:yt,className:be()((0,We.Z)({},"".concat($e,"-holder-inner"),$e)),ref:he},lt),se,Pt)))});we.displayName="Filler";var Se=we;function Ne(Ie){var he=Ie.children,ue=Ie.setRef,ve=Ae.useCallback(function(ye){ue(ye)},[]);return Ae.cloneElement(he,{ref:ve})}function ke(Ie,he,ue,ve,ye,se,$e,wt){var lt=wt.getKey;return Ie.slice(he,ue+1).map(function(Je,Pt){var Dt=he+Pt,yt=$e(Je,Dt,{style:{width:ve},offsetX:ye}),jt=lt(Je);return Ae.createElement(Ne,{key:jt,setRef:function(_t){return se(Je,_t)}},yt)})}function Ye(Ie,he,ue,ve){var ye=ue-Ie,se=he-ue,$e=Math.min(ye,se)*2;if(ve<=$e){var wt=Math.floor(ve/2);return ve%2?ue+wt+1:ue-wt}return ye>se?ue-(ve-se):ue+(ve-ye)}function et(Ie,he,ue){var ve=Ie.length,ye=he.length,se,$e;if(ve===0&&ye===0)return null;ve<ye?(se=Ie,$e=he):(se=he,$e=Ie);var wt={__EMPTY_ITEM__:!0};function lt(En){return En!==void 0?ue(En):wt}for(var Je=null,Pt=Math.abs(ve-ye)!==1,Dt=0;Dt<$e.length;Dt+=1){var yt=lt(se[Dt]),jt=lt($e[Dt]);if(yt!==jt){Je=Dt,Pt=Pt||yt!==lt($e[Dt+1]);break}}return Je===null?null:{index:Je,multiple:Pt}}function Ke(Ie,he,ue){var ve=Ae.useState(Ie),ye=(0,xe.Z)(ve,2),se=ye[0],$e=ye[1],wt=Ae.useState(null),lt=(0,xe.Z)(wt,2),Je=lt[0],Pt=lt[1];return Ae.useEffect(function(){var Dt=et(se||[],Ie||[],he);(Dt==null?void 0:Dt.index)!==void 0&&(ue==null||ue(Dt.index),Pt(Ie[Dt.index])),$e(Ie)},[Ie]),[Je]}var Oe=te(16089),_e=(typeof navigator=="undefined"?"undefined":(0,de.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),me=_e,Re=function(Ie,he,ue,ve){var ye=(0,Ae.useRef)(!1),se=(0,Ae.useRef)(null);function $e(){clearTimeout(se.current),ye.current=!0,se.current=setTimeout(function(){ye.current=!1},50)}var wt=(0,Ae.useRef)({top:Ie,bottom:he,left:ue,right:ve});return wt.current.top=Ie,wt.current.bottom=he,wt.current.left=ue,wt.current.right=ve,function(lt,Je){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=lt?Je<0&&wt.current.left||Je>0&&wt.current.right:Je<0&&wt.current.top||Je>0&&wt.current.bottom;return Pt&&Dt?(clearTimeout(se.current),ye.current=!1):(!Dt||ye.current)&&$e(),!ye.current&&Dt}};function Le(Ie,he,ue,ve,ye,se,$e){var wt=(0,Ae.useRef)(0),lt=(0,Ae.useRef)(null),Je=(0,Ae.useRef)(null),Pt=(0,Ae.useRef)(!1),Dt=Re(he,ue,ve,ye);function yt(Ft,it){if(Oe.Z.cancel(lt.current),!Dt(!1,it)){var Et=Ft;if(!Et._virtualHandled)Et._virtualHandled=!0;else return;wt.current+=it,Je.current=it,me||Et.preventDefault(),lt.current=(0,Oe.Z)(function(){var an=Pt.current?10:1;$e(wt.current*an,!1),wt.current=0})}}function jt(Ft,it){$e(it,!0),me||Ft.preventDefault()}var En=(0,Ae.useRef)(null),_t=(0,Ae.useRef)(null);function Yt(Ft){if(Ie){Oe.Z.cancel(_t.current),_t.current=(0,Oe.Z)(function(){En.current=null},2);var it=Ft.deltaX,Et=Ft.deltaY,an=Ft.shiftKey,un=it,vn=Et;(En.current==="sx"||!En.current&&an&&Et&&!it)&&(un=Et,vn=0,En.current="sx");var gn=Math.abs(un),Xn=Math.abs(vn);En.current===null&&(En.current=se&&gn>Xn?"x":"y"),En.current==="y"?yt(Ft,vn):jt(Ft,un)}}function wn(Ft){Ie&&(Pt.current=Ft.detail===Je.current)}return[Yt,wn]}function Pe(Ie,he,ue,ve){var ye=Ae.useMemo(function(){return[new Map,[]]},[Ie,ue.id,ve]),se=(0,xe.Z)(ye,2),$e=se[0],wt=se[1],lt=function(Pt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt,yt=$e.get(Pt),jt=$e.get(Dt);if(yt===void 0||jt===void 0)for(var En=Ie.length,_t=wt.length;_t<En;_t+=1){var Yt,wn=Ie[_t],Ft=he(wn);$e.set(Ft,_t);var it=(Yt=ue.get(Ft))!==null&&Yt!==void 0?Yt:ve;if(wt[_t]=(wt[_t-1]||0)+it,Ft===Pt&&(yt=_t),Ft===Dt&&(jt=_t),yt!==void 0&&jt!==void 0)break}return{top:wt[yt-1]||0,bottom:wt[jt]}};return lt}var De=te(38705),ze=te(17212),Te=function(){function Ie(){(0,De.Z)(this,Ie),(0,We.Z)(this,"maps",void 0),(0,We.Z)(this,"id",0),(0,We.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,ze.Z)(Ie,[{key:"set",value:function(ue,ve){this.diffRecords.set(ue,this.maps[ue]),this.maps[ue]=ve,this.id+=1}},{key:"get",value:function(ue){return this.maps[ue]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),Ie}(),xt=Te;function Ze(Ie){var he=parseFloat(Ie);return isNaN(he)?0:he}function vt(Ie,he,ue){var ve=Ae.useState(0),ye=(0,xe.Z)(ve,2),se=ye[0],$e=ye[1],wt=(0,Ae.useRef)(new Map),lt=(0,Ae.useRef)(new xt),Je=(0,Ae.useRef)(0);function Pt(){Je.current+=1}function Dt(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Pt();var En=function(){var wn=!1;wt.current.forEach(function(Ft,it){if(Ft&&Ft.offsetParent){var Et=Ft.offsetHeight,an=getComputedStyle(Ft),un=an.marginTop,vn=an.marginBottom,gn=Ze(un),Xn=Ze(vn),ir=Et+gn+Xn;lt.current.get(it)!==ir&&(lt.current.set(it,ir),wn=!0)}}),wn&&$e(function(Ft){return Ft+1})};if(jt)En();else{Je.current+=1;var _t=Je.current;Promise.resolve().then(function(){_t===Je.current&&En()})}}function yt(jt,En){var _t=Ie(jt),Yt=wt.current.get(_t);En?(wt.current.set(_t,En),Dt()):wt.current.delete(_t),!Yt!=!En&&(En?he==null||he(jt):ue==null||ue(jt))}return(0,Ae.useEffect)(function(){return Pt},[]),[yt,Dt,lt.current,se]}var ot=14/15;function mt(Ie,he,ue){var ve=(0,Ae.useRef)(!1),ye=(0,Ae.useRef)(0),se=(0,Ae.useRef)(0),$e=(0,Ae.useRef)(null),wt=(0,Ae.useRef)(null),lt,Je=function(jt){if(ve.current){var En=Math.ceil(jt.touches[0].pageX),_t=Math.ceil(jt.touches[0].pageY),Yt=ye.current-En,wn=se.current-_t,Ft=Math.abs(Yt)>Math.abs(wn);Ft?ye.current=En:se.current=_t;var it=ue(Ft,Ft?Yt:wn,!1,jt);it&&jt.preventDefault(),clearInterval(wt.current),it&&(wt.current=setInterval(function(){Ft?Yt*=ot:wn*=ot;var Et=Math.floor(Ft?Yt:wn);(!ue(Ft,Et,!0)||Math.abs(Et)<=.1)&&clearInterval(wt.current)},16))}},Pt=function(){ve.current=!1,lt()},Dt=function(jt){lt(),jt.touches.length===1&&!ve.current&&(ve.current=!0,ye.current=Math.ceil(jt.touches[0].pageX),se.current=Math.ceil(jt.touches[0].pageY),$e.current=jt.target,$e.current.addEventListener("touchmove",Je,{passive:!1}),$e.current.addEventListener("touchend",Pt,{passive:!0}))};lt=function(){$e.current&&($e.current.removeEventListener("touchmove",Je),$e.current.removeEventListener("touchend",Pt))},(0,rt.Z)(function(){return Ie&&he.current.addEventListener("touchstart",Dt,{passive:!0}),function(){var yt;(yt=he.current)===null||yt===void 0||yt.removeEventListener("touchstart",Dt),lt(),clearInterval(wt.current)}},[Ie])}function Lt(Ie){return Math.floor(Math.pow(Ie,.5))}function It(Ie,he){var ue="touches"in Ie?Ie.touches[0]:Ie;return ue[he?"pageX":"pageY"]-window[he?"scrollX":"scrollY"]}function Qe(Ie,he,ue){Ae.useEffect(function(){var ve=he.current;if(Ie&&ve){var ye=!1,se,$e,wt=function(){Oe.Z.cancel(se)},lt=function yt(){wt(),se=(0,Oe.Z)(function(){ue($e),yt()})},Je=function(){ye=!1,wt()},Pt=function(jt){if(!(jt.target.draggable||jt.button!==0)){var En=jt;En._virtualHandled||(En._virtualHandled=!0,ye=!0)}},Dt=function(jt){if(ye){var En=It(jt,!1),_t=ve.getBoundingClientRect(),Yt=_t.top,wn=_t.bottom;if(En<=Yt){var Ft=Yt-En;$e=-Lt(Ft),lt()}else if(En>=wn){var it=En-wn;$e=Lt(it),lt()}else wt()}};return ve.addEventListener("mousedown",Pt),ve.ownerDocument.addEventListener("mouseup",Je),ve.ownerDocument.addEventListener("mousemove",Dt),ve.ownerDocument.addEventListener("dragend",Je),function(){ve.removeEventListener("mousedown",Pt),ve.ownerDocument.removeEventListener("mouseup",Je),ve.ownerDocument.removeEventListener("mousemove",Dt),ve.ownerDocument.removeEventListener("dragend",Je),wt()}}},[Ie])}var Me=10;function st(Ie,he,ue,ve,ye,se,$e,wt){var lt=Ae.useRef(),Je=Ae.useState(null),Pt=(0,xe.Z)(Je,2),Dt=Pt[0],yt=Pt[1];return(0,rt.Z)(function(){if(Dt&&Dt.times<Me){if(!Ie.current){yt(function(pi){return(0,Ce.Z)({},pi)});return}se();var jt=Dt.targetAlign,En=Dt.originAlign,_t=Dt.index,Yt=Dt.offset,wn=Ie.current.clientHeight,Ft=!1,it=jt,Et=null;if(wn){for(var an=jt||En,un=0,vn=0,gn=0,Xn=Math.min(he.length-1,_t),ir=0;ir<=Xn;ir+=1){var Dr=ye(he[ir]);vn=un;var kr=ue.get(Dr);gn=vn+(kr===void 0?ve:kr),un=gn}for(var Bn=an==="top"?Yt:wn-Yt,jr=Xn;jr>=0;jr-=1){var ci=ye(he[jr]),_r=ue.get(ci);if(_r===void 0){Ft=!0;break}if(Bn-=_r,Bn<=0)break}switch(an){case"top":Et=vn-Yt;break;case"bottom":Et=gn-wn+Yt;break;default:{var Nr=Ie.current.scrollTop,ai=Nr+wn;vn<Nr?it="top":gn>ai&&(it="bottom")}}Et!==null&&$e(Et),Et!==Dt.lastTop&&(Ft=!0)}Ft&&yt((0,Ce.Z)((0,Ce.Z)({},Dt),{},{times:Dt.times+1,targetAlign:it,lastTop:Et}))}},[Dt,Ie.current]),function(jt){if(jt==null){wt();return}if(Oe.Z.cancel(lt.current),typeof jt=="number")$e(jt);else if(jt&&(0,de.Z)(jt)==="object"){var En,_t=jt.align;"index"in jt?En=jt.index:En=he.findIndex(function(Ft){return ye(Ft)===jt.key});var Yt=jt.offset,wn=Yt===void 0?0:Yt;yt({times:0,index:En,offset:wn,originAlign:_t})}}}var zt=Ae.forwardRef(function(Ie,he){var ue=Ie.prefixCls,ve=Ie.rtl,ye=Ie.scrollOffset,se=Ie.scrollRange,$e=Ie.onStartMove,wt=Ie.onStopMove,lt=Ie.onScroll,Je=Ie.horizontal,Pt=Ie.spinSize,Dt=Ie.containerSize,yt=Ie.style,jt=Ie.thumbStyle,En=Ie.showScrollBar,_t=Ae.useState(!1),Yt=(0,xe.Z)(_t,2),wn=Yt[0],Ft=Yt[1],it=Ae.useState(null),Et=(0,xe.Z)(it,2),an=Et[0],un=Et[1],vn=Ae.useState(null),gn=(0,xe.Z)(vn,2),Xn=gn[0],ir=gn[1],Dr=!ve,kr=Ae.useRef(),Bn=Ae.useRef(),jr=Ae.useState(En),ci=(0,xe.Z)(jr,2),_r=ci[0],Nr=ci[1],ai=Ae.useRef(),pi=function(){En===!0||En===!1||(clearTimeout(ai.current),Nr(!0),ai.current=setTimeout(function(){Nr(!1)},3e3))},Mn=se-Dt||0,pr=Dt-Pt||0,Rr=Ae.useMemo(function(){if(ye===0||Mn===0)return 0;var $t=ye/Mn;return $t*pr},[ye,Mn,pr]),Gr=function(pt){pt.stopPropagation(),pt.preventDefault()},zr=Ae.useRef({top:Rr,dragging:wn,pageY:an,startTop:Xn});zr.current={top:Rr,dragging:wn,pageY:an,startTop:Xn};var ei=function(pt){Ft(!0),un(It(pt,Je)),ir(zr.current.top),$e(),pt.stopPropagation(),pt.preventDefault()};Ae.useEffect(function(){var $t=function(Ct){Ct.preventDefault()},pt=kr.current,Bt=Bn.current;return pt.addEventListener("touchstart",$t,{passive:!1}),Bt.addEventListener("touchstart",ei,{passive:!1}),function(){pt.removeEventListener("touchstart",$t),Bt.removeEventListener("touchstart",ei)}},[]);var Hr=Ae.useRef();Hr.current=Mn;var fi=Ae.useRef();fi.current=pr,Ae.useEffect(function(){if(wn){var $t,pt=function(Ct){var Gt=zr.current,nn=Gt.dragging,_n=Gt.pageY,Pn=Gt.startTop;Oe.Z.cancel($t);var Sn=kr.current.getBoundingClientRect(),rr=Dt/(Je?Sn.width:Sn.height);if(nn){var gr=(It(Ct,Je)-_n)*rr,Cr=Pn;!Dr&&Je?Cr-=gr:Cr+=gr;var bn=Hr.current,$n=fi.current,Jt=$n?Cr/$n:0,pn=Math.ceil(Jt*bn);pn=Math.max(pn,0),pn=Math.min(pn,bn),$t=(0,Oe.Z)(function(){lt(pn,Je)})}},Bt=function(){Ft(!1),wt()};return window.addEventListener("mousemove",pt,{passive:!0}),window.addEventListener("touchmove",pt,{passive:!0}),window.addEventListener("mouseup",Bt,{passive:!0}),window.addEventListener("touchend",Bt,{passive:!0}),function(){window.removeEventListener("mousemove",pt),window.removeEventListener("touchmove",pt),window.removeEventListener("mouseup",Bt),window.removeEventListener("touchend",Bt),Oe.Z.cancel($t)}}},[wn]),Ae.useEffect(function(){return pi(),function(){clearTimeout(ai.current)}},[ye]),Ae.useImperativeHandle(he,function(){return{delayHidden:pi}});var Pr="".concat(ue,"-scrollbar"),dr={position:"absolute",visibility:_r?null:"hidden"},oi={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Je?(Object.assign(dr,{height:8,left:0,right:0,bottom:0}),Object.assign(oi,(0,We.Z)({height:"100%",width:Pt},Dr?"left":"right",Rr))):(Object.assign(dr,(0,We.Z)({width:8,top:0,bottom:0},Dr?"right":"left",0)),Object.assign(oi,{width:"100%",height:Pt,top:Rr})),Ae.createElement("div",{ref:kr,className:be()(Pr,(0,We.Z)((0,We.Z)((0,We.Z)({},"".concat(Pr,"-horizontal"),Je),"".concat(Pr,"-vertical"),!Je),"".concat(Pr,"-visible"),_r)),style:(0,Ce.Z)((0,Ce.Z)({},dr),yt),onMouseDown:Gr,onMouseMove:pi},Ae.createElement("div",{ref:Bn,className:be()("".concat(Pr,"-thumb"),(0,We.Z)({},"".concat(Pr,"-thumb-moving"),wn)),style:(0,Ce.Z)((0,Ce.Z)({},oi),jt),onMouseDown:ei}))}),ut=zt,tt=20;function at(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ue=Ie/he*Ie;return isNaN(ue)&&(ue=0),ue=Math.max(ue,tt),Math.floor(ue)}var Nt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],on=[],Ht={overflowY:"auto",overflowAnchor:"none"};function Fn(Ie,he){var ue=Ie.prefixCls,ve=ue===void 0?"rc-virtual-list":ue,ye=Ie.className,se=Ie.height,$e=Ie.itemHeight,wt=Ie.fullHeight,lt=wt===void 0?!0:wt,Je=Ie.style,Pt=Ie.data,Dt=Ie.children,yt=Ie.itemKey,jt=Ie.virtual,En=Ie.direction,_t=Ie.scrollWidth,Yt=Ie.component,wn=Yt===void 0?"div":Yt,Ft=Ie.onScroll,it=Ie.onVirtualScroll,Et=Ie.onVisibleChange,an=Ie.innerProps,un=Ie.extraRender,vn=Ie.styles,gn=Ie.showScrollBar,Xn=gn===void 0?"optional":gn,ir=(0,Ee.Z)(Ie,Nt),Dr=Ae.useCallback(function(Di){return typeof yt=="function"?yt(Di):Di==null?void 0:Di[yt]},[yt]),kr=vt(Dr,null,null),Bn=(0,xe.Z)(kr,4),jr=Bn[0],ci=Bn[1],_r=Bn[2],Nr=Bn[3],ai=!!(jt!==!1&&se&&$e),pi=Ae.useMemo(function(){return Object.values(_r.maps).reduce(function(Di,Ti){return Di+Ti},0)},[_r.id,_r.maps]),Mn=ai&&Pt&&(Math.max($e*Pt.length,pi)>se||!!_t),pr=En==="rtl",Rr=be()(ve,(0,We.Z)({},"".concat(ve,"-rtl"),pr),ye),Gr=Pt||on,zr=(0,Ae.useRef)(),ei=(0,Ae.useRef)(),Hr=(0,Ae.useRef)(),fi=(0,Ae.useState)(0),Pr=(0,xe.Z)(fi,2),dr=Pr[0],oi=Pr[1],$t=(0,Ae.useState)(0),pt=(0,xe.Z)($t,2),Bt=pt[0],At=pt[1],Ct=(0,Ae.useState)(!1),Gt=(0,xe.Z)(Ct,2),nn=Gt[0],_n=Gt[1],Pn=function(){_n(!0)},Sn=function(){_n(!1)},rr={getKey:Dr};function gr(Di){oi(function(Ti){var Ea;typeof Di=="function"?Ea=Di(Ti):Ea=Di;var _a=ki(Ea);return zr.current.scrollTop=_a,_a})}var Cr=(0,Ae.useRef)({start:0,end:Gr.length}),bn=(0,Ae.useRef)(),$n=Ke(Gr,Dr),Jt=(0,xe.Z)($n,1),pn=Jt[0];bn.current=pn;var An=Ae.useMemo(function(){if(!ai)return{scrollHeight:void 0,start:0,end:Gr.length-1,offset:void 0};if(!Mn){var Di;return{scrollHeight:((Di=ei.current)===null||Di===void 0?void 0:Di.offsetHeight)||0,start:0,end:Gr.length-1,offset:void 0}}for(var Ti=0,Ea,_a,jo,Zo=Gr.length,ko=0;ko<Zo;ko+=1){var vo=Gr[ko],Ar=Dr(vo),il=_r.get(Ar),_i=Ti+(il===void 0?$e:il);_i>=dr&&Ea===void 0&&(Ea=ko,_a=Ti),_i>dr+se&&jo===void 0&&(jo=ko),Ti=_i}return Ea===void 0&&(Ea=0,_a=0,jo=Math.ceil(se/$e)),jo===void 0&&(jo=Gr.length-1),jo=Math.min(jo+1,Gr.length-1),{scrollHeight:Ti,start:Ea,end:jo,offset:_a}},[Mn,ai,dr,Gr,Nr,se]),dn=An.scrollHeight,Hn=An.start,ln=An.end,jn=An.offset;Cr.current.start=Hn,Cr.current.end=ln,Ae.useLayoutEffect(function(){var Di=_r.getRecord();if(Di.size===1){var Ti=Array.from(Di.keys())[0],Ea=Di.get(Ti),_a=Gr[Hn];if(_a&&Ea===void 0){var jo=Dr(_a);if(jo===Ti){var Zo=_r.get(Ti),ko=Zo-$e;gr(function(vo){return vo+ko})}}}_r.resetRecord()},[dn]);var Mt=Ae.useState({width:0,height:se}),cn=(0,xe.Z)(Mt,2),hn=cn[0],In=cn[1],Ln=function(Ti){In({width:Ti.offsetWidth,height:Ti.offsetHeight})},Un=(0,Ae.useRef)(),Gn=(0,Ae.useRef)(),cr=Ae.useMemo(function(){return at(hn.width,_t)},[hn.width,_t]),Sr=Ae.useMemo(function(){return at(hn.height,dn)},[hn.height,dn]),Wr=dn-se,gi=(0,Ae.useRef)(Wr);gi.current=Wr;function ki(Di){var Ti=Di;return Number.isNaN(gi.current)||(Ti=Math.min(Ti,gi.current)),Ti=Math.max(Ti,0),Ti}var si=dr<=0,wi=dr>=Wr,Qr=Bt<=0,Gi=Bt>=_t,Hi=Re(si,wi,Qr,Gi),$i=function(){return{x:pr?-Bt:Bt,y:dr}},Ai=(0,Ae.useRef)($i()),li=(0,He.useEvent)(function(Di){if(it){var Ti=(0,Ce.Z)((0,Ce.Z)({},$i()),Di);(Ai.current.x!==Ti.x||Ai.current.y!==Ti.y)&&(it(Ti),Ai.current=Ti)}});function Qi(Di,Ti){var Ea=Di;Ti?((0,ge.flushSync)(function(){At(Ea)}),li()):gr(Ea)}function Pi(Di){var Ti=Di.currentTarget.scrollTop;Ti!==dr&&gr(Ti),Ft==null||Ft(Di),li()}var xa=function(Ti){var Ea=Ti,_a=_t?_t-hn.width:0;return Ea=Math.max(Ea,0),Ea=Math.min(Ea,_a),Ea},lo=(0,He.useEvent)(function(Di,Ti){Ti?((0,ge.flushSync)(function(){At(function(Ea){var _a=Ea+(pr?-Di:Di);return xa(_a)})}),li()):gr(function(Ea){var _a=Ea+Di;return _a})}),Vi=Le(ai,si,wi,Qr,Gi,!!_t,lo),Or=(0,xe.Z)(Vi,2),Lr=Or[0],ia=Or[1];mt(ai,zr,function(Di,Ti,Ea,_a){var jo=_a;return Hi(Di,Ti,Ea)?!1:!jo||!jo._virtualHandled?(jo&&(jo._virtualHandled=!0),Lr({preventDefault:function(){},deltaX:Di?Ti:0,deltaY:Di?0:Ti}),!0):!1}),Qe(Mn,zr,function(Di){gr(function(Ti){return Ti+Di})}),(0,rt.Z)(function(){function Di(Ea){var _a=si&&Ea.detail<0,jo=wi&&Ea.detail>0;ai&&!_a&&!jo&&Ea.preventDefault()}var Ti=zr.current;return Ti.addEventListener("wheel",Lr,{passive:!1}),Ti.addEventListener("DOMMouseScroll",ia,{passive:!0}),Ti.addEventListener("MozMousePixelScroll",Di,{passive:!1}),function(){Ti.removeEventListener("wheel",Lr),Ti.removeEventListener("DOMMouseScroll",ia),Ti.removeEventListener("MozMousePixelScroll",Di)}},[ai,si,wi]),(0,rt.Z)(function(){if(_t){var Di=xa(Bt);At(Di),li({x:Di})}},[hn.width,_t]);var Zi=function(){var Ti,Ea;(Ti=Un.current)===null||Ti===void 0||Ti.delayHidden(),(Ea=Gn.current)===null||Ea===void 0||Ea.delayHidden()},ma=st(zr,Gr,_r,$e,Dr,function(){return ci(!0)},gr,Zi);Ae.useImperativeHandle(he,function(){return{nativeElement:Hr.current,getScrollInfo:$i,scrollTo:function(Ti){function Ea(_a){return _a&&(0,de.Z)(_a)==="object"&&("left"in _a||"top"in _a)}Ea(Ti)?(Ti.left!==void 0&&At(xa(Ti.left)),ma(Ti.top)):ma(Ti)}}}),(0,rt.Z)(function(){if(Et){var Di=Gr.slice(Hn,ln+1);Et(Di,Gr)}},[Hn,ln,Gr]);var pa=Pe(Gr,Dr,_r,$e),ha=un==null?void 0:un({start:Hn,end:ln,virtual:Mn,offsetX:Bt,offsetY:jn,rtl:pr,getSize:pa}),qi=ke(Gr,Hn,ln,_t,Bt,jr,Dt,rr),aa=null;se&&(aa=(0,Ce.Z)((0,We.Z)({},lt?"height":"maxHeight",se),Ht),ai&&(aa.overflowY="hidden",_t&&(aa.overflowX="hidden"),nn&&(aa.pointerEvents="none")));var Ao={};return pr&&(Ao.dir="rtl"),Ae.createElement("div",(0,ee.Z)({ref:Hr,style:(0,Ce.Z)((0,Ce.Z)({},Je),{},{position:"relative"}),className:Rr},Ao,ir),Ae.createElement(Fe.Z,{onResize:Ln},Ae.createElement(wn,{className:"".concat(ve,"-holder"),style:aa,ref:zr,onScroll:Pi,onMouseEnter:Zi},Ae.createElement(Se,{prefixCls:ve,height:dn,offsetX:Bt,offsetY:jn,scrollWidth:_t,onInnerResize:ci,ref:ei,innerProps:an,rtl:pr,extra:ha},qi))),Mn&&dn>se&&Ae.createElement(ut,{ref:Un,prefixCls:ve,scrollOffset:dr,scrollRange:dn,rtl:pr,onScroll:Qi,onStartMove:Pn,onStopMove:Sn,spinSize:Sr,containerSize:hn.height,style:vn==null?void 0:vn.verticalScrollBar,thumbStyle:vn==null?void 0:vn.verticalScrollBarThumb,showScrollBar:Xn}),Mn&&_t>hn.width&&Ae.createElement(ut,{ref:Gn,prefixCls:ve,scrollOffset:Bt,scrollRange:_t,rtl:pr,onScroll:Qi,onStartMove:Pn,onStopMove:Sn,spinSize:cr,containerSize:hn.width,horizontal:!0,style:vn==null?void 0:vn.horizontalScrollBar,thumbStyle:vn==null?void 0:vn.horizontalScrollBarThumb,showScrollBar:Xn}))}var Qt=Ae.forwardRef(Fn);Qt.displayName="List";var Ut=Qt,Wt=Ut},51353:function(tn,kt,te){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),Object.defineProperty(kt,"DraggableCore",{enumerable:!0,get:function(){return be.default}}),kt.default=void 0;var ee=rt(te(59301)),de=He(te(12708)),Ce=He(te(4676)),We=te(14625),xe=te(77026),Ee=te(22013),fe=te(80217),be=He(te(68555)),Fe=He(te(97510));function He(ke){return ke&&ke.__esModule?ke:{default:ke}}function rt(ke,Ye){if(typeof WeakMap=="function")var et=new WeakMap,Ke=new WeakMap;return(rt=function(Oe,_e){if(!_e&&Oe&&Oe.__esModule)return Oe;var me,Re,Le={__proto__:null,default:Oe};if(Oe===null||typeof Oe!="object"&&typeof Oe!="function")return Le;if(me=_e?Ke:et){if(me.has(Oe))return me.get(Oe);me.set(Oe,Le)}for(const Pe in Oe)Pe!=="default"&&{}.hasOwnProperty.call(Oe,Pe)&&((Re=(me=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Oe,Pe))&&(Re.get||Re.set)?me(Le,Pe,Re):Le[Pe]=Oe[Pe]);return Le})(ke,Ye)}function Ae(){return Ae=Object.assign?Object.assign.bind():function(ke){for(var Ye=1;Ye<arguments.length;Ye++){var et=arguments[Ye];for(var Ke in et)({}).hasOwnProperty.call(et,Ke)&&(ke[Ke]=et[Ke])}return ke},Ae.apply(null,arguments)}function ge(ke,Ye,et){return(Ye=we(Ye))in ke?Object.defineProperty(ke,Ye,{value:et,enumerable:!0,configurable:!0,writable:!0}):ke[Ye]=et,ke}function we(ke){var Ye=Se(ke,"string");return typeof Ye=="symbol"?Ye:Ye+""}function Se(ke,Ye){if(typeof ke!="object"||!ke)return ke;var et=ke[Symbol.toPrimitive];if(et!==void 0){var Ke=et.call(ke,Ye||"default");if(typeof Ke!="object")return Ke;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ye==="string"?String:Number)(ke)}class Ne extends ee.Component{static getDerivedStateFromProps(Ye,et){let{position:Ke}=Ye,{prevPropsPosition:Oe}=et;return Ke&&(!Oe||Ke.x!==Oe.x||Ke.y!==Oe.y)?((0,Fe.default)("Draggable: getDerivedStateFromProps %j",{position:Ke,prevPropsPosition:Oe}),{x:Ke.x,y:Ke.y,prevPropsPosition:kd({},Ke)}):null}constructor(Ye){super(Ye),ge(this,"onDragStart",(et,Ke)=>{if((0,Fe.default)("Draggable: onDragStart: %j",Ke),this.props.onStart(et,(0,Ee.createDraggableData)(this,Ke))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),ge(this,"onDrag",(et,Ke)=>{if(!this.state.dragging)return!1;(0,Fe.default)("Draggable: onDrag: %j",Ke);const Oe=(0,Ee.createDraggableData)(this,Ke),_e={x:Oe.x,y:Oe.y,slackX:0,slackY:0};if(this.props.bounds){const{x:Re,y:Le}=_e;_e.x+=this.state.slackX,_e.y+=this.state.slackY;const[Pe,De]=(0,Ee.getBoundPosition)(this,_e.x,_e.y);_e.x=Pe,_e.y=De,_e.slackX=this.state.slackX+(Re-_e.x),_e.slackY=this.state.slackY+(Le-_e.y),Oe.x=_e.x,Oe.y=_e.y,Oe.deltaX=_e.x-this.state.x,Oe.deltaY=_e.y-this.state.y}if(this.props.onDrag(et,Oe)===!1)return!1;this.setState(_e)}),ge(this,"onDragStop",(et,Ke)=>{if(!this.state.dragging||this.props.onStop(et,(0,Ee.createDraggableData)(this,Ke))===!1)return!1;(0,Fe.default)("Draggable: onDragStop: %j",Ke);const _e={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:Re,y:Le}=this.props.position;_e.x=Re,_e.y=Le}this.setState(_e)}),this.state={dragging:!1,dragged:!1,x:Ye.position?Ye.position.x:Ye.defaultPosition.x,y:Ye.position?Ye.position.y:Ye.defaultPosition.y,prevPropsPosition:kd({},Ye.position),slackX:0,slackY:0,isElementSVG:!1},Ye.position&&!(Ye.onDrag||Ye.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement!="undefined"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){var Ye,et,Ke;return(Ke=(et=(Ye=this.props)==null?void 0:Ye.nodeRef)==null?void 0:et.current)!=null?Ke:Ce.default.findDOMNode(this)}render(){const It=this.props,{axis:Ye,bounds:et,children:Ke,defaultPosition:Oe,defaultClassName:_e,defaultClassNameDragging:me,defaultClassNameDragged:Re,position:Le,positionOffset:Pe,scale:De}=It,ze=zm(It,["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"]);let Te={},xt=null;const vt=!!!Le||this.state.dragging,ot=Le||Oe,mt={x:(0,Ee.canDragX)(this)&&vt?this.state.x:ot.x,y:(0,Ee.canDragY)(this)&&vt?this.state.y:ot.y};this.state.isElementSVG?xt=(0,xe.createSVGTransform)(mt,Pe):Te=(0,xe.createCSSTransform)(mt,Pe);const Lt=(0,We.clsx)(Ke.props.className||"",_e,{[me]:this.state.dragging,[Re]:this.state.dragged});return ee.createElement(be.default,Ae({},ze,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),ee.cloneElement(ee.Children.only(Ke),{className:Lt,style:kd(kd({},Ke.props.style),Te),transform:xt}))}}kt.default=Ne,ge(Ne,"displayName","Draggable"),ge(Ne,"propTypes",yh(kd({},be.default.propTypes),{axis:de.default.oneOf(["both","x","y","none"]),bounds:de.default.oneOfType([de.default.shape({left:de.default.number,right:de.default.number,top:de.default.number,bottom:de.default.number}),de.default.string,de.default.oneOf([!1])]),defaultClassName:de.default.string,defaultClassNameDragging:de.default.string,defaultClassNameDragged:de.default.string,defaultPosition:de.default.shape({x:de.default.number,y:de.default.number}),positionOffset:de.default.shape({x:de.default.oneOfType([de.default.number,de.default.string]),y:de.default.oneOfType([de.default.number,de.default.string])}),position:de.default.shape({x:de.default.number,y:de.default.number}),className:fe.dontSetMe,style:fe.dontSetMe,transform:fe.dontSetMe})),ge(Ne,"defaultProps",yh(kd({},be.default.defaultProps),{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},68555:function(tn,kt,te){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0;var ee=Fe(te(59301)),de=be(te(12708)),Ce=be(te(4676)),We=te(77026),xe=te(22013),Ee=te(80217),fe=be(te(97510));function be(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}function Fe(Ne,ke){if(typeof WeakMap=="function")var Ye=new WeakMap,et=new WeakMap;return(Fe=function(Ke,Oe){if(!Oe&&Ke&&Ke.__esModule)return Ke;var _e,me,Re={__proto__:null,default:Ke};if(Ke===null||typeof Ke!="object"&&typeof Ke!="function")return Re;if(_e=Oe?et:Ye){if(_e.has(Ke))return _e.get(Ke);_e.set(Ke,Re)}for(const Le in Ke)Le!=="default"&&{}.hasOwnProperty.call(Ke,Le)&&((me=(_e=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ke,Le))&&(me.get||me.set)?_e(Re,Le,me):Re[Le]=Ke[Le]);return Re})(Ne,ke)}function He(Ne,ke,Ye){return(ke=rt(ke))in Ne?Object.defineProperty(Ne,ke,{value:Ye,enumerable:!0,configurable:!0,writable:!0}):Ne[ke]=Ye,Ne}function rt(Ne){var ke=Ae(Ne,"string");return typeof ke=="symbol"?ke:ke+""}function Ae(Ne,ke){if(typeof Ne!="object"||!Ne)return Ne;var Ye=Ne[Symbol.toPrimitive];if(Ye!==void 0){var et=Ye.call(Ne,ke||"default");if(typeof et!="object")return et;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ke==="string"?String:Number)(Ne)}const ge={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let we=ge.mouse;class Se extends ee.Component{constructor(){super(...arguments),He(this,"dragging",!1),He(this,"lastX",NaN),He(this,"lastY",NaN),He(this,"touchIdentifier",null),He(this,"mounted",!1),He(this,"handleDragStart",ke=>{if(this.props.onMouseDown(ke),!this.props.allowAnyClick&&typeof ke.button=="number"&&ke.button!==0)return!1;const Ye=this.findDOMNode();if(!Ye||!Ye.ownerDocument||!Ye.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:et}=Ye;if(this.props.disabled||!(ke.target instanceof et.defaultView.Node)||this.props.handle&&!(0,We.matchesSelectorAndParentsTo)(ke.target,this.props.handle,Ye)||this.props.cancel&&(0,We.matchesSelectorAndParentsTo)(ke.target,this.props.cancel,Ye))return;ke.type==="touchstart"&&!this.props.allowMobileScroll&&ke.preventDefault();const Ke=(0,We.getTouchIdentifier)(ke);this.touchIdentifier=Ke;const Oe=(0,xe.getControlPosition)(ke,Ke,this);if(Oe==null)return;const{x:_e,y:me}=Oe,Re=(0,xe.createCoreData)(this,_e,me);(0,fe.default)("DraggableCore: handleDragStart: %j",Re),(0,fe.default)("calling",this.props.onStart),!(this.props.onStart(ke,Re)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,We.addUserSelectStyles)(et),this.dragging=!0,this.lastX=_e,this.lastY=me,(0,We.addEvent)(et,we.move,this.handleDrag),(0,We.addEvent)(et,we.stop,this.handleDragStop))}),He(this,"handleDrag",ke=>{const Ye=(0,xe.getControlPosition)(ke,this.touchIdentifier,this);if(Ye==null)return;let{x:et,y:Ke}=Ye;if(Array.isArray(this.props.grid)){let me=et-this.lastX,Re=Ke-this.lastY;if([me,Re]=(0,xe.snapToGrid)(this.props.grid,me,Re),!me&&!Re)return;et=this.lastX+me,Ke=this.lastY+Re}const Oe=(0,xe.createCoreData)(this,et,Ke);if((0,fe.default)("DraggableCore: handleDrag: %j",Oe),this.props.onDrag(ke,Oe)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch(me){const Re=document.createEvent("MouseEvents");Re.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(Re)}return}this.lastX=et,this.lastY=Ke}),He(this,"handleDragStop",ke=>{if(!this.dragging)return;const Ye=(0,xe.getControlPosition)(ke,this.touchIdentifier,this);if(Ye==null)return;let{x:et,y:Ke}=Ye;if(Array.isArray(this.props.grid)){let Re=et-this.lastX||0,Le=Ke-this.lastY||0;[Re,Le]=(0,xe.snapToGrid)(this.props.grid,Re,Le),et=this.lastX+Re,Ke=this.lastY+Le}const Oe=(0,xe.createCoreData)(this,et,Ke);if(this.props.onStop(ke,Oe)===!1||this.mounted===!1)return!1;const me=this.findDOMNode();me&&this.props.enableUserSelectHack&&(0,We.scheduleRemoveUserSelectStyles)(me.ownerDocument),(0,fe.default)("DraggableCore: handleDragStop: %j",Oe),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,me&&((0,fe.default)("DraggableCore: Removing handlers"),(0,We.removeEvent)(me.ownerDocument,we.move,this.handleDrag),(0,We.removeEvent)(me.ownerDocument,we.stop,this.handleDragStop))}),He(this,"onMouseDown",ke=>(we=ge.mouse,this.handleDragStart(ke))),He(this,"onMouseUp",ke=>(we=ge.mouse,this.handleDragStop(ke))),He(this,"onTouchStart",ke=>(we=ge.touch,this.handleDragStart(ke))),He(this,"onTouchEnd",ke=>(we=ge.touch,this.handleDragStop(ke)))}componentDidMount(){this.mounted=!0;const ke=this.findDOMNode();ke&&(0,We.addEvent)(ke,ge.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const ke=this.findDOMNode();if(ke){const{ownerDocument:Ye}=ke;(0,We.removeEvent)(Ye,ge.mouse.move,this.handleDrag),(0,We.removeEvent)(Ye,ge.touch.move,this.handleDrag),(0,We.removeEvent)(Ye,ge.mouse.stop,this.handleDragStop),(0,We.removeEvent)(Ye,ge.touch.stop,this.handleDragStop),(0,We.removeEvent)(ke,ge.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,We.scheduleRemoveUserSelectStyles)(Ye)}}findDOMNode(){var ke,Ye,et;return(ke=this.props)!=null&&ke.nodeRef?(et=(Ye=this.props)==null?void 0:Ye.nodeRef)==null?void 0:et.current:Ce.default.findDOMNode(this)}render(){return ee.cloneElement(ee.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}kt.default=Se,He(Se,"displayName","DraggableCore"),He(Se,"propTypes",{allowAnyClick:de.default.bool,allowMobileScroll:de.default.bool,children:de.default.node.isRequired,disabled:de.default.bool,enableUserSelectHack:de.default.bool,offsetParent:function(Ne,ke){if(Ne[ke]&&Ne[ke].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:de.default.arrayOf(de.default.number),handle:de.default.string,cancel:de.default.string,nodeRef:de.default.object,onStart:de.default.func,onDrag:de.default.func,onStop:de.default.func,onMouseDown:de.default.func,scale:de.default.number,className:Ee.dontSetMe,style:Ee.dontSetMe,transform:Ee.dontSetMe}),He(Se,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},96249:function(tn,kt,te){"use strict";const{default:ee,DraggableCore:de}=te(51353);tn.exports=ee,tn.exports.default=ee,tn.exports.DraggableCore=de},77026:function(tn,kt,te){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),kt.addClassName=_e,kt.addEvent=fe,kt.addUserSelectStyles=et,kt.createCSSTransform=we,kt.createSVGTransform=Se,kt.getTouch=ke,kt.getTouchIdentifier=Ye,kt.getTranslation=Ne,kt.innerHeight=rt,kt.innerWidth=Ae,kt.matchesSelector=xe,kt.matchesSelectorAndParentsTo=Ee,kt.offsetXYFromParent=ge,kt.outerHeight=Fe,kt.outerWidth=He,kt.removeClassName=me,kt.removeEvent=be,kt.scheduleRemoveUserSelectStyles=Ke;var ee=te(80217),de=Ce(te(76172));function Ce(Re,Le){if(typeof WeakMap=="function")var Pe=new WeakMap,De=new WeakMap;return(Ce=function(ze,Te){if(!Te&&ze&&ze.__esModule)return ze;var xt,Ze,vt={__proto__:null,default:ze};if(ze===null||typeof ze!="object"&&typeof ze!="function")return vt;if(xt=Te?De:Pe){if(xt.has(ze))return xt.get(ze);xt.set(ze,vt)}for(const ot in ze)ot!=="default"&&{}.hasOwnProperty.call(ze,ot)&&((Ze=(xt=Object.defineProperty)&&Object.getOwnPropertyDescriptor(ze,ot))&&(Ze.get||Ze.set)?xt(vt,ot,Ze):vt[ot]=ze[ot]);return vt})(Re,Le)}let We="";function xe(Re,Le){return We||(We=(0,ee.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(Pe){return(0,ee.isFunction)(Re[Pe])})),(0,ee.isFunction)(Re[We])?Re[We](Le):!1}function Ee(Re,Le,Pe){let De=Re;do{if(xe(De,Le))return!0;if(De===Pe)return!1;De=De.parentNode}while(De);return!1}function fe(Re,Le,Pe,De){if(!Re)return;const ze=kd({capture:!0},De);Re.addEventListener?Re.addEventListener(Le,Pe,ze):Re.attachEvent?Re.attachEvent("on"+Le,Pe):Re["on"+Le]=Pe}function be(Re,Le,Pe,De){if(!Re)return;const ze=kd({capture:!0},De);Re.removeEventListener?Re.removeEventListener(Le,Pe,ze):Re.detachEvent?Re.detachEvent("on"+Le,Pe):Re["on"+Le]=null}function Fe(Re){let Le=Re.clientHeight;const Pe=Re.ownerDocument.defaultView.getComputedStyle(Re);return Le+=(0,ee.int)(Pe.borderTopWidth),Le+=(0,ee.int)(Pe.borderBottomWidth),Le}function He(Re){let Le=Re.clientWidth;const Pe=Re.ownerDocument.defaultView.getComputedStyle(Re);return Le+=(0,ee.int)(Pe.borderLeftWidth),Le+=(0,ee.int)(Pe.borderRightWidth),Le}function rt(Re){let Le=Re.clientHeight;const Pe=Re.ownerDocument.defaultView.getComputedStyle(Re);return Le-=(0,ee.int)(Pe.paddingTop),Le-=(0,ee.int)(Pe.paddingBottom),Le}function Ae(Re){let Le=Re.clientWidth;const Pe=Re.ownerDocument.defaultView.getComputedStyle(Re);return Le-=(0,ee.int)(Pe.paddingLeft),Le-=(0,ee.int)(Pe.paddingRight),Le}function ge(Re,Le,Pe){const ze=Le===Le.ownerDocument.body?{left:0,top:0}:Le.getBoundingClientRect(),Te=(Re.clientX+Le.scrollLeft-ze.left)/Pe,xt=(Re.clientY+Le.scrollTop-ze.top)/Pe;return{x:Te,y:xt}}function we(Re,Le){const Pe=Ne(Re,Le,"px");return{[(0,de.browserPrefixToKey)("transform",de.default)]:Pe}}function Se(Re,Le){return Ne(Re,Le,"")}function Ne(Re,Le,Pe){let{x:De,y:ze}=Re,Te=`translate(${De}${Pe},${ze}${Pe})`;if(Le){const xt=`${typeof Le.x=="string"?Le.x:Le.x+Pe}`,Ze=`${typeof Le.y=="string"?Le.y:Le.y+Pe}`;Te=`translate(${xt}, ${Ze})`+Te}return Te}function ke(Re,Le){return Re.targetTouches&&(0,ee.findInArray)(Re.targetTouches,Pe=>Le===Pe.identifier)||Re.changedTouches&&(0,ee.findInArray)(Re.changedTouches,Pe=>Le===Pe.identifier)}function Ye(Re){if(Re.targetTouches&&Re.targetTouches[0])return Re.targetTouches[0].identifier;if(Re.changedTouches&&Re.changedTouches[0])return Re.changedTouches[0].identifier}function et(Re){if(!Re)return;let Le=Re.getElementById("react-draggable-style-el");Le||(Le=Re.createElement("style"),Le.type="text/css",Le.id="react-draggable-style-el",Le.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
|
|
|
`,Le.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
|
`,Re.getElementsByTagName("head")[0].appendChild(Le)),Re.body&&_e(Re.body,"react-draggable-transparent-selection")}function Ke(Re){window.requestAnimationFrame?window.requestAnimationFrame(()=>{Oe(Re)}):Oe(Re)}function Oe(Re){if(Re)try{if(Re.body&&me(Re.body,"react-draggable-transparent-selection"),Re.selection)Re.selection.empty();else{const Le=(Re.defaultView||window).getSelection();Le&&Le.type!=="Caret"&&Le.removeAllRanges()}}catch(Le){}}function _e(Re,Le){Re.classList?Re.classList.add(Le):Re.className.match(new RegExp(`(?:^|\\s)${Le}(?!\\S)`))||(Re.className+=` ${Le}`)}function me(Re,Le){Re.classList?Re.classList.remove(Le):Re.className=Re.className.replace(new RegExp(`(?:^|\\s)${Le}(?!\\S)`,"g"),"")}},76172:function(tn,kt){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),kt.browserPrefixToKey=de,kt.browserPrefixToStyle=Ce,kt.default=void 0,kt.getPrefix=ee;const te=["Moz","Webkit","O","ms"];function ee(){var be,Fe;let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window=="undefined")return"";const fe=(Fe=(be=window.document)==null?void 0:be.documentElement)==null?void 0:Fe.style;if(!fe||Ee in fe)return"";for(let He=0;He<te.length;He++)if(de(Ee,te[He])in fe)return te[He];return""}function de(Ee,fe){return fe?`${fe}${We(Ee)}`:Ee}function Ce(Ee,fe){return fe?`-${fe.toLowerCase()}-${Ee}`:Ee}function We(Ee){let fe="",be=!0;for(let Fe=0;Fe<Ee.length;Fe++)be?(fe+=Ee[Fe].toUpperCase(),be=!1):Ee[Fe]==="-"?be=!0:fe+=Ee[Fe];return fe}var xe=kt.default=ee()},97510:function(tn,kt){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=te;function te(){}},22013:function(tn,kt,te){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),kt.canDragX=xe,kt.canDragY=Ee,kt.createCoreData=be,kt.createDraggableData=Fe,kt.getBoundPosition=Ce,kt.getControlPosition=fe,kt.snapToGrid=We;var ee=te(80217),de=te(77026);function Ce(Ae,ge,we){if(!Ae.props.bounds)return[ge,we];let{bounds:Se}=Ae.props;Se=typeof Se=="string"?Se:He(Se);const Ne=rt(Ae);if(typeof Se=="string"){const{ownerDocument:ke}=Ne,Ye=ke.defaultView;let et;if(Se==="parent"?et=Ne.parentNode:et=Ne.getRootNode().querySelector(Se),!(et instanceof Ye.HTMLElement))throw new Error('Bounds selector "'+Se+'" could not find an element.');const Ke=et,Oe=Ye.getComputedStyle(Ne),_e=Ye.getComputedStyle(Ke);Se={left:-Ne.offsetLeft+(0,ee.int)(_e.paddingLeft)+(0,ee.int)(Oe.marginLeft),top:-Ne.offsetTop+(0,ee.int)(_e.paddingTop)+(0,ee.int)(Oe.marginTop),right:(0,de.innerWidth)(Ke)-(0,de.outerWidth)(Ne)-Ne.offsetLeft+(0,ee.int)(_e.paddingRight)-(0,ee.int)(Oe.marginRight),bottom:(0,de.innerHeight)(Ke)-(0,de.outerHeight)(Ne)-Ne.offsetTop+(0,ee.int)(_e.paddingBottom)-(0,ee.int)(Oe.marginBottom)}}return(0,ee.isNum)(Se.right)&&(ge=Math.min(ge,Se.right)),(0,ee.isNum)(Se.bottom)&&(we=Math.min(we,Se.bottom)),(0,ee.isNum)(Se.left)&&(ge=Math.max(ge,Se.left)),(0,ee.isNum)(Se.top)&&(we=Math.max(we,Se.top)),[ge,we]}function We(Ae,ge,we){const Se=Math.round(ge/Ae[0])*Ae[0],Ne=Math.round(we/Ae[1])*Ae[1];return[Se,Ne]}function xe(Ae){return Ae.props.axis==="both"||Ae.props.axis==="x"}function Ee(Ae){return Ae.props.axis==="both"||Ae.props.axis==="y"}function fe(Ae,ge,we){const Se=typeof ge=="number"?(0,de.getTouch)(Ae,ge):null;if(typeof ge=="number"&&!Se)return null;const Ne=rt(we),ke=we.props.offsetParent||Ne.offsetParent||Ne.ownerDocument.body;return(0,de.offsetXYFromParent)(Se||Ae,ke,we.props.scale)}function be(Ae,ge,we){const Se=!(0,ee.isNum)(Ae.lastX),Ne=rt(Ae);return Se?{node:Ne,deltaX:0,deltaY:0,lastX:ge,lastY:we,x:ge,y:we}:{node:Ne,deltaX:ge-Ae.lastX,deltaY:we-Ae.lastY,lastX:Ae.lastX,lastY:Ae.lastY,x:ge,y:we}}function Fe(Ae,ge){const we=Ae.props.scale;return{node:ge.node,x:Ae.state.x+ge.deltaX/we,y:Ae.state.y+ge.deltaY/we,deltaX:ge.deltaX/we,deltaY:ge.deltaY/we,lastX:Ae.state.x,lastY:Ae.state.y}}function He(Ae){return{left:Ae.left,top:Ae.top,right:Ae.right,bottom:Ae.bottom}}function rt(Ae){const ge=Ae.findDOMNode();if(!ge)throw new Error("<DraggableCore>: Unmounted during event!");return ge}},80217:function(tn,kt){"use strict";Object.defineProperty(kt,"__esModule",{value:!0}),kt.dontSetMe=We,kt.findInArray=te,kt.int=Ce,kt.isFunction=ee,kt.isNum=de;function te(xe,Ee){for(let fe=0,be=xe.length;fe<be;fe++)if(Ee.apply(Ee,[xe[fe],fe,xe]))return xe[fe]}function ee(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Function]"}function de(xe){return typeof xe=="number"&&!isNaN(xe)}function Ce(xe){return parseInt(xe,10)}function We(xe,Ee,fe){if(xe[Ee])return new Error(`Invalid prop ${Ee} passed to ${fe} - do not set this, set it on the child.`)}},51581:function(tn,kt,te){"use strict";Object.defineProperty(kt,"__esModule",{value:!0});var ee=function(){function Ae(ge,we){for(var Se=0;Se<we.length;Se++){var Ne=we[Se];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(ge,Ne.key,Ne)}}return function(ge,we,Se){return we&&Ae(ge.prototype,we),Se&&Ae(ge,Se),ge}}(),de=te(59301),Ce=Ee(de),We=te(12708),xe=Ee(We);function Ee(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function fe(Ae,ge){var we={};for(var Se in Ae)ge.indexOf(Se)>=0||Object.prototype.hasOwnProperty.call(Ae,Se)&&(we[Se]=Ae[Se]);return we}function be(Ae,ge){if(!(Ae instanceof ge))throw new TypeError("Cannot call a class as a function")}function Fe(Ae,ge){if(!Ae)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ge&&(typeof ge=="object"||typeof ge=="function")?ge:Ae}function He(Ae,ge){if(typeof ge!="function"&&ge!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ge);Ae.prototype=Object.create(ge&&ge.prototype,{constructor:{value:Ae,enumerable:!1,writable:!0,configurable:!0}}),ge&&(Object.setPrototypeOf?Object.setPrototypeOf(Ae,ge):Ae.__proto__=ge)}var rt=function(Ae){He(ge,Ae);function ge(we){be(this,ge);var Se=Fe(this,(ge.__proto__||Object.getPrototypeOf(ge)).call(this,we));return Se.scrollListener=Se.scrollListener.bind(Se),Se.eventListenerOptions=Se.eventListenerOptions.bind(Se),Se.mousewheelListener=Se.mousewheelListener.bind(Se),Se}return ee(ge,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var Se=this.getParentElement(this.scrollComponent);Se.scrollTop=Se.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var Se=!1,Ne={get passive(){Se=!0}};try{document.addEventListener("test",null,Ne),document.removeEventListener("test",null,Ne)}catch(ke){}return Se}},{key:"eventListenerOptions",value:function(){var Se=this.props.useCapture;return this.isPassiveSupported()&&(Se={useCapture:this.props.useCapture,passive:!0}),Se}},{key:"setDefaultLoader",value:function(Se){this.defaultLoader=Se}},{key:"detachMousewheelListener",value:function(){var Se=window;this.props.useWindow===!1&&(Se=this.scrollComponent.parentNode),Se.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var Se=window;this.props.useWindow===!1&&(Se=this.getParentElement(this.scrollComponent)),Se.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),Se.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(Se){var Ne=this.props.getScrollParent&&this.props.getScrollParent();return Ne!=null?Ne:Se&&Se.parentNode}},{key:"filterProps",value:function(Se){return Se}},{key:"attachScrollListener",value:function(){var Se=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!Se)){var Ne=window;this.props.useWindow===!1&&(Ne=Se),Ne.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),Ne.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),Ne.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(Se){Se.deltaY===1&&!this.isPassiveSupported()&&Se.preventDefault()}},{key:"scrollListener",value:function(){var Se=this.scrollComponent,Ne=window,ke=this.getParentElement(Se),Ye=void 0;if(this.props.useWindow){var et=document.documentElement||document.body.parentNode||document.body,Ke=Ne.pageYOffset!==void 0?Ne.pageYOffset:et.scrollTop;this.props.isReverse?Ye=Ke:Ye=this.calculateOffset(Se,Ke)}else this.props.isReverse?Ye=ke.scrollTop:Ye=Se.scrollHeight-ke.scrollTop-ke.clientHeight;Ye<Number(this.props.threshold)&&Se&&Se.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=ke.scrollHeight,this.beforeScrollTop=ke.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(Se,Ne){return Se?this.calculateTopPosition(Se)+(Se.offsetHeight-Ne-window.innerHeight):0}},{key:"calculateTopPosition",value:function(Se){return Se?Se.offsetTop+this.calculateTopPosition(Se.offsetParent):0}},{key:"render",value:function(){var Se=this,Ne=this.filterProps(this.props),ke=Ne.children,Ye=Ne.element,et=Ne.hasMore,Ke=Ne.initialLoad,Oe=Ne.isReverse,_e=Ne.loader,me=Ne.loadMore,Re=Ne.pageStart,Le=Ne.ref,Pe=Ne.threshold,De=Ne.useCapture,ze=Ne.useWindow,Te=Ne.getScrollParent,xt=fe(Ne,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);xt.ref=function(vt){Se.scrollComponent=vt,Le&&Le(vt)};var Ze=[ke];return et&&(_e?Oe?Ze.unshift(_e):Ze.push(_e):this.defaultLoader&&(Oe?Ze.unshift(this.defaultLoader):Ze.push(this.defaultLoader))),Ce.default.createElement(Ye,xt,Ze)}}]),ge}(de.Component);rt.propTypes={children:xe.default.node.isRequired,element:xe.default.node,hasMore:xe.default.bool,initialLoad:xe.default.bool,isReverse:xe.default.bool,loader:xe.default.node,loadMore:xe.default.func.isRequired,pageStart:xe.default.number,ref:xe.default.func,getScrollParent:xe.default.func,threshold:xe.default.number,useCapture:xe.default.bool,useWindow:xe.default.bool},rt.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},kt.default=rt,tn.exports=kt.default},26724:function(tn,kt,te){tn.exports=te(51581)},80010:function(tn,kt,te){"use strict";kt.__esModule=!0,kt.default=void 0;var ee=xe(te(59301)),de=te(96249),Ce=te(73638),We=te(6217);function xe(we){return we&&we.__esModule?we:{default:we}}function Ee(){return Ee=Object.assign||function(we){for(var Se=1;Se<arguments.length;Se++){var Ne=arguments[Se];for(var ke in Ne)Object.prototype.hasOwnProperty.call(Ne,ke)&&(we[ke]=Ne[ke])}return we},Ee.apply(this,arguments)}function fe(we,Se){var Ne=Object.keys(we);if(Object.getOwnPropertySymbols){var ke=Object.getOwnPropertySymbols(we);Se&&(ke=ke.filter(function(Ye){return Object.getOwnPropertyDescriptor(we,Ye).enumerable})),Ne.push.apply(Ne,ke)}return Ne}function be(we){for(var Se=1;Se<arguments.length;Se++){var Ne=arguments[Se]!=null?arguments[Se]:{};Se%2?fe(Object(Ne),!0).forEach(function(ke){Ae(we,ke,Ne[ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(Ne)):fe(Object(Ne)).forEach(function(ke){Object.defineProperty(we,ke,Object.getOwnPropertyDescriptor(Ne,ke))})}return we}function Fe(we,Se){if(we==null)return{};var Ne={},ke=Object.keys(we),Ye,et;for(et=0;et<ke.length;et++)Ye=ke[et],!(Se.indexOf(Ye)>=0)&&(Ne[Ye]=we[Ye]);return Ne}function He(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function rt(we,Se){we.prototype=Object.create(Se.prototype),we.prototype.constructor=we,we.__proto__=Se}function Ae(we,Se,Ne){return Se in we?Object.defineProperty(we,Se,{value:Ne,enumerable:!0,configurable:!0,writable:!0}):we[Se]=Ne,we}var ge=function(we){rt(Se,we);function Se(){for(var ke,Ye=arguments.length,et=new Array(Ye),Ke=0;Ke<Ye;Ke++)et[Ke]=arguments[Ke];return ke=we.call.apply(we,[this].concat(et))||this,Ae(He(ke),"state",void 0),Ae(He(ke),"lastHandleRect",null),Ae(He(ke),"slack",null),ke}var Ne=Se.prototype;return Ne.componentWillUnmount=function(){this.resetData()},Ne.lockAspectRatio=function(Ye,et,Ke){return et=Ye/Ke,Ye=et*Ke,[Ye,et]},Ne.resetData=function(){this.lastHandleRect=this.slack=null},Ne.runConstraints=function(Ye,et){var Ke=[this.props.minConstraints,this.props.maxConstraints],Oe=Ke[0],_e=Ke[1];if(!Oe&&!_e)return[Ye,et];if(this.props.lockAspectRatio){var me=et===this.props.height;if(me){var Re=this.props.width/this.props.height;et=Ye/Re,Ye=et*Re}else{var Le=this.props.height/this.props.width;Ye=et/Le,et=Ye*Le}}var Pe=Ye,De=et,ze=this.slack||[0,0],Te=ze[0],xt=ze[1];return Ye+=Te,et+=xt,Oe&&(Ye=Math.max(Oe[0],Ye),et=Math.max(Oe[1],et)),_e&&(Ye=Math.min(_e[0],Ye),et=Math.min(_e[1],et)),this.slack=[Te+(Pe-Ye),xt+(De-et)],[Ye,et]},Ne.resizeHandler=function(Ye,et){var Ke=this;return function(Oe,_e){var me=_e.node,Re=_e.deltaX,Le=_e.deltaY;Ye==="onResizeStart"&&Ke.resetData();var Pe=(Ke.props.axis==="both"||Ke.props.axis==="x")&&et!=="n"&&et!=="s",De=(Ke.props.axis==="both"||Ke.props.axis==="y")&&et!=="e"&&et!=="w";if(!(!Pe&&!De)){var ze=et[0],Te=et[et.length-1],xt=me.getBoundingClientRect();if(Ke.lastHandleRect!=null){if(Te==="w"){var Ze=xt.left-Ke.lastHandleRect.left;Re+=Ze}if(ze==="n"){var vt=xt.top-Ke.lastHandleRect.top;Le+=vt}}Ke.lastHandleRect=xt,Te==="w"&&(Re=-Re),ze==="n"&&(Le=-Le);var ot=Ke.props.width+(Pe?Re/Ke.props.transformScale:0),mt=Ke.props.height+(De?Le/Ke.props.transformScale:0),Lt=Ke.runConstraints(ot,mt);ot=Lt[0],mt=Lt[1];var It=ot!==Ke.props.width||mt!==Ke.props.height,Qe=typeof Ke.props[Ye]=="function"?Ke.props[Ye]:null,Me=Ye==="onResize"&&!It;Qe&&!Me&&(typeof Oe.persist=="function"&&Oe.persist(),Qe(Oe,{node:me,size:{width:ot,height:mt},handle:et})),Ye==="onResizeStop"&&Ke.resetData()}}},Ne.renderResizeHandle=function(Ye){var et=this.props.handle;return et?typeof et=="function"?et(Ye):et:ee.default.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+Ye})},Ne.render=function(){var Ye=this,et=this.props,Ke=et.children,Oe=et.className,_e=et.draggableOpts,me=et.width,Re=et.height,Le=et.handle,Pe=et.handleSize,De=et.lockAspectRatio,ze=et.axis,Te=et.minConstraints,xt=et.maxConstraints,Ze=et.onResize,vt=et.onResizeStop,ot=et.onResizeStart,mt=et.resizeHandles,Lt=et.transformScale,It=Fe(et,["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"]);return(0,Ce.cloneElement)(Ke,be(be({},It),{},{className:(Oe?Oe+" ":"")+"react-resizable",children:[].concat(Ke.props.children,mt.map(function(Qe){return ee.default.createElement(de.DraggableCore,Ee({},_e,{key:"resizableHandle-"+Qe,onStop:Ye.resizeHandler("onResizeStop",Qe),onStart:Ye.resizeHandler("onResizeStart",Qe),onDrag:Ye.resizeHandler("onResize",Qe)}),Ye.renderResizeHandle(Qe))}))}))},Se}(ee.default.Component);kt.default=ge,Ae(ge,"propTypes",We.resizableProps),Ae(ge,"defaultProps",{handleSize:[20,20],lockAspectRatio:!1,axis:"both",minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1})},60842:function(tn,kt,te){"use strict";var ee;ee=!0,kt.default=void 0;var de=be(te(59301)),Ce=Ee(te(12708)),We=Ee(te(80010)),xe=te(6217);function Ee(ke){return ke&&ke.__esModule?ke:{default:ke}}function fe(){if(typeof WeakMap!="function")return null;var ke=new WeakMap;return fe=function(){return ke},ke}function be(ke){if(ke&&ke.__esModule)return ke;if(ke===null||typeof ke!="object"&&typeof ke!="function")return{default:ke};var Ye=fe();if(Ye&&Ye.has(ke))return Ye.get(ke);var et={},Ke=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Oe in ke)if(Object.prototype.hasOwnProperty.call(ke,Oe)){var _e=Ke?Object.getOwnPropertyDescriptor(ke,Oe):null;_e&&(_e.get||_e.set)?Object.defineProperty(et,Oe,_e):et[Oe]=ke[Oe]}return et.default=ke,Ye&&Ye.set(ke,et),et}function Fe(){return Fe=Object.assign||function(ke){for(var Ye=1;Ye<arguments.length;Ye++){var et=arguments[Ye];for(var Ke in et)Object.prototype.hasOwnProperty.call(et,Ke)&&(ke[Ke]=et[Ke])}return ke},Fe.apply(this,arguments)}function He(ke,Ye){var et=Object.keys(ke);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(ke);Ye&&(Ke=Ke.filter(function(Oe){return Object.getOwnPropertyDescriptor(ke,Oe).enumerable})),et.push.apply(et,Ke)}return et}function rt(ke){for(var Ye=1;Ye<arguments.length;Ye++){var et=arguments[Ye]!=null?arguments[Ye]:{};Ye%2?He(Object(et),!0).forEach(function(Ke){Se(ke,Ke,et[Ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ke,Object.getOwnPropertyDescriptors(et)):He(Object(et)).forEach(function(Ke){Object.defineProperty(ke,Ke,Object.getOwnPropertyDescriptor(et,Ke))})}return ke}function Ae(ke,Ye){if(ke==null)return{};var et={},Ke=Object.keys(ke),Oe,_e;for(_e=0;_e<Ke.length;_e++)Oe=Ke[_e],!(Ye.indexOf(Oe)>=0)&&(et[Oe]=ke[Oe]);return et}function ge(ke){if(ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke}function we(ke,Ye){ke.prototype=Object.create(Ye.prototype),ke.prototype.constructor=ke,ke.__proto__=Ye}function Se(ke,Ye,et){return Ye in ke?Object.defineProperty(ke,Ye,{value:et,enumerable:!0,configurable:!0,writable:!0}):ke[Ye]=et,ke}var Ne=function(ke){we(Ye,ke);function Ye(){for(var Ke,Oe=arguments.length,_e=new Array(Oe),me=0;me<Oe;me++)_e[me]=arguments[me];return Ke=ke.call.apply(ke,[this].concat(_e))||this,Se(ge(Ke),"state",{width:Ke.props.width,height:Ke.props.height,propsWidth:Ke.props.width,propsHeight:Ke.props.height}),Se(ge(Ke),"onResize",function(Re,Le){var Pe=Le.size;Ke.props.onResize?(Re.persist&&Re.persist(),Ke.setState(Pe,function(){return Ke.props.onResize&&Ke.props.onResize(Re,Le)})):Ke.setState(Pe)}),Ke}Ye.getDerivedStateFromProps=function(Oe,_e){return _e.propsWidth!==Oe.width||_e.propsHeight!==Oe.height?{width:Oe.width,height:Oe.height,propsWidth:Oe.width,propsHeight:Oe.height}:null};var et=Ye.prototype;return et.render=function(){var Oe=this.props,_e=Oe.handle,me=Oe.handleSize,Re=Oe.onResize,Le=Oe.onResizeStart,Pe=Oe.onResizeStop,De=Oe.draggableOpts,ze=Oe.minConstraints,Te=Oe.maxConstraints,xt=Oe.lockAspectRatio,Ze=Oe.axis,vt=Oe.width,ot=Oe.height,mt=Oe.resizeHandles,Lt=Oe.style,It=Oe.transformScale,Qe=Ae(Oe,["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"]);return de.createElement(We.default,{axis:Ze,draggableOpts:De,handle:_e,handleSize:me,height:this.state.height,lockAspectRatio:xt,maxConstraints:Te,minConstraints:ze,onResizeStart:Le,onResize:this.onResize,onResizeStop:Pe,resizeHandles:mt,transformScale:It,width:this.state.width},de.createElement("div",Fe({},Qe,{style:rt(rt({},Lt),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},Ye}(de.Component);kt.default=Ne,Se(Ne,"propTypes",rt(rt({},xe.resizableProps),{},{children:Ce.default.element}))},6217:function(tn,kt,te){"use strict";kt.__esModule=!0,kt.resizableProps=void 0;var ee=Ce(te(12708)),de=te(96249);function Ce(xe){return xe&&xe.__esModule?xe:{default:xe}}var We={axis:ee.default.oneOf(["both","x","y","none"]),className:ee.default.string,children:ee.default.element.isRequired,draggableOpts:ee.default.shape({allowAnyClick:ee.default.bool,cancel:ee.default.string,children:ee.default.node,disabled:ee.default.bool,enableUserSelectHack:ee.default.bool,offsetParent:ee.default.node,grid:ee.default.arrayOf(ee.default.number),handle:ee.default.string,nodeRef:ee.default.object,onStart:ee.default.func,onDrag:ee.default.func,onStop:ee.default.func,onMouseDown:ee.default.func,scale:ee.default.number}),height:ee.default.number.isRequired,handle:ee.default.oneOfType([ee.default.node,ee.default.func]),handleSize:ee.default.arrayOf(ee.default.number),lockAspectRatio:ee.default.bool,maxConstraints:ee.default.arrayOf(ee.default.number),minConstraints:ee.default.arrayOf(ee.default.number),onResizeStop:ee.default.func,onResizeStart:ee.default.func,onResize:ee.default.func,resizeHandles:ee.default.arrayOf(ee.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:ee.default.number,width:ee.default.number.isRequired};kt.resizableProps=We},73638:function(tn,kt,te){"use strict";kt.__esModule=!0,kt.cloneElement=Ee;var ee=de(te(59301));function de(fe){return fe&&fe.__esModule?fe:{default:fe}}function Ce(fe,be){var Fe=Object.keys(fe);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(fe);be&&(He=He.filter(function(rt){return Object.getOwnPropertyDescriptor(fe,rt).enumerable})),Fe.push.apply(Fe,He)}return Fe}function We(fe){for(var be=1;be<arguments.length;be++){var Fe=arguments[be]!=null?arguments[be]:{};be%2?Ce(Object(Fe),!0).forEach(function(He){xe(fe,He,Fe[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(fe,Object.getOwnPropertyDescriptors(Fe)):Ce(Object(Fe)).forEach(function(He){Object.defineProperty(fe,He,Object.getOwnPropertyDescriptor(Fe,He))})}return fe}function xe(fe,be,Fe){return be in fe?Object.defineProperty(fe,be,{value:Fe,enumerable:!0,configurable:!0,writable:!0}):fe[be]=Fe,fe}function Ee(fe,be){return be.style&&fe.props.style&&(be.style=We(We({},fe.props.style),be.style)),be.className&&fe.props.className&&(be.className=fe.props.className+" "+be.className),ee.default.cloneElement(fe,be)}},9221:function(tn,kt,te){"use strict";tn.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},tn.exports.Resizable=te(80010).default,tn.exports.ResizableBox=te(60842).default},25510:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnG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A2ZIxmyjgR0EKkpsM7wKx9xK5HwMEGIsCSThWeMhPhZhehnNYZtG8GZsypBguadXsUvclgWlKx4SZ5KQskUWSxhyqHjrq1HJxLxWBQlbkCL/11lhsMxCL+RfxdCYkjP4X/ADYRC0sAC0wknzUvTUyLAmB5RlY2BHCUk89eLJwQzAdGBL9fm8E3tK7yg+VL7VOld8zRhdoh8gZMeP8A8AZhioFhKdoBE8VeaGk54oQUwgjgH1TxUA4sBjIijZz/AHqAE6B+UKlsKx4rjce0gq6jgY5UiFgoRORHuzypCFIkTQBLHOV/tZFSmJKxIXlveS/yVwgev9ViMvgAoIuFH8rCUWM+pH/8EUqEt1IFCq0QADZTLPSokmQnC1ylpMT+76P/AB81iEDKSRdjz6umY/dGFNC+191hLOT/ANq70XkD+acvGQ2Qk5PB+Lme+FR89jzYqURhhEZMJ0mE42v+lM5BBcOFPzRaePag5L4/9WVr8YUxRY7/AMKQH7I/1QJoNREf/wAA1uAyCrQfJJPzQgcCIU/zSoU+SgYn41QiPxoeKS0fn/dYP91JJ/ko0ftUDL7NXkoLov8AdViuZJvZKfcTWgeQNIjFyFhzv8chScx5/wBWosYw/wCnZkynIS/m+4C3eHlqSzUEIgI//gj7DyhZLC+0NkhTIKUCXKe0/pV//wAFBIgR1f8AEKN6qX/qKK0Acv8ANBwqHhrAqgVAOQV/CbB8YoDiACdJM/8A2J//2Q=="},96622:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAUCAYAAACeXl35AAAAAXNSR0IArs4c6QAAAI5JREFUSEtjZKASMI65Jnl2idZzQsYxElJArLxR/CVjxr8szwhZSlULQY4jZCnVLSRkKU0sxGcpzSzEZSkjKLKJTRjkqEOPU5pbiO5TuliIbCndLIRZOnwthCUeuvgQOaXS3EKMbEFO3sKmB1t+xlau0qykwVWI08RCfDUG1S2ka/VEyDJw5qdWoiG2iQEA4ntvEVdpqFkAAAAASUVORK5CYII="},12971:function(tn){"use strict";tn.exports="data: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y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(tn){"use strict";tn.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/442nw5z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gR3Cck1k3g01eiWO4KCDjzqTBnTPO3OO4PnuDo4/O2PBjNdqrjkMJeXRCmRFLMcQEVOwgJONs7WMoRk/uRNH8p72je4x+xBEn2CjyIg2UsoN2kZ8yJsK6lIEYNv61Ol0AY0s40gKDRJ6PWhVbAfnokh/+f17oKelHNP2kwROsZoa+DDnL4JaDI+U/UejzbXSaxR/K5ygXVan6UasJJiI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/K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zDWODWOD/uF8xlwpf6v2flucwfSU6+tXZAsBYsSX5wh6TQ+o/zoHygTub4zP+vSs7X2BWZ9+2vyyHOh/orU2G6/sPeSOntWeNpYpLmQ/XObrBP7g/XU3ikL2v8AIAf8etAcp/JNxxxyddj4b5J3GSmF6y3TheG4qWOHGPTX2rosmtKoiMdkJxA1t++BGa0idji4YDQlSF8z4PY6FkfxlWWUG259vIPiGwcfoKU4gNDAssOZcTIRWhaOQUU35lHZIQpWuOwciOqDV7h9zmNb0sGHZHpivpY0fNdbZJkd7HLJcaxq83fSwZ4nmeSMI0D5XJfGcETmxyFjSUUrRtL2NI5/d9h0Jp2HSOBuxSTIzMxvbbIsgzLL8tPCgrSMkyzKDnHW9qtcNLPCDHIqQwQjNIIVkQ7FfNI9zl59TWeBD11jTqR1tIvrKda2d/e3kmOOIW3vLiR7E6asQTyjjNeqDGMKFKrWCariPcqrz5O1tik2blTb5tPGx2rgU9VjmPUEWSWYGmoKSN61fBSYZgiSnsRSlIZRBRzyuRo2tRE52nlB5NeOOObkDzCzPhmY5j2OVqo5FTvpevk3v+nNcnStciqioqKiqi87CieF7hkarXNVUVFTp16flP8AUX7oqfRU+qc4DIwzGkG5HNciKiovX7/hf8VPsqL0VFRUVEVOYc6+c+OOOOOOOOOOOOOOOOOOOOOOOObjjzFTMhhY573uRqI1FXrtevk7r+mtanaucqoiIiqqoic7BCeZ7RjarnOVERETr06/lf8AET7qq/RE+q84EIwLHEI5GtaiqqqvT7fhP9VfsiJ1VVVERFVef//Z"},69429:function(tn,kt,te){"use strict";tn.exports=te.p+"static/lock.1b5026ee.png"},48136:function(tn,kt,te){"use strict";var ee=Object.defineProperty,de=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,fe=(a,y,b)=>y in a?ee(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,be=(a,y)=>{for(var b in y||(y={}))xe.call(y,b)&&fe(a,b,y[b]);if(We)for(var b of We(y))Ee.call(y,b)&&fe(a,b,y[b]);return a},Fe=(a,y)=>de(a,Ce(y)),He=a=>typeof a=="symbol"?a:a+"",rt=(a,y)=>{var b={};for(var z in a)xe.call(a,z)&&y.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&We)for(var z of We(a))y.indexOf(z)<0&&Ee.call(a,z)&&(b[z]=a[z]);return b};function Ae(a){return Array.isArray(a)}var ge={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 we(){return"window"in globalThis&&"document"in globalThis}function Se(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function Ne(){return typeof navigator.vibrate=="function"}function ke(){var a,y;if(!we())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 Ye(){if(!we())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 et(){return HTMLElement.prototype.hasOwnProperty("popover")}var Ke={strings:ge,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return Ke._locale||(Ke._locale=we()?navigator.language.slice(0,5):"en-US"),Ke._locale},set locale(a){Ke._locale=a,Ke._numberFormatter=void 0,Ke.dirty=!0},get numberFormatter(){return Ke._numberFormatter||(Ke._numberFormatter=new Intl.NumberFormat(Ke.locale)),Ke._numberFormatter},merge(a,y){if(typeof a=="string"&&y)Ke.strings[a]=be(be({},Ke.strings[a]),y),Ke.dirty=!0;else for(const b of Object.keys(a))Ke.merge(b,a[b])},get dirty(){return Ke._dirty},set dirty(a){Ke._dirty||Ke._dirty===a||(Ke._dirty=!0,setTimeout(()=>{Ke._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return Ke._subscribers.push(a),Ke._subscribers.length-1},unsubscribe(a){a<0||a>=Ke._subscribers.length||(Ke._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const z=b.getAttribute("data-l10n-tooltip");if(z){const ne=Oe(z);ne&&b.setAttribute("data-tooltip",ne)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const z=b.getAttribute("data-l10n-arial-label");if(z){const ne=Oe(z);ne&&b.setAttribute("aria-label",ne)}}}};function Oe(a,...y){if(a===void 0)return;let b="";const z=Ke.locale;Ke.strings[z]&&(b=Ke.strings[z][a]);const ne=z.slice(0,2);if(!b&&Ke.strings[ne]&&(b=Ke.strings[ne][a]),b||(b=Ke.strings.en[a]),!b)return;const le=/(%@|%([0-9]+)\$@)/g;let ce=le.exec(b),Be=0;for(;ce;){if(y[Be++]){const Xe=ce[2]?parseInt(ce[2],10)-1:Be-1;let ft=y[Xe];typeof ft=="number"&&(ft=Ke.numberFormatter.format(ft)),b=b.replace(ce[1],ft)}ce=le.exec(b)}return b=b.replace(/%%/g,"%"),b}var _e={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},me={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},Re={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"},Le={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"},Pe={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"},De={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 ze(a){var y,b,z,ne,le,ce;const Be=a.split("!");let Ue,Xe,ft,Ot=255,qt=255,xn=255,On=-1;const Fr=Be.length>0&&Be[0].startsWith("-");Fr&&(Be[0]=Be[0].slice(1));for(let oa=0;oa<Be.length;oa++){Ue=Ot,Xe=qt,ft=xn;const Mr=(y=Be[oa].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],Ci=Mr==null?void 0:Mr.toLowerCase(),ca=Mr&&(ce=(le=(ne=(z=(b=Le[Ci])!=null?b:Le[Pe[Mr]])!=null?z:me[Mr])!=null?ne:De[Mr])!=null?le:_e[Mr])!=null?ce:Be[oa].trim();let Ri=ca.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(Ri!=null&&Ri[1]&&Ri[2]&&Ri[3])Ot=Math.max(0,Math.min(255,Number.parseInt(Ri[1],16))),qt=Math.max(0,Math.min(255,Number.parseInt(Ri[2],16))),xn=Math.max(0,Math.min(255,Number.parseInt(Ri[3],16)));else if(Ri=ca.match(/^#([\da-f]{3})$/i),Ri!=null&&Ri[1]){const uo=Number.parseInt(Ri[1][0],16),Fo=Number.parseInt(Ri[1][1],16),Eo=Number.parseInt(Ri[1][2],16);Ot=Math.max(0,Math.min(255,uo*16+uo)),qt=Math.max(0,Math.min(255,Fo*16+Fo)),xn=Math.max(0,Math.min(255,Eo*16+Eo))}else if(Ri=ca.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),Ri!=null&&Ri[1]&&Ri[2]&&Ri[3])Ot=Math.max(0,Math.min(255,Number.parseInt(Ri[1]))),qt=Math.max(0,Math.min(255,Number.parseInt(Ri[2]))),xn=Math.max(0,Math.min(255,Number.parseInt(Ri[3])));else return;On>=0&&(Ot=(1-On)*Ot+On*Ue,qt=(1-On)*qt+On*Xe,xn=(1-On)*xn+On*ft,On=-1),oa+1<Be.length&&(On=Math.max(0,Math.min(100,Number.parseInt(Be[++oa])))/100)}return On>=0&&(Ot=On*Ot+(1-On)*Ue,qt=On*qt+(1-On)*Xe,xn=On*xn+(1-On)*ft),Fr&&(Ot=255-Ot,qt=255-qt,xn=255-xn),"#"+("00"+Math.round(Ot).toString(16)).slice(-2)+("00"+Math.round(qt).toString(16)).slice(-2)+("00"+Math.round(xn).toString(16)).slice(-2)}function Te(a){var y,b;return a=a.trim(),(b=(y=Re[a.toLowerCase()])!=null?y:Re[Pe[a]])!=null?b:ze(a)}function xt(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 Ze(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 vt(a){let[y,b,z]=[a.h,a.s,a.l];y=(y+360)%360/60,z=Math.max(0,Math.min(z,1)),b=Math.max(0,Math.min(b,1));const ne=z<=.5?z*(b+1):z+b-z*b,le=z*2-ne;return{r:Math.round(255*Ze(le,ne,y+2)),g:Math.round(255*Ze(le,ne,y)),b:Math.round(255*Ze(le,ne,y-2))}}function ot(a){return a<0?0:a>255?255:Math.round(a)}function mt(a){const{r:y,g:b,b:z}=a;let ne=((1<<24)+(ot(y)<<16)+(ot(b)<<8)+ot(z)).toString(16).slice(1);return ne[0]===ne[1]&&ne[2]===ne[3]&&ne[4]===ne[5]&&ne[6]===ne[7]&&(ne=ne[0]+ne[2]+ne[4]),"#"+ne}function Lt(a){let{r:y,g:b,b:z}=a;y=y/255,b=b/255,z=z/255;const ne=Math.min(y,b,z),le=Math.max(y,b,z),ce=le-ne;let Be,Ue;le===ne?Be=0:y===le?Be=(b-z)/ce:b===le?Be=2+(z-y)/ce:z===le&&(Be=4+(y-b)/ce),Be=Math.min(Be*60,360),Be<0&&(Be+=360);const Xe=(ne+le)/2;return le===ne?Ue=0:Xe<=.5?Ue=ce/(le+ne):Ue=ce/(2-le-ne),{h:Be,s:Ue,l:Xe}}function It(a){let y=xt(a);if(!y)return a;let{h:b,s:z,l:ne}=Lt(y);return z+=.1,ne-=.1,mt(vt({h:b,s:z,l:ne}))}var Qe={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"},Me={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},st=[{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 zt(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const z=a.codePointAt(0);if(z===void 0)return a;for(const ne of st)if((!y||ne.variant===y)&&(!b||ne.style===b)&&z>=ne.offset&&z<ne.offset+ne.len){const le=ne.start+z-ne.offset;return String.fromCodePoint(Me[le]||le)}return a}function ut(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Me)if(Me[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of st)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 tt(a){var y;let b="";for(const z of a){if("{}<>[]$&#^_%:'\u02DC".includes(z)){b+=z;continue}const ne=(y=z.codePointAt(0))!=null?y:0;let le=Qe[ne];if(le)le.startsWith("\\")?b+=le+" ":b+=le;else{const{char:ce,variant:Be,style:Ue}=ut(ne);switch(le=ce,Be){case"double-struck":le=`\\mathbb{${le}}`;break;case"fraktur":le=`\\mathfrak{${le}}`;break;case"script":le=`\\mathscr{${le}}`;break;case"sans-serif":le=`\\mathsf{${le}}`;break;case"monospace":le=`\\mathtt{${le}}`;break;case"calligraphic":le=`\\mathcal{${le}}`;break}switch(Ue){case"bold":le=`\\mathbf{${le}}`;break;case"italic":le=`\\mathit{${le}}`;break;case"bolditalic":le=`\\mathbfit{${le}}`;break}b+=le}}return b}function at(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var Nt={},on=be({},Qe),Ht={},Fn={},Qt={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}"},Ut={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}},Wt={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}},Ie={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:Wt},"amsmath.sty":{package:Ut,primitive:!0},"texvc.sty":{package:Qt,primitive:!1}},he={" ":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!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,ve,ye;Ye()?(ve=new RegExp("\\p{Letter}","u"),ye=new RegExp("[0-9\\p{Letter}]","u")):(ve=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,ye=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function se(a,y,b="mord",z){y!==void 0&&(Nt[a]={definitionType:"symbol",type:b,variant:z,codepoint:y},on[y]||(on[y]=a))}function $e(a,y,b){if(typeof a=="string"){for(let z=0;z<a.length;z++){const ne=a.charAt(z);se(ne,ne.codePointAt(0))}return}for(const[z,ne,le,ce]of a)se(z,ne,le!=null?le:y,ce!=null?ce:b)}function wt(a,y){for(let b=a;b<=y;b++)se(String.fromCodePoint(b),b)}function lt(a){var y;return(y=Fn[a])!=null?y:null}function Je(a,y){var b,z;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ne=[];for(const ce in Ht)ce.startsWith(y)&&!Ht[ce].infix&&ne.push({match:ce,frequency:(b=Ht[ce].frequency)!=null?b:0});for(const ce in Nt)ce.startsWith(y)&&ne.push({match:ce,frequency:(z=Nt[ce].frequency)!=null?z:0});const le=y.substring(1);for(const ce of Object.keys(a.options.macros))ce.startsWith(le)&&ne.push({match:"\\"+ce,frequency:0});return ne.sort((ce,Be)=>{var Ue,Xe;return ce.frequency===Be.frequency?ce.match.length===Be.match.length?ce.match<Be.match?-1:1:ce.match.length-Be.match.length:((Ue=Be.frequency)!=null?Ue:0)-((Xe=ce.frequency)!=null?Xe:0)}),ne.map(ce=>ce.match)}function Pt(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function Dt(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:Pt(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...Dt(b[z]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:Pt(b[0].slice(1))});for(let z=1;z<=b.length;z++)y.push(...Dt(b[z]))}return y}function yt(a){if(!a)return"";let y="",b=!0;for(const z of a)typeof z.value=="string"?y+=z.value:b=!1;return b?y:""}function jt(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const z of a)Fn[z]=b}function En(a,y,b){typeof a=="string"&&(a=[a]);const ne={tabular:!0,params:Dt(y),createAtom:b};for(const le of a)Fn[le]=ne}function _t(a,y,b){var z,ne;b||(b={});const le={definitionType:"function",params:Dt(y),ifMode:b.ifMode,isFunction:(z=b.isFunction)!=null?z:!1,applyMode:b.applyMode,infix:(ne=b.infix)!=null?ne:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")Ht["\\"+a]=le;else for(const ce of a)Ht["\\"+ce]=le}var Yt;function wn(a){return Yt||(Yt=it(Ie)),a?it(be(be({},Yt),a)):Yt}function Ft(a,y){var b,z,ne,le;if(typeof a=="string"){let ce=0;const Be=a;return/(^|[^\\])#1/.test(Be)&&(ce=1),/(^|[^\\])#2/.test(Be)&&(ce=2),/(^|[^\\])#3/.test(Be)&&(ce=3),/(^|[^\\])#4/.test(Be)&&(ce=4),/(^|[^\\])#5/.test(Be)&&(ce=5),/(^|[^\\])#6/.test(Be)&&(ce=6),/(^|[^\\])#7/.test(Be)&&(ce=7),/(^|[^\\])#8/.test(Be)&&(ce=8),/(^|[^\\])#9/.test(Be)&&(ce=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(z=y==null?void 0:y.captureSelection)!=null?z:!0,args:ce,def:Be}}return be({expand:(ne=y==null?void 0:y.expand)!=null?ne:!0,captureSelection:(le=y==null?void 0:y.captureSelection)!=null?le:!0,args:0},a)}function it(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const z=a[b];if(z==null)delete y[b];else if(typeof z=="object"&&"package"in z)for(const ne of Object.keys(z.package))y[ne]=Ft(z.package[ne],{expand:!z.primitive,captureSelection:z.captureSelection});else y[b]=Ft(z)}return y}function Et(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Ht[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=Nt[a]:he[a]&&(b={definitionType:"symbol",type:"mord",codepoint:he[a]})}else if(y==="math"){if(b=Nt[a],!b&&a.length===1){const z=un("math",a.codePointAt(0));return z.startsWith("\\")?Fe(be({},Et(z,"math")),{command:z}):null}}else he[a]?b={definitionType:"symbol",type:"mord",codepoint:he[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function an(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function un(a,y){if(y===void 0)return"";if(a==="math"&&on[y])return on[y];if(a==="text"){const b=Object.keys(he).find(z=>he[z]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var vn=[0,.68889,0,0,.72222],gn=[0,.68889,0,0,.66667],Xn=[0,.68889,0,0,.77778],ir=[0,.68889,0,0,.61111],Dr=[.16667,.68889,0,0,.77778],kr=[0,.68889,0,0,.55556],Bn=[0,0,0,0,.25],jr=[0,.825,0,0,2.33334],ci=[0,.9,0,0,2.33334],_r=[0,.68889,0,0,.54028],Nr=[-.03598,.46402,0,0,.5],ai=[-.13313,.36687,0,0,1],pi=[.01354,.52239,0,0,1],Mn=[.01354,.52239,0,0,1.11111],pr=[0,.54986,0,0,1],Rr=[0,.69224,0,0,.5],Gr=[0,.43056,0,0,1],zr=[.08198,.58198,0,0,.77778],ei=[.19444,.69224,0,0,.41667],Hr=[.1808,.675,0,0,1],fi=[.19444,.69224,0,0,.83334],Pr=[.13667,.63667,0,0,1],dr=[-.064,.437,0,0,1.334],oi=[.08167,.58167,0,0,.77778],$t=[0,.69224,0,0,.72222],pt=[0,.69224,0,0,.66667],Bt=[-.13313,.36687,0,0,.77778],At=[.06062,.54986,0,0,.77778],Ct=[0,.69224,0,0,.77778],Gt=[.25583,.75583,0,0,.77778],nn=[.25142,.75726,0,0,.77778],_n=[.20576,.70576,0,0,.77778],Pn=[.30274,.79383,0,0,.77778],Sn=[.22958,.72958,0,0,.77778],rr=[.1808,.675,0,0,.77778],gr=[.13667,.63667,0,0,.77778],Cr=[.13597,.63597,0,0,.77778],bn=[.03517,.54986,0,0,.77778],$n=[0,.675,0,0,.77778],Jt=[.19444,.69224,0,0,.61111],pn=[0,.54986,0,0,.76042],An=[0,.54986,0,0,.66667],dn=[.0391,.5391,0,0,.77778],Hn=[.03517,.54986,0,0,1.33334],ln=[.38569,.88569,0,0,.77778],jn=[.23222,.74111,0,0,.77778],Mt=[.19444,.69224,0,0,.77778],cn=[0,.37788,0,0,.5],hn=[0,.54986,0,0,.72222],In=[0,.69224,0,0,.83334],Ln=[.11111,.69224,0,0,.66667],Un=[.26167,.75726,0,0,.77778],Gn=[.48256,.98256,0,0,.77778],cr=[.28481,.79383,0,0,.77778],Sr=[.08167,.58167,0,0,.22222],Wr=[.08167,.58167,0,0,.38889],gi=[0,.43056,.04028,0,.66667],ki=[.41951,.91951,0,0,.77778],si=[.24982,.74947,0,0,.38865],wi=[.08319,.58283,0,0,.75623],Qr=[0,.10803,0,0,.27764],Gi=[0,.47534,0,0,.50181],Hi=[.18906,.47534,0,0,.50181],$i=[0,.69141,0,0,.50181],Ai=[.24982,.74947,0,0,.27764],li=[0,.69141,0,0,.21471],Qi=[.25,.75,0,0,.44722],Pi=[0,.64444,0,0,.575],xa=[.08556,.58556,0,0,.89444],lo=[0,.69444,0,0,.89444],Vi=[0,.68611,0,0,.9],Or=[0,.68611,0,0,.86944],Lr=[.25,.75,0,0,.575],ia=[.25,.75,0,0,.31944],Zi=[0,.69444,0,0,.63889],ma=[0,.69444,0,0,.31944],pa=[0,.44444,0,0,.63889],ha=[0,.44444,0,0,.51111],qi=[0,.69444,0,0,.575],aa=[.13333,.63333,0,0,.89444],Ao=[0,.44444,0,0,.31944],Di=[0,.69444,0,0,.86944],Ti=[0,.68611,0,0,.69166],Ea=[0,.68611,0,0,.83055],_a=[0,.68611,0,0,.89444],jo=[0,.69444,0,0,.60278],Zo=[.19444,.69444,0,0,.51111],ko=[0,.69444,0,0,.83055],vo=[-.10889,.39111,0,0,1.14999],Ar=[.19444,.69444,0,0,.575],il=[.19444,.69444,0,0,1.14999],_i=[.19444,.69444,0,0,.70277],Li=[.05556,.75,0,0,.575],Mi=[0,.68611,0,0,.95833],ea=[.08556,.58556,0,0,.76666],mo=[-.02639,.47361,0,0,.575],Vo=[0,.44444,0,0,.89444],qo=[0,.55556,0,0,.76666],Uo=[-.10889,.39111,0,0,.89444],Co=[.00222,.50222,0,0,.89444],ul=[.19667,.69667,0,0,.89444],Wl=[.08556,.58556,0,0,1.14999],Il=[0,.69444,0,0,.70277],ms=[-.02778,.47222,0,0,.575],Qa=[.25,.75,0,0,.51111],la=[-.13889,.36111,0,0,1.14999],cl=[.19444,.69444,0,0,1.02222],To=[.12963,.69444,0,0,.89444],Go=[.19444,.69444,0,0,.44722],nr=[0,.64444,.13167,0,.59111],Qn=[.19444,.64444,.13167,0,.59111],Zn=[0,.68611,.17208,0,.8961],xr=[.19444,.44444,.105,0,.53222],ni=[0,.44444,.085,0,.82666],ti=[0,.69444,.06709,0,.59111],yr=[0,.69444,.12945,0,.35555],Bi=[0,.69444,0,0,.94888],ga=[0,.69444,.11472,0,.59111],Ka=[0,.68611,.10778,0,.88555],va=[0,.69444,.07939,0,.62055],bi=[0,.69444,.12417,0,.30667],ta=[0,.64444,.13556,0,.51111],Xr=[.19444,.64444,.13556,0,.51111],Lo=[0,.68333,.16389,0,.74333],Aa=[.19444,.43056,.08847,0,.46],Fa=[0,.43056,.07514,0,.71555],yo=[0,.69444,.06646,0,.51111],tl=[0,.69444,0,0,.83129],xl=[0,.69444,.1225,0,.51111],as=[0,.68333,.09403,0,.76666],Yo=[0,.68333,.11111,0,.76666],Ys=[0,.69444,.06961,0,.51444],Ts=[0,.69444,0,0,.27778],os=[.25,.75,0,0,.38889],cs=[0,.64444,0,0,.5],du=[0,.69444,0,0,.77778],ps=[0,.68333,0,0,.75],Bo=[0,.68333,0,0,.77778],wu=[0,.68333,0,0,.68056],fu=[0,.68333,0,0,.72222],gs=[.25,.75,0,0,.5],Vl=[.25,.75,0,0,.27778],El=[0,.69444,0,0,.5],yu=[0,.69444,0,0,.55556],Pu=[0,.43056,0,0,.44445],bs=[0,.43056,0,0,.5],al=[.19444,.43056,0,0,.55556],Ho=[0,.43056,0,0,.55556],Ul=[.08333,.58333,0,0,.77778],ds=[0,.43056,0,0,.27778],ts=[0,.66786,0,0,.27778],Ns=[0,.69444,0,0,.75],Cs=[0,.66786,0,0,.5],No=[0,.68333,0,0,.625],Qs=[.19444,.69444,0,0,.44445],Su=[0,.69444,0,0,.72222],hu=[.19444,.69444,0,0,.5],js=[.19444,.69444,0,0,1],wc=[.011,.511,0,0,1.126],Lu=[.19444,.69444,0,0,.61111],zu=[.05556,.75,0,0,.5],iu=[0,.68333,0,0,.83334],ic=[.0391,.5391,0,0,.66667],ac=[-.05555,.44445,0,0,.5],zc=[0,.43056,0,0,.77778],Qu=[0,.55556,0,0,.66667],Au=[-.03625,.46375,0,0,.77778],Ia=[-.01688,.48312,0,0,.77778],Ju=[.0391,.5391,0,0,1],Al=[0,.69444,0,0,.61111],Nl=[-.03472,.46528,0,0,.5],$l=[.25,.75,0,0,.44445],au=[-.14236,.35764,0,0,1],Zs=[.244,.744,0,0,.412],eu=[.19444,.69444,0,0,.88889],Ks=[.12963,.69444,0,0,.77778],Ws=[.19444,.69444,0,0,.38889],ou=[.011,.511,0,0,1.638],lu=[.19444,.69444,0,0,0],Ge=[0,.44444,0,0,.575],ct=[.19444,.44444,0,0,.575],gt=[0,.68611,0,0,.75555],Xt=[0,.69444,0,0,.66759],en=[0,.68611,0,0,.80555],qn=[0,.68611,.08229,0,.98229],Wn=[0,.68611,0,0,.76666],wr=[0,.44444,0,0,.58472],br=[.19444,.44444,0,0,.6118],Ir=[.19444,.43056,0,0,.5],zi=[0,.68333,.02778,.08334,.76278],Yr=[0,.68333,.08125,.05556,.83125],Ur=[0,.43056,0,.05556,.48472],di=[.19444,.43056,0,.08334,.51702],xi=[.25,.75,0,0,.42778],mr=[0,.69444,0,0,.55],Tr=[0,.69444,0,0,.73334],vi=[0,.69444,0,0,.79445],ka=[0,.69444,0,0,.51945],da=[0,.69444,0,0,.70278],Pa=[0,.69444,0,0,.76389],La=[.25,.75,0,0,.34306],Ma=[0,.69444,0,0,.56111],ya=[0,.69444,0,0,.25556],Xo=[.19444,.45833,0,0,.56111],Mo=[0,.45833,0,0,.56111],Qo=[0,.69444,0,0,.30556],sl=[0,.69444,0,0,.58056],vl=[0,.69444,0,0,.67223],Dl=[0,.69444,0,0,.85556],Rl=[0,.69444,0,0,.55834],$o=[0,.65556,.11156,0,.5],nl=[0,.69444,.08094,0,.70834],dl=[.17014,0,0,0,.44445],zl=[0,.69444,.0799,0,.5],Ql=[0,.69444,0,0,.73752],Sl=[0,.69444,.09205,0,.5],fl=[0,.69444,.09031,0,.77778],fs=[0,.69444,.07816,0,.27778],ws=[0,.69444,.00316,0,.5],ht=[.19444,.69444,0,0,.83334],bt=[.05556,.75,0,0,.83334],Zt=[0,.75,0,0,.5],Vt=[.125,.08333,0,0,.27778],mn=[0,.08333,0,0,.27778],sn=[0,.65556,0,0,.5],Kn=[0,.69444,0,0,.47222],Rn=[0,.69444,0,0,.66667],Tn=[0,.69444,0,0,.59722],fr=[0,.69444,0,0,.54167],lr=[0,.69444,0,0,.70834],ur=[.25,.75,0,0,.28889],Kr=[0,.69444,0,0,.51667],Zr=[0,.44444,0,0,.44445],Jr=[.19444,.44444,0,0,.51667],yi=[0,.44444,0,0,.38333],hi=[0,.44444,0,0,.51667],Ki=[0,.69444,0,0,.83334],Ii=[.35001,.85,0,0,.45834],Ji=[.35001,.85,0,0,.57778],Na=[.35001,.85,0,0,.41667],Ja=[.35001,.85,0,0,.58334],Da=[0,.72222,0,0,.55556],Wa=[1e-5,.6,0,0,.66667],bo=[1e-5,.6,0,0,.77778],ra=[.25001,.75,0,0,.94445],Oa=[.306,.805,.19445,0,.47222],fa=[.30612,.805,.19445,0,.47222],Si=[.25001,.75,0,0,.83334],Ui=[.35001,.85,0,0,.47222],sr=[.25001,.75,0,0,1.11111],Po=[.65002,1.15,0,0,.59722],Ga=[.65002,1.15,0,0,.81111],ji=[.65002,1.15,0,0,.47222],so=[.65002,1.15,0,0,.66667],xo=[0,.75,0,0,1],Do=[.55001,1.05,0,0,1.27778],Io=[.862,1.36,.44445,0,.55556],Bl=[.86225,1.36,.44445,0,.55556],Ko=[.55001,1.05,0,0,1.11111],za=[.65002,1.15,0,0,.52778],Hl=[.65002,1.15,0,0,.61111],Xa=[.55001,1.05,0,0,1.51112],to=[.95003,1.45,0,0,.73611],ll=[.95003,1.45,0,0,1.04445],Jl=[.95003,1.45,0,0,.52778],no=[.95003,1.45,0,0,.75],Ua=[0,.75,0,0,1.44445],eo=[.95003,1.45,0,0,.58334],Ta=[1.25003,1.75,0,0,.79167],Ca=[1.25003,1.75,0,0,1.27778],$r=[1.25003,1.75,0,0,.58334],Yi=[1.25003,1.75,0,0,.80556],co=[0,.825,0,0,1.8889],_o=[1.25003,1.75,0,0,.63889],Ms=[.64502,1.155,0,0,.875],xs=[1e-5,.6,0,0,.875],su=[-99e-5,.601,0,0,.66667],sa=[.64502,1.155,0,0,.66667],ns=[1e-5,.9,0,0,.88889],ro=[.65002,1.15,0,0,.88889],Es=[.90001,0,0,0,.88889],Ss=[-.00499,.605,0,0,1.05556],ol=[0,.12,0,0,.45],Ni=[0,.61111,0,0,.525],yl=[.08333,.69444,0,0,.525],Ro=[-.08056,.53055,0,0,.525],Gl=[-.05556,.55556,0,0,.525],wo=[0,.43056,0,0,.525],bl=[.22222,.43056,0,0,.525],As=[0,0,0,0,.525],Ml={"AMS-Regular":{32:Bn,65:vn,66:gn,67:vn,68:vn,69:gn,70:ir,71:Xn,72:Xn,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:Xn,76:gn,77:[0,.68889,0,0,.94445],78:vn,79:Dr,80:ir,81:Dr,82:vn,83:kr,84:gn,85:vn,86:vn,87:[0,.68889,0,0,1],88:vn,89:vn,90:gn,107:kr,160:Bn,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:kr,295:_r,710:jr,732:ci,770:jr,771:ci,989:oi,1008:gi,8245:[0,.54986,0,0,.275],8463:_r,8487:vn,8498:kr,8502:gn,8503:[0,.68889,0,0,.44445],8504:gn,8513:[0,.68889,0,0,.63889],8592:Nr,8594:Nr,8602:ai,8603:ai,8606:pi,8608:pi,8610:Mn,8611:Mn,8619:pr,8620:pr,8621:[-.13313,.37788,0,0,1.38889],8622:ai,8624:Rr,8625:Rr,8630:Gr,8631:Gr,8634:zr,8635:zr,8638:ei,8639:ei,8642:ei,8643:ei,8644:Hr,8646:Hr,8647:Hr,8648:fi,8649:Hr,8650:fi,8651:pi,8652:pi,8653:ai,8654:ai,8655:ai,8666:Pr,8667:Pr,8669:[-.13313,.37788,0,0,1],8672:dr,8674:dr,8705:[0,.825,0,0,.5],8708:kr,8709:oi,8717:[0,.43056,0,0,.42917],8722:Nr,8724:[.08198,.69224,0,0,.77778],8726:oi,8733:Ct,8736:$t,8737:$t,8738:[.03517,.52239,0,0,.72222],8739:Sr,8740:[.25142,.74111,0,0,.27778],8741:Wr,8742:[.25142,.74111,0,0,.5],8756:pt,8757:pt,8764:Bt,8765:[-.13313,.37788,0,0,.77778],8769:Bt,8770:Au,8774:Pn,8776:Ia,8778:oi,8782:At,8783:At,8785:zr,8786:zr,8787:zr,8790:Ct,8791:Sn,8796:[.08198,.91667,0,0,.77778],8806:Gt,8807:Gt,8808:nn,8809:nn,8812:[.25583,.75583,0,0,.5],8814:_n,8815:_n,8816:Pn,8817:Pn,8818:Sn,8819:Sn,8822:rr,8823:rr,8828:gr,8829:gr,8830:Sn,8831:Sn,8832:_n,8833:_n,8840:Pn,8841:Pn,8842:Cr,8843:Cr,8847:bn,8848:bn,8858:zr,8859:zr,8861:zr,8862:$n,8863:$n,8864:$n,8865:$n,8872:[0,.69224,0,0,.61111],8873:$t,8874:[0,.69224,0,0,.88889],8876:ir,8877:ir,8878:vn,8879:vn,8882:bn,8883:bn,8884:gr,8885:gr,8888:[0,.54986,0,0,1.11111],8890:al,8891:Jt,8892:Jt,8901:[0,.54986,0,0,.27778],8903:oi,8905:oi,8906:oi,8907:Ct,8908:Ct,8909:[-.03598,.46402,0,0,.77778],8910:pn,8911:pn,8912:bn,8913:bn,8914:An,8915:An,8916:pt,8918:dn,8919:dn,8920:Hn,8921:Hn,8922:ln,8923:ln,8926:gr,8927:gr,8928:Pn,8929:Pn,8934:jn,8935:jn,8936:jn,8937:jn,8938:_n,8939:_n,8940:Pn,8941:Pn,8994:Mt,8995:Mt,9416:[.15559,.69224,0,0,.90222],9484:Rr,9488:Rr,9492:cn,9496:cn,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:$n,9633:$n,9650:hn,9651:hn,9654:bn,9660:hn,9661:hn,9664:bn,9674:Ln,9733:[.19444,.69224,0,0,.94445],10003:In,10016:In,10731:Ln,10846:[.19444,.75583,0,0,.61111],10877:gr,10878:gr,10885:Gt,10886:Gt,10887:Cr,10888:Cr,10889:Un,10890:Un,10891:Gn,10892:Gn,10901:gr,10902:gr,10933:nn,10934:nn,10935:Un,10936:Un,10937:Un,10938:Un,10949:Gt,10950:Gt,10955:cr,10956:cr,57350:Sr,57351:Wr,57352:oi,57353:gi,57356:nn,57357:nn,57358:ki,57359:Pn,57360:Pn,57361:ki,57366:nn,57367:nn,57368:nn,57369:nn,57370:Cr,57371:Cr},"Caligraphic-Regular":{32:Bn,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:Bn},"Fraktur-Regular":{32:Bn,33:[0,.69141,0,0,.29574],34:li,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:si,41:si,42:[0,.62119,0,0,.27764],43:wi,44:Qr,45:wi,46:Qr,47:[.24982,.74947,0,0,.50181],48:Gi,49:Gi,50:Gi,51:Hi,52:Hi,53:Hi,54:$i,55:Hi,56:$i,57:Hi,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:Ai,93:Ai,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:Bn,8216:li,8217:li,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:Bn,33:[0,.69444,0,0,.35],34:jo,35:[.19444,.69444,0,0,.95833],36:Li,37:[.05556,.75,0,0,.95833],38:lo,39:ma,40:Qi,41:Qi,42:[0,.75,0,0,.575],43:aa,44:[.19444,.15556,0,0,.31944],45:yi,46:[0,.15556,0,0,.31944],47:Lr,48:Pi,49:Pi,50:Pi,51:Pi,52:Pi,53:Pi,54:Pi,55:Pi,56:Pi,57:Pi,58:Ao,59:[.19444,.44444,0,0,.31944],60:xa,61:Uo,62:xa,63:[0,.69444,0,0,.54305],64:lo,65:Or,66:[0,.68611,0,0,.81805],67:Ea,68:[0,.68611,0,0,.88194],69:gt,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Vi,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Ti,77:[0,.68611,0,0,1.09166],78:Vi,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:Or,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:ia,92:Lr,93:ia,94:qi,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:Zi,99:ha,100:Zi,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:Zi,105:ma,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:ma,109:[0,.44444,0,0,.95833],110:pa,111:Ge,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:pa,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:ha,123:Lr,124:ia,125:Lr,126:[.35,.34444,0,0,.575],160:Bn,163:[0,.69444,0,0,.86853],168:qi,172:[0,.44444,0,0,.76666],176:Di,177:aa,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:aa,216:[.04861,.73472,0,0,.89444],223:Tn,230:[0,.44444,0,0,.83055],247:aa,248:[.09722,.54167,0,0,.575],305:Ao,338:[0,.68611,0,0,1.16944],339:Vo,567:[.19444,.44444,0,0,.35139],710:qi,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:qi,715:qi,728:qi,729:ma,730:Di,732:qi,733:qi,915:Ti,916:Mi,920:_a,923:en,926:Wn,928:Vi,931:Ea,933:_a,934:Ea,936:_a,937:Ea,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:ma,8217:ma,8220:jo,8221:jo,8224:Zo,8225:Zo,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:Xt,8465:ko,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:ko,8501:Il,8592:vo,8593:Ar,8594:vo,8595:Ar,8596:vo,8597:Lr,8598:il,8599:il,8600:il,8601:il,8636:vo,8637:vo,8640:vo,8641:vo,8656:vo,8657:_i,8658:vo,8659:_i,8660:vo,8661:[.25,.75,0,0,.70277],8704:Zi,8706:[0,.69444,.06389,0,.62847],8707:Zi,8709:Li,8711:Mi,8712:ea,8715:ea,8722:aa,8723:aa,8725:Lr,8726:Lr,8727:ms,8728:mo,8729:mo,8730:[.18,.82,0,0,.95833],8733:Vo,8734:[0,.44444,0,0,1.14999],8736:$t,8739:ia,8741:Lr,8743:qo,8744:qo,8745:qo,8746:qo,8747:[.19444,.69444,.12778,0,.56875],8764:Uo,8768:[.19444,.69444,0,0,.31944],8771:Co,8776:[.02444,.52444,0,0,.89444],8781:Co,8801:Co,8804:ul,8805:ul,8810:Wl,8811:Wl,8826:xa,8827:xa,8834:xa,8835:xa,8838:ul,8839:ul,8846:qo,8849:ul,8850:ul,8851:qo,8852:qo,8853:aa,8854:aa,8855:aa,8856:aa,8857:aa,8866:Il,8867:Il,8868:lo,8869:lo,8900:mo,8901:[-.02639,.47361,0,0,.31944],8902:ms,8968:Qa,8969:Qa,8970:Qa,8971:Qa,8994:la,8995:la,9651:cl,9657:ms,9661:cl,9667:ms,9711:il,9824:To,9825:To,9826:To,9827:To,9837:[0,.75,0,0,.44722],9838:Go,9839:Go,10216:Qi,10217:Qi,10815:Vi,10927:ul,10928:ul,57376:lu},"Main-BoldItalic":{32:Bn,33:[0,.69444,.11417,0,.38611],34:va,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:yr,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:nr,49:nr,50:nr,51:nr,52:Qn,53:nr,54:nr,55:Qn,56:nr,57:nr,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:ga,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:Zn,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:Zn,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:ti,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:xr,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:xr,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:Bn,168:[0,.69444,.11473,0,.59111],176:Bi,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:ni,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:ni,567:[.19444,.44444,.04611,0,.385],710:ti,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:yr,730:Bi,732:ga,733:ga,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:Zn,931:[0,.68611,.11431,0,.82666],933:Ka,934:[0,.68611,.05632,0,.82666],936:Ka,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:yr,8217:yr,8220:[0,.69444,.16772,0,.62055],8221:va},"Main-Italic":{32:Bn,33:bi,34:Ys,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:bi,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:ta,49:ta,50:ta,51:ta,52:Xr,53:ta,54:ta,55:Xr,56:ta,57:ta,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:xl,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:Lo,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:Lo,79:as,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:Lo,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:yo,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:Aa,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:Aa,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:Bn,168:[0,.66786,.10474,0,.51111],176:tl,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:Fa,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:Fa,710:yo,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:tl,732:[0,.66786,.11585,0,.51111],733:xl,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:as,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:Lo,931:[0,.68333,.12028,0,.71555],933:Yo,934:[0,.68333,.05986,0,.71555],936:Yo,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:bi,8217:bi,8220:[0,.69444,.1685,0,.51444],8221:Ys,8463:_r},"Main-Regular":{32:Bn,33:Ts,34:El,35:ht,36:zu,37:bt,38:du,39:Ts,40:os,41:os,42:Zt,43:Ul,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:gs,48:cs,49:cs,50:cs,51:cs,52:cs,53:cs,54:cs,55:cs,56:cs,57:cs,58:ds,59:[.19444,.43056,0,0,.27778],60:dn,61:Bt,62:dn,63:Kn,64:du,65:ps,66:[0,.68333,0,0,.70834],67:fu,68:[0,.68333,0,0,.76389],69:wu,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:ps,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:Bo,76:No,77:[0,.68333,0,0,.91667],78:ps,79:Bo,80:wu,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:fu,85:ps,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:ps,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Vl,92:gs,93:Vl,94:El,95:[.31,.12056,.02778,0,.5],97:bs,98:yu,99:Pu,100:yu,101:Pu,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:yu,105:ts,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:Ts,109:[0,.43056,0,0,.83334],110:Ho,111:bs,112:al,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:Ho,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:Pu,123:gs,124:Vl,125:gs,126:[.35,.31786,0,0,.5],160:Bn,163:[0,.69444,0,0,.76909],167:Qs,168:Cs,172:[0,.43056,0,0,.66667],176:Ns,177:Ul,182:Lu,184:dl,198:[0,.68333,0,0,.90278],215:Ul,216:[.04861,.73194,0,0,.77778],223:El,230:[0,.43056,0,0,.72222],247:Ul,248:[.09722,.52778,0,0,.5],305:ds,338:[0,.68333,0,0,1.01389],339:zc,567:[.19444,.43056,0,0,.30556],710:El,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:El,715:El,728:El,729:ts,730:Ns,732:Cs,733:El,915:No,916:iu,920:Bo,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:ps,931:fu,933:Bo,934:fu,936:Bo,937:fu,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:Ts,8217:Ts,8220:El,8221:El,8224:Qs,8225:Qs,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:_r,8465:Su,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Su,8501:Al,8592:ai,8593:hu,8594:ai,8595:hu,8596:ai,8597:gs,8598:js,8599:js,8600:js,8601:js,8614:[.011,.511,0,0,1],8617:wc,8618:wc,8636:ai,8637:ai,8640:ai,8641:ai,8652:[.011,.671,0,0,1],8656:ai,8657:Lu,8658:ai,8659:Lu,8660:ai,8661:[.25,.75,0,0,.61111],8704:yu,8706:[0,.69444,.05556,.08334,.5309],8707:yu,8709:zu,8711:iu,8712:ic,8715:ic,8722:Ul,8723:Ul,8725:gs,8726:gs,8727:Nl,8728:ac,8729:ac,8730:[.2,.8,0,0,.83334],8733:zc,8734:Gr,8736:$t,8739:Vl,8741:gs,8743:Qu,8744:Qu,8745:Qu,8746:Qu,8747:[.19444,.69444,.11111,0,.41667],8764:Bt,8768:[.19444,.69444,0,0,.27778],8771:Au,8773:[-.022,.589,0,0,1],8776:Ia,8781:Au,8784:[-.133,.67,0,0,.778],8801:Au,8804:Cr,8805:Cr,8810:Ju,8811:Ju,8826:dn,8827:dn,8834:dn,8835:dn,8838:Cr,8839:Cr,8846:Qu,8849:Cr,8850:Cr,8851:Qu,8852:Qu,8853:Ul,8854:Ul,8855:Ul,8856:Ul,8857:Ul,8866:Al,8867:Al,8868:du,8869:du,8872:[.249,.75,0,0,.867],8900:ac,8901:[-.05555,.44445,0,0,.27778],8902:Nl,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:$l,8969:$l,8970:$l,8971:$l,8994:au,8995:au,9136:Zs,9137:Zs,9651:eu,9657:Nl,9661:eu,9667:Nl,9711:js,9824:Ks,9825:Ks,9826:Ks,9827:Ks,9837:[0,.75,0,0,.38889],9838:Ws,9839:Ws,10216:os,10217:os,10222:Zs,10223:Zs,10229:[.011,.511,0,0,1.609],10230:ou,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:ou,10815:ps,10927:Cr,10928:Cr,57376:lu},"Math-BoldItalic":{32:Bn,48:Ge,49:Ge,50:Ge,51:ct,52:ct,53:ct,54:Pi,55:ct,56:Pi,57:ct,65:Or,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:qn,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:gt,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:Xt,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:wr,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:Bn,915:[0,.68611,.15972,0,.65694],916:Mi,920:[0,.68611,.03194,0,.86722],923:en,926:[0,.68611,.07458,0,.84125],928:qn,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:Wn,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:wr,960:[0,.44444,.03704,0,.68241],961:br,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:br,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:Bn,48:bs,49:bs,50:bs,51:Ir,52:Ir,53:Ir,54:cs,55:Ir,56:cs,57:Ir,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:Yr,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:zi,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:Ur,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:Bn,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:zi,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:Yr,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:Ur,960:[0,.43056,.03588,0,.57003],961:di,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:di,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:Bn,33:[0,.69444,0,0,.36667],34:Rl,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:Qo,40:xi,41:xi,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:mr,49:mr,50:mr,51:mr,52:mr,53:mr,54:mr,55:mr,56:mr,57:mr,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:ka,64:Tr,65:Tr,66:Tr,67:da,68:vi,69:[0,.69444,0,0,.64167],70:Al,71:Tr,72:vi,73:[0,.69444,0,0,.33056],74:ka,75:Pa,76:sl,77:[0,.69444,0,0,.97778],78:vi,79:vi,80:da,81:[.10556,.69444,0,0,.79445],82:da,83:Al,84:Tr,85:Pa,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:Tr,89:[0,.69444,.0275,0,.73334],90:vl,91:La,93:La,94:mr,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:Ma,99:[0,.45833,0,0,.48889],100:Ma,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:Ma,105:ya,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:ya,109:[0,.45833,0,0,.86667],110:Mo,111:[0,.45833,0,0,.55],112:Xo,113:Xo,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Mo,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:Bn,168:mr,176:Tr,180:mr,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:mr,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:mr,729:Qo,730:Tr,732:mr,733:mr,915:sl,916:[0,.69444,0,0,.91667],920:Dl,923:vl,926:Tr,928:vi,931:vi,933:Dl,934:vi,936:Dl,937:vi,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:Qo,8217:Qo,8220:Rl,8221:Rl},"SansSerif-Italic":{32:Bn,33:[0,.69444,.05733,0,.31945],34:ws,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:fs,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:Vt,45:[0,.44444,.01946,0,.33333],46:mn,47:[.25,.75,.13164,0,.5],48:$o,49:$o,50:$o,51:$o,52:$o,53:$o,54:$o,55:$o,56:$o,57:$o,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:Rn,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:nl,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:fr,77:[0,.69444,.08094,0,.875],78:nl,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:zl,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:Bn,168:[0,.67937,.06385,0,.5],176:Ql,184:dl,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:zl,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Sl,715:El,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Ql,732:[0,.67659,.08826,0,.5],733:Sl,915:[0,.69444,.13372,0,.54167],916:Ki,920:[0,.69444,.07555,0,.77778],923:Al,926:[0,.69444,.12816,0,.66667],928:nl,931:[0,.69444,.11983,0,.72222],933:fl,934:[0,.69444,.04603,0,.72222],936:fl,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:fs,8217:fs,8220:[0,.69444,.14205,0,.5],8221:ws},"SansSerif-Regular":{32:Bn,33:[0,.69444,0,0,.31945],34:El,35:ht,36:zu,37:bt,38:[0,.69444,0,0,.75834],39:Ts,40:os,41:os,42:Zt,43:Ul,44:Vt,45:[0,.44444,0,0,.33333],46:mn,47:gs,48:sn,49:sn,50:sn,51:sn,52:sn,53:sn,54:sn,55:sn,56:sn,57:sn,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Kn,64:Rn,65:Rn,66:Rn,67:Zi,68:[0,.69444,0,0,.72223],69:Tn,70:[0,.69444,0,0,.56945],71:Rn,72:lr,73:Ts,74:Kn,75:[0,.69444,0,0,.69445],76:fr,77:[0,.69444,0,0,.875],78:lr,79:[0,.69444,0,0,.73611],80:Zi,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:yu,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:Rn,89:[0,.69444,.025,0,.66667],90:Al,91:ur,93:ur,94:El,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Kr,99:Zr,100:Kr,101:Zr,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Kr,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:hi,111:[0,.44444,0,0,.5],112:Jr,113:Jr,114:[0,.44444,.01389,0,.34167],115:yi,116:[0,.57143,0,0,.36111],117:hi,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:Bn,168:[0,.67937,0,0,.5],176:Rn,184:dl,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:El,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:El,715:El,728:El,729:[0,.67937,0,0,.27778],730:Rn,732:[0,.67659,0,0,.5],733:El,915:fr,916:Ki,920:du,923:Al,926:Rn,928:lr,931:Su,933:du,934:Su,936:du,937:Su,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:Ts,8217:Ts,8220:El,8221:El},"Script-Regular":{32:Bn,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:Bn},"Size1-Regular":{32:Bn,40:Ii,41:Ii,47:Ji,91:Na,92:Ji,93:Na,123:Ja,125:Ja,160:Bn,710:Da,732:Da,770:Da,771:Da,8214:[-99e-5,.601,0,0,.77778],8593:Wa,8595:Wa,8657:bo,8659:bo,8719:ra,8720:ra,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:fa,8748:Oa,8749:Oa,8750:fa,8896:Si,8897:Si,8898:Si,8899:Si,8968:Ui,8969:Ui,8970:Ui,8971:Ui,9168:su,10216:Ui,10217:Ui,10752:sr,10753:sr,10754:sr,10756:Si,10758:Si},"Size2-Regular":{32:Bn,40:Po,41:Po,47:Ga,91:ji,92:Ga,93:ji,123:so,125:so,160:Bn,710:xo,732:xo,770:xo,771:xo,8719:Do,8720:Do,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:Bl,8748:Io,8749:Io,8750:Bl,8896:Ko,8897:Ko,8898:Ko,8899:Ko,8968:za,8969:za,8970:za,8971:za,10216:Hl,10217:Hl,10752:Xa,10753:Xa,10754:Xa,10756:Ko,10758:Ko},"Size3-Regular":{32:Bn,40:to,41:to,47:ll,91:Jl,92:ll,93:Jl,123:no,125:no,160:Bn,710:Ua,732:Ua,770:Ua,771:Ua,8730:[.95003,1.45,0,0,1],8968:eo,8969:eo,8970:eo,8971:eo,10216:no,10217:no},"Size4-Regular":{32:Bn,40:Ta,41:Ta,47:Ca,91:$r,92:Ca,93:$r,123:Yi,125:Yi,160:Bn,710:co,732:co,770:co,771:co,8730:[1.25003,1.75,0,0,1],8968:_o,8969:_o,8970:_o,8971:_o,9115:Ms,9116:xs,9117:Ms,9118:Ms,9119:xs,9120:Ms,9121:sa,9122:su,9123:sa,9124:sa,9125:su,9126:sa,9127:ns,9128:ro,9129:Es,9130:[0,.3,0,0,.88889],9131:ns,9132:ro,9133:Es,9143:[.88502,.915,0,0,1.05556],10216:Yi,10217:Yi,57344:Ss,57345:Ss,57680:ol,57681:ol,57682:ol,57683:ol},"Typewriter-Regular":{32:As,33:Ni,34:Ni,35:Ni,36:yl,37:yl,38:Ni,39:Ni,40:yl,41:yl,42:[0,.52083,0,0,.525],43:Ro,44:[.13889,.125,0,0,.525],45:Ro,46:[0,.125,0,0,.525],47:yl,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:Gl,61:[-.19549,.41562,0,0,.525],62:Gl,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:yl,92:yl,93:yl,94:Ni,95:[.09514,0,0,0,.525],96:Ni,97:wo,98:Ni,99:wo,100:Ni,101:wo,102:Ni,103:bl,104:Ni,105:Ni,106:[.22222,.61111,0,0,.525],107:Ni,108:Ni,109:wo,110:wo,111:wo,112:bl,113:bl,114:wo,115:wo,116:[0,.55358,0,0,.525],117:wo,118:wo,119:wo,120:wo,121:bl,122:wo,123:yl,124:yl,125:yl,126:Ni,127:Ni,160:As,176:Ni,184:[.19445,0,0,0,.525],305:wo,567:bl,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]}},qa=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,io=10,Yl=.25,Iu=1.2,Vs=.431,tu={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Vs,Vs,Vs],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:[Yl,Yl,Yl],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]},Js=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],es=5,ls={"\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 Fs(a,y){a===void 0&&(a=77);const b=Ml[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 z=String.fromCodePoint(a);if(z in ls)a=ls[z].codePointAt(0);else if(qa.test(z))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 Hu={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]},Rs={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]},Fu={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 Xu(a){if(Rs[a]){const[Xe,ft,Ot]=Rs[a],qt=`<span class="stretchy" style="height:${Ot}em"><svg width="100%" height="${Ot}em" viewBox="0 0 ${Xe} ${ft}" preserveAspectRatio="none" ><path fill="currentcolor" d="${Fu[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*Ot/2)/100}em;min-width:0">${qt}</span>`}const[y,b,z,ne]=Hu[a];let le,ce;const Be=z/1e3;y.length===3?(le=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],ce=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(le=["slice-1-of-2","slice-2-of-2"],ce=["xMinYMin","xMaxYMin"]):(le=["slice-1-of-1"],ce=[ne]);const Ue=y.map((Xe,ft)=>`<span class="${le[ft]}" style=height:${Be}em><svg width=400em height=${Be}em viewBox="0 0 400000 ${z}" preserveAspectRatio="${ce[ft]} slice"><path fill="currentcolor" d="${Fu[Xe]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${Be}em;min-width:${b}em;">${Ue}</span>`}function Hc(a){return Hu[a]?Hu[a][2]/1e3:Rs[a][2]}function hl(a){const y=[];for(let b=0;b<a.length;b++){let z=a.charCodeAt(b);if(z===13&&a.charCodeAt(b+1)===10&&(z=10,b++),(z===13||z===12)&&(z=10),z===0&&(z=65533),z>=55296&&z<=56319){const ne=a.charCodeAt(b+1);if(ne>=56320&&ne<=57343){const le=z-55296,ce=ne-56320;z=Cd(2,16)+le*Cd(2,10)+ce,b++}}y.push(z)}return y}var kl=8205,ks=[[kl,1],[65038,2],[127995,5],[129456,4],[917536,96]],Ol,zs=[127462,127487];function Hs(a){var y;if(Ol===void 0){Ol={};for(const b of ks)for(let z=b[0];z<=b[0]+b[1]-1;z++)Ol[z]=!0}return(y=Ol[a])!=null?y:!1}function Xs(a){return a>=zs[0]&&a<=zs[1]}function ju(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=hl(a);let z=0;for(;z<b.length;){const ne=b[z++],le=b[z];if(le===kl){const ce=z-1;for(z+=2;b[z]===kl;)z+=2;y.push(String.fromCodePoint(...b.slice(ce,z-ce+1)))}else if(Hs(le)){const ce=z-1;for(;Hs(b[z]);)z+=b[z]===kl?2:1;y.push(String.fromCodePoint(...b.slice(ce,2*z-ce-1)))}else Xs(ne)?(z+=1,y.push(String.fromCodePoint(...b.slice(z-2,2)))):y.push(String.fromCodePoint(ne))}return y}var jc=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=ju(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 cc(a,y){var b,z,ne,le;const ce=[];let Be=a.next();if(Be&&Be!=="\\relax"){if(Be==="\\noexpand")Be=a.next(),Be&&ce.push(Be);else if(Be==="\\obeyspaces")a.obeyspaces=!0;else if(Be==="\\bgroup")ce.push("<{>");else if(Be==="\\egroup")ce.push("<}>");else if(Be==="\\string"){if(Be=a.next(),Be)if(Be.startsWith("\\"))for(const Ue of Be)ce.push(Ue==="\\"?"\\backslash":Ue);else Be==="<{>"?ce.push("\\{"):Be==="<space>"?ce.push("~"):Be==="<}>"&&ce.push("\\}")}else if(Be==="\\csname"){for(;a.peek()==="<space>";)a.next();let Ue="",Xe=!1,ft=[];do{if(ft.length===0)if(/^#[\d?@]$/.test(a.peek())){const Ot=a.get().slice(1);ft=Zu((z=(b=y==null?void 0:y(Ot))!=null?b:y==null?void 0:y("?"))!=null?z:"\\placeholder{}",y),Be=ft[0]}else Be=a.next(),ft=Be?[Be]:[];Xe=ft.length===0,!Xe&&Be==="\\endcsname"&&(Xe=!0,ft.shift()),Xe||(Xe=Be==="<$>"||Be==="<$$>"||Be==="<{>"||Be==="<}>"||typeof Be=="string"&&Be.length>1&&Be.startsWith("\\")),Xe||(Ue+=ft.shift())}while(!Xe);Ue&&ce.push("\\"+Ue),ce.push(...ft)}else if(Be!=="\\endcsname")if(Be.length>1&&Be.startsWith("#")){const Ue=Be.slice(1);ce.push(...Zu((le=(ne=y==null?void 0:y(Ue))!=null?ne:y==null?void 0:y("?"))!=null?le:"\\placeholder{}",y))}else ce.push(Be)}return ce}function Zu(a,y=null){const b=[];let z="";for(const ce of a.toString().split(/\r?\n/)){z&&b.push(z),z=" ";const Be=ce.match(/((?:\\%)|[^%])*/);Be!==null&&b.push(Be[0])}const ne=new jc(tt(b.join(""))),le=[];do le.push(...cc(ne,y));while(!ne.end());return le}function ml(a){let y="";const b=[];for(const z of a)z&&(y&&/^[a-zA-Z\*]/.test(z)&&b.push(y),b.push(z),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(z)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(z)?" ":"");return b.join("")}function rs(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:ml([a,...y.map(b=>`{${b}}`)])}function Ou(a){return ml(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var oc=class Jf{constructor(y){Jf._registry[y]=this}static createAtom(y,b,z){return Jf._registry[y].createAtom(b,Et(b,y),z)}static serialize(y,b){var z;if(!y||y.length===0)return"";if((z=b.skipStyles)!=null&&z){const ne=[];for(const le of Zc(y)){const ce=Jf._registry[le[0].mode];ne.push(...ce.serialize(le,b))}return ml(ne)}return ml(Kc(y,b))}static getFont(y,b,z){return Jf._registry[y].getFont(b,z)}};oc._registry={};var qs=oc;function Zc(a){const y=[];let b=[],z="NONE";for(const ne of a)ne.type!=="first"&&(ne.mode!==z?(b.length>0&&y.push(b),b=[ne],z=ne.mode):b.push(ne));return b.length>0&&y.push(b),y}function Ps(a,y){const b=[];let z=[],ne;for(const le of a)if(le.type!=="first"&&le.style){let ce;y==="variant"?(ce=le.style.variant,le.style.variantStyle&&le.style.variantStyle!=="up"&&(ce+="-"+le.style.variantStyle)):ce=le.style[y],ce===ne?z.push(le):(z.length>0&&b.push(z),z=[le],ne=ce)}return z.length>0&&b.push(z),b}function Fc(a,y){var b;const{parent:z}=a[0],ne=z==null?void 0:z.computedStyle.color,le=[];for(const ce of Zc(a)){const Be=y.defaultMode;for(const Ue of Ps(ce,"color")){const Xe=Ue[0].computedStyle,ft=qs._registry[Ue[0].mode].serialize(Ue,Fe(be({},y),{defaultMode:Be==="text"?"text":"math"}));!y.skipStyles&&Xe.color&&Xe.color!=="none"&&(!z||ne!==Xe.color)?le.push(rs("\\textcolor",(b=Xe.verbatimColor)!=null?b:Xe.color,ml(ft))):le.push(ml(ft))}}return le}function Jc(a,y){const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.backgroundColor;return Ps(a,"backgroundColor").map(ne=>{var le;if(ne.length>0||ne[0].type!=="box"){const ce=ne[0].computedStyle;if(ce.backgroundColor&&ce.backgroundColor!=="none"&&(!b||z!==ce.backgroundColor))return rs("\\colorbox",(le=ce.verbatimBackgroundColor)!=null?le:ce.backgroundColor,ml(Fc(ne,Fe(be({},y),{defaultMode:"text"}))))}return ml(Fc(ne,y))})}function Kc(a,y){if(a.length===0)return[];const{parent:b}=a[0],z=b==null?void 0:b.computedStyle.fontSize,ne=[];for(const le of Ps(a,"fontSize")){const ce=le[0].computedStyle.fontSize,Be=Jc(le,y);Be&&(ce&&ce!=="auto"&&(!b||z!==ce)?ne.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][ce],...Be):ne.push(...Be))}return ne}function gc(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 Sc(a){if(a.length===0)return"ord";const y=gc(a[0].type),b=gc(a[a.length-1].type);return y&&y===b?y:"ord"}function lc(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 Xi=class Hm{constructor(y,b){var z,ne,le,ce,Be;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:Ae(y)?this.children=y.filter(Xe=>Xe!==null):y&&y instanceof Hm&&(this.children=[y]),this.children)for(const Xe of this.children)Xe.parent=this;this.type=(z=b==null?void 0:b.type)!=null?z:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(ne=b==null?void 0:b.classes)!=null?ne:"",this.isTight=(le=b==null?void 0:b.isTight)!=null?le:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let Ue=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(Ue=(Be=qs.getFont((ce=b.mode)!=null?ce:"math",this,Fe(be({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?Be:void 0),Ue||(Ue="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),dc(this,Ue)}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,z){if(b===void 0)return;const ne=lc(b,z);ne.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ne)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=lc(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"]=lc(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"]=lc(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"]=lc(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 z=y.color;z&&z!==b.color&&this.setStyle("color",z);let ne=y.backgroundColor;this.isSelected&&(ne=It(ne)),ne&&ne!==b.backgroundColor&&(this.setStyle("background-color",ne),this.setStyle("display","inline-block"));const le=y.scalingFactor;return this.scale=le,this.skew*=le,this.italic*=le,this}toMarkup(){var y,b,z,ne;let le=(y=this.value)!=null?y:"";if(this.children)for(const xn of this.children)le+=xn.toMarkup();let ce="";if(this.svgBody)ce=Xu(this.svgBody);else if(this.svgOverlay){ce='<span style="',ce+="display: inline-block;",ce+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,ce+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,ce+='">',ce+=le,ce+="</span>",ce+='<svg style="position:absolute;overflow:visible;',ce+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const xn=(b=this.cssProperties)==null?void 0:b.padding;xn?(ce+=`top:${xn};`,ce+=`left:${xn};`,ce+=`width:calc(100% - 2 * ${xn} );`):ce+="top:0;left:0;width:100%;",ce+="z-index:2;",ce+='"',this.svgStyle&&(ce+=this.svgStyle),ce+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,ce+=`>${this.svgOverlay}</svg>`}let Be="";const Ue=this.classes.split(" ");Ue.push((z={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?z:""),this.caret==="latex"&&Ue.push("ML__latex-caret"),this.isSelected&&Ue.push("ML__selected");const Xe=Ue.length===1?Ue[0]:Ue.filter((xn,On,Fr)=>xn.length>0&&Fr.indexOf(xn)===On).join(" ");if(Xe.length>0&&(Be+=` class="${Xe}"`),this.id&&(Be+=` data-atom-id=${this.id}`),this.cssId&&(Be+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(Be+=" "+Object.keys(this.attributes).map(xn=>`${xn}="${this.attributes[xn]}"`).join(" ")),this.htmlData){const xn=this.htmlData.split(",");for(const On of xn){const Fr=On.match(/([^=]+)=(.+$)/);if(Fr){const oa=Fr[1].trim().replace(/ /g,"-");oa&&(Be+=` data-${oa}="${Fr[2]}" `)}else{const oa=On.trim().replace(/ /g,"-");oa&&(Be+=` data-${oa} `)}}}const ft=(ne=this.cssProperties)!=null?ne:{};this.hasExplicitWidth&&ft.width===void 0&&(ft.width=`${Math.ceil(this._width*100)/100}em`);const Ot=Object.keys(ft).map(xn=>`${xn}:${ft[xn]}`);if(this.scale!==void 0&&this.scale!==1&&(le.length>0||ce.length>0)&&Ot.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const xn=this.htmlStyle.split(";");let On="";for(const Fr of xn){const oa=Fr.match(/([^=]+):(.+$)/);if(oa){const Mr=oa[1].trim().replace(/ /g,"-");Mr&&(On+=`${Mr}:${oa[2]};`)}}On&&(Be+=` style="${On}"`)}Ot.length>0&&(Be+=` style="${Ot.join(";")}"`);let qt="";return Be.length>0||ce.length>0?qt=`<span${Be}>${le}${ce}</span>`:qt=le,this.caret==="text"?qt+='<span class="ML__text-caret"></span>':this.caret==="math"&&(qt+='<span class="ML__caret"></span>'),qt}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,z=y.children&&y.children.length>0;if(b||z)return!1;if(y.cssProperties||this.cssProperties){for(const Ue of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&Ue in y.cssProperties||this.cssProperties&&Ue in this.cssProperties)return!1}const ne=this.cssProperties?Object.keys(this.cssProperties).length:0,le=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ne!==le)return!1;if(ne>0){for(const Ue of Object.keys(this.cssProperties))if(this.cssProperties[Ue]!==y.cssProperties[Ue])return!1}const ce=this.classes.trim().replace(/\s+/g," ").split(" "),Be=y.classes.trim().replace(/\s+/g," ").split(" ");if(ce.length!==Be.length)return!1;ce.sort(),Be.sort();for(const[Ue,Xe]of ce.entries())if(Xe==="vertical-separator"||Xe!==Be[Ue])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 Xc(a){if(!a||a.length===0)return[];a[0].children=Xc(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=Xc(a[b].children),y.push(a[b]));return y}function Ac(a){return a.children&&(a.children=Xc(a.children)),a}function Wc(a,y){if(!a)return new Xi(null,y);const b=new Xi(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const z=[b];if(a.depth!==0){const ne=new Xi(null,{classes:"ML__strut--bottom",type:"ignore"});ne.setStyle("height",a.height+a.depth,"em"),ne.setStyle("vertical-align",-a.depth,"em"),z.push(ne)}return z.push(a),new Xi(z,Fe(be({},y),{type:"lift"}))}function _l(a){const y=Hc(a)/2,b=new Xi(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function dc(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 z=0;z<a.value.length;z++){const ne=Fs(a.value.codePointAt(z),y);a.height=Math.max(a.height,ne.height),a.depth=Math.max(a.depth,ne.depth),a._width+=ne.width,a.skew=ne.skew,a.italic=ne.italic}return}if(a.children&&a.children.length>0){let z=-1/0,ne=-1/0,le=0;for(const ce of a.children)ce.height>z&&(z=ce.height),ce.depth>ne&&(ne=ce.depth),le=Math.max(le,(b=ce.maxFontSize)!=null?b:0);a.height=z,a.depth=ne,a._width=a.children.reduce((ce,Be)=>ce+Be.width,0),a.maxFontSize=le}}function fc(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const z=[b],ne=-b.shift-b.box.depth;let le=ne;for(let ce=1;ce<y.length;ce++){const Be=y[ce],Ue=-Be.shift-le-Be.box.depth,Xe=Ue-(b.box.height+b.box.depth);le=le+Ue,z.push(Xe),z.push(Be),b=Be}return[z,ne]}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 vc(a){var y;const[b,z]=fc(a);if(!b)return[[],0,0];const ne=new Xi(null,{classes:"pstrut"});let le=0;for(const On of b)if(typeof On!="number"){const Fr=On.box;le=Math.max(le,Fr.maxFontSize,Fr.height)}le+=2,ne.height=le,ne.setStyle("height",le,"em");const ce=[];let Be=z,Ue=z,Xe=z,ft=0;for(const On of b){if(typeof On=="number")Xe+=On;else{const Fr=On.box,oa=(y=On.classes)!=null?y:[],Mr=new Xi([ne,Fr],{classes:oa.join(" "),style:On.style});Fr.setStyle("height",Fr.height+Fr.depth,"em"),Fr.setStyle("display","inline-block"),Mr.setStyle("top",-le-Xe-Fr.depth,"em"),On.marginLeft&&Mr.setStyle("margin-left",On.marginLeft,"em"),On.marginRight&&Mr.setStyle("margin-right",On.marginRight,"em"),ce.push(Mr),Xe+=Fr.height+Fr.depth,ft=Math.max(ft,Mr.width)}Be=Math.min(Be,Xe),Ue=Math.max(Ue,Xe)}ce.forEach(On=>{On.softWidth=ft});const Ot=new Xi(ce,{classes:"vlist"});if(Ot.softWidth=ft,Ot.height=Ue,Ot.setStyle("height",Ue,"em"),Be>=0)return[[new Xi(Ot,{classes:"vlist-r"})],Ue,-Be];const qt=new Xi(new Xi(null),{classes:"vlist"});qt.height=-Be,qt.setStyle("height",-Be,"em");const xn=new Xi(8203,{classes:"vlist-s",maxFontSize:0});return xn.softWidth=0,xn.height=0,xn.depth=0,[[new Xi([Ot,xn],{classes:"vlist-r"}),new Xi(qt,{classes:"vlist-r"})],Ue,-Be]}var ss=class extends Xi{constructor(a,y){var b;const[z,ne,le]=vc(a);super(z.length===1?z[0]:z,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(z.length===2?" vlist-t2":"")}),this.height=ne,this.depth=le,this.softWidth=z.reduce((ce,Be)=>Math.max(ce,Be.width),0)}};function qc(a,y){var b,z,ne,le,ce;const Be=a.metrics,Ue=new Xi(y.base),Xe=(b=y.baseShift)!=null?b:0,ft=(z=y.slant)!=null?z:0;let Ot=0,qt=0;y.above&&(Ot=(ne=y.aboveShift)!=null?ne:Math.max(Be.bigOpSpacing1,Be.bigOpSpacing3-y.above.depth)),y.below&&(qt=(le=y.belowShift)!=null?le:Math.max(Be.bigOpSpacing2,Be.bigOpSpacing4-y.below.height));let xn=null;if(y.below&&y.above){const On=Be.bigOpSpacing5+y.below.height+y.below.depth+qt+Ue.depth+Xe;xn=new ss({bottom:On,children:[Be.bigOpSpacing5,{box:y.below,marginLeft:-ft,classes:["ML__center"]},qt,{box:Ue,classes:["ML__center"]},Ot,{box:y.above,marginLeft:ft,classes:["ML__center"]},Be.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)xn=new ss({top:Ue.height-Xe,children:[Be.bigOpSpacing5,{box:y.below,marginLeft:-ft,classes:["ML__center"]},qt,{box:Ue,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const On=Ue.depth+Xe;xn=new ss({bottom:On,children:[{box:Ue,classes:["ML__center"]},Ot,{box:y.above,marginLeft:ft,classes:["ML__center"]},Be.bigOpSpacing5]}).wrap(a)}else{const On=Ue.depth+Xe;xn=new ss({bottom:On,children:[{box:Ue},Be.bigOpSpacing5]}).wrap(a)}return new Xi(xn,{type:(ce=y.type)!=null?ce:"op"})}var kc=7,qu=6,Pc=5,$u=4,ec=3,nu=2,bu=1,Us=0,tc=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const z={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(tu).reduce((ne,le)=>Fe(be({},ne),{[le]:tu[le][z]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Pl[[Us,bu,Us,bu,nu,ec,nu,ec][this.id]]}get sub(){return Pl[[Us,Us,Us,Us,nu,nu,nu,nu][this.id]]}get fracNum(){return Pl[[Us,bu,Us,bu,nu,ec,$u,Pc][this.id]]}get fracDen(){return Pl[[Us,Us,Us,Us,nu,nu,$u,$u][this.id]]}get cramp(){return Pl[[Us,Us,nu,nu,$u,$u,qu,qu][this.id]]}get isTight(){return this.sizeDelta<0}},Cl={7:new tc(kc,0,!1),6:new tc(qu,0,!0),5:new tc(Pc,0,!1),4:new tc($u,0,!0),3:new tc(ec,-3,!1),2:new tc(nu,-3,!0),1:new tc(bu,-4,!1),0:new tc(Us,-4,!0)},Pl=Fe(be({},Cl),{displaystyle:Cl[kc],textstyle:Cl[Pc],scriptstyle:Cl[ec],scriptscriptstyle:Cl[bu]});function ru(a,y){var b;if(!a)return 0;const z={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:io,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 ne=Cd(10,y);return Math.round(a.dimension/io*z*ne)/ne}return a.dimension*z}function Ku(a,y){if(a===null)return 0;const b=ru(a)/io;if(Number.isFinite(y)){const z=Cd(10,y);return Math.round(b*z)/z}return b}function _u(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function $c(a){let y=_u(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${_u(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${_u(a.shrink)}`),y}function Ls(a){var y,b;if(a==null)return null;let z="";if("dimension"in a&&(z=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(z=$c(a)),"number"in a)if(!("base"in a)||a.base==="decimal")z=Number(a.number).toString();else if(a.base==="alpha")z=`\`${String.fromCodePoint(a.number)}`;else{const ne=Math.round(a.number)>>>0;a.base==="hexadecimal"?(z=Number(ne).toString(16).toUpperCase(),ne<=255?z=z.padStart(2,"0"):ne<=65535?z=z.padStart(4,"0"):ne<=16777215?z=z.padStart(6,"0"):z=z.padStart(8,"0"),z=`"${z}`):a.base==="octal"&&(z=Number(ne).toString(8),ne<=63?z=z.padStart(2,"0"):ne<=30583?z=z.padStart(4,"0"):z=z.padStart(8,"0"),z=`'${z}`)}return"register"in a&&("factor"in a&&(a.factor===-1?z="-":a.factor!==1&&(z=Number(a.factor).toString())),"global"in a&&a.global&&(z+="\\global"),z+=`\\${a.register}`),"string"in a&&(z=a.string),(b=a.relax)!=null&&b&&(z+="\\relax"),z}function ku(a,y){return a==null?null:"number"in a?Fe(be({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?Fe(be({},a),{factor:a.factor*y}):Fe(be({},a),{factor:y}):"dimension"in a?Fe(be({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:ku(a.glue,y),shrink:ku(a.shrink,y),grow:ku(a.grow,y)}:a.shrink?{glue:ku(a.glue,y),shrink:ku(a.shrink,y)}:a.grow?{glue:ku(a.glue,y),grow:ku(a.grow,y)}:{glue:ku(a.glue,y)}:null}var ed={"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 sc(){return be({},ed)}function ld(){return{registers:sc(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:Ke.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:ze,backgroundColorMap:Te,getMacro:a=>an(a,wn())}}var Fl=class jm{constructor(y,b){var z,ne,le,ce,Be,Ue,Xe,ft,Ot,qt,xn,On,Fr,oa,Mr;let Ci;y!=null&&y.parent?(this.parent=y.parent,Ci=y.parent,this.registers={}):(Ci=be(be({},ld()),(z=y==null?void 0:y.from)!=null?z:{}),this.registers=Ci.registers),Ci.atomIdsSettings&&(this.atomIdsSettings=be({},Ci.atomIdsSettings)),this.renderPlaceholder=Ci.renderPlaceholder,this.isPhantom=(ce=(le=y==null?void 0:y.isPhantom)!=null?le:(ne=this.parent)==null?void 0:ne.isPhantom)!=null?ce:!1,this.letterShapeStyle=Ci.letterShapeStyle,this.minFontScale=Ci.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(Ue=(Be=this.parent)==null?void 0:Be.color)!=null?Ue:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(ft=(Xe=this.parent)==null?void 0:Xe.backgroundColor)!=null?ft:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((Ot=this.parent)==null?void 0:Ot.size)?this.size=b.fontSize:this.size=(xn=(qt=this.parent)==null?void 0:qt.size)!=null?xn:es;let ca=(Fr=(On=this.parent)==null?void 0:On.mathstyle)!=null?Fr:Pl.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(Ci instanceof jm)switch(y.mathstyle){case"cramp":ca=ca.cramp;break;case"superscript":ca=ca.sup;break;case"subscript":ca=ca.sub;break;case"numerator":ca=ca.fracNum;break;case"denominator":ca=ca.fracDen;break}switch(y.mathstyle){case"textstyle":ca=Pl.textstyle;break;case"displaystyle":ca=Pl.displaystyle;break;case"scriptstyle":ca=Pl.scriptstyle;break;case"scriptscriptstyle":ca=Pl.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=ca,this.smartFence=Ci.smartFence,this.placeholderSymbol=Ci.placeholderSymbol,this.colorMap=(oa=Ci.colorMap)!=null?oa:Ri=>Ri,this.backgroundColorMap=(Mr=Ci.backgroundColorMap)!=null?Mr:Ri=>Ri,this.getMacro=Ci.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===kc||this.mathstyle.id===qu}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(Js[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 z=this.registers[y];return typeof z=="object"&&"glue"in z?z:typeof z=="object"&&"dimension"in z?{glue:{dimension:z.dimension}}:typeof z=="number"?{glue:{dimension:z}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return Ku(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const z=this.registers[y];return typeof z=="object"&&"glue"in z?z.glue:typeof z=="object"&&"dimension"in z?z:typeof z=="number"?{dimension:z}: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 z=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(z=y.factor);const ne=b.getRegister(y.register);if(ne===void 0)return;if(typeof ne=="string")return{string:Number(ne).toString()+ne};if(typeof ne=="number")return{number:z*ne};const le=b.evaluate(ne);if(le!==void 0)return"string"in le?{string:Number(ne).toString()+le.string}:"number"in le?{number:z*le.number}:"dimension"in le?Fe(be({},le),{dimension:z*le.dimension}):"glue"in le?Fe(be({},le),{glue:Fe(be({},le.glue),{dimension:z*le.glue.dimension}),shrink:le.shrink?Fe(be({},le.shrink),{dimension:z*le.shrink.dimension}):void 0,grow:le.grow?Fe(be({},le.grow),{dimension:z*le.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 z=this.toDimension(y);return z===null?0:ru(z,b)/io}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,z;if(y===null)return null;const ne=this.evaluate(y);return ne===void 0?null:"string"in ne?(z=(b=this.colorMap)==null?void 0:b.call(this,ne.string))!=null?z:ne.string:null}toBackgroundColor(y){var b,z;if(y===null)return null;const ne=this.evaluate(y);return ne===void 0?null:"string"in ne?(z=(b=this.backgroundColorMap)==null?void 0:b.call(this,ne.string))!=null?z:ne.string:null}},yc=["body","above","below","superscript","subscript"];function Du(a){return typeof a=="string"&&yc.includes(a)}function Vc(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var ri=class Pd{constructor(y){var b,z,ne,le,ce,Be;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(z=(b=y.command)!=null?b:this.value)!=null?z:"",this.mode=(ne=y.mode)!=null?ne:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=be({},y.style),this.displayContainsHighlight=(le=y.displayContainsHighlight)!=null?le:!1,this.captureSelection=(ce=y.captureSelection)!=null?ce:!1,this.skipBoundary=(Be=y.skipBoundary)!=null?Be:!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,z){var ne;if(!b)return null;const le=wd(b),ce=[];for(const Ue of le){const Xe=Ue[0].style,ft=Id(y,Ue,{style:{color:Xe.color,backgroundColor:Xe.backgroundColor,fontSize:Xe.fontSize}});ft&&ce.push(ft)}if(ce.length===0)return null;const Be=((ne=z==null?void 0:z.classes)!=null?ne:"").trim();return ce.length===1&&!Be&&!(z!=null&&z.type)?ce[0].wrap(y):new Xi(ce,{classes:Be,type:z==null?void 0:z.type}).wrap(y)}static serialize(y,b){return qs.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const z=new WeakSet;let{parent:ne}=y;for(;ne;)z.add(ne),ne=ne.parent;for(ne=b.parent;ne;){if(z.has(ne))return ne;ne=ne.parent}console.assert(!!ne)}static fromJson(y){return typeof y=="string"?new Pd({type:"mord",value:y,mode:"math"}):new Pd(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=be({},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=ui(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(z=>z.type!=="first").map(z=>z.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=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?ml([rs(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?ml([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return qs.serialize(this.body,Fe(be({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return qs.serialize(this.above,y)}belowToLatex(y){return qs.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=Fe(be({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const z=qs.serialize(this.subscript,y);z.length===0?b+="_{}":z.length===1?/^[0-9]$/.test(z)?b+=`_${z}`:b+=`_{${z}}`:b+=`_{${z}}`}if(this.branch("superscript")!==void 0){const z=qs.serialize(this.superscript,y);z.length===0?b+="^{}":z.length===1?z==="\u2032"?b+="^\\prime ":z==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(z)?b+=`^${z}`:b+=`^{${z}}`:b+=`^{${z}}`}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(Du(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of yc)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(Du(y)),Du(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 Vc(this.parentBranch)?this.parentBranch[0]:-1}get col(){return Vc(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 z=typeof this.style.verbatimColor=="string",ne=typeof this.style.verbatimBackgroundColor=="string",le=be(be({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete le.variant,delete le.variantStyle,ne||delete le.verbatimBackgroundColor,z||delete le.verbatimColor,le}applyStyle(y){this.isDirty=!0,this.style=be(be({},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,z;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(z=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?z: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 z;if(!y||(console.assert(Du(b)),!Du(b)))return;console.assert(((z=y[0])==null?void 0:z.type)!=="first");const ne=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ne:this._branches={[b]:ne};for(const le of y)le.parent=this,le.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new Pd({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 z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const z=this.createBranch(b);for(const ne of y)ne.parent=this,ne.parentBranch=b,z.push(ne);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const z=this.createBranch(b.parentBranch);z.splice(z.indexOf(b)+1,0,...y),this.isDirty=!0;for(const ne of y)ne.parent=this,ne.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(Du(y)&&(this._branches[y]=void 0),!b)return[];for(const z of b)z.parent=void 0,z.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),z=b.indexOf(y);console.assert(z>=0),b.splice(z,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 yc)if(this._branches[b])for(const z of this._branches[b])y.push(...z.children),y.push(z);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=Et(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const z=new Fl({parent:y},this.style);let ne=this.createBox(z,{classes:this.parent?"":"ML__base"});return ne?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ne=this.attachSupsub(z,{base:ne})),ne.wrap(z)):null}attachSupsub(y,b){var z;const ne=b.base,le=this.superscript,ce=this.subscript;if(!le&&!ce)return ne;let Be=null,Ue=null;const Xe=(z=b.isCharacterBox)!=null?z:this.isCharacterBox();let ft=0;if(le){const Fr=new Fl({parent:y,mathstyle:"superscript"});Be=Pd.createBox(Fr,le),Xe||(ft=ne.height-y.metrics.supDrop*Fr.scalingFactor)}let Ot=0;if(ce){const Fr=new Fl({parent:y,mathstyle:"subscript"});Ue=Pd.createBox(Fr,ce),Xe||(Ot=ne.depth+y.metrics.subDrop*Fr.scalingFactor)}let qt;y.isDisplayStyle?qt=y.metrics.sup1:y.isCramped?qt=y.metrics.sup3:qt=y.metrics.sup2;const xn=.5/io/y.scalingFactor;let On=null;if(Ue&&Be){ft=Math.max(ft,qt,Be.depth+.25*y.metrics.xHeight),Ot=Math.max(Ot,y.metrics.sub2);const Fr=y.metrics.defaultRuleThickness;if(ft-Be.depth-(Ue.height-Ot)<4*Fr){Ot=4*Fr-(ft-Be.depth)+Ue.height;const Mr=.8*y.metrics.xHeight-(ft-Be.depth);Mr>0&&(ft+=Mr,Ot-=Mr)}const oa=this.isExtensibleSymbol&&ne.italic?-ne.italic:0;On=new ss({individualShift:[{box:Ue,shift:Ot,marginLeft:oa},{box:Be,shift:-ft}]}).wrap(y)}else Ue&&!Be?(Ot=Math.max(Ot,y.metrics.sub1,Ue.height-.8*Vs),On=new ss({shift:Ot,children:[{box:Ue,marginRight:xn,marginLeft:this.isCharacterBox()?-ne.italic:0}]})):!Ue&&Be&&(ft=Math.max(ft,qt,Be.depth+.25*Vs),On=new ss({shift:-ft,children:[{box:Be,marginRight:xn}]}));return new Xi([ne,new Xi(On,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const z=this.superscript?Pd.createBox(new Fl({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ne=this.subscript?Pd.createBox(new Fl({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!z&&!ne?b.base.wrap(y):qc(y,Fe(be({},b),{above:z,below:ne}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let z=this.parent;for(;z&&!z.captureSelection;)z=z.parent;return z!=null&&z.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var z,ne,le,ce;const Be=(z=this.value)!=null?z:this.body,Ue=(ne=b==null?void 0:b.boxType)!=null?ne:gc(this.type);let Xe=(le=b==null?void 0:b.classes)!=null?le:"";this.mode==="text"&&(Xe+=" ML__text");const ft=typeof Be=="string"||Be===void 0?new Xi(Be!=null?Be:null,{type:Ue,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:Fe(be({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:Xe}):(ce=Pd.createBox(y,Be,{type:Ue,classes:Xe}))!=null?ce:new Xi(null);return y.isTight&&(ft.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(ft.italic=0),ft.right=ft.italic,this.bind(y,ft),this.caret&&!this.superscript&&!this.subscript&&(ft.caret=this.caret),ft}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 wd(a){let y;const b=[];let z=[];for(const ne of a)if(!y&&!ne.style)z.push(ne);else{const le=ne.computedStyle;y&&le.color===y.color&&le.backgroundColor===y.backgroundColor&&le.fontSize===y.fontSize?z.push(ne):(z.length>0&&b.push(z),z=[ne],y=le)}return z.length>0&&b.push(z),b}function Id(a,y,b){var z,ne,le,ce,Be;if(!y||y.length===0)return null;const Ue=new Fl({parent:a},b.style),Xe=!((z=Ue.atomIdsSettings)!=null&&z.groupNumbers);let ft=[];if(y.length===1){const qt=y[0],xn=qt.render(Ue);xn&&(Xe&&qt.isSelected&&xn.selected(!0),ft=[xn])}else{let qt="",xn=!0;for(const On of y){(ne=Ue.atomIdsSettings)!=null&&ne.groupNumbers&&qt&&(xn&&On.isDigit()||!xn&&Sd(On))&&(Ue.atomIdsSettings.overrideID=qt);const Fr=On.render(Ue);Ue.atomIdsSettings&&(Ue.atomIdsSettings.overrideID=void 0),Fr&&((le=Ue.atomIdsSettings)!=null&&le.groupNumbers&&((On.isDigit()||Sd(On))&&(!qt||xn!==On.isDigit())&&(xn=On.isDigit(),qt=(ce=On.id)!=null?ce:""),qt&&(!(On.isDigit()||Sd(On))||!On.hasEmptyBranch("superscript")||!On.hasEmptyBranch("subscript"))&&(qt="")),Xe&&On.isSelected&&Fr.selected(!0),ft.push(Fr))}}if(ft.length===0)return null;const Ot=new Xi(ft,Fe(be({isTight:Ue.isTight},b),{type:(Be=b.type)!=null?Be:"lift"}));return Ot.isSelected=ft.every(qt=>qt.isSelected),Ot.wrap(Ue)}function Sd(a){return a.mode==="text"}function ui(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof ri?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var bc=class Zm extends ri{constructor(y,b,z){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(z)}static fromJson(y){return new Zm(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:un("text",this.value.codePointAt(0))}};function Uc(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let z=0;for(;z<b&&Kd(a.ranges[z],y.ranges[z])==="equal";)z++;return z===b?"equal":"different"}}return"different"}function Kd(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function uu(a){let y=1/0,b=-1/0;for(const z of a.ranges)y=Math.min(y,z[0],z[1]),b=Math.max(b,z[0],z[1]);return[y,b]}function Dc(a){return typeof a=="number"&&!Number.isNaN(a)}function td(a){return Array.isArray(a)&&a.length===2}function Lc(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function sd(a,y){const b=a.at(y);let z;if(b){z=b.mode;let ne=b.parent;for(;!z&≠)ne&&(z=ne.mode),ne=ne.parent}return z}function Od(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,z=!1,ne=!1,le=!1,ce=!1,Be=!1,Ue=!1,Xe=!1,ft=!1,Ot=!1,qt=!1,xn=!1,On=!1,Fr=!1,oa=!1,Mr=a[0],Ci=0;for(;Mr!=null&&Mr.type&&/^(subsup|placeholder)$/.test(Mr.type);)Ci+=1,Mr=a[Ci];return b=!Mr||Mr.type==="first",Mr&&(Fr=Mr.mode==="text",z=!Fr&&Mr.type==="mord"&&ve.test(Mr.value),ne=!Fr&&Mr.type==="mord"&&/\d+$/.test(Mr.value),le=!Fr&&Mr.isFunction,ce=Mr.type==="genfrac",Be=Mr.type==="surd",Ue=Mr.type==="mbin",Xe=Mr.type==="mrel",ft=Mr.type==="mop"||Mr.type==="operator"||Mr.type==="extensible-symbol",Ot=Mr.type==="mpunct"||Mr.type==="minner",qt=Mr.type==="array",xn=Mr.type==="mopen",On=Mr.type==="mclose"||Mr.type==="leftright",oa=Mr.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&z||y.after.includes("digit")&&ne||y.after.includes("function")&&le||y.after.includes("frac")&&ce||y.after.includes("surd")&&Be||y.after.includes("binop")&&Ue||y.after.includes("relop")&&Xe||y.after.includes("operator")&&ft||y.after.includes("punct")&&Ot||y.after.includes("array")&&qt||y.after.includes("openfence")&&xn||y.after.includes("closefence")&&On||y.after.includes("text")&&Fr||y.after.includes("space")&&oa?y.value:""}function Wu(a,y,b){return b?Od(a,b[y]):""}var jl={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\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 fo(a,y){var b;let z=(b=y==null?void 0:y.format)!=null?b:"auto";return z==="auto"&&([z,a]=xc(a)),z==="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",po(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function po(a,y){var b,z,ne;if(!a)return"";let le=!1,ce;const Be=(b=y.inlineShortcuts)!=null?b:jl;if(!le&&(a.startsWith("^")||a.startsWith("_"))&&(ce=wl(a.slice(1),{inlineShortcuts:Be,noWrap:!0}),a=a[0]+"{"+ce.match+"}",a+=po(ce.rest,y),le=!0),le||(ce=a.match(/^(sqrt|\u221A)(.*)/),ce&&(ce=wl(ce[2],{inlineShortcuts:Be,noWrap:!0}),a="\\sqrt{"+((z=ce.match)!=null?z:"\\placeholder{}")+"}",a+=po(ce.rest,y),le=!0)),le||(ce=a.match(/^(\\cbrt|\u221B)(.*)/),ce&&(ce=wl(ce[2],{inlineShortcuts:Be,noWrap:!0}),a="\\sqrt[3]{"+((ne=ce.match)!=null?ne:"\\placeholder{}")+"}",a+=po(ce.rest,y),le=!0)),le||(ce=a.match(/^abs(.*)/),ce&&(ce=wl(ce[1],{inlineShortcuts:Be,noWrap:!0}),a="\\left|"+ce.match+"\\right|",a+=po(ce.rest,y),le=!0)),le||(ce=a.match(/^["”“](.*?)["”“](.*)/),ce&&(a="\\text{"+ce[1]+"}",a+=po(ce[2],y),le=!0)),le||(ce=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),ce&&(a=Ds(ce[1],Be),a+=po(ce[2],y),le=!0)),!le&&/^([fgh])[^a-zA-Z]/.test(a)&&(ce=wl(a.slice(1),{inlineShortcuts:Be,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+ce.match+"\\right)":a[0]+ce.match,a+=po(ce.rest,y),le=!0),le||(ce=a.match(/^([a-zA-Z]+)(.*)/),ce&&(a=Ds(ce[1],Be),a+=po(ce[2],y),le=!0)),!le)if(ce=wl(a,{inlineShortcuts:Be,noWrap:!0}),ce.match&&ce.rest[0]==="/"){const Ue=wl(ce.rest.slice(1),{inlineShortcuts:Be,noWrap:!0});Ue.match&&(a="\\frac{"+ce.match+"}{"+Ue.match+"}"+po(Ue.rest,y)),le=!0}else ce.match&&(a=a.startsWith("(")?"\\left("+ce.match+"\\right)"+po(ce.rest,y):ce.match+po(ce.rest,y),le=!0);return le||(ce=a.match(/^(\s+)(.*)$/),ce&&(a=" "+po(ce[2],y),le=!0)),a}function wl(a,y){let b="";a=a.trim();let z=a,ne=a.charAt(0),le={"(":")","{":"}","[":"]"}[ne];if(le){let ce=1,Be=1;for(;Be<a.length&&ce>0;)a[Be]===ne&&ce++,a[Be]===le&&ce--,Be++;ce===0?(y.noWrap&&ne==="("?b=po(a.substring(1,Be-1),y):(ne==="{"&&le==="}"&&(ne="\\{",le="\\}"),b="\\left"+ne+po(a.substring(1,Be-1),y)+"\\right"+le),z=a.slice(Math.max(0,Be))):(b=a.substring(1,Be),z="")}else{let ce=a.match(/^([a-zA-Z]+)/);if(ce){let Be=Wu(null,a,y.inlineShortcuts);if(Be)return Be=Be.replace("_{#?}",""),Be=Be.replace("^{#?}",""),{match:Be,rest:a.slice(Be.length)}}if(ce=a.match(/^([a-zA-Z])/),ce)return{match:ce[1],rest:a.slice(1)};if(ce=a.match(/^(-)?\d+(\.\d*)?/),ce)return{match:ce[0],rest:a.slice(ce[0].length)};/^\\(left|right)/.test(a)||(ce=a.match(/^(\\[a-zA-Z]+)/),ce&&(z=a.slice(ce[1].length),b=ce[1]))}return{match:b,rest:z}}function Ds(a,y){let b=Wu(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var Bc=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function mu(a){const y=a.trim();for(const b of Bc)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 xc(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=mu(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 $a="$$",nd="$$",Ic=(a,y,b)=>(Bc.some(z=>y.startsWith(z[0])&&y.endsWith(z[1]))||(y=`${$a} ${y} ${nd}`),y),nc=class k0{constructor(y){k0._modes[y]=this}static onPaste(y,b,z){var ne;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof z=="string"){const ce=new DataTransfer;ce.setData("text/plain",z),z=ce}const le=new ClipboardEvent("paste",{clipboardData:z,cancelable:!0});return(ne=b.host)!=null&&ne.dispatchEvent(le)?k0._modes[y].onPaste(b,z):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const z=y.model,ne=z.selectionIsCollapsed?[0,z.lastOffset]:uu(z.selection),le=z.getValue(ne,b);navigator.clipboard.writeText(le).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var z;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const ne=y.model,le=ne.selectionIsCollapsed?[0,ne.lastOffset]:uu(ne.selection);let ce=ne.getAtoms(le);if(ce.every(Be=>Be.mode==="text"||!Be.mode))b.clipboardData.setData("text/plain",ce.filter(Be=>Be instanceof bc).map(Be=>Be.value).join(""));else if(ce.every(Be=>Be.mode==="latex"))b.clipboardData.setData("text/plain",ne.getAtoms(le,{includeChildren:!0}).map(Be=>{var Ue;return(Ue=Be.value)!=null?Ue:""}).join(""));else{let Be;ce.length===1&&ce[0].verbatimLatex!==void 0?Be=ce[0].verbatimLatex:Be=ne.getValue(le,"latex-expanded"),b.clipboardData.setData("application/x-latex",Be);try{b.clipboardData.setData("text/plain",y.options.onExport(y,Be,le))}catch(Ue){}if(ce.length===1){const Ue=ce[0];(Ue.type==="root"||Ue.type==="group")&&(ce=Ue.body.filter(Xe=>Xe.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(ce.map(Ue=>Ue.toJson())))}catch(Ue){}if((z=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&z.ComputeEngine){const Ue=window.MathfieldElement.computeEngine;if(Ue)try{const Xe=Ue.jsonSerializationOptions;Ue.jsonSerializationOptions={metadata:["latex"]};const ft=Ue.parse(ne.getValue(le,"latex-unstyled"));Ue.jsonSerializationOptions=Xe;const Ot=JSON.stringify(ft.json);Ot&&b.clipboardData.setData("application/json",Ot)}catch(Xe){}}}b.preventDefault()}static insert(y,b,z={}){var ne;const le=z.mode==="auto"?y.mode:(ne=z.mode)!=null?ne:y.mode;return k0._modes[le].insert(y,b,z)}onPaste(y,b){return!1}insert(y,b,z){return!1}};nc._modes={};var Jo=nc,sf=[{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","^"]}],_d={"\\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 hc(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Zl(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 Vu(a){const y=Zl(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function Wd(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 rd(a,y,b){if(!y)return null;const z=a.field.getBoundingClientRect(),ne=y.right-y.left,le=y.bottom-y.top,ce=Math.ceil(y.left-z.left+a.field.scrollLeft*b),Be=Math.ceil(y.top-z.top);return{left:ce,right:ce+ne,top:Be,bottom:Be+le}}function Vd(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),z={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 z;for(const ne of a.children)if(ne.nodeType===1&&"atomId"in ne.dataset&&!ne.classList.contains("pstrut")){const le=Vd(ne);z.left=Math.min(z.left,le.left),z.right=Math.max(z.right,le.right),z.top=Math.min(z.top,le.top),z.bottom=Math.max(z.bottom,le.bottom)}return z}function ud(a,y){var b,z;if(!y.id)return null;let ne=(z=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?z:null;if(ne!==null)return ne;const le=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ne=le?Vd(le):null,a.atomBoundsCache&&(ne?a.atomBoundsCache.set(y.id,ne):a.atomBoundsCache.delete(y.id)),ne!=null?ne:null}function uf(a,y,b){const z=new Map;for(const ne of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ne.style.backgroundColor)continue;const le=a.field,ce=le.offsetWidth;let Ue=Math.floor(le.getBoundingClientRect().width)/ce;Ue=isNaN(Ue)?1:Ue;const Xe=rd(a,ud(a,ne),Ue);if(Xe){const ft=Wd(ne);if(z.has(ft)){const Ot=z.get(ft);z.set(ft,{left:Math.min(Ot.left,Xe.left),right:Math.max(Ot.right,Xe.right),top:Math.min(Ot.top,Xe.top),bottom:Math.max(Ot.bottom,Xe.bottom)})}else z.set(ft,Xe)}}return[...z.values()]}function Ud(a,y){return a.model.selection.ranges.reduce((b,z)=>b.concat(...uf(a,z,y)),[])}function ae(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function qe(a){let y=0,b=0;const z=a.offsetWidth,ne=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,z,ne)}var Ve=`@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;
|
|
|
}
|
|
|
`,Tt=`.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);
|
|
|
}
|
|
|
`,or=`#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);
|
|
|
}
|
|
|
`,zn=`/* 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;
|
|
|
}
|
|
|
`,Yn=`/* 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);*/
|
|
|
}
|
|
|
`,Er=`.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));
|
|
|
}
|
|
|
`,Cn=`: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;
|
|
|
}
|
|
|
`,tr=`.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;
|
|
|
}
|
|
|
`,wa;function ao(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=Tt;break;case"mathfield":y=Ve;break;case"environment-popover":y=or;break;case"suggestion-popover":y=zn;break;case"keystroke-caption":y=Yn;break;case"virtual-keyboard":y=Er;break;case"ui":y=Cn;break;case"menu":y=tr;break;default:debugger}return y}function Ha(a){return wa||(wa={}),wa[a]||(wa[a]=new CSSStyleSheet,wa[a].replaceSync(ao(a))),wa[a]}var Oi;function Va(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(ao(a))),window.document.head.appendChild(b);return}if(Oi||(Oi={}),((y=Oi[a])!=null?y:0)!==0)Oi[a]+=1;else{const b=Ha(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Oi[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Oi!=null&&Oi[a]&&(Oi[a]-=1,Oi[a]<=0)){const y=wa[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var E=class Km extends ri{constructor(y){var b;super(Fe(be({},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 Km(y)}toJson(){return Fe(be({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const z=new Fl({parent:y,mathstyle:"cramp"},this.style),ne=(b=ri.createBox(z,this.body))!=null?b:new Xi("\u25A2",{style:this.style});let le=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(le=ne.skew);let ce=Math.min(ne.height,Vs),Be;if(this.svgAccent)Be=_l(this.svgAccent),ce=z.metrics.bigOpSpacing1-ce;else if(this.accent){const Xe=new Xi(this.accent,{fontFamily:"Main-Regular"});Xe.italic=0;const ft=this.accent===8407?" ML__accent-vec":"";Be=new Xi(new Xi(Xe),{classes:"ML__accent-body"+ft})}Be=new ss({shift:0,children:[{box:new Xi(ne)},-ce,{box:Be,marginLeft:ne.left+2*le,classes:["ML__center"]}]});const Ue=new Xi(Be,{type:"lift"});return this.caret&&(Ue.caret=this.caret),this.bind(z,Ue.wrap(z)),this.attachSupsub(z,{base:Ue})}},ie={"(":")","{":"}","[":"]","|":"|","\\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"},re=Object.fromEntries(Object.entries(ie).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 pe(a,y,b,z){var ne;const ce=new Xi(oe(a),{fontFamily:"Main-Regular",isSelected:z.isSelected,classes:"ML__small-delim "+((ne=z.classes)!=null?ne:"")}).wrap(y);return b&&ce.setTop((1-y.scalingFactor)*Yl),ce}function je(a,y,b,z,ne){var le,ce;const Be=new Fl({parent:z,mathstyle:"textstyle"},ne==null?void 0:ne.style),Ue=new Xi(oe(a),{fontFamily:`Size${y}-Regular`,isSelected:ne.isSelected,classes:((le=ne.classes)!=null?le:"")+` ML__delim-size${y}`,type:(ce=ne.type)!=null?ce:"ignore"}).wrap(Be);return b&&Ue.setTop((1-Be.scalingFactor)*Yl),Ue}function nt(a,y,b,z,ne){var le;let ce,Be,Ue,Xe;ce=Ue=Xe=oe(a),Be=null;let ft="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?Ue=ce=Xe=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?Ue=ce=Xe=8741:a==="\\uparrow"?Ue=Xe=9168:a==="\\Uparrow"?Ue=Xe=8214:a==="\\downarrow"?ce=Ue=9168:a==="\\Downarrow"?ce=Ue=8214:a==="\\updownarrow"?(ce=8593,Ue=9168,Xe=8595):a==="\\Updownarrow"?(ce=8657,Ue=8214,Xe=8659):a==="["||a==="\\lbrack"?(ce=9121,Ue=9122,Xe=9123,ft="Size4-Regular"):a==="]"||a==="\\rbrack"?(ce=9124,Ue=9125,Xe=9126,ft="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(Ue=ce=9122,Xe=9123,ft="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(ce=9121,Ue=Xe=9122,ft="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(Ue=ce=9125,Xe=9126,ft="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(ce=9124,Ue=Xe=9125,ft="Size4-Regular"):a==="("||a==="\\lparen"?(ce=9115,Ue=9116,Xe=9117,ft="Size4-Regular"):a===")"||a==="\\rparen"?(ce=9118,Ue=9119,Xe=9120,ft="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(ce=9127,Be=9128,Xe=9129,Ue=9130,ft="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(ce=9131,Be=9132,Xe=9133,Ue=9130,ft="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(ce=9127,Xe=9129,Ue=9130,ft="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(ce=9131,Xe=9133,Ue=9130,ft="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(ce=9127,Xe=9133,Ue=9130,ft="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(ce=9131,Xe=9129,Ue=9130,ft="Size4-Regular"):a==="\\surd"?(ce=57345,Xe=9143,Ue=57344,ft="Size4-Regular"):a==="\\ulcorner"?(ce=9484,Ue=Xe=32):a==="\\urcorner"?(ce=9488,Ue=Xe=32):a==="\\llcorner"?(Xe=9492,Ue=ce=32):a==="\\lrcorner"&&(ce=9496,Ue=ce=32);const Ot=Fs(ce,ft),qt=Ot.height+Ot.depth,xn=Fs(Ue,ft),On=xn.height+xn.depth,Fr=Fs(Xe,ft),oa=Fr.height+Fr.depth;let Mr=0,Ci=1;if(Be!==null){const Nu=Fs(Be,ft);Mr=Nu.height+Nu.depth,Ci=2}const ca=qt+oa+Mr,Ri=Math.max(0,Math.ceil((y-ca)/(Ci*On))),uo=ca+Ri*Ci*On;let Fo=Yl;b&&(Fo=Fo*z.scalingFactor);const Eo=uo/2-Fo,ql=.008,Bs=[];Bs.push({box:new Xi(Xe,{fontFamily:ft})}),Bs.push(-ql);const Sa=new Xi(Ue,{fontFamily:ft});if(Be===null)for(let Nu=0;Nu<Ri;Nu++)Bs.push({box:Sa});else{for(let Nu=0;Nu<Ri;Nu++)Bs.push({box:Sa});Bs.push(-ql),Bs.push({box:new Xi(Be,{fontFamily:ft})}),Bs.push(-ql);for(let Nu=0;Nu<Ri;Nu++)Bs.push({box:Sa})}Bs.push(-ql),Bs.push({box:new Xi(ce,{fontFamily:ft})});let Nc="";ft==="Size1-Regular"?Nc=" delim-size1":ft==="Size4-Regular"&&(Nc=" delim-size4");const vd=new ss({bottom:Eo,children:Bs},{classes:Nc});return new Xi(vd,Fe(be({},ne!=null?ne:{}),{classes:((le=ne==null?void 0:ne.classes)!=null?le:"")+" ML__delim-mult"}))}var dt=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),St=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),Kt=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),rn=[0,1.2,1.8,2.4,3];function fn(a,y,b,z){return a===void 0||a==="."?hr(b,z.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),dt.has(a)||Kt.has(a)?je(a,y,!1,b,z):St.has(a)?nt(a,rn[y],!1,b,z):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var Rt=[{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}],Br=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],vr=[{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 Jn(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function Vr(a,y,b,z){const ne={"-4":0,"-3":1,0:2}[z.mathstyle.sizeDelta];for(let le=ne;le<b.length&&b[le].type!=="stack";le++){const ce=Fs(a,Jn(b[le]));if(ce.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let Be=ce.height+ce.depth;if(b[le].type==="small"&&(b[le].mathstyle==="scriptscriptstyle"?Be*=Math.max(Js[Math.max(1,z.size-2)],z.minFontScale):b[le].mathstyle==="scriptstyle"&&(Be*=Math.max(Js[Math.max(1,z.size-1)],z.minFontScale))),Be>y)return b[le]}return b[b.length-1]}function Ei(a,y,b,z,ne,le){if(!y||y.length===0||y===".")return hr(ne);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let ce;Kt.has(y)?ce=Rt:dt.has(y)?ce=vr:ce=Br;const Be=Vr(oe(y),b,ce,ne),Ue=new Fl({parent:ne,mathstyle:Be.mathstyle},le==null?void 0:le.style);return Be.type==="small"?pe(y,Ue,z,Fe(be({},le),{type:a})):Be.type==="large"?je(y,Be.size,z,Ue,Fe(be({},le),{type:a})):(console.assert(Be.type==="stack"),nt(y,b,z,Ue,Fe(be({},le),{type:a})))}function Dn(a,y,b,z,ne,le){if(y===".")return hr(ne,le==null?void 0:le.classes);const ce=Yl*ne.scalingFactor,Be=901,Ue=5/io,Xe=Math.max(b-ce,z+ce),ft=Math.max(Xe/500*Be,2*Xe-Ue);return Ei(a,y,ft,!0,ne,le)}function hr(a,y){const b=new Xi(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new Fl({parent:a,mathstyle:"textstyle"}))}var ii=class Wm extends ri{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 Wm(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{}"}},qr=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],Nn=["cases","dcases","rcases"],ba=["align","align*","aligned","gather","gathered","split"],Wo=["array","subequations","eqnarray"];function Oo(a){return Wo.concat(ba).concat(Nn).concat(qr).includes(a)}function So(a){return qr.includes(a)}function pl(a){return Nn.includes(a)}function ho(a){return ba.includes(a)}function Vn(a,y,b){let z=0;for(const Xe of b)"align"in Xe&&(z+=1);let ne=0;const le=[];for(const Xe of y){let ft=0;for(ne=Math.max(ne,Math.min(Xe.length,z));ft<Xe.length;){const Ot=[],qt=Math.min(Xe.length,ft+z);for(;ft<qt;){const xn=Xe[ft];xn.length===0?Ot.push([new ri({type:"first",mode:a.mode})]):xn[0].type!=="first"?Ot.push([new ri({type:"first",mode:a.mode}),...xn]):(console.assert(!xn.slice(1).some(On=>On.type==="first")),Ot.push(xn)),ft+=1}le.push(Ot)}}le.length>0&&le[le.length-1].length===1&&le[le.length-1][0].length===1&&le[le.length-1][0][0].type==="first"&&le.pop();const ce=[];for(const Xe of le){if(Xe.length!==ne)for(let ft=Xe.length;ft<ne;ft++)Xe.push([new ri({type:"first",mode:a.mode}),new ii]);ce.push(Xe)}let Be=0,Ue=0;for(const Xe of ce){Ue=0;for(const ft of Xe){for(const Ot of ft)Ot.parent=a,Ot.parentBranch=[Be,Ue];Ue+=1}Be+=1}return a.isDirty=!0,ce}var yn=class Vm extends ri{constructor(y,b,z,ne={}){var le;super({type:"array"}),this.environmentName=y,this.rowGaps=z,ne.mathstyleName&&(this.mathstyleName=ne.mathstyleName),ne.columns&&(ne.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ne.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=Vn(this,b,this.colFormat),ne.leftDelim&&(this.leftDelim=ne.leftDelim),ne.rightDelim&&(this.rightDelim=ne.rightDelim),ne.arraycolsep!==void 0&&(this.arraycolsep=ne.arraycolsep),this.colSeparationType=ne.colSeparationType,ne.arraystretch!==void 0&&(this.arraystretch=ne.arraystretch),this.minColumns=(le=ne.minColumns)!=null?le:1}static fromJson(y){return new Vm(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=Fe(be({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(z=>z.map(ne=>ne.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(Vc(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return Vc(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(Du(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(z=>{z.parent=void 0,z.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 z of b)if(z)for(const ne of z)y.push(...ne.children),y.push(ne);return[...y,...super.children]}render(y){var b,z,ne,le,ce,Be;const Ue=new Fl({parent:y,mathstyle:this.mathstyleName},this.style),Xe=Ue.getRegisterAsEm("arrayrulewidth"),ft=Ue.getRegisterAsEm("arraycolsep"),Ot=Ue.getRegisterAsEm("doublerulesep"),qt=(z=(b=this.arraystretch)!=null?b:Ue.getRegisterAsNumber("arraystretch"))!=null?z:1;let xn=typeof this.arraycolsep=="number"?this.arraycolsep:ft;this.colSeparationType==="small"&&(xn=.2778*(new Fl({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const On=qt*Iu,Fr=.7*On,oa=.3*On;let Mr=0;const Ci=[];let ca=0;const Ri=this.array.length;for(let _s=0;_s<Ri;++_s){const vu=this.array[_s];ca=Math.max(ca,vu.length);const Ru=new Fl({parent:Ue,mathstyle:this.mathstyleName},this.style);let yd=Fr/Ru.scalingFactor,bd=oa/Ru.scalingFactor;const xd={cells:[],height:0,depth:0,pos:0};for(const od of vu){const vh=(ne=ri.createBox(Ru,od,{type:"ignore"}))!=null?ne:new Xi(null,{type:"ignore"});bd=Math.max(bd,vh.depth),yd=Math.max(yd,vh.height),xd.cells.push(vh)}let Ed=(le=Ku(this.rowGaps[_s]))!=null?le:0;Ed>0&&(Ed+=oa,bd=Math.max(bd,Ed),Ed=0),_s<Ri-1&&!So(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(bd+=Ue.getRegisterAsEm("jot")),xd.height=yd,xd.depth=bd,Mr+=yd,xd.pos=Mr,Mr+=bd+Ed,Ci.push(xd)}const uo=Mr/2+Yl,Fo=[];for(let _s=0;_s<ca;_s++){const vu=[];for(const Ru of Ci){const yd=Ru.cells[_s];yd.depth=Ru.depth,yd.height=Ru.height,vu.push({box:yd,shift:Ru.pos-uo})}vu.length>0&&Fo.push(new ss({individualShift:vu}))}const Eo=[];let ql=!1,Bs=!1,Sa=0,Nc=!this.leftDelim;const{colFormat:vd}=this;for(const _s of vd){if("align"in _s&&Sa>=Fo.length)break;if("align"in _s)ql?Eo.push(kn(2*xn)):(Bs||Nc)&&Eo.push(kn(xn)),Eo.push(new Xi(Fo[Sa],{classes:"col-align-"+_s.align})),Sa++,ql=!0,Bs=!1,Nc=!1;else if("gap"in _s){if(typeof _s.gap=="number")Eo.push(kn(_s.gap));else{const vu=Fi(y,Ci,uo,_s.gap);vu&&Eo.push(vu)}ql=!1,Bs=!1,Nc=!1}else if("separator"in _s){const vu=new Xi(null,{classes:"vertical-separator"});vu.height=Mr,vu.setStyle("height",Mr,"em"),vu.setStyle("border-right",`${Xe}em ${_s.separator} currentColor`),vu.setStyle("vertical-align",-(Mr-uo),"em");let Ru=0;Bs?Ru=Ot-Xe:ql&&(Ru=xn-Xe),vu.left=Ru,Eo.push(vu),ql=!1,Bs=!0,Nc=!1}}ql&&!this.rightDelim&&Eo.push(kn(xn));const Yc=new Xi(Eo,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(Yc.caret=this.caret),this.bind(y,Yc);const Nu=Yc.height,Rc=Yc.depth,Cc=this.bind(y,new Xi([this.bind(y,Dn("open",(ce=this.leftDelim)!=null?ce:".",Nu,Rc,Ue,{isSelected:this.isSelected})),Yc,this.bind(y,Dn("close",(Be=this.rightDelim)!=null?Be:".",Nu,Rc,Ue,{isSelected:this.isSelected}))],{type:"ord"}));return Cc?(Cc.setStyle("display","inline-block"),this.caret&&(Cc.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Cc}))):null}_serialize(y){var b;const z=[];if(this.environmentName==="lines"?z.push("{\\displaylines"):z.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(z.push("{"),this.colFormat!==void 0)for(const ne of this.colFormat)"align"in ne&&typeof ne.align=="string"?z.push(ne.align):"separator"in ne&&ne.separator==="solid"?z.push("|"):"separator"in ne&&ne.separator==="dashed"&&z.push(":");z.push("}")}for(let ne=0;ne<this.array.length;ne++){for(let le=0;le<this.array[ne].length;le++)le>0&&z.push(" & "),z.push(ri.serialize(this.array[ne][le],y));if(ne<this.array.length-1){const le=this.rowGaps[ne];le!=null&&le.dimension?z.push(`\\\\[${le.dimension} ${(b=le.unit)!=null?b:"pt"}] `):z.push("\\\\ ")}}return this.environmentName==="lines"?z.push("}"):z.push(`\\end{${this.environmentName}}`),ml(z)}getCell(y,b){return this.array[y][b]}setCell(y,b,z){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const le of this.array[y][b])le.parent=void 0,le.parentBranch=void 0;let ne=z;(z.length===0||z[0].type!=="first")&&(ne=[new ri({type:"first",mode:this.mode}),...z]),this.array[y][b]=ne;for(const le of ne)le.parent=this,le.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let z=0;z<this.colCount;z++)b.push(ar(this));this.array.splice(y,0,b);for(let z=y;z<this.rowCount;z++)for(let ne=0;ne<this.colCount;ne++){const le=this.array[z][ne];if(le)for(const ce of le)ce.parentBranch=[z,ne]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let z=0;z<this.colCount;z++)b.push(ar(this));this.array.splice(y+1,0,b);for(let z=y+1;z<this.rowCount;z++)for(let ne=0;ne<this.colCount;ne++){const le=this.array[z][ne];if(le)for(const ce of le)ce.parentBranch=[z,ne]}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 z of b)for(const ne of z)if(ne)for(const le of ne)le.parent=void 0,le.parentBranch=void 0;for(let z=y;z<this.rowCount;z++)for(let ne=0;ne<this.colCount;ne++){const le=this.array[z][ne];if(le)for(const ce of le)ce.parentBranch=[z,ne]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,ar(this));for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const ne=this.array[b][z];if(ne)for(const le of ne)le.parentBranch=[b,z]}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,ar(this));for(let b=0;b<this.rowCount;b++)for(let z=y+1;z<this.colCount;z++){const ne=this.array[b][z];if(ne)for(const le of ne)le.parentBranch=[b,z]}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 z=b.splice(y,1);for(const ne of z)if(ne)for(const le of ne)le.parent=void 0,le.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let z=y;z<this.colCount;z++){const ne=this.array[b][z];if(ne)for(const le of ne)le.parentBranch=[b,z]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const z of b)z&&y.push(z.filter(ne=>ne.type!=="first"));return y}};function ar(a){const y=new ri({type:"first",mode:a.mode});y.parent=a;const b=new ii;return b.parent=a,[y,b]}function kn(a){const y=new Xi(null,{classes:"arraycolsep"});return y.width=a,y}function Fi(a,y,b,z){if(!z)return null;const ne=[];for(const le of y){const ce=ri.createBox(a,z,{type:"ignore"});ce&&(ce.depth=le.depth,ce.height=le.height,ne.push({box:ce,shift:le.pos-b}))}return new ss({individualShift:ne}).wrap(a)}var ja=class Um extends ri{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 Um(y)}toJson(){return Fe(be({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,z,ne,le;const ce=ri.createBox(y,this.body,{type:"lift"});if(!ce)return null;const Be=y.toEm((b=this.offset)!=null?b:{dimension:0});ce.depth+=Be,ce.setStyle("display","inline-block"),ce.setStyle("position","relative"),ce.setStyle("height",Math.floor(100*ce.height+ce.depth)/100,"em"),ce.setStyle("vertical-align",-Math.floor(100*ce.height)/100,"em");const Ue=new Fl({parent:y},this.style),Xe=Ue.toEm((z=this.padding)!=null?z:{register:"fboxsep"}),ft=new Xi(null,{classes:"ML__box"});ft.height=ce.height+Xe,ft.depth=ce.depth+Xe,ft.setStyle("box-sizing","border-box"),ft.setStyle("position","absolute"),ft.setStyle("top",-Xe+.3,"em"),ft.setStyle("left",0),ft.setStyle("height",ft.height+ft.depth,"em"),ft.setStyle("width","100%"),this.backgroundcolor&&ft.setStyle("background-color",(ne=Ue.toColor(this.backgroundcolor))!=null?ne:"transparent"),this.framecolor&&ft.setStyle("border",`${Ue.getRegisterAsEm("fboxrule",2)}em solid ${(le=Ue.toColor(this.framecolor))!=null?le:"black"}`),this.border&&ft.setStyle("border",this.border);const Ot=new Xi([ft,ce],{type:"lift"});return Ot.setStyle("display","inline-block"),Ot.setStyle("position","relative"),Ot.setStyle("line-height",0),Ot.height=ce.height+Xe+(Be>0?Be:0),Ot.depth=ce.depth+Xe+(Be<0?-Be:0),Ot.setStyle("padding-left",Xe,"em"),Ot.setStyle("padding-right",Xe,"em"),Ot.setStyle("height",Math.floor(100*(ce.height+ce.depth+2*Xe+Math.abs(Be)))/100,"em"),Ot.setStyle("margin-top",-Xe,"em"),Ot.setStyle("top",Math.floor(100*(ce.depth-ce.height+2*Xe-Be))/100,"em"),Ot.setStyle("vertical-align",Math.floor(100*(ce.depth+2*Xe))/100,"em"),this.caret&&(Ot.caret=this.caret),this.attachSupsub(y,{base:Ot})}_serialize(y){return y.skipStyles?ml([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},rl=class Gm extends ri{constructor(y,b){var z;super({type:"composition",mode:(z=b==null?void 0:b.mode)!=null?z:"math",value:y})}static fromJson(y){return new Gm(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new Xi(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},el=class Ym extends ri{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Ym(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},Ra=class Qm extends ri{constructor(y,b,z){super({type:"group",mode:b,style:z}),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 Qm(y.body,y.mode,y.style)}render(y){const b=ri.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=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},zo=class Jm extends ri{constructor(y,b,z){super({type:"leftright",style:z.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=z.leftDelim,this.rightDelim=z.rightDelim}static fromJson(y){var b;return new Jm((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,z;const ne=this.matchingRightDelim();return this.variant==="left...right"?ml(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ne]):this.variant==="mleft...mright"?ml(["\\mleft",(z=this.leftDelim)!=null?z:".",this.bodyToLatex(y),"\\mright",ne]):ml([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ne])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const z=(y=this.leftDelim)!=null?y:".";return(b=ie[z])!=null?b:z}render(y){var b,z;const ne=new Fl({parent:y},this.style);console.assert(this.body!==void 0);const le=new Fl({parent:y,mathstyle:"textstyle"},this.style),ce=(b=ri.createBox(ne,this.body,{type:"inner"}))!=null?b:new Xi(null,{type:"inner"}),Be=ce.height/le.scalingFactor,Ue=ce.depth/le.scalingFactor,Xe=[];if(this.leftDelim&&Xe.push(this.bind(le,Dn("open",this.leftDelim,Be,Ue,le,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),ce&&(vs(ce.children,this,ne,Be,Ue),Xe.push(ce)),this.rightDelim){let xn=this.containsCaret?" ML__contains-caret":"",On=this.rightDelim;On==="?"&&(ne.smartFence?(On=this.matchingRightDelim(),xn+=" ML__smart-fence__close"):On="."),Xe.push(this.bind(le,Dn("close",On,Be,Ue,le,{isSelected:this.isSelected,classes:xn+" ML__close",mode:this.mode,style:this.style})))}let ft=this.variant==="mleft...mright";const Ot=this.leftSibling;Ot&&(!ft&&Ot.isFunction&&(ft=!0),!ft&&Ot.type==="subsup"&&((z=Ot.leftSibling)!=null&&z.isFunction)&&(ft=!0));const qt=new Xi(Xe,{type:ft?"close":"inner",classes:"left-right"});return qt.setStyle("margin-top",`${-ce.depth}em`),qt.setStyle("height",`${ce.height+ce.depth}em`),this.caret&&(qt.caret=this.caret),this.bind(ne,qt.wrap(ne))}};function vs(a,y,b,z,ne){if(a)for(let le=0;le<a.length;le++){const ce=a[le];ce.type==="middle"?(a[le]=y.bind(b,Dn("inner",ce.value,z,ne,b,{isSelected:y.isSelected})),a[le].caret=ce.caret,a[le].isSelected=ce.isSelected,a[le].cssId=ce.cssId,a[le].htmlData=ce.htmlData,a[le].htmlStyle=ce.htmlStyle,a[le].attributes=ce.attributes,a[le].cssProperties=ce.cssProperties):ce.children&&vs(ce.children,y,b,z,ne)}}var xu=class Xm extends ri{constructor(y,b){var z;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=(z=b.expand)!=null?z:!1}static fromJson(y){return new Xm(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=ri.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Eu=class qm extends ri{constructor(){super({type:"macro-argument"})}static fromJson(y){return new qm}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},pu=class $m extends ri{constructor(y,b,z=!1,ne,le){var ce;super({type:"prompt",mode:(ce=le==null?void 0:le.mode)!=null?ce:"math",style:le==null?void 0:le.style,command:"\\placeholder"}),this.body=ne,this.correctness=b,this.placeholderId=y,this.locked=z,this.captureSelection=this.locked}static fromJson(y){return new $m(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 Fl({parent:y}),z=b.getRegisterAsEm("fboxsep"),ne=z,le=z,ce=ri.createBox(y,this.body);if(!ce)return null;ce.height||(ce.height=b.metrics.xHeight),ce.setStyle("vertical-align",-ce.height,"em"),this.correctness==="correct"?ce.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&ce.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const Be=new Xi(ce,{type:"ord"});Be.setStyle("display","inline-block"),Be.setStyle("height",ce.height+ce.depth,"em"),Be.setStyle("vertical-align",-le,"em");let Ue="ML__prompt ";this.locked?Ue+=" ML__lockedPromptBox ":Ue+=" ML__editablePromptBox ",this.correctness==="correct"?Ue+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(Ue+=" ML__incorrectPromptBox "),this.containsCaret&&(Ue+=" ML__focusedPromptBox ");const Xe=new Xi(null,{classes:Ue,attributes:{part:"prompt"}});Xe.height=Be.height+le,Xe.depth=Be.depth+le,Xe.width=Be.width+2*ne,Xe.setStyle("box-sizing","border-box"),Xe.setStyle("position","absolute"),Xe.setStyle("height",Be.height+Be.depth+2*le,"em"),ne===0&&Xe.setStyle("width","100%"),ne!==0&&(Xe.setStyle("width",`calc(100% + ${2*ne}em)`),Xe.setStyle("top",z,"em"),Xe.setStyle("left",-ne,"em")),(!this.body||this.body.length===1)&&(Xe.width=3*ne,Xe.setStyle("width",`calc(100% + ${3*ne}em)`),Xe.setStyle("left",-1.5*ne,"em"));let ft="";this.correctness==="incorrect"&&(ft+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),ft&&(Xe.svgOverlay=ft);const Ot=new Xi([Xe,Be],{classes:"ML__prompt-atom"});return Ot.setStyle("position","relative"),Ot.setStyle("display","inline-block"),Ot.setStyle("line-height",0),Ot.height=Be.height+le+.2,Ot.depth=Be.depth+le,Ot.left=ne,Ot.right=ne,Ot.setStyle("height",Be.height+le,"em"),Ot.setStyle("top",Be.depth-Be.height,"em"),Ot.setStyle("vertical-align",Be.depth+le,"em"),Ot.setStyle("margin-left",.5,"em"),Ot.setStyle("margin-right",.5,"em"),this.caret&&(Ot.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:Ot}))}_serialize(y){var b;const z=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return z;let ne="\\placeholder";return this.placeholderId&&(ne+=`[${this.placeholderId}]`),this.correctness==="correct"?ne+="[correct]":this.correctness==="incorrect"&&(ne+="[incorrect]"),this.locked&&(ne+="[locked]"),rs(ne,z)}},Bu=class ep extends ri{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new ep(y);for(const z of yc)y[z]&&b.setChildren(y[z],z);return b}render(y){var b;const z=new Fl({parent:y,isPhantom:!0}),ne=this.leftSibling,le=(b=ne.render(z))!=null?b:new Xi(null),ce=new Xi(null);return ce.height=le.height,ce.depth=le.depth,this.attachSupsub(y,{base:ce,isCharacterBox:ne.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function hs(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var er=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var z,ne,le,ce;b!=null||(b={}),this.tokens=a,this.context=y instanceof Fl&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new Fl({from:y,mathstyle:b.mathstyle},b.style),this.args=(z=b.args)!=null?z:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(ne=b.style)!=null?ne:{},parseMode:(le=b.parseMode)!=null?le:"math",mathstyle:(ce=b.mathstyle)!=null?ce:"displaystyle",tabular:!1}}beginContext(a){var y,b,z;const ne=this.parsingContext,le={parent:ne,mathlist:[],style:be({},ne.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ne.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ne.mathstyle,tabular:(z=a==null?void 0:a.tabular)!=null?z:!1};this.parsingContext=le}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(be({before:Ou(this.tokens.slice(this.index,this.index+10)),after:Ou(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 be({},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 Bu({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=Et(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?Wi(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new ii({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(),z="";for(;!b;){const le=this.get();hs(le)?(z+=le,b=this.end()||z.length>=a.length):b=!0}const ne=a.toUpperCase()===z.toUpperCase();return ne||(this.index=y),ne}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(hs(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const z=this.get();z==="<space>"?a+=" ":z==="<{>"?(a+="{",b+=1):z==="<}>"?(b-=1,b>0?a+="}":this.index-=1):z==="<$>"?a+="$":z==="<$$>"?a+="$$":a+=z,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const z=this.get();z==="<}>"?(b-=1,b>0&&(y+="}")):z==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(z)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[z])!=null?a:z)}return y}scanNumber(a=!0){var y,b;let z=!1,ne=this.peek();for(;ne==="<space>"||ne==="+"||ne==="-";)this.get(),ne==="-"&&(z=!z),ne=this.peek();a=!!a;let le=10,ce=/\d/;if(this.match("'"))le=8,ce=/[0-7]/,a=!0;else if(this.match('"'))le=16,ce=/[\dA-F]/,a=!0;else if(this.match("x"))le=16,ce=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ne=this.get(),ne?ne.length===2&&ne.startsWith("\\")?{number:(z?-1:1)*((y=ne.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(z?-1:1)*((b=ne.codePointAt(0))!=null?b:0),base:"alpha"}:null;let Be="";for(;this.hasPattern(ce);)Be+=this.get();if(!a&&(this.match(".")||this.match(",")))for(Be+=".";this.hasPattern(ce);)Be+=this.get();const Ue=a?Number.parseInt(Be,le):Number.parseFloat(Be);return Number.isNaN(Ue)?null:{number:z?-Ue:Ue,base:le===16?"hexadecimal":le===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let z=!1;if(b===null)for(;;){const le=this.peek();if(le==="-")z=!z;else if(le!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const le=this.get();return le.startsWith("\\")?b?{register:le,global:!0,factor:(z?-1:1)*b.number}:z?{register:le,global:!0,factor:-1}:{register:le,global:!0}:(this.index=y,null)}let ne=this.get();return ne!=null&&ne.startsWith("\\")?(ne=ne.substring(1),this.context.registers[ne]?!z||b!==null?{register:ne,factor:(z?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ne}:(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 z=this.scanNumber();if(z)return z;if(this.end()||!hs(this.peek()))return null;const ne=this.scanString();return ne.length>0?{string:ne}: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=lt(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const Be of y.params)if(Be.isOptional)b.push(this.scanOptionalArgument(Be.type));else{const Ue=this.scanArgument(Be.type);Ue||this.onError({code:"missing-argument",arg:a}),b.push(Ue)}this.beginContext({tabular:y.tabular});const z=[],ne=[];let le=[],ce=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),ce=!0),!ce&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),ce=!0),!ce)if(this.matchColumnSeparator())le.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){le.push(this.mathlist),this.mathlist=[];let Be=null;this.skipWhitespace(),this.match("[")&&(Be=this.scanDimen(),this.skipWhitespace(),this.match("]")),ne.push(Be!=null?Be:{dimension:0}),z.push(le),le=[]}else this.mathlist.push(...this.scan(Be=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(Be)));while(!ce);return le.push(this.mathlist),le.length>0&&z.push(le),this.endContext(),y.createAtom(a,z,ne,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=ce=>ce==="<}>");let y="",b=null,z=[],ne=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=Et(y,"math"),b&&(z=this.scanArguments(b)[1]),ne=this.mathlist,this.mathlist=[]):this.parseExpression();let le;return y?(console.assert(!!b),z.unshift(this.mathlist),ne&&z.unshift(ne),le=[b.createAtom({command:y,args:z,style:this.style,mode:this.parseMode})]):le=this.mathlist,this.endContext(),le}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(z=>z==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new Ra(y,this.parseMode,this.style);return b.verbatimLatex=Ou(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 zo("",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(!hs(a)&&!a.startsWith("\\"))return null;this.next();const y=Et(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 el("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new el("\\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 el(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const z=this.mathlist;this.endContext();const ne=(a=this.scanDelim())!=null?a:".";return new zo(y==="\\right"?"left...right":"mleft...mright",z,{leftDelim:b,rightDelim:ne,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 ri({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new ri({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(at(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 z=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return z===null?!1:(z.explicitSubsupPlacement=!0,a&&(z.subsupPlacement="over-under"),y&&(z.subsupPlacement="adjacent"),b&&(z.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let z=a.infix?2:0;for(;z<a.params.length;){const ne=a.params[z];ne.type==="rest"?b.push(this.scan(le=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(le))):ne.isOptional?b.push(this.scanOptionalArgument(ne.type)):ne.type.endsWith("*")?y=ne.type.slice(0,-1):b.push(this.scanArgument(ne.type)),z+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(hs(a)){const b=qs.createAtom(this.parseMode,a,be({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=Et(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new el(a)];if(b.definitionType==="symbol"){const z=be({},this.style);b.variant&&(z.variant=b.variant),y=new ri({type:b.type,command:a,style:z,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 el(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 ne=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ne}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ne=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ne}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 ne=this.mathlist;return this.endContext(),{group:ne}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ne=this.mathlist;return this.endContext(),{group:ne}}let z=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ne=this.mathlist;return this.endContext(),{group:ne}}return a==="string"?z=this.scanString():a==="balanced-string"?z=this.scanBalancedString():a==="colspec"?z=this.scanColspec():a==="value"&&(z=this.scanValue()),this.skipUntilToken("<}>"),z}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={},z=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ne of z){const le=ne.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(le)b.padding={dimension:parseInt(le[1]),unit:le[2]};else{const ce=ne.match(/^\s*border\s*:\s*(.*)/);ce?b.border=ce[1]:b.backgroundcolor={string:ne}}}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,z;if(a==="\\placeholder"){const Be=this.scanOptionalArgument("string"),Ue=this.scanOptionalArgument("math"),Xe=ri.serialize(Ue,{defaultMode:"math"});let ft=[],Ot;!Ot&&Xe==="correct"?Ot="correct":!Ot&&Xe==="incorrect"?Ot="incorrect":Xe!==""&&(ft=Ue);const qt=this.scanOptionalArgument("string")==="locked",xn=this.scanArgument("auto");let On;return xn&&Array.isArray(xn)&&xn.length>0?On=xn:xn&&typeof xn=="object"&&"group"in xn?On=xn.group:On=ft,Be?[new pu(Be,Ot,qt,On!=null?On:ft,{mode:this.parseMode,style:this.style})]:[new ii({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const Be=this.index,Ue=this.scanLiteralGroup()||this.next();if(!Ue)return null;if(this.context.registers[Ue.substring(1)]){const Xe=this.scanArgument("string");Xe!==null&&(this.context.registers[Ue.substring(1)]=Xe);const ft=ml([a,Ou(this.tokens.slice(Be,this.index))]);return[new ri({type:"text",value:"",verbatimLatex:ft})]}}let ne=this.scanMacro(a);if(ne)return[ne];const le=Et(a,this.parseMode);if(!le)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(Be=>new ri({type:"text",value:Be,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new el(a)]);const ce=this.index;if(le.definitionType==="symbol"){const Be=be({},this.style);le.variant&&(Be.variant=le.variant),ne=new ri({type:le.type,command:a,style:Be,value:String.fromCodePoint(le.codepoint),mode:this.parseMode})}else{if(le.ifMode&&!le.ifMode.includes(this.parseMode))return[];const Be=this.parseMode;le.applyMode&&(this.parseMode=le.applyMode);let Ue,Xe=[];if(le.parse?Xe=le.parse(this):[Ue,Xe]=this.scanArguments(le),this.parseMode=Be,le.applyMode&&!le.applyStyle&&!le.createAtom)return at(Xe[0]);if(le.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof le.createAtom=="function")ne=le.createAtom({command:a,args:Xe,style:this.style,mode:this.parseMode}),Ue&&(ne.body=at(this.scanArgument(Ue)));else if(typeof le.applyStyle=="function"){const ft=be(be({},this.style),le.applyStyle(a,Xe,this.context)),Ot=this.parseMode;if(le.applyMode&&(this.parseMode=le.applyMode),Ue){const qt=this.style;this.style=ft;const xn=this.scanArgument(Ue);return this.style=qt,this.parseMode=Ot,at(xn)}this.style=ft}else ne=new ri({type:"mord",command:(b=le.command)!=null?b:a,style:be({},this.style),value:a,mode:(z=le.applyMode)!=null?z:this.parseMode})}if(!ne)return null;if(ne instanceof ri&&ne.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const Be=ml([a,Ou(this.tokens.slice(ce,this.index))]);Be&&(ne.verbatimLatex=Be)}if(ne.verbatimLatex===null&&(ne.verbatimLatex=void 0),ne.isFunction&&this.smartFence){const Be=this.scanSmartFence();if(Be)return[ne,Be]}return[ne]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(hs(a)){const y=qs.createAtom(this.parseMode,a,be({},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 bc(" "," ",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 z=this.index,ne=b.args,le={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let ce=1;ce<=ne;ce++){let Be=this.scanLiteralGroup();if(!Be){const Ue=this.index;this.scanExpression(),Be=Ou(this.tokens.slice(Ue,this.index))}le[ce]=Be}return new xu(a,{expand:b.expand,captureSelection:b.captureSelection,args:z===this.index?null:Ou(this.tokens.slice(z,this.index)),style:this.parsingContext.style,body:Wi(b.def,{context:this.context,parseMode:this.parseMode,args:ce=>le[ce],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,z;let ne=(z=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?z:this.scanLeftRight();if(ne===null){if(this.parseSupSub()||this.parseLimits())return!0;ne=this.scanSymbolCommandOrLiteral()}return ne?(Array.isArray(ne)?this.mathlist.push(...ne):this.mathlist.push(ne),!0):!1}};function Wi(a,y){var b,z,ne,le;const ce=(b=y==null?void 0:y.args)!=null?b:void 0,Be=new er(Zu(a,ce),y==null?void 0:y.context,{args:ce,mathstyle:(z=y==null?void 0:y.mathstyle)!=null?z:"displaystyle",parseMode:(ne=y==null?void 0:y.parseMode)!=null?ne:"math",style:(le=y==null?void 0:y.style)!=null?le:{}}),Ue=[];for(;!Be.end();)Ue.push(...Be.scan(()=>!1));return Ue}function is(a,y){var b;const z=new er(Zu(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!z.end();)z.scan();return z.errors}var Xl=class tp extends ri{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const z=Tl.go(mi.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Wi(z),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new tp(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return Fe(be({},super.toJson()),{arg:this.arg})}render(y){const b=ri.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}};_t(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new Xl(a.command,(y=a.args[0])!=null?y:"")}});var mi={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",z={};z.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var ne,le=10,ce=[];;){ne!==a?(le=10,ne=a):le--;var Be=mi.stateMachines[y],Ue=Be.transitions[b]||Be.transitions["*"];e:for(var Xe=0;Xe<Ue.length;Xe++){var ft=mi.patterns.match_(Ue[Xe].pattern,a);if(ft){for(var Ot=Ue[Xe].task,qt=0;qt<Ot.action_.length;qt++){var xn;if(Be.actions[Ot.action_[qt].type_])xn=Be.actions[Ot.action_[qt].type_](z,ft.match_,Ot.action_[qt].option);else if(mi.actions[Ot.action_[qt].type_])xn=mi.actions[Ot.action_[qt].type_](z,ft.match_,Ot.action_[qt].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+Ot.action_[qt].type_+")"];mi.concatArray(ce,xn)}if(b=Ot.nextState||b,a.length>0){if(Ot.revisit||(a=ft.remainder),!Ot.toContinue)break e}else return ce}}if(le<=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=mi.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 mi.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return mi.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return mi.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return mi.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return mi.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return mi.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return mi.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return mi.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return mi.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return mi.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return mi.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return mi.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return mi.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 mi.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return mi.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return mi.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return mi.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 mi.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return mi.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return mi.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return mi.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return mi.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return mi.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return mi.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return mi.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=mi.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,z,ne,le,ce,Be,Ue,Xe){var ft=function(Mr,Ci){if(typeof Ci=="string")return Mr.indexOf(Ci)!==0?null:Ci;var ca=Mr.match(Ci);return ca?ca[0]:null},Ot=function(Mr,Ci,ca){for(var Ri=0;Ci<Mr.length;){var uo=Mr.charAt(Ci),Fo=ft(Mr.substr(Ci),ca);if(Fo!==null&&Ri===0)return{endMatchBegin:Ci,endMatchEnd:Ci+Fo.length};if(uo==="{")Ri++;else if(uo==="}"){if(Ri===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];Ri--}Ci++}return Ri>0,null},qt=ft(a,y);if(qt===null||(a=a.substr(qt.length),qt=ft(a,b),qt===null))return null;var xn=Ot(a,qt.length,z||ne);if(xn===null)return null;var On=a.substring(0,z?xn.endMatchEnd:xn.endMatchBegin);if(le||ce){var Fr=this.findObserveGroups(a.substr(xn.endMatchEnd),le,ce,Be,Ue);if(Fr===null)return null;var oa=[On,Fr.match_];return{match_:Xe?oa.join(""):oa,remainder:Fr.remainder}}else return{match_:On,remainder:a.substr(xn.endMatchEnd)}},match_:function(a,y){var b=mi.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return mi.patterns.patterns[a](y);var z=y.match(b);if(z){var ne;return z[2]?ne=[z[1],z[2]]:z[1]?ne=z[1]:ne=z[0],{match_:ne,remainder:y.substr(z[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 mi.go(y,"text")},"{text}":function(a,y){var b=["{"];return mi.concatArray(b,mi.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return mi.go(y,"tex-math")},"tex-math tight":function(a,y){return mi.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 mi.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var z=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return z[1]=z[1].replace(/\$/g,""),b.push({type_:"frac",p1:z[1],p2:z[2]}),z[3]&&(z[3]=z[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:z[3]})),b},"9,9":function(a,y){return mi.go(y,"9,9")}},createTransitions:function(a){var y,b,z,ne,le={};for(y in a)for(b in a[y])for(z=b.split("|"),a[y][b].stateArray=z,ne=0;ne<z.length;ne++)le[z[ne]]=[];for(y in a)for(b in a[y])for(z=a[y][b].stateArray||[],ne=0;ne<z.length;ne++){var ce=a[y][b];if(ce.action_){ce.action_=[].concat(ce.action_);for(var Be=0;Be<ce.action_.length;Be++)typeof ce.action_[Be]=="string"&&(ce.action_[Be]={type_:ce.action_[Be]})}else ce.action_=[];for(var Ue=y.split("|"),Xe=0;Xe<Ue.length;Xe++)if(z[ne]==="*")for(var ft in le)le[ft].push({pattern:Ue[Xe],task:ce});else le[z[ne]].push({pattern:Ue[Xe],task:ce})}return le},stateMachines:{}};mi.stateMachines={ce:{transitions:mi.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 z=a.d;a.d=void 0,b=this.output(a),a.b=z}else b=this.output(a);return mi.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 mi.concatArray(b,this.output(a)),mi.concatArray(b,mi.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var z=mi.patterns.match_("orbital",a.o||""),ne=mi.patterns.match_("one lowercase greek letter $",a.o||""),le=mi.patterns.match_("one lowercase latin letter $",a.o||""),ce=mi.patterns.match_("$one lowercase latin letter$ $",a.o||""),Be=y==="-"&&(z&&z.remainder===""||ne||le||ce);Be&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!z&&le&&(a.o="$"+a.o+"$");var Ue=[];return Be?(mi.concatArray(Ue,this.output(a)),Ue.push({type_:"hyphen"})):(z=mi.patterns.match_("digits",a.d||""),b&&z&&z.remainder===""?(mi.concatArray(Ue,mi.actions["d="](a,y)),mi.concatArray(Ue,this.output(a))):(mi.concatArray(Ue,this.output(a)),mi.concatArray(Ue,mi.actions.bond(a,y,"-")))),Ue},"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:mi.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),z=b!==y;return z&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var z;if(!a.r)z=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&z.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"&&mi.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),z.push({type_:"chemfive",a:mi.go(a.a,"a"),b:mi.go(a.b,"bd"),p:mi.go(a.p,"pq"),o:mi.go(a.o,"o"),q:mi.go(a.q,"pq"),d:mi.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ne;a.rdt==="M"?ne=mi.go(a.rd,"tex-math"):a.rdt==="T"?ne=[{type_:"text",p1:a.rd||""}]:ne=mi.go(a.rd);var le;a.rqt==="M"?le=mi.go(a.rq,"tex-math"):a.rqt==="T"?le=[{type_:"text",p1:a.rq||""}]:le=mi.go(a.rq),z={type_:"arrow",r:a.r,rd:ne,rq:le}}for(var ce in a)ce!=="parenthesisLevel"&&ce!=="beginsWithBond"&&delete a[ce];return z},"oxidation-output":function(a,y){var b=["{"];return mi.concatArray(b,mi.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:mi.go(y[0]),p2:mi.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:mi.go(y[0]),p2:mi.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:mi.go(y[0]),p2:mi.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:mi.go(y[0]),p2:mi.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:mi.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:mi.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:mi.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:mi.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:mi.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:mi.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:mi.go(y[1],"pq")}}}},bd:{transitions:mi.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:mi.go(y[1],"bd")}}}},oxidation:{transitions:mi.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:mi.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:mi.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:mi.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:mi.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]&&(mi.concatArray(b,mi.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?mi.concatArray(b,mi.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]),mi.concatArray(b,mi.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=mi.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var z=mi.patterns.match_("{(...)}",a.q||"");if(z&&z.remainder===""&&(a.q=z.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 ne={d:mi.go(a.d,"pu"),q:mi.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ne.d,p2:ne.q}:(y=ne.d,ne.d.length>1||ne.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),mi.concatArray(y,ne.q))}else y=mi.go(a.d,"pu-2");for(var le in a)delete a[le];return y}}},"pu-2":{transitions:mi.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=mi.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=mi.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var z in a)delete a[z];return y}}},"pu-9,9":{transitions:mi.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 z=a.text_.length-3;z>0;z-=3)y.push(a.text_.substr(z,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var ne in a)delete a[ne];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,z=0;z<b;z+=3)y.push(a.text_.substr(z,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(z))}else y.push(a.text_);for(var ne in a)delete a[ne];return y}}}};var Tl={go:function(a,y){if(!a)return"";for(var b="",z=!1,ne=0;ne<a.length;ne++){var le=a[ne];typeof le=="string"?b+=le:(b+=Tl._go2(le),le.type_==="1st-level escape"&&(z=!0))}return!y&&!z&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&Tl.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:Tl._goInner(a.a),b:Tl._goInner(a.b),p:Tl._goInner(a.p),o:Tl._goInner(a.o),q:Tl._goInner(a.q),d:Tl._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 "+Tl._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+Tl._goInner(a.p1);break;case"bond":if(y=Tl._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var z="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+z+"}{"+z+"}{"+z+"}{"+z+"}";break;case"pu-frac":var ne="\\frac{"+Tl._goInner(a.p1)+"}{"+Tl._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ne+"}{"+ne+"}{"+ne+"}{"+ne+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+Tl._goInner(a.p1)+"}{"+Tl._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+Tl._goInner(a.p1)+"}{"+Tl._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+Tl._goInner(a.p1)+"}{"+Tl._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+Tl._goInner(a.p1)+"}_{"+Tl._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+Tl._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var le={rd:Tl._goInner(a.rd),rq:Tl._goInner(a.rq)},ce=Tl._getArrow(a.r);le.rd||le.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(ce="\\long"+ce,le.rd&&(ce="\\overset{"+le.rd+"}{"+ce+"}"),le.rq&&(a.r==="<-->"?ce="\\underset{\\lower2mu{"+le.rq+"}}{"+ce+"}":ce="\\underset{\\lower6mu{"+le.rq+"}}{"+ce+"}"),ce=" {}\\mathrel{"+ce+"}{} "):(le.rq&&(ce+="[{"+le.rq+"}]"),ce+="{"+le.rd+"}",ce=" {}\\mathrel{\\x"+ce+"}{} "):ce=" {}\\mathrel{\\long"+ce+"}{} ",y=ce;break;case"operator":y=Tl._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 Oc(a){}function ua(a){}var Ya=class np extends ri{constructor(y){super(Fe(be({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new np(y)}toJson(){return Fe(be({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new Xi(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):rs(this.command,this.value)}},Ba=class rp extends ri{constructor(y){super(Fe(be({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new rp(y)}toJson(){return Fe(be({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=fn(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=Et(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):rs(this.command,this.value)}},go=class ip extends ri{constructor(y,b,z,ne){var le,ce;super({type:"enclose",command:y,style:ne.style}),this.body=b,this.backgroundcolor=ne.backgroundcolor,z.updiagonalarrow&&(z.updiagonalstrike=!1),z.box&&(z.left=!1,z.right=!1,z.bottom=!1,z.top=!1),this.notation=z,this.shadow=(le=ne.shadow)!=null?le:"none",this.strokeWidth=(ce=ne.strokeWidth)!=null?ce:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ne.strokeStyle,this.svgStrokeStyle=ne.svgStrokeStyle,this.strokeColor=ne.strokeColor,this.borderStyle=ne.borderStyle,this.padding=ne.padding,this.captureSelection=!1}static fromJson(y){return new ip(y.command,y.body,y.notation,y)}toJson(){return Fe(be({},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 z=Et(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);let ne=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ne+="{"+Object.keys(this.notation).join(" ")+"}";let le="",ce="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(le+=ce+'mathbackground="'+this.backgroundcolor+'"',ce=","),this.shadow&&this.shadow!=="auto"&&(le+=ce+'shadow="'+this.shadow+'"',ce=","),this.strokeWidth||this.strokeStyle!=="solid"?(le+=ce+this.borderStyle,ce=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(le+=ce+'mathcolor="'+this.strokeColor+'"',ce=","),le&&(ne+=`[${le}]`)}return rs(ne,this.bodyToLatex(y))}render(y){const b=new Fl({parent:y},this.style),z=ri.createBox(b,this.body);if(!z)return null;const ne=Za(this.borderStyle),le=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});z.setStyle("position","relative"),z.setStyle("display","inline-block"),z.setStyle("top",le,"em"),z.setStyle("height",z.height+z.depth,"em"),z.setStyle("width",z.width,"em");const ce=new Xi(null,{classes:"ML__notation"});let Be=z.height+z.depth+2*le;const Ue=z.width+2*le;let Xe="";if(this.notation.horizontalstrike&&(Xe+=this.line(3,50,97,50)),this.notation.verticalstrike&&(Xe+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(Xe+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(Xe+=this.line(3,3,97,97)),this.notation.updiagonalarrow){Xe+=this.line(le.toString(),(le+z.depth+z.height).toString(),(le+z.width).toString(),le.toString());const On=.03*Math.sqrt(Ue*Ue+Be*Be)*1,Fr=z.width*On,oa=(z.depth+z.height)*On,Mr=le+z.width;let Ci=le;Ci+oa-.4*Fr<0&&(Ci=.4*Fr-oa),Xe+='<polygon points="',Xe+=`${Mr},${Ci} ${Mr-Fr-.4*oa},${Ci+oa-.4*Fr} `,Xe+=`${Mr-.7*Fr},${Ci+.7*oa} ${Mr-Fr+.4*oa},${Ci+oa+.4*Fr} `,Xe+=`${Mr},${Ci}`,Xe+=`" stroke='none' fill="${this.strokeColor}"`,Xe+="/>"}let ft=0;if(this.notation.phasorangle){const qt=oo(b),xn=(z.height+z.depth+2*qt+le).toString(),On=(z.height+z.depth)/2;Xe+=this.line(le.toString(),xn,(le+On+z.width).toString(),xn),Xe+=this.line(le.toString(),xn,(le+On).toString(),(le-qt).toString()),Be+=qt,ft=On,z.left+=Be/2-le}if(this.notation.longdiv){const qt=oo(b);Be+=qt,Xe+=this.line(le.toString(),le.toString(),(le+z.width).toString(),le.toString());const xn=.3;ft=xn+qt,z.left+=xn+qt,z.setTop(le+qt),Xe+='<path d="',Xe+=`M ${le} ${le} a${xn} ${(z.depth+z.height+2*qt)/2}, 0, 1, 1, 0 ${z.depth+z.height+2*qt} "`,Xe+=` stroke-width="${gl(b)}" stroke="${this.strokeColor}" fill="none"`,Xe+="/>"}if(ce.width=z.width+2*le+ft,ce.height=z.height+le,ce.depth=z.depth+le,ce.setStyle("box-sizing","border-box"),ce.setStyle("left",`calc(-${ne} / 2 )`),ce.setStyle("height",`${Math.floor(100*Be)/100}em`),ce.setStyle("top",`calc(${ne} / 2 )`),this.backgroundcolor&&ce.setStyle("background-color",this.backgroundcolor),this.notation.box&&ce.setStyle("border","1px solid red"),this.notation.actuarial&&(ce.setStyle("border-top",this.borderStyle),ce.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(ce.setStyle("border-bottom",this.borderStyle),ce.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(ce.setStyle("border-radius","8px"),ce.setStyle("border",this.borderStyle)),this.notation.circle&&(ce.setStyle("border-radius","50%"),ce.setStyle("border",this.borderStyle)),this.notation.top&&ce.setStyle("border-top",this.borderStyle),this.notation.left&&ce.setStyle("border-left",this.borderStyle),this.notation.right&&ce.setStyle("border-right",this.borderStyle),this.notation.bottom&&ce.setStyle("border-bottom",this.borderStyle),Xe){let qt="";this.shadow==="auto"&&(qt+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(qt+=`filter: drop-shadow(${this.shadow})`),qt+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,qt+=' stroke-linecap="round"',this.svgStrokeStyle&&(qt+=` stroke-dasharray="${this.svgStrokeStyle}"`),ce.svgStyle=qt,ce.svgOverlay=Xe}const Ot=new Xi([ce,z]);return Ot.setStyle("position","relative"),Ot.setStyle("vertical-align",le,"em"),Ot.setStyle("height",`${Math.floor(100*(z.height+z.depth+2*le))/100}em`),Ot.setStyle("display","inline-block"),Ot.height=ce.height,Ot.depth=ce.depth,Ot.width=ce.width-2*le,Ot.left=le,Ot.right=le,this.caret&&(Ot.caret=this.caret),Ot.wrap(b)}line(y,b,z,ne){return`<line x1="${na(y)}" y1="${na(b)}" x2="${na(z)}" y2="${na(ne)}" vector-effect="non-scaling-stroke"></line>`}};function na(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function Za(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function gl(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function oo(a){const y=a.isDisplayStyle?Vs:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var rc=class ap extends ri{constructor(y,b,z){var ne,le;super(Fe(be({},z),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ne=z==null?void 0:z.hasBarLine)!=null?ne:!0,this.continuousFraction=(le=z==null?void 0:z.continuousFraction)!=null?le:!1,this.numerPrefix=z==null?void 0:z.numerPrefix,this.denomPrefix=z==null?void 0:z.denomPrefix,this.mathstyleName=z==null?void 0:z.mathstyleName,this.leftDelim=z==null?void 0:z.leftDelim,this.rightDelim=z==null?void 0:z.rightDelim,this.fractionNavigationOrder=z==null?void 0:z.fractionNavigationOrder}static fromJson(y){return new ap(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),be(be({},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,z;const ne=new Fl({parent:y,mathstyle:this.mathstyleName},this.style),le=ne.metrics,ce=new Fl({parent:ne,mathstyle:this.continuousFraction?"":"numerator"},this.style),Be=this.numerPrefix?new Xi([new Xi(this.numerPrefix),ri.createBox(ce,this.above)],{isTight:ce.isTight,type:"ignore"}):(b=ri.createBox(ce,this.above,{type:"ignore"}))!=null?b:new Xi(null,{type:"ignore"}),Ue=new Fl({parent:ne,mathstyle:this.continuousFraction?"":"denominator"},this.style),Xe=this.denomPrefix?new Xi([new Xi(this.denomPrefix),ri.createBox(Ue,this.below,{type:"ignore"})]):(z=ri.createBox(Ue,this.below,{type:"ignore"}))!=null?z:new Xi(null,{type:"ignore"}),ft=this.hasBarLine?le.defaultRuleThickness:0;let Ot,qt=0,xn;ne.isDisplayStyle?(Ot=ce.metrics.num1,qt=ft>0?3*ft:7*ft,xn=Ue.metrics.denom1):(ft>0?(Ot=ce.metrics.num2,qt=ft):(Ot=ce.metrics.num3,qt=3*le.defaultRuleThickness),xn=Ue.metrics.denom2);const On=[];this.isSelected&&On.push("ML__selected");const Fr=Be.depth,oa=Xe.height;let Mr;if(ft<=0){const Eo=Ot-Fr-(oa-xn);Eo<qt&&(Ot+=(qt-Eo)/2,xn+=(qt-Eo)/2),Mr=new ss({individualShift:[{box:Be,shift:-Ot,classes:[...On,"ML__center"]},{box:Xe,shift:xn,classes:[...On,"ML__center"]}]}).wrap(ne)}else{const Eo=new Xi(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Eo.softWidth=Math.max(Be.width,Xe.width),Eo.height=ft/2,Eo.depth=ft/2;const ql=Yl+ft/2;Ot<qt+Fr+ql&&(Ot=qt+Fr+ql);const Bs=Yl-ft/2;xn<qt+oa-Bs&&(xn=qt+oa-Bs),Mr=new ss({individualShift:[{box:Xe,shift:xn,classes:[...On,"ML__center"]},{box:Eo,shift:-Bs,classes:On},{box:Be,shift:-Ot,classes:[...On,"ML__center"]}]}).wrap(ne)}const Ci=ne.isDisplayStyle?le.delim1:le.delim2,ca=this.leftDelim?this.bind(y,Ei("open",this.leftDelim,Ci,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):hr(ne,"open");let Ri=null;this.continuousFraction?Ri=new Xi(null,{type:"close"}):this.rightDelim?Ri=this.bind(y,Ei("close",this.rightDelim,Ci,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Ri=hr(ne,"close");const uo=new Xi([ca,Mr,Ri],{isTight:ne.isTight,type:"inner",classes:"mfrac"}),Fo=this.bind(y,uo);return this.caret&&(Fo.caret=this.caret),this.attachSupsub(y,{base:Fo})}},Cu=class op extends ri{constructor(y,b){var z;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(z=b==null?void 0:b.isSuggestion)!=null?z:!1,this.isError=!1}static fromJson(y){const b=new op(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),be({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new Xi(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}},Gd=class lp extends ri{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new Cu(b)),this.skipBoundary=!1}static fromJson(y){return new lp("")}toJson(){return super.toJson()}render(y){const b=ri.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,z;return(z=(b=this.body)==null?void 0:b.map(ne=>ne.value).join(""))!=null?z:""}},Is=class sp extends ri{constructor(y,b){super(Fe(be({},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 sp(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 z=y.isDisplayStyle&&this.value!=="\\smallint",ne=new Xi(this.value,{fontFamily:z?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(z?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!ne)return null;ne.right=ne.italic;const le=(ne.height-ne.depth)/2-Yl*y.scalingFactor,ce=ne.italic;ne.setTop(le);let Be=ne;if(this.superscript||this.subscript){const Ue=(b=this.subsupPlacement)!=null?b:"auto";Be=Ue==="over-under"||Ue==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ne,baseShift:le,slant:ce}):this.attachSupsub(y,{base:ne})}return new Xi(this.bind(y,Be),{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=Et(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[];return z.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),ml(z)}},id=class up extends ri{constructor(y){const b=y.body;super(Fe(be({},y),{type:"overlap",body:typeof b=="string"?[new ri({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 up(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),be(be({},super.toJson()),y)}render(y){const b=ri.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new Xi([b,new Xi(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},mc=class cp extends ri{constructor(y){var b,z,ne,le;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=(z=y.boxType)!=null?z:"ord",this.paddedBody=(ne=y.paddedBody)!=null?ne:!1,this.paddedLabels=(le=y.paddedLabels)!=null?le:!1}static fromJson(y){return new cp(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?_l(this.svgBody):ri.createBox(y,this.body,{type:"ignore"});const z=new Fl({parent:y,mathstyle:"scriptstyle"},this.style);let ne=null;this.svgAbove?ne=_l(this.svgAbove):this.above&&(ne=ri.createBox(z,this.above,{type:"ignore"}));let le=null;this.svgBelow?le=_l(this.svgBelow):this.below&&(le=ri.createBox(z,this.below,{type:"ignore"})),this.paddedBody&&(b=new Xi([hr(y,"open"),b,hr(y,"close")],{type:"ignore"}));let ce=Mf(y,{base:b,above:ne,below:le,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return ce?(this.subsupPlacement==="over-under"?ce=this.attachLimits(y,{base:ce,type:ce.type}):ce=this.attachSupsub(y,{base:ce}),this.caret&&(ce.caret=this.caret),this.bind(y,ce)):null}};function Mf(a,y){if(!y.base)return null;if(!y.above&&!y.below){const Be=new Xi(y.base,{type:y.type});return Be.setStyle("position","relative"),Be}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let z=null;const ne=y.base,le=0,ce=["ML__center"];if(y.paddedAboveBelow&&ce.push("ML__label_padding"),y.below&&y.above){const Be=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ne.depth+le;z=new ss({bottom:Be,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ce},{box:ne,classes:["ML__center"]},b,{box:y.above,classes:ce},a.metrics.bigOpSpacing5]})}else y.below?z=new ss({top:ne.height-le,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:ce},{box:ne,classes:["ML__center"]}]}):y.above&&(z=new ss({bottom:ne.depth+le,children:[{box:ne,classes:["ML__center"]},b,{box:y.above,classes:ce},a.metrics.bigOpSpacing5]}));return new Xi(z,{type:y.type})}var Ad=class dp extends ri{constructor(y){var b,z,ne,le;super(Fe(be({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(z=y.smashDepth)!=null?z:!1,this.smashHeight=(ne=y.smashHeight)!=null?ne:!1,this.smashWidth=(le=y.smashWidth)!=null?le:!1}static fromJson(y){return new dp(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),be(be({},super.toJson()),y)}render(y){const b=new Fl({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),ri.createBox(b,this.body,{classes:"inner"});const z=ri.createBox(this.isInvisible?b:y,this.body);if(!z)return null;if(this.smashWidth){const ne=new Xi(null,{classes:"fix"});return new Xi([z,ne],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return z;if(this.smashHeight&&(z.height=0),this.smashDepth&&(z.depth=0),z.children)for(const ne of z.children)this.smashHeight&&(ne.height=0),this.smashDepth&&(ne.depth=0);return new ss({firstBaseline:[{box:z}]},{type:z.type}).wrap(y)}},Dd=class fp extends ri{constructor(y){var b;super(be({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 fp(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 Xi(this.mode==="math"?null:" ");let z;if(this.width!==void 0)z=new Xi(null,{classes:"mspace"}),z.left=y.toEm(this.width);else{const ne=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";z=new Xi(null,{classes:ne})}return z=this.bind(y,z),this.caret&&(z.caret=this.caret),z}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const z=Et(this.command,this.mode);if(z!=null&&z.serialize)return z.serialize(this,y);const ne=(b=this.command)!=null?b:"";return this.width===void 0?ne:this._braced&&!("register"in this.width)?`${ne}{${Ls(this.width)}}`:`${ne}${Ls(this.width)}`}},Td=class hp extends ri{constructor(y){var b;super(Fe(be({},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 hp(Fe(be({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Et(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=this.command,ne=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?rs(`${z}[${this.aboveToLatex(y)}]`,ne):/^[0-9]$/.test(ne)?`${z}${ne}`:rs(z,ne)}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 z=new Fl({parent:y,mathstyle:"cramp"},this.style),ne=(b=ri.createBox(z,this.body,{type:"inner"}))!=null?b:new Xi(null),le=z.scalingFactor,ce=z.metrics.defaultRuleThickness/le,Be=y.isDisplayStyle?Vs:ce,Ue=new Xi(null,{classes:"ML__sqrt-line",style:this.style});Ue.height=ce,Ue.softWidth=ne.width;let Xe=le*(ce+Be/4);const Ot=Math.max(le*2*Be,ne.height+ne.depth)+Xe+ce,qt=new Fl({parent:y},this.style),xn=this.bind(qt,new Xi(Ei("inner","\\surd",Ot,!1,qt,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!xn)return null;const On=xn.height+xn.depth-ce;On>ne.height+ne.depth+Xe&&(Xe=(Xe+On-(ne.height+ne.depth))/2),xn.setTop(xn.height-ne.height-Xe);const Fr=this.bind(y,new ss({firstBaseline:[{box:new Xi(ne)},Xe-2*ce,{box:Ue},ce]})),oa=ri.createBox(new Fl({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!oa){const ca=new Xi([xn,Fr],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return ca.setStyle("display","inline-block"),ca.setStyle("height",ca.height+ca.depth,"em"),this.caret&&(ca.caret=this.caret),this.bind(y,ca)}const Mr=new ss({shift:-.6*(Math.max(xn.height,Fr.height)-Math.max(xn.depth,Fr.depth)),children:[{box:oa}]}),Ci=new Xi([new Xi(Mr,{classes:"ML__sqrt-index",type:"ignore"}),xn,Fr],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return Ci.height=xn.height,Ci.depth=xn.depth,this.caret&&(Ci.caret=this.caret),this.bind(y,Ci)}},Yd=class extends Xi{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 cd(a,y){if(!a.parent)return;const b=a.parent.children,z=b.indexOf(a);let ne=z-1;for(;ne>=0&&b[ne].type==="ignore";)ne-=1;if(ne<0&&a.parent.parent&&a.parent.type==="lift"){cd(a.parent,y);return}z>0&&b[z-1].type==="skip"?b[z-1].width+=y:b.splice(z,0,new Yd(y))}var Ff={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}},kf={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function Bd(a){uc(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 Ll(a,y){if(!a.children)return a;const b=a.children;Bd(b);const z=y.getRegisterAsEm("thinmuskip"),ne=y.getRegisterAsEm("medmuskip"),le=y.getRegisterAsEm("thickmuskip");return uc(b,(ce,Be)=>{var Ue,Xe,ft;if(!ce)return;const Ot=ce.type,qt=Be.isTight?(Ue=kf[Ot])!=null?Ue:null:(Xe=Ff[Ot])!=null?Xe:null,xn=(ft=qt==null?void 0:qt[Be.type])!=null?ft:null;xn===3&&cd(Be,z),xn===4&&cd(Be,ne),xn===5&&cd(Be,le)}),a}function uc(a,y,b=void 0){if(!a)return b;a=[...a];for(const z of a)z.type==="lift"?b=uc(z.children,y,b):z.type==="ignore"?uc(z.children,y):(y(b,z),uc(z.children,y),b=z);return b}var Uu=class mp extends ri{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new ri({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new mp(Fe(be({},y),{tooltip:Nd(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(z=>z.type!=="first").map(z=>z.toJson());return Fe(be({},super.toJson()),{tooltip:b})}render(y){const b=ri.createBox(new Fl,this.body);if(!b)return null;const z=new Fl({parent:y,mathstyle:"displaystyle"},{fontSize:es}),ne=Ac(Ll(new Xi(this.tooltip.render(z),{classes:"ML__tooltip-content"}),z)),le=new Xi([ne,b],{classes:"ML__tooltip-container"});return this.caret&&(le.caret=this.caret),this.bind(y,le)}},Gu=class pp extends ri{constructor(y,b){super(Fe(be({},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 pp(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 z=new Xi(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ne=z;if(this.superscript||this.subscript){const le=(b=this.subsupPlacement)!=null?b:"auto";ne=le==="over-under"||le==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:z}):this.attachSupsub(y,{base:z})}return new Xi(this.bind(y,ne),{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=Et(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const z=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&z.push("\\limits"),this.subsupPlacement==="adjacent"&&z.push("\\nolimits"),this.subsupPlacement==="auto"&&z.push("\\displaylimits")),z.push(this.supsubToLatex(y)),ml(z)}};function Nd(a){if(Ae(a))return a.map(z=>Nd(z));if(typeof a=="string")return ri.fromJson(a);a=be({},a);for(const z of yc)a[z]&&(a[z]=Nd(a[z]));a.args&&(a.args=xp(a.args)),a.array&&(a.array=Nd(a.array));const y=a.type;let b;y==="accent"&&(b=E.fromJson(a)),y==="array"&&(b=yn.fromJson(a)),y==="box"&&(b=ja.fromJson(a)),y==="chem"&&(b=Xl.fromJson(a)),y==="composition"&&(b=rl.fromJson(a)),y==="delim"&&(b=Ya.fromJson(a)),y==="enclose"&&(b=go.fromJson(a)),y==="error"&&(b=el.fromJson(a)),y==="extensible-symbol"&&(b=Is.fromJson(a)),y==="genfrac"&&(b=rc.fromJson(a)),y==="group"&&(b=Ra.fromJson(a)),y==="latex"&&(b=Cu.fromJson(a)),y==="latexgroup"&&(b=Gd.fromJson(a)),y==="leftright"&&(b=zo.fromJson(a)),y==="macro"&&(b=xu.fromJson(a)),y==="macro-argument"&&(b=Eu.fromJson(a)),y==="operator"&&(b=Gu.fromJson(a)),y==="overlap"&&(b=id.fromJson(a)),y==="overunder"&&(b=mc.fromJson(a)),y==="placeholder"&&(b=ii.fromJson(a)),y==="prompt"&&(b=pu.fromJson(a)),y==="phantom"&&(b=Ad.fromJson(a)),y==="sizeddelim"&&(b=Ba.fromJson(a)),y==="spacing"&&(b=Dd.fromJson(a)),y==="subsup"&&(b=Bu.fromJson(a)),y==="surd"&&(b=Td.fromJson(a)),y==="text"&&(b=bc.fromJson(a)),y==="tooltip"&&(b=Uu.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=ri.fromJson(a));for(const z of yc)a[z]&&b.setChildren(a[z],z);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 xp(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>Nd(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>Nd(b)):y)}var bh={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"]},P0={"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]$/},xh=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,Ep=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,Cp=[/^[a-z]$/,/^[A-Z]$/,xh,Ep],wp={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},Sp=class extends qs{constructor(){super("math")}createAtom(a,y,b){var z,ne,le,ce;if(y===null)return new ri({type:"mord",mode:"math",command:a,value:a,style:b});const Be=window.MathfieldElement.isFunction((z=y.command)!=null?z:a);if(y.definitionType==="symbol"){const Xe=new ri({type:(ne=y.type)!=null?ne:"mord",mode:"math",command:(le=y.command)!=null?le:a,value:String.fromCodePoint(y.codepoint),style:b});return Be&&(Xe.isFunction=!0),a.startsWith("\\")&&(Xe.verbatimLatex=a),Xe}const Ue=new ri({type:"mord",mode:"math",command:(ce=y.command)!=null?ce:a,value:a,style:b});return Be&&(Ue.isFunction=!0),a.startsWith("\\")&&(Ue.verbatimLatex=a),Ue}serialize(a,y){const b=Ap(a,Fe(be({},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:z}=y;b==="normal"&&!z&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",z="italic"),b==="normal"&&!z&&a.value.length===1&&Cp.forEach((Be,Ue)=>{var Xe;Be.test(a.value)&&wp[(Xe=y.letterShapeStyle)!=null?Xe:"tex"][Ue]==="it"&&(z="italic")}),z==="up"&&(z=void 0);const ne=z?b+"-"+z:b;console.assert(bh[ne]!==void 0);const[le,ce]=bh[ne];return P0[b]&&!P0[b].test(a.value)?(a.value=zt(a.value,b,z),null):(xh.test(a.value)&&(a.classes+=" lcGreek"),ce&&(a.classes+=" "+ce),le)}};function Ap(a,y){const{parent:b}=a[0],z=Eh(b);return Ps(a,"variant").map(ne=>{const le=Eh(ne[0]);let ce="";le&&le!==z&&(ce={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"}[le],console.assert(ce!==void 0));const Be=ml(ne.map(Ue=>Ue._serialize(y)));return ce?rs(ce,Be):Be})}function Eh(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 Sp;function Dp(a,y){return a.map(b=>b._serialize(y))}function Bp(a,y){return Ps(a,"fontShape").map(b=>{const z=Dp(b,y),{fontShape:ne}=b[0].style;let le="";return ne==="it"&&(le="\\textit"),ne==="sl"&&(le="\\textsl"),ne==="sc"&&(le="\\textsc"),ne==="n"&&(le="\\textup"),!le&&ne?`{${rs("\\fontshape",ne)}${ml(z)}}`:le?rs(le,ml(z)):ml(z)})}function Mp(a,y){return Ps(a,"fontSeries").map(b=>{const z=Bp(b,y),{fontSeries:ne}=b[0].style;let le="";return ne==="b"&&(le="\\textbf"),ne==="l"&&(le="\\textlf"),ne==="m"&&(le="\\textmd"),ne&&!le?`{${rs("\\fontseries",ne)}${ml(z)}}`:le?rs(le,ml(z)):ml(z)})}function Fp(a,y){return Ps(a,"fontSize").map(b=>{var z,ne;const le=Mp(b,y),ce=(ne=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(z=b[0].style.fontSize)!=null?z:""])!=null?ne:"";return ce?`${ce} ${ml(le)}`:ml(le)})}function kp(a,y,b){return Ps(a,"fontFamily").map(z=>{var ne,le;const ce=Fp(z,y),Be=(le={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ne=z[0].style.fontFamily)!=null?ne:""])!=null?le:"";return Be?`\\${Be}{${ml(ce)}}`:z[0].style.fontFamily?`{\\fontfamily{${z[0].style.fontFamily}} ${ml(ce)}}`:b?`\\text{${ml(ce)}}`:ml(ce)})}var Ch={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Pp=class extends qs{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new bc(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return kp(a,Fe(be({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,z,ne,le,ce;const{fontFamily:Be}=y;if(Ch[Be]?a.classes+=" "+Ch[Be]:Be&&a.setStyle("font-family",Be),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 Ue=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);Ue&&(a.classes+=" ",a.classes+=(ne={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"}[(z=Ue[1])!=null?z:""])!=null?ne:"",a.classes+=" ",a.classes+=(ce={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"}[(le=Ue[2])!=null?le:""])!=null?ce:"")}return"Main-Regular"}};new Pp;var Lp=class extends qs{constructor(){super("latex")}createAtom(a){return new Cu(a)}serialize(a,y){return a.filter(b=>b instanceof Cu&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Lp;var Ip={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:["","=","","="]}},L0={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:["","=","","="]}},wh={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:["\\","|","",""]}},Sh={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:[")",")",")",")"]}},Op={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:["=","=","=","="]}},_p={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:["<",">","",""]}},Tp={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"]}},Np={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:["=","=","=","="]}},Rp={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:["<",">","|",""]}},zp={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:[".",".",".","."]}},Hp={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"]}},jp={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:["<",">","",""]}},Zp={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 Ah(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 cf(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 Kp={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]"},Pf=[],Lf;function I0(){switch(ke()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function _c(a){(!a.platform||a.platform===I0())&&Pf.push(a)}function Wp(a,y){var b;const z={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return z;for(const[ne,le]of Object.entries(y.mapping)){if(le[0]===a)return z.key=`[${ne}]`,z;if(le[1]===a)return z.shift=!0,z.key=`[${ne}]`,z;if(le[2]===a)return z.alt=!0,z.key=`[${ne}]`,z;if(le[3]===a)return z.shift=!0,z.alt=!0,z.key=`[${ne}]`,z}return z.key=(b=Kp[a])!=null?b:"",z}function Vp(a){if(a.code)return a;const y=Object.entries(If().mapping);let b=!1,z=!1,ne="";for(let le=0;le<4;le++){for(const[ce,Be]of y)if(Be[le]===a.key){ne=ce,le===3?(b=!0,z=!0):le===2?b=!0:le===1&&(z=!0);break}if(ne)break}return new KeyboardEvent(a.type,Fe(be({},a),{altKey:b,shiftKey:z,code:ne}))}function Up(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const z=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const ne of Pf)((y=ne.mapping[a.code])==null?void 0:y[z])===a.key?ne.score+=1:(b=ne.mapping[a.code])!=null&&b[z]&&(ne.score=0);Pf.sort((ne,le)=>le.score-ne.score)}function Gp(a){Lf=Pf.find(y=>a.startsWith(y.locale))}function If(){return Lf!=null?Lf:Pf[0]}function Yp(){switch(I0()){case"apple":return L0;case"windows":return wh;case"linux":return Sh}return L0}switch(I0()){case"apple":_c(L0),_c(Op),_c(Hp),_c(Np);break;case"windows":_c(wh),_c(_p),_c(jp),_c(Rp);break;case"linux":_c(Sh),_c(Tp),_c(Zp),_c(zp);break}_c(Ip);function O0(a){var y;const b=/macos|ios/.test(ke()),z=a.split("+");let ne="";for(const le of z)ne&&(ne+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),le.startsWith("[Key")?ne+=le.slice(4,5):le.startsWith("Key")?ne+=le.slice(3,4):le.startsWith("[Digit")?ne+=le.slice(6,7):le.startsWith("Digit")?ne+=le.slice(5,6):ne+=(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"}[le.toLowerCase()])!=null?y:le.toUpperCase();return ne}function Xf(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((z,ne)=>({x:z.x+ne.clientX,y:z.y+ne.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function Qd(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 Qp(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 Jp=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 qf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Jp.has(a.code)}function $f(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var dd=class Ld{static get scrim(){return Ld._scrim||(Ld._scrim=new Ld),Ld._scrim}static open(y){Ld.scrim.open(y)}static close(){Ld.scrim.close()}static get state(){return Ld.scrim.state}static get element(){return Ld.scrim.element}constructor(y){var b,z;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(z=y==null?void 0:y.translucent)!=null?z:!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=$f();const{element:z}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(z),z.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const ne=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const le=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${le+ne}px`,y!=null&&y.child&&z.append(y.child),this.state="open"}close(){var y,b,z,ne;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:le}=this;le.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),le.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",$f()!==this.savedActiveElement&&((ne=(z=this.savedActiveElement)==null?void 0:z.focus)==null||ne.call(z)),le.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 Xp(a,y,b){let z=null,ne=null,le=!1,ce=!1,Be=!1;const Ue=new AbortController,Xe=Ue.signal;return a.addEventListener("keydown",ft=>{if(le||ft.key==="Process"||ft.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(ft.code)){z=null;return}z=ft,ne=null,b.onKeystroke(ft)?a.textContent="":z=null},{capture:!0,signal:Xe}),a.addEventListener("keypress",ft=>{le||(z&&ne&&b.onKeystroke(z),ne=ft)},{capture:!0,signal:Xe}),a.addEventListener("compositionstart",ft=>{a.textContent="",le=!0,b.onCompositionStart(ft.data)},{capture:!0,signal:Xe}),a.addEventListener("compositionupdate",ft=>{le&&b.onCompositionUpdate(ft.data)},{capture:!0,signal:Xe}),a.addEventListener("compositionend",ft=>{a.textContent="",le&&(le=!1,b.onCompositionEnd(ft.data))},{capture:!0,signal:Xe}),a.addEventListener("beforeinput",ft=>ft.stopImmediatePropagation(),{signal:Xe}),a.addEventListener("input",ft=>{var Ot;if(!le&&(a.textContent="",ft.inputType!=="insertCompositionText")){if(ft.inputType==="insertFromPaste"){ft.preventDefault(),ft.stopPropagation();return}b.onInput((Ot=ft.data)!=null?Ot:""),ft.preventDefault(),ft.stopPropagation()}},{signal:Xe}),a.addEventListener("paste",ft=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(ft)||ft.preventDefault(),ft.stopImmediatePropagation()},{signal:Xe}),a.addEventListener("cut",ft=>b.onCut(ft),{capture:!0,signal:Xe}),a.addEventListener("copy",ft=>b.onCopy(ft),{capture:!0,signal:Xe}),a.addEventListener("blur",ft=>{var Ot,qt;if(((qt=(Ot=ft.relatedTarget)==null?void 0:Ot._mathfield)==null?void 0:qt.element)===y){a.focus({preventScroll:!0}),ft.preventDefault(),ft.stopPropagation();return}const xn=dd.state;if(xn==="open"||xn==="opening"){ft.preventDefault(),ft.stopPropagation();return}if(ft.relatedTarget===ft.target.getRootNode().host){ft.preventDefault(),ft.stopPropagation();return}Be||ce||(Be=!0,z=null,ne=null,b.onBlur(),Be=!1)},{capture:!0,signal:Xe}),a.addEventListener("focus",ft=>{Be||ce||(ce=!0,b.onFocus(),ce=!1)},{capture:!0,signal:Xe}),{dispose:()=>Ue.abort(),cancelComposition:()=>{le&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!ce&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>$f()===a,setAriaLabel:ft=>a.setAttribute("aria-label",ft),setValue:ft=>{var Ot;a.textContent=ft,a.style.left="-1000px",(Ot=window.getSelection())==null||Ot.selectAllChildren(a)},moveTo:(ft,Ot)=>{a.style.top=`${Ot}px`,a.style.left=`${ft}px`}}}function df(a){var y;if(!a||!qf(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 Dh(a){a=Vp(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 qp(a){if(we()){const y=ke(),b=a.startsWith("!"),z=a.endsWith(y);if(b&&!z||!b&&z)return!0}return a==="!other"?!1:a==="other"}function $p(a,y,b){if(a.length===0)return"";const z=cf(Ah(Dh(b))),ne=cf({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(ke()),cmd:!1,win:!1});for(let le=a.length-1;le>=0;le--)if((a[le].key===z||a[le].key===ne)&&(!a[le].ifMode||a[le].ifMode===y))return a[le].command;return""}function Bh(a){let y=a;return Ae(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function eg(a,y){let b=[];if(typeof y=="string"){const le=_d[y];Ae(le)?b=le.slice():le&&b.push(le)}const z=Bh(y),ne=new RegExp("^"+z.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const le of a)ne.test(Bh(le.command))&&b.push(le.key);return b.map(O0)}function tg(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=Ah(a.key);let z=a.ifPlatform;if(b.cmd){if(z&&z!=="macos"&&z!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+z+`"
|
|
|
"cmd" modifier can only be used with macOS or iOS platform.`);z||(z=ke()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(z&&z!=="windows")throw new Error('Unexpected "win" modifier with platform "'+z+`"
|
|
|
"win" modifier can only be used with Windows platform.`);z="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(z&&!qp(z))return;if(/^\[.+\]$/.test(b.key))return Fe(be({},a),{key:cf(b)});const ne=Wp(b.key,y);if(!ne)return Fe(be({},a),{key:cf(b)});if(ne.shift&&b.shift||ne.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${_0(a.command)}) is conflicting with the key combination ${cf(ne)} using the ${y.displayName} keyboard layout`);return ne.shift=ne.shift||b.shift,ne.alt=ne.alt||b.alt,ne.meta=b.meta,ne.ctrl=b.ctrl,Fe(be({},a),{key:cf(ne)})}function _0(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function ng(a,y){const b=[],z=[];for(const ne of a)try{const le=tg(ne,y);if(!le)continue;const ce=z.find(Be=>Be.key===le.key&&Be.ifMode===le.ifMode);if(ce)throw new Error(`Ambiguous key binding ${ne.key} (${_0(ne.command)}) matches ${ce.key} (${_0(ce.command)}) with the ${y.displayName} keyboard layout`);z.push(le)}catch(le){le instanceof Error&&b.push(le.message)}return[z,b]}var rg=class extends Jo{constructor(){super("latex")}createAtom(a){return new Cu(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"}),cu(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:z}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ne=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(uu(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 le=[];for(const Ue of y)ue.test(Ue)&&le.push(new Cu(Ue));let ce=a.at(a.position);if(ce instanceof Gd&&(ce=ce.lastChild),!(ce.parent instanceof Gd)){const Ue=new Gd("");ce.parent.addChildAfter(Ue,ce),ce=Ue.firstChild}const Be=ce.parent.addChildrenAfter(le,ce);return a.silenceNotifications=ne,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(Be)):Be&&(a.position=a.offsetOf(Be))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function ig(a){return a.atoms.find(y=>y.type==="latexgroup")}function Of(a){var y,b;const z=a.atoms.find(ne=>ne.type==="latexgroup");return z?(b=(y=z.body)==null?void 0:y.filter(ne=>ne.type==="latex"))!=null?b:[]:[]}function Mh(a,y){var b;let z=0,ne=!1;const le=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;z<=le&&!ne;){const Ue=a.at(z);ne=Ue instanceof Cu&&Ue.isSuggestion,ne||z++}if(!ne)return[void 0,void 0];let ce=z,Be=!1;for(;ce<=le&&!Be;){const Ue=a.at(ce);Be=!(Ue instanceof Cu&&Ue.isSuggestion),Be||ce++}return[z-1,ce-1]}new rg;function e0(a){const y=Of(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 _f(a,y){var b;const{model:z}=a;e0(a);for(const ft of Of(z))ft.isError=!1;if(!z.selectionIsCollapsed||a.options.popoverPolicy==="off"){hf(a);return}const ne=[];let le=z.at(z.position);for(;le&&le instanceof Cu&&/^[a-zA-Z\*]$/.test(le.value);)le=le.leftSibling;if(le&&le instanceof Cu&&le.value==="\\")for(ne.push(le),le=le.rightSibling;le&&le instanceof Cu&&/^[a-zA-Z\*]$/.test(le.value);)ne.push(le),le=le.rightSibling;const ce=ne.map(ft=>ft.value).join(""),Be=Je(a,ce);if(Be.length===0){if(/^\\[a-zA-Z\*]+$/.test(ce))for(const ft of ne)ft.isError=!0;hf(a);return}const Ue=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=Ue<0?Be.length-1:Ue%Be.length;const Xe=Be[a.suggestionIndex];if(Xe!==ce){const ft=ne[ne.length-1];ft.parent.addChildrenAfter([...Xe.slice(ce.length-Xe.length)].map(Ot=>new Cu(Ot,{isSuggestion:!0})),ft),Jd(a,{interactive:!0})}og(a,Be)}function Fh(a){const[y,b]=Mh(a,{before:a.position});if(y===void 0||b===void 0)return!1;let z=!1;return a.getAtoms([y,b]).forEach(ne=>{ne.isSuggestion&&(ne.isSuggestion=!1,z=!0)}),z}function ff(a,y="accept",b){var z,ne;hf(a);const le=ig(a.model);if(!le)return!1;if(y==="accept-suggestion"||y==="accept-all"){const Xe=Of(a.model).filter(ft=>ft.isSuggestion);if(Xe.length!==0){for(const ft of Xe)ft.isSuggestion=!1;a.model.position=a.model.offsetOf(Xe[Xe.length-1])}if(y==="accept-suggestion")return Xe.length!==0}const Be=Of(a.model).filter(Xe=>!Xe.isSuggestion).map(Xe=>Xe.value).join(""),Ue=le.leftSibling;return le.parent.removeChild(le),a.model.position=a.model.offsetOf(Ue),a.switchMode((z=b==null?void 0:b.mode)!=null?z:"math"),y==="reject"||(Jo.insert(a.model,Be,{selectionMode:(ne=b==null?void 0:b.selectItem)!=null&&ne?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function t0(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 T0(a){var y;const b=document.getElementById(a);if(!b)return;const z=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");z<=1?b.remove():b.dataset.refcount=Number(z-1).toString()}function ag(a,y){const b=new Fl({from:a.context}),z=new ri({mode:"math",type:"root",body:Wi(y,{context:b})}),ne=Ac(Ll(new Xi(z.render(b),{classes:"ML__base"}),b));return Wc(ne,{classes:"ML__latex"}).toMarkup()}function og(a,y){var b;if(y.length===0){hf(a);return}let z="";for(const[le,ce]of y.entries()){const Be=ce,Ue=ag(a,ce),Xe=eg(a.keybindings,Be).join("<br>");z+=`<li role="button" data-command="${Be}" ${le===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${Be}</span><span class="ML__popover__command">${Ue}</span>`,Xe&&(z+=`<span class="ML__popover__keybinding">${Xe}</span>`),z+="</li>"}const ne=lg(a,`<ul>${z}</ul>`);N0()&&((b=ne.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var le;ne&&!N0()&&(ne.classList.add("is-visible"),n0(a),(le=ne.querySelector(".ML__popover__current"))==null||le.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function N0(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function n0(a,y){var b;if(!a.element||a.element.mathfield!==a||!N0())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){hf(a);return}if(y!=null&&y.deferred){setTimeout(()=>n0(a),32);return}const z=Vu(a.field);if(!z)return;const ne=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,le=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ce=window.innerWidth-document.documentElement.clientWidth,Be=window.innerHeight-document.documentElement.clientHeight,Ue=window.mathVirtualKeyboard.boundingRect.height,Xe=document.getElementById("mathlive-suggestion-popover");z.x+Xe.offsetWidth/2>le-ce?Xe.style.left=`${le-Xe.offsetWidth-ce}px`:z.x-Xe.offsetWidth/2<0?Xe.style.left="0":Xe.style.left=`${z.x-Xe.offsetWidth/2}px`;const ft=z.y-z.height;ne-Be-Ue-z.y<ft?(Xe.classList.add("ML__popover--reverse-direction"),Xe.classList.remove("top-tip"),Xe.classList.add("bottom-tip"),Xe.style.top=`${z.y-z.height-Xe.offsetHeight-15}px`):(Xe.classList.remove("ML__popover--reverse-direction"),Xe.classList.add("top-tip"),Xe.classList.remove("bottom-tip"),Xe.style.top=`${z.y+15}px`)}function hf(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function lg(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=t0("mathlive-suggestion-popover"),Va("suggestion-popover"),Va("core"),b.addEventListener("pointerdown",z=>z.preventDefault()),b.addEventListener("click",z=>{let ne=z.target;for(;ne&&!ne.dataset.command;)ne=ne.parentElement;ne&&(ff(a,"reject"),Jo.insert(a.model,ne.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function sg(){document.getElementById("mathlive-suggestion-popover")&&(T0("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function ug(){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 r0=null,kh,Ph,R0=((Ph=(kh=globalThis==null?void 0:globalThis.document)==null?void 0:kh.currentScript)==null?void 0:Ph.src)||ug();function Lh(a){return Zd(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(r0===null)try{const y=yield fetch(R0,{method:"HEAD"});y.status===200&&(r0=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${R0}")`)}return new URL(a,r0!=null?r0:R0).href})}function cg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var Tc="not-loaded";function dg(){return Zd(this,null,function*(){return Tc="not-loaded",i0()})}function i0(){return Zd(this,null,function*(){var a;if(Tc!=="not-loaded")return;if(Tc="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){Tc="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"],z=Array.from(document.fonts).map(ce=>ce.family);if(b.every(ce=>z.includes(ce))){Tc="ready";return}if(!window.MathfieldElement.fontsDirectory){Tc="not-loaded";return}const ne=yield Lh(window.MathfieldElement.fontsDirectory);if(!ne){document.body.classList.add("ML__fonts-did-not-load"),Tc="error";return}const le=[["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(ce=>cg(ce[0].replace(/-[a-zA-Z]+$/,""),`${ne}/${ce[0]}`,ce[1]));try{(yield Promise.all(le.map(Be=>{try{return Be.load()}catch(Ue){}}))).forEach(Be=>document.fonts.add(Be)),Tc="ready";return}catch(ce){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ne}"`,{cause:ce}),document.body.classList.add("ML__fonts-did-not-load")}Tc="error"}})}function fg(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 cu(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{hc(a)&&a.dirty&&(a.atomBoundsCache=new Map,Jd(a,y),a.atomBoundsCache=void 0)})))}function hg(a,y){var b;y=y!=null?y:{};const z=new Fl({from:Fe(be({},a.context),{atomIdsSettings:{seed:y.forHighlighting?fg(ri.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"}),ne=a.model.root.render(z);return Wc(Ll(ne,z),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function Ih(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const ne of b.atoms)ne.caret=void 0,ne.isSelected=!1,ne.containsCaret=!1;if(b.selectionIsCollapsed){const ne=b.at(b.position);ne.caret=a.model.mode;let le=ne.parent;for(;le;)le.containsCaret=!0,le=le.parent}else{const ne=b.getAtoms(b.selection,{includeChildren:!0});for(const le of ne)le.isSelected=!0}return hg(a,y).toMarkup()}function Jd(a,y){if(!hc(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const z=a.field;if(!z)return;const ne=a.isSelectionEditable&&a.hasFocus(),le=z.classList.contains("ML__focused");le&&!ne?z.classList.remove("ML__focused"):!le&&ne&&z.classList.add("ML__focused");let ce=Ih(a,y);const Be=a.element.querySelector("[part=menu-toggle]");if(Be&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?Be.style.display="none":Be.style.display=""),a.model.atoms.length<=1){const Ue=a.options.contentPlaceholder;Ue&&(ce+=`<span part=placeholder class="ML__content-placeholder">${Tu(Ue)}</span>`)}z.innerHTML=window.MathfieldElement.createHTML(ce),a0(a,y.interactive),a.dirty=!1}function a0(a,y){const b=a.field;if(!b)return;for(const Be of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))Be.remove();!(y!=null&&y)&&Tc!=="error"&&Tc!=="ready"&&setTimeout(()=>{Tc==="ready"?a0(a):setTimeout(()=>a0(a),128)},32);const z=a.model,ne=b.offsetWidth,le=b.getBoundingClientRect().width;let ce=Math.floor(le)/ne;if(ce=isNaN(ce)?1:ce,z.selectionIsCollapsed){n0(a,{deferred:!0});let Be=z.at(z.position);for(;Be&&Be.type!=="prompt"&&!(Be.containsCaret&&Be.displayContainsHighlight);)Be=Be.parent;if(Be!=null&&Be.containsCaret&&Be.displayContainsHighlight){const Ue=rd(a,ud(a,Be),ce);if(Ue){Ue.left/=ce,Ue.right/=ce,Ue.top/=ce,Ue.bottom/=ce;const Xe=document.createElement("div");Xe.classList.add("ML__contains-highlight"),Xe.style.position="absolute",Xe.style.left=`${Ue.left+1}px`,Xe.style.top=`${Math.ceil(Ue.top)}px`,Xe.style.width=`${Math.ceil(Ue.right-Ue.left)}px`,Xe.style.height=`${Math.ceil(Ue.bottom-Ue.top)}px`,b.insertBefore(Xe,b.childNodes[0])}}return}for(const Be of mg(Ud(a,{excludeAtomsWithBackground:!0}))){Be.left/=ce,Be.right/=ce,Be.top/=ce,Be.bottom/=ce;const Ue=document.createElement("div");Ue.classList.add("ML__selection"),Ue.style.position="absolute",Ue.style.left=`${Be.left}px`,Ue.style.top=`${Be.top}px`,Ue.style.width=`${Math.ceil(Be.right-Be.left)}px`,Ue.style.height=`${Math.ceil(Be.bottom-Be.top-1)}px`,b.insertBefore(Ue,b.childNodes[0])}}function mg(a){let y=[];for(const b of a){let z=!1;for(const ne of y)if(b.left===ne.left&&b.right===ne.right&&b.top===ne.top&&b.bottom===ne.bottom){z=!0;break}z||y.push(b)}a=y,y=[];for(const b of a){let z=0;for(const ne of a)if(b.left>=ne.left&&b.right<=ne.right&&b.top>=ne.top&&b.bottom<=ne.bottom&&(z+=1,z>1))break;z===1&&y.push(b)}return y}var Oh=3,fd;function Mc(a,y){y=be({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),fd||(fd={});for(const b of Object.keys(a))console.assert(!fd[b],"Selector already defined: ",b),fd[b]=Fe(be({},y),{fn:a[b]})}function z0(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return z0(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),fd[y]}function mf(a){var y;return(y=z0(a))==null?void 0:y.target}function pg(a,y){var b;if(!y)return!1;let z,ne=[],le=!1,ce=!1;Ae(y)?(z=y[0],ne=y.slice(1)):z=y,z=z.replace(/-\w/g,Xe=>Xe[1].toUpperCase());const Be=fd[z],Ue=Be==null?void 0:Be.target;if(Ue==="model"){if(!a.isSelectionEditable&&(Be!=null&&Be.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(z)&&(z!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(z)),/^complete/.test(z)||e0(a),fd[z].fn(a.model,...ne),_f(a),ce=!0,le=!0}else if(Ue==="virtual-keyboard")ce=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,le=!0;else if(fd[z]){if(!a.isSelectionEditable&&(Be!=null&&Be.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(z)&&a.flushInlineShortcutBuffer(),ce=fd[z].fn(a,...ne),le=!0}else throw new Error(`Unknown command "${z}"`);return Ue!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||Be!=null&&Be.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),Be!=null&&Be.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),ce&&cu(a),le}function gg(a,y){var b;if(!a)return!1;a.focus(),Fm.keypressVibration&&Ne()&&navigator.vibrate(Oh);const z=z0(y);window.MathfieldElement.playSound((b=z==null?void 0:z.audioFeedback)!=null?b:"keypress");const ne=a.executeCommand(y);return a.scrollIntoView(),ne}Mc({performWithFeedback:(a,y)=>gg(a,y)});function vg(a){return _f(a,{atIndex:a.suggestionIndex+1}),!1}function yg(a){return _f(a,{atIndex:a.suggestionIndex-1}),!1}Mc({complete:ff},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Mc({nextSuggestion:vg,previousSuggestion:yg},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var o0="mathlive#virtual-keyboard-message";function H0(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===o0}var bg=class gp{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 gp),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,z){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,z){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(H0(y)){if(!ae(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:z}=y;mf(z)==="virtual-keyboard"&&this.executeCommand(z);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(be({type:o0,action:y},b),this.targetOrigin)}},_h={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]"]]}},l0={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"}]},Tf;function Th(a,y){var b,z,ne;const le=Rd.singleton;if(!le)return;const ce=pf(a),Be=(z=(b=le.getKeycap(ce==null?void 0:ce.id))==null?void 0:b.variants)!=null?z:"";if(typeof Be=="string"&&!Nh(Be)||Array.isArray(Be)&&Be.length===0){y==null||y();return}const Ue={};let Xe="";for(const Fr of Eg(Be)){const oa=zh(Fr),Mr=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);Ue[Mr]=oa;const[Ci,ca]=s0(oa);Xe+=`<div id=${Mr} class="item ${ca}">${Ci}</div>`}const ft=document.createElement("div");ft.setAttribute("aria-hidden","true"),ft.className="MLK__variant-panel",ft.style.height="auto";const Ot=Object.keys(Ue).length;let qt=5;Ot===1?qt=1:Ot===2||Ot===4?qt=2:Ot===3||Ot===5||Ot===6?qt=3:Ot>=7&&Ot<14&&(qt=4),ft.style.width=`calc(var(--variant-keycap-length) * ${qt} + 12px)`,ft.innerHTML=Fm.createHTML(Xe),dd.open({root:(ne=le==null?void 0:le.container)==null?void 0:ne.querySelector(".ML__keyboard"),child:ft}),Tf=new AbortController;const{signal:xn}=Tf,On=a==null?void 0:a.getBoundingClientRect();if(On){On.top-ft.clientHeight<0&&(ft.style.width="auto",Ot<=6?ft.style.height="56px":Ot<=12?ft.style.height="108px":Ot<=18?ft.style.height="205px":ft.classList.add("compact"));const Fr=Math.max(0,Math.min(window.innerWidth-ft.offsetWidth,(On.left+On.right-ft.offsetWidth)/2)),oa=On.top-ft.clientHeight+5;ft.style.transform=`translate(${Fr}px, ${oa}px)`,ft.classList.add("is-visible"),requestAnimationFrame(()=>{ft.addEventListener("pointerup",Mr=>{const Ci=pf(Mr.target);!(Ci!=null&&Ci.id)||!Ue[Ci.id]||(j0(Ue[Ci.id]),Nf(),y==null||y(),Mr.preventDefault())},{capture:!0,passive:!1,signal:xn}),ft.addEventListener("pointerenter",Mr=>{const Ci=pf(Mr.target);!(Ci!=null&&Ci.id)||!Ue[Ci.id]||Ci.classList.add("is-active")},{capture:!0,signal:xn}),ft.addEventListener("pointerleave",Mr=>{const Ci=pf(Mr.target);!(Ci!=null&&Ci.id)||!Ue[Ci.id]||Ci.classList.remove("is-active")},{capture:!0,signal:xn}),window.addEventListener("pointercancel",()=>{Nf(),y==null||y()},{signal:xn}),window.addEventListener("pointerup",()=>{Nf(),y==null||y()},{signal:xn})})}}function Nf(){Tf==null||Tf.abort(),Tf=null,dd.state==="open"&&dd.close()}function xg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(Le))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+Le[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys(Re))y.push({class:"swatch-button",label:'<span style="background:'+Re[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function Nh(a){return l0[a]!==void 0}function Eg(a){var y;return typeof a!="string"?a:(l0[a]||(l0[a]=(y=xg(a))!=null?y:[]),l0[a])}function Cg(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function wg(a){return Object.keys(a).map(y=>`${y} {${Cg(a[y])}}`).join("")}function Rf(a){if(!a)return"";const y=new Fl,b=new ri({mode:"math",type:"root",body:Wi(a,{context:y,args:ne=>ne==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),z=Ac(Ll(new Xi(b.render(y),{classes:"ML__base"}),y));return Wc(z,{classes:"ML__latex"}).toMarkup()}function zf(a){var y;if(Array.isArray(a))return a.map(z=>zf(z)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(z=>z.map(ne=>zh(ne)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function Sg(){var a,y;let z=window.mathVirtualKeyboard.alphabeticLayout;if(z==="auto"){const Be=If();Be&&(z=Be.virtualLayout),(!z||z==="auto")&&(z=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[Ke.locale.slice(0,2)])!=null?a:"qwerty")}const ne={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},le=(y=ne[z])!=null?y:ne.qwerty,ce=z==="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 Be of le){const Ue=[];for(const Xe of Be)/[a-z]/.test(Xe)?Ue.push({label:Xe,class:"hide-shift",shift:{label:Xe.toUpperCase()},variants:Nh(Xe)?Xe:void 0}):Xe==="~"?z!=="dvorak"?Ue.push("[backspace]"):Ue.push({label:"[backspace]",width:1}):Xe==="^"?Ue.push("[shift]"):Xe===" "&&Ue.push("[separator-5]");ce.push(Ue)}return ce.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:zf({rows:ce})}}function Rh(a){if(a==="alphabetic")return Sg();if(typeof a=="string")return console.assert(_h[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),Rh(_h[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 ne=a,{rows:le}=ne,ce=rt(ne,["rows"]);y=Fe(be({},ce),{layers:zf({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ne=a,{markup:le}=ne,ce=rt(ne,["markup"]);y=Fe(be({},ce),{layers:zf(a.markup)})}else y=be({},a),"layers"in a?y.layers=zf(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,z=!1;for(const ne of y.layers)if(ne.rows)for(const le of ne.rows.flat()){gf(le)&&(b=!0);const ce=le.command;typeof ce=="string"&&["undo","redo","cut","copy","paste"].includes(ce)&&(z=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!z),y}function Ag(a,y){var b,z;let ne='<div class="left">';if(a.normalizedLayouts.length>1)for(const[le,ce]of a.normalizedLayouts.entries()){const Be=ce,Ue=[le===y?"selected":"layer-switch"];Be.tooltip&&Ue.push("MLK__tooltip"),Be.labelClass&&Ue.push(...Be.labelClass.split(" ")),ne+=`<div class="${Ue.join(" ")}"`,Be.tooltip&&(ne+=" data-tooltip='"+((b=Oe(Be.tooltip))!=null?b:Be.tooltip)+"' "),le!==y&&(ne+=`data-layer="${Be.layers[0].id}"`),ne+=`>${(z=Be.label)!=null?z:"untitled"}</div>`}return ne+="</div>",ne}function Dg(a,y){let b="";if(a.editToolbar==="none")return"";const ne=[];y.selectionIsCollapsed?ne.push("undo","redo","pasteFromClipboard"):ne.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const le={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
|
|
|
data-command='"undo"'
|
|
|
data-tooltip='${Oe("tooltip.undo")}'>
|
|
|
<svg><use xlink:href='#svg-undo' /></svg>
|
|
|
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
|
|
|
data-command='"redo"'
|
|
|
data-tooltip='${Oe("tooltip.redo")}'>
|
|
|
<svg><use xlink:href='#svg-redo' /></svg>
|
|
|
</div>`,cutToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"cutToClipboard"'
|
|
|
data-tooltip='${Oe("tooltip.cut to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-cut' /></svg>
|
|
|
</div>
|
|
|
`,copyToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"copyToClipboard"'
|
|
|
data-tooltip='${Oe("tooltip.copy to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-copy' /></svg>
|
|
|
</div>
|
|
|
`,pasteFromClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"pasteFromClipboard"'
|
|
|
data-tooltip='${Oe("tooltip.paste from clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-paste' /></svg>
|
|
|
</div>
|
|
|
`};return b+=ne.map(ce=>le[ce]).join(""),b}function Bg(a){for(const y of a)Mg(y)}function Mg(a){const y=Rd.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(z){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[z,ne]=s0(b);a.innerHTML=window.MathfieldElement.createHTML(z)}}function Fg(){Va("virtual-keyboard"),Va("core"),i0()}function kg(){x("core"),x("virtual-keyboard")}var Pg=`<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 Lg(a){a.resetKeycapRegistry(),Fg();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Pg+a.normalizedLayouts.map((ce,Be)=>Ig(a,ce,Be)).join(""));const z=document.createElement("div");z.className="MLK__backdrop",z.appendChild(b),y.appendChild(z),y.addEventListener("pointerdown",_g,{passive:!1});const ne=y.querySelectorAll(".ML__edit-toolbar");if(ne)for(const ce of ne)ce.addEventListener("click",Be=>{var Ue,Xe;let ft=Be.target,Ot="";for(;ft&&!Ot;)Ot=(Ue=ft==null?void 0:ft.getAttribute("data-command"))!=null?Ue:"",ft=(Xe=ft==null?void 0:ft.parentElement)!=null?Xe:null;Ot&&a.executeCommand(JSON.parse(Ot))});Bg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const le=y.querySelectorAll(".MLK__layer");console.assert(le.length>0,"No virtual keyboards available");for(const ce of le)ce.addEventListener("pointerdown",Be=>Be.preventDefault());return a.currentLayer=a.latentLayer,y}function Ig(a,y,b){const z=[];if(!("layers"in y))return"";for(const ne of y.layers)z.push(`<div tabindex="-1" class="MLK__layer" id="${ne.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(z.push("<div class='MLK__toolbar' role='toolbar'>"),z.push(Ag(a,b)),y.displayEditToolbar&&z.push('<div class="ML__edit-toolbar right"></div>'),z.push("</div>")),z.push(Og(a,ne)),z.push("</div>");return z.join("")}function Og(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>${wg(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 z of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const ne of z)if(ne){const le=a.registerKeycap(ne),[ce,Be]=s0(ne);/(^|\s)separator/.test(Be)?b+=`<div class="${Be}"`:b+=`<div tabindex="-1" id="${le}" class="${Be}"`,ne.tooltip&&(b+=` data-tooltip="${ne.tooltip}"`),b+=`>${ce}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function s0(a,y={shifted:!1}){var b,z,ne,le,ce,Be,Ue;let Xe="",ft=(b=a.class)!=null?b:"";if(y.shifted&&gf(a)&&(ft+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?Xe=Rf(a.shift):typeof a.shift=="object"&&(Xe=a.shift.label?a.shift.label:(z=Rf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?z:""),typeof a.shift=="object"&&(ft=(le=(ne=a.shift.class)!=null?ne:a.class)!=null?le:"");else{if(Xe=a.label?a.label:(ce=Rf(a.latex||a.insert||"")||a.key)!=null?ce:"",a.shift){let Ot;typeof a.shift=="string"?Ot=Rf(a.shift):a.shift.label?Ot=a.shift.label:Ot=(Be=Rf(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?Be:"",Xe+=`<span class="MLK__shift">${Ot}</span>`}a.aside&&(Xe+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(ft)&&(ft+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(ft)||(ft+=" MLK__keycap"),!/\bw[0-9]+\b/.test(ft)&&a.width&&(ft+=(Ue={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?Ue:""),[Xe,ft||"MLK__keycap"]}var Xd={"[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 zh(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!Xd[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&Xd[a.label]&&(b=Fe(be(be({},Xd[a.label]),a),{label:Xd[a.label].label})),"key"in a&&a.key&&Xd[a.key]&&(b=Fe(be(be({},Xd[a.key]),a),{key:Xd[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=be(be({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=be(be({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=be(be({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=be(be({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var Hf;function _g(a){var y;if(a.button!==0)return;const b=Rd.singleton;if(!b)return;let z=a.target;for(;z&&!z.getAttribute("data-layer");)z=z.parentElement;if(z){b.currentLayer=(y=z.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const ne=pf(a.target);if(!(ne!=null&&ne.id))return;const le=b.getKeycap(ne.id);if(!le)return;console.assert(a.type==="pointerdown");const ce=new AbortController,Be=ce.signal;ne.classList.add("is-pressed"),ne.addEventListener("pointerenter",u0(ce),{capture:!0,signal:Be}),ne.addEventListener("pointerleave",u0(ce),{capture:!0,signal:Be}),ne.addEventListener("pointercancel",u0(ce),{signal:Be}),ne.addEventListener("pointerup",u0(ce),{signal:Be}),gf(le)&&(ne.classList.add("is-active"),b.shiftPressCount++),le.variants&&(Hf&&clearTimeout(Hf),Hf=setTimeout(()=>{ne.classList.contains("is-pressed")&&(ne.classList.remove("is-pressed"),ne.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),Th(ne,()=>{ce.abort(),ne==null||ne.classList.remove("is-active")}))},300)),a.preventDefault()}function u0(a){return y=>{const b=pf(y.target);if(!(b!=null&&b.id))return;const z=Rd.singleton;if(!z)return;const ne=z.getKeycap(b.id);if(ne){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),gf(ne)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),gf(ne)&&(z.shiftPressCount--,b.classList.toggle("is-active",z.isShifted));return}if(y.type==="pointerup"){Hf&&clearTimeout(Hf),gf(ne)?b.classList.toggle("is-active",z.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),z.isShifted&&ne.shift?typeof ne.shift=="string"?z.executeCommand(["insert",ne.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):j0(ne.shift):j0(ne),z.shiftPressCount===1&&!y.shiftKey&&(z.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function j0(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=Rd.singleton)==null||y.executeCommand(b)}function Tg(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 pf(a){if(!a)return;let y=a;for(;y&&!Tg(y);)y=y.parentElement;return y!=null?y:void 0}function gf(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var Rd=class vp{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,z;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(ne=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(z=window.top)==null||z.addEventListener("message",this)}catch(ne){window.addEventListener("message",this)}document.body.addEventListener("focusin",ne=>{const le=ne.target;le!=null&&le.isConnected&&setTimeout(()=>{const ce=Hh();ce&&!ce.readOnly&&ce.mathVirtualKeyboardPolicy==="auto"&&Se()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ne=>{ne.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{Hh()||this.hide()},300)})}get currentLayer(){var y,b,z;return(z=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?z:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let z=y?this._element.querySelector(`#${y}.MLK__layer`):null;z||(z=this._element.querySelector(".MLK__layer")),z&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),z.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 z of b)for(const ne of z.layers)if(ne.id===y)return ne}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],z=b.findIndex(ne=>ne==="default");z>=0&&b.splice(z,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ne=>Rh(ne))}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 vp}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,z){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,z){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 z=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${z}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const ne=z-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ne}px)`:`${ne}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${z}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 z of b){const ne=this.getKeycap(z.id);if(ne){const[le,ce]=s0(ne,{shifted:this.isShifted});z.innerHTML=window.MathfieldElement.createHTML(le),z.className=ce}}}show(y){var b;if(this._visible)return;const z=this.container;if(z&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const ne=this._element.getElementsByClassName("MLK__plate")[0];if(ne&&this.observer.observe(ne),z===window.document.body){const le=z.style.paddingBottom;this.originalContainerBottomPadding=le;const ce=ne.offsetHeight-1;z.style.paddingBottom=le?`calc(${le} + ${ce}px)`:`${ce}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 ne;return(ne=this._element)==null?void 0:ne.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 z=this.container;if(z&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const ne=this._element.getElementsByClassName("MLK__plate")[0];ne&&this.observer.unobserve(ne),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}),Nf(),kg(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(z.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=Lg(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&Th(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(H0(y)){if(!ae(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:z}=y;if(z==="execute-command"){const{command:ne}=y,le=mf(ne);if(window.top!==void 0&&le!=="virtual-keyboard")return;this.executeCommand(ne);return}if((z==="connect"||z==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),z!=="disconnect"&&window===window.top){if(z==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(z==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(z==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(z==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,z){if(z||(z=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||z===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:be({type:o0,action:y},b)}));return}if(z)z.postMessage(be({type:o0,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 ne=b.command[1].split("");for(const le of ne)this.dispatchEvent(new KeyboardEvent("keydown",{key:le,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:le,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 z=b.querySelectorAll(".ML__edit-toolbar");if(z)for(const ne of z)ne.innerHTML=Dg(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,z=[],ne=mf(y);return Ae(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ne=mf(y)),z=y.slice(1)):b=y,b=b.replace(/-\w/g,le=>le[1].toUpperCase()),ne==="virtual-keyboard"?fd[b].fn(void 0,...z):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function Hh(){var a,y;let b=$f(),z=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){z=b.host;break}b=b.parentNode}return z}if(we()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=Rd.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>bg.singleton,configurable:!0});function c0(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const z=a.scriptDepth;if(Ae(z))y.scriptDepth=[z[0],z[1]];else if(typeof z=="number")y.scriptDepth=[z,z];else if(typeof z=="string"){const[le,ce]=z.split(",").map(Be=>parseInt(Be.trim()));y.scriptDepth=[le,ce]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ne=a.mathVirtualKeyboardPolicy.toLowerCase();if(ne==="sandboxed"){if(window!==window.top){const le=Rd.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>le})}ne="manual"}y.mathVirtualKeyboardPolicy=ne;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?Ke.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=it(a.macros);break;default:Ae(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=be({},a[b]):y[b]=a[b]}return y}function qd(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const z={};for(const ne of b)a[ne]===null?z[ne]=null:Ae(a[ne])?z[ne]=[...a[ne]]:typeof a[ne]=="object"&&!(a[ne]instanceof Element)&&ne!=="computeEngine"?z[ne]=be({},a[ne]):z[ne]=a[ne];return typeof y=="string"?z[y]:z}function d0(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:ze,backgroundColorMap:Te,letterShapeStyle:Ke.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:sf,inlineShortcuts:jl,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:Ic,value:""}}function jh(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function zd(a,y){!a||!y||(Ae(a)?a.forEach(b=>zd(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),zd(a.body,y),zd(a.above,y),zd(a.below,y),zd(a.subscript,y),zd(a.superscript,y)))}function Z0(a,y,b,z){function ne(ce,Be){for(const Ue of le)if(Ue.style[ce]!==Be)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const le=a.getAtoms(y,{includeChildren:!0});z.operation==="toggle"&&(b.color&&ne("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ne("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ne("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ne("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ne("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ne("fontSize",b.fontSize)&&(b.fontSize=es),b.variant&&ne("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ne("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const ce of le)ce.applyStyle(b);return!0}function Ng(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:z}=b;b.caret=void 0;const ne=new rl(y,{mode:b.mode});ne.caret=z,b.parent.addChildAfter(ne,b),a.position+=1}}function Rg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}jt(["math","displaymath"],Gc),jt("center",Gc),_t("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(z=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(z)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new yn("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),En("array","{columns:colspec}",(a,y,b,z)=>new yn(a,K0(y),b,{columns:z[0],mathstyleName:"textstyle"})),En(["equation","equation*","subequations"],"",(a,y,b)=>new yn(a,K0(y),b,{columns:[{align:"c"}]})),En(["multline","multline*"],"",Gc),En(["align","align*","aligned","eqnarray"],"",Gc),En("split","",Gc),En(["gather","gathered"],"",Gc),En(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",Gc),En(["smallmatrix","smallmatrix*"],"[columns:colspec]",Gc),En(["cases","dcases","rcases"],"",Gc);function zg(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function K0(a,y=1){return zg(a)?Array(y).fill([[new ri({type:"first"}),new ii]]):a.map(b=>b.length===0?[[new ri({type:"first"})]]:b.map(z=>z.length===0?[new ri({type:"first"})]:(z[0].type!=="first"&&z.unshift(new ri({type:"first"})),z)))}function Gc(a,y=[[[]]],b=[],z=[]){switch(y=K0(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new yn(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new yn(a,y,b,{mathstyleName:"textstyle"});case"center":return new yn(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new yn(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new yn(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new yn(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new yn(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:$d(z[0])});case"bmatrix":case"bmatrix*":return new yn(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:$d(z[0])});case"Bmatrix":case"Bmatrix*":return new yn(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:$d(z[0])});case"vmatrix":case"vmatrix*":return new yn(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:$d(z[0])});case"Vmatrix":case"Vmatrix*":return new yn(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:$d(z[0])});case"matrix":case"matrix*":return new yn(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:$d(z==null?void 0:z[0])});case"smallmatrix":case"smallmatrix*":return new yn(a,y,b,{mathstyleName:"scriptstyle",columns:$d(z==null?void 0:z[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new yn(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 yn(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new yn(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ne=0;for(const Be of y)ne=Math.max(ne,Be.length);const le=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let ce=2;for(;ce<ne;)le.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),ce+=2;return le.push({gap:0}),new yn(a,y,b,{arraycolsep:0,columns:le,minColumns:2})}}return new yn(a,y,b,{mathstyleName:"textstyle"})}function $d(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 Hg(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof yn);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof yn)){const z=a.at(a.position);if(b=z,!b.parent.parent){let ne=a.extractAtoms([a.position,a.lastOffset]),le=a.extractAtoms([0,a.position]);le.length===0&&(le=m0()),ne.length===0&&(ne=m0());let ce;return y.endsWith("column")?(ce=Gc("split",[[le,ne]]),a.root=ce,ef(ce,0,0)?tf(a,ce,0,0):ef(ce,0,1)?tf(a,ce,0,1):a.position=a.offsetOf(z)):(ce=Gc("lines",[[le],[ne]]),a.root=ce,ef(ce,0,0)?tf(a,ce,0,0):ef(ce,1,0)?tf(a,ce,1,0):a.position=a.offsetOf(z)),[void 0,[0,0]]}if(b.parent instanceof zo){const ne=b.parent;let le=a.extractAtoms([a.position,a.offsetOf(ne.lastChild)]),ce=a.extractAtoms([a.offsetOf(ne.firstChild),a.position]);ce.length===0&&(ce=m0()),le.length===0&&(le=m0());let Be="pmatrix";const Ue=ne.leftDelim,Xe=ne.rightDelim;Ue==="("&&(Xe===")"||Xe==="?")?Be="pmatrix":(Ue==="["||Ue==="\\lbrack")&&(Xe==="]"||Xe==="\\rbrack"||Xe==="?")?Be="bmatrix":Ue==="\\vert"&&Xe==="\\vert"?Be="vmatrix":Ue==="\\Vert"&&Xe==="\\Vert"?Be="Vmatrix":(Ue==="{"||Ue==="\\lbrace")&&(Xe==="."||Xe==="?")&&(Be="cases");const ft=Gc(Be,y.endsWith("column")?[[ce,le]]:[[ce],[le]]);return ne.parent.addChildBefore(ft,ne),ne.parent.removeChild(ne),ef(ft,0,0)?tf(a,ft,0,0):y.endsWith("column")?ef(ft,0,1)?tf(a,ft,0,1):a.position=a.offsetOf(b):ef(ft,1,0)?tf(a,ft,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof yn?[b.parent,b.parentBranch]:[void 0,[0,0]]}function ef(a,y,b){const z=a.getCell(y,b);return!z||z.length!==2?!1:z[1].type==="placeholder"}function jg(a,y,b,z){const ne=y.getCell(b,z);return ne?[a.offsetOf(ne[0]),a.offsetOf(ne[ne.length-1])]:-1}function tf(a,y,b,z){const ne=jg(a,y,b,z);typeof ne!="number"&&a.setSelection(ne)}function f0(a,y,b,z,ne){const le=y.getCell(b,z);le&&a.setPositionHandlingPlaceholder(a.offsetOf(le[ne==="start"?0:le.length-1]))}function h0(a,y){const[b,[z,ne]]=Hg(a,y);if(b)switch(y){case"after row":b.addRowAfter(z),f0(a,b,z+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ne),f0(a,b,z,ne+1,"end");break;case"before row":b.addRowBefore(z),f0(a,b,z,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ne),f0(a,b,z,ne,"start");break}}function Zh(a){return a.contentWillChange({inputType:"insertText"})?(h0(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Zg(a){return a.contentWillChange({inputType:"insertText"})?(h0(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Kh(a){return a.contentWillChange({inputType:"insertText"})?(h0(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Kg(a){return a.contentWillChange({inputType:"insertText"})?(h0(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Wh(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",z=".";switch(y){case"pmatrix":case"pmatrix*":b="(",z=")";break;case"bmatrix":case"bmatrix*":b="[",z="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",z="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",z="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",z="\\Vert";break;case"matrix":case"matrix*":b=".",z=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":z="\\rbrace";break}const ne=a.at(a.position),le=ne.type==="array"?ne:a.parentEnvironment;return le.environmentName=y,le.leftDelim=b,le.rightDelim=z,a.contentDidChange({}),!0}function Vh(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof yn);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof yn){const z=b.parent,ne=b.parentBranch;let le;switch(y){case"row":if(z.rowCount>1){z.removeRow(ne[0]);const ce=z.getCell(Math.max(0,ne[0]-1),ne[1]);le=a.offsetOf(ce[ce.length-1])}break;case"column":if(z.colCount>z.minColumns){z.removeColumn(ne[1]);const ce=z.getCell(ne[0],Math.max(0,ne[1]-1));le=a.offsetOf(ce[ce.length-1])}break}le&&a.setPositionHandlingPlaceholder(le)}}function Wg(a){return a.contentWillChange({inputType:"deleteContent"})?(Vh(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function Vg(a){return a.contentWillChange({inputType:"deleteContent"})?(Vh(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Mc({addRowAfter:Zh,addColumnAfter:Kh,addRowBefore:Zg,addColumnBefore:Kg,removeRow:Wg,removeColumn:Vg,setEnvironment:Wh},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function m0(){return[new ii]}var Uh=class yp{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>yp.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};Uh.maximumDepth=1e3;var Ug=Uh;function W0(a,y,b){if(a.at(y).mode!=="text")return y;const z=b==="backward"?-1:1;let ne;if(ye.test(a.at(y).value)){let le=y,ce;do ce=a.at(le).mode==="text"&&ye.test(a.at(le).value),le+=z;while(a.at(le)&&ce);ne=a.at(le)?le-2*z:le-z}else if(/\s/.test(a.at(y).value)){let le=y;for(;a.at(le)&&a.at(le).mode==="text"&&/\s/.test(a.at(le).value);)le+=z;if(!a.at(le))ne=le-z;else{let ce=!0;do ce=a.at(le).mode==="text"&&!/\s/.test(a.at(le).value),le+=z;while(a.at(le)&&ce);ne=a.at(le)?le-2*z:le-z}}else{let le=y;for(;a.at(le)&&a.at(le).mode==="text"&&!/\s/.test(a.at(le).value);)le+=z;ne=a.at(le)?le:le-z;let ce=!0;for(;a.at(le)&&ce;)ce=a.at(le).mode==="text"&&/\s/.test(a.at(le).value),ce&&(ne=le),le+=z;ne=a.at(le)?le-2*z:le-z}return ne-(z>0?0:1)}function vf(a,y,b){var z,ne,le,ce,Be,Ue,Xe;const ft=a.position;(z=b==null?void 0:b.extend)!=null&&z||a.collapseSelection(y);let Ot=a.at(a.position);if(y==="forward"&&(Ot.type==="subsup"?(Ot=Ot.rightSibling,Ot||(Ot=a.at(a.position+1))):Ot=a.at(a.position+1)),!Ot)return a.announce("plonk"),!1;let qt=a.offsetOf(Ot);if(Ot instanceof bc)qt=W0(a,qt,y);else if(Ot instanceof Cu)if(Ot.isSuggestion)for(console.assert(y==="forward");Ot&&Ot instanceof Cu;)Ot.isSuggestion=!1,qt=a.offsetOf(Ot),Ot=Ot.rightSibling;else if(y==="forward"){if(Ot=Ot.rightSibling,!Ot||!(Ot instanceof Cu))return a.announce("plonk"),!1;for(;Ot&&Ot instanceof Cu&&/[a-zA-Z\*]/.test(Ot.value);)qt=a.offsetOf(Ot),Ot=Ot.rightSibling}else{if(Ot=Ot.leftSibling,!Ot||!(Ot instanceof Cu))return a.announce("plonk"),!1;for(;Ot&&Ot instanceof Cu&&/[a-zA-Z\*]/.test(Ot.value);)qt=a.offsetOf(Ot),Ot=Ot.leftSibling}else if(y==="forward"&&Ot.type==="mopen"){let xn=0;do Ot.type==="mopen"?xn+=1:Ot.type==="mclose"&&(xn-=1),Ot=Ot.rightSibling;while(!Ot.isLastSibling&&xn!==0);qt=a.offsetOf(Ot.leftSibling)}else if(y==="backward"&&Ot.type==="mclose"){let xn=0;do Ot.type==="mopen"?xn+=1:Ot.type==="mclose"&&(xn-=1),Ot=Ot.leftSibling;while(!Ot.isFirstSibling&&xn!==0);qt=a.offsetOf(Ot)}else if(y==="backward")if(Ot.type==="first")for(;qt>0&&Ot.type==="first";)qt-=1,Ot=a.at(qt);else{const xn=Ot.type;Ot.type==="subsup"&&(qt=a.offsetOf(a.at(qt).leftSibling)),qt-=1;let On=(ne=a.at(qt))==null?void 0:ne.type;for(;qt>=0&&On===xn;)((le=a.at(qt))==null?void 0:le.type)==="subsup"?qt=a.offsetOf(a.at(qt).leftSibling):qt-=1,On=a.at(qt).type}else{const{type:xn}=Ot;let On=(ce=a.at(qt))==null?void 0:ce.type;const{lastOffset:Fr}=a;for(;qt<=Fr&&(On===xn||On==="subsup");){for(;((Be=a.at(qt).rightSibling)==null?void 0:Be.type)==="subsup";)qt=a.offsetOf(a.at(qt).rightSibling);qt+=1,On=(Ue=a.at(qt))==null?void 0:Ue.type}qt-=1}if((Xe=b==null?void 0:b.extend)!=null&&Xe){if(!a.setSelection(a.anchor,qt))return a.announce("plonk"),!1}else{if(qt===a.position)return a.announce("plonk"),!1;a.position=qt}return a.announce("move",ft),a.mathfield.stopCoalescingUndo(),!0}function hd(a,y,b){var z,ne;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[Be,Ue]=Mh(a);Be!==void 0&&Ue!==void 0&&a.deleteAtoms([Be,Ue])}if(y==="upward")return Yg(a,b);if(y==="downward")return Qg(a,b);if(b.extend){let Be=p0(a,a.position,y);Be<0&&(Be=0),Be>a.lastOffset&&(Be=a.lastOffset);const Ue=a.setSelection(a.anchor,Be);return a.mathfield.stopCoalescingUndo(),Ue}if(a.selectionIsPlaceholder){a.collapseSelection(y);const Be=hd(a,y);return a.mathfield.stopCoalescingUndo(),Be}let le=a.position;const ce=le;if(a.collapseSelection(y)?(le=a.position,Gh(a,le)||(le=p0(a,le,y))):le=p0(a,le,y),le<0||le>a.lastOffset){let Be=!0;return a.silenceNotifications||(Be=(ne=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ne:!0),Be&&a.announce("plonk"),Be}return a.setPositionHandlingPlaceholder(le),a.mathfield.stopCoalescingUndo(),a.announce("move",ce),!0}function p0(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||Gh(a,y)?y:p0(a,y,b)}function Gh(a,y){var b;const z=a.at(y);let ne=z.parent;for(;ne&&!ne.inCaptureSelection;)ne=ne.parent;return!(ne!=null&&ne.inCaptureSelection||(b=z.parent)!=null&&b.skipBoundary&&(!z.isFirstSibling&&z.isLastSibling||z.type==="first")||a.mathfield.hasEditablePrompts&&!z.parentPrompt)}function Gg(a,y,b){let z=1/0,ne=0;for(;ne<y.length;ne++){const le=qe(a.getHTMLElement(y[ne])).right,ce=Math.abs(b-le);if(ce<=z)z=ce;else break}return y[ne-1]}function g0(a,y,b,z,ne){const le=a.mathfield.hasEditablePrompts,ce=le?b.filter(Xe=>Xe.type==="prompt"&&!Xe.captureSelection):b,Be=qe(a.mathfield.getHTMLElement(y)).right,Ue=a.offsetOf(Gg(a.mathfield,ce,Be))-(le?1:0);if(z){const[Xe,ft]=a.selection.ranges[0];let Ot;Ue<(ne==="up"?Xe:ft)?Ot={ranges:[[Ue,ft]],direction:"backward"}:Ot={ranges:[[Xe,Ue]],direction:"forward"},a.setSelection(Ot)}else a.setPositionHandlingPlaceholder(Ue);a.announce(`move ${ne}`)}function Yg(a,y){var b,z;const ne=(b=y==null?void 0:y.extend)!=null?b:!1;ne||a.collapseSelection("backward");const le=()=>{var Ue,Xe;let ft=!0;return a.silenceNotifications||(ft=(Xe=(Ue=a.mathfield.host)==null?void 0:Ue.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Xe:!0),a.announce(ft?"plonk":"line"),ft},ce=a.at(a.position);let Be=ce;for(;Be&&Be.parentBranch!=="below"&&!(Array.isArray(Be.parentBranch)&&Be.parent instanceof yn);)Be=Be.parent;if(Array.isArray(Be==null?void 0:Be.parentBranch)&&Be.parent instanceof yn){const Ue=Be.parent;if(Be.parentBranch[0]<1)return le();const Xe=Be.parentBranch[0]-1,ft=Ue.array[Xe][Be.parentBranch[1]];if(!ft.some(qt=>qt.type==="prompt"&&!qt.captureSelection)&&a.mathfield.hasEditablePrompts)return le();g0(a,ce,ft,ne,"up")}else if(Be){const Ue=(z=Be.parent.branch("above"))!=null?z:Be.parent.createBranch("above");if(!Ue.some(ft=>ft.type==="prompt"&&ft.placeholderId)&&a.mathfield.hasEditablePrompts)return le();g0(a,ce,Ue,ne,"up")}else return le();return a.mathfield.stopCoalescingUndo(),!0}function Qg(a,y){var b,z;const ne=(b=y==null?void 0:y.extend)!=null?b:!1;ne||a.collapseSelection("forward");const le=()=>{var Ue,Xe;let ft=!0;return a.silenceNotifications||(ft=(Xe=(Ue=a.mathfield.host)==null?void 0:Ue.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?Xe:!0),a.announce(ft?"plonk":"line"),ft},ce=a.at(a.position);let Be=ce;for(;Be&&Be.parentBranch!=="above"&&!(Array.isArray(Be.parentBranch)&&Be.parent instanceof yn);)Be=Be.parent;if(Array.isArray(Be==null?void 0:Be.parentBranch)&&Be.parent instanceof yn){const Ue=Be.parent;if(Be.parentBranch[0]+1>Ue.array.length-1)return le();const Xe=Be.parentBranch[0]+1,ft=Ue.array[Xe][Be.parentBranch[1]];if(!ft.some(qt=>qt.type==="prompt"&&!qt.captureSelection)&&a.mathfield.hasEditablePrompts)return le();g0(a,ce,ft,ne,"down")}else if(Be){const Ue=(z=Be.parent.branch("below"))!=null?z:Be.parent.createBranch("below");if(!Ue.some(ft=>ft.type==="prompt")&&a.mathfield.hasEditablePrompts)return le();g0(a,ce,Ue,ne,"down")}else return le();return!0}function Yh(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 Jg(a){let y=0,b=a.at(a.position),z=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(z=!1):z=!0,b=b.parent;return z?y:0}function Xg(a){let y=0,b=a.at(a.position),z=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(z=!0):z=!1,b=b.parent;return z?y:0}function Qh(a){var y;if(a.collapseSelection(),Jg(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 Bu({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function Jh(a){var y;if(a.collapseSelection(),Xg(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 Bu({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 qg(){function a(Ue){const Xe=[],ft=[];return[...Ue.querySelectorAll(`input, select, textarea, a[href], button,
|
|
|
[tabindex], audio[controls], video[controls],
|
|
|
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((qt,xn)=>{const On=z(qt);On===0?Xe.push(qt):ft.push({documentOrder:xn,tabIndex:On,node:qt})}),ft.sort((qt,xn)=>qt.tabIndex===xn.tabIndex?qt.documentOrder-xn.documentOrder:qt.tabIndex-xn.tabIndex).map(qt=>qt.node).concat(Xe)}function y(Ue){return!(!b(Ue)||ne(Ue)||z(Ue)<0)}function b(Ue){return!(Ue.disabled||Ue.type==="hidden"&&Ue.tagName.toUpperCase()==="INPUT"||Be(Ue))}function z(Ue){var Xe;const ft=Number.parseInt((Xe=Ue.getAttribute("tabindex"))!=null?Xe:"NaN",10);return Number.isNaN(ft)?Ue.contentEditable==="true"||(Ue.nodeName==="AUDIO"||Ue.nodeName==="VIDEO")&&Ue.getAttribute("tabindex")===null?0:Ue.tabIndex:ft}function ne(Ue){return Ue.tagName.toUpperCase()==="INPUT"&&Ue.type==="radio"&&!ce(Ue)}function le(Ue,Xe){for(const ft of Ue)if(ft.checked&&ft.form===Xe)return ft;return null}function ce(Ue){var Xe;if(!Ue.name)return!0;const Ot=((Xe=Ue.form)!=null?Xe:Ue.ownerDocument).querySelectorAll('input[type="radio"][name="'+Ue.name+'"]'),qt=le(Ot,Ue.form);return!qt||qt===Ue}function Be(Ue){if(!we()||Ue===document.activeElement||Ue.contains(document.activeElement))return!1;if(getComputedStyle(Ue).visibility==="hidden")return!0;const Xe=Ue.getBoundingClientRect();if(Xe.width===0||Xe.height===0)return!0;for(;Ue;){if(getComputedStyle(Ue).display==="none")return!0;Ue=Ue.parentElement}return!1}return we()?a(document.body):[]}function pc(a,y,b="forward"){const z=a.position;if(Array.isArray(y)){const ne=a.offsetOf(y[0]),le=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ne,le):a.setSelection(le,ne),a.announce("move",z),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?pc(a,[y.leftSibling,y]):pc(a,[y,y.leftSibling])}function ad(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 z=a.offsetOf(y);y.type==="placeholder"?a.setSelection(z-1,z):a.position=z}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function v0(a,y,b=!0){var z,ne;const le=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&hd(a,y);let ce;const Be=a.at(a.anchor).parentPrompt;Be?y==="forward"?ce=a.offsetOf(Be)+1:ce=a.offsetOf(Be.leftSibling):ce=Math.max(a.position+le,0);const Ue=V0(a,ce,y);if(!Ue||y==="forward"&&a.offsetOf(Ue)<ce||y==="backward"&&a.offsetOf(Ue)>ce){if(!b||!((ne=(z=a.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ne))return a.announce("plonk"),!1;const ft=qg();if(!document.activeElement||ft.length<=1)return a.announce("plonk"),!1;let Ot=ft.indexOf(document.activeElement)+le;return Ot<0&&(Ot=ft.length-1),Ot>=ft.length&&(Ot=0),ft[Ot].focus(),a.mathfield.stopCoalescingUndo(),!0}return ad(a,Ue),!0}function V0(a,y=0,b="forward"){return a.findAtom(z=>z.type==="placeholder"||z.type==="prompt"||!a.mathfield.readOnly&&z.treeDepth>2&&z.isFirstSibling&&z.isLastSibling,y,b)}Mc({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:z}=b;if(!z)return a.announce("plonk"),!1;const ne=b.parentBranch;let le;if(typeof ne=="string"&&(le=y[ne]),!le){const Be=b.subsupPlacement?Jh(a):Qh(a);return a.mathfield.stopCoalescingUndo(),Be}z.branch(le)||z.createBranch(le);const ce=a.setSelection(a.getBranchRange(a.offsetOf(z),le));return a.mathfield.stopCoalescingUndo(),ce},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=>Yh(a),moveToNextChar:a=>hd(a,"forward"),moveToPreviousChar:a=>hd(a,"backward"),moveUp:a=>hd(a,"upward"),moveDown:a=>hd(a,"downward"),moveToNextWord:a=>vf(a,"forward"),moveToPreviousWord:a=>vf(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,z,ne;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return v0(a,"forward");const le=a.at(a.position);if(le.mode==="text"){if(a.selectionIsCollapsed){let qt=le;for(;qt&&qt.mode==="text";)qt=qt.leftSibling;let xn=le;for(;((y=xn.rightSibling)==null?void 0:y.mode)==="text";)xn=xn.rightSibling;if(qt&&xn)return pc(a,[qt,xn])}if(le.rightSibling.mode==="text"){let qt=le;for(;qt&&qt.mode==="text";)qt=qt.rightSibling;return qt?(ad(a,(b=qt.leftSibling)!=null?b:qt),a.mathfield.switchMode("math"),!0):ad(a,a.lastOffset)}}const Be=a.at(a.anchor).parentPrompt,Ue=Be?a.offsetOf(Be)+1:Math.max(a.position+1,0),Xe=V0(a,Ue,"forward");if(Xe)return ad(a,Xe);const ft=Xh(a,le,qt=>qt.type==="leftright"||qt.type==="text","forward");if(ft){if(ft.mode==="text"){let qt=ft;for(;qt&&qt.mode==="text";)qt=qt.rightSibling;return pc(a,[(z=ft.leftSibling)!=null?z:ft,(ne=qt.leftSibling)!=null?ne:qt])}return pc(a,ft)}const Ot=le.parent;if(Ot){if(Ot.type==="leftright"||Ot.type==="surd")return pc(a,Ot);if(le.parentBranch==="superscript"&&Ot.subscript)return pc(a,Ot.subscript);if(le.parentBranch==="above"&&Ot.below)return pc(a,Ot.below);if(le.parentBranch==="superscript"||le.parentBranch==="subscript")return ad(a,Ot);if(le.parentBranch==="above"||le.parentBranch==="below")return pc(a,Ot)}return ad(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return v0(a,"backward");let b=a.at(a.position);const z=b.mode;if(z==="text"){if(a.selectionIsCollapsed){let Be=b;for(;Be&&Be.mode==="text";)Be=Be.leftSibling;let Ue=b;for(;((y=Ue.rightSibling)==null?void 0:y.mode)==="text";)Ue=Ue.rightSibling;if(Be&&Ue)return pc(a,[Be,Ue])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?ad(a,b):ad(a,0)}const ne=a.at(a.anchor).parentPrompt,le=ne?a.offsetOf(ne.leftSibling):Math.max(a.position-1,0),ce=V0(a,le,"backward");if(ce)return ad(a,ce);if(z==="math"){const Be=Xh(a,b,Xe=>Xe.type==="leftright"||Xe.type==="text","backward");if(Be){if(Be.mode==="text"){let Xe=Be;for(;Xe&&Xe.mode==="text";)Xe=Xe.leftSibling;return pc(a,[Be,Xe])}return pc(a,Be)}const Ue=b.parent;if(Ue){if(Ue.type==="leftright"||Ue.type==="surd")return pc(a,Ue);if(b.parentBranch==="subscript"&&Ue.superscript)return pc(a,Ue.superscript);if(b.parentBranch==="below"&&Ue.above)return pc(a,Ue.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return ad(a,Ue);if(b.parentBranch==="above"||b.parentBranch==="below")return pc(a,Ue)}return ad(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:Qh,moveToSubscript:Jh},{target:"model",changeSelection:!0}),Mc({moveToNextPlaceholder:a=>v0(a,"forward"),moveToPreviousPlaceholder:a=>v0(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function Xh(a,y,b,z){if(z==="forward"){let le=y.rightSibling;for(;le&&!b(le);)le=le.rightSibling;return le}let ne=y.leftSibling;for(;ne&&!b(ne);)ne=ne.leftSibling;return ne}function y0(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,ne=!1,le="";for(;!ne;){const ce=a.at(z);ne=y===0||ce===void 0||ce.type==="first"||ce.mode!=="math"||!(ce.type&&/mord|mpunct|operator/.test(ce.type)||ce.type==="mop"&&/[a-zA-Z ]+/.test(ce.value))||!ce.hasEmptyBranch("superscript")||!ce.hasEmptyBranch("subscript")||typeof b=="function"&&!b(ce),ne||(ce.mode="text",ce.command=ce.value,ce.verbatimLatex=void 0,le+=ce.value),z-=1,y-=1}a.contentDidChange({data:le,inputType:"insertText"})}function nf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let z=a.position,ne=!1;const le=[];for(;!ne;){const ce=a.at(z);ne=y===0||!ce||ce.type==="first"||ce.isFirstSibling||ce.mode!=="text"||ce.value===" "||typeof b=="function"&&!b(ce),ne||(le.push(ri.serialize([ce],{defaultMode:"math"})),ce.mode="math"),z-=1,y-=1}U0(a),a.contentDidChange({data:ml(le),inputType:"insertText"})}function U0(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 z=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=z,a.contentDidChange({inputType:"deleteContent"})}}function $g(a){let y="",b=a.position,z=!1;for(;!z;){const ne=a.at(b);z=!(ne&&(ne.mode==="text"||ne.mode==="math"&&ne.type&&/mord|mpunct/.test(ne.type))),z||(y=ne.value+y),b-=1}return y}function ev(a,y,b){const{model:z}=a;if(z.mode==="latex"||!z.at(z.position).isLastSibling||!b||!qf(b))return!1;const ne=df(b);if(!z.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ne));const le=$g(z)+ne;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ne))return!0;if(/[\^_]/.test(ne))return/(^|\s)[a-zA-Z][^_]$/.test(le)&&nf(z,1),!0;const ce={")":"(","}":"{","]":"["}[ne],{parent:Be}=z.at(z.position);if(ce&&Be instanceof zo&&Be.leftDelim===ce)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(le))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ne))return!0;if(/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(le))return nf(z,1),!1;if(/\D\.[^\d\s]$/.test(le)){nf(z,1);const Ue=z.at(z.position);return Ue.value="\u22C5",Ue.style.variant="normal",Ue.command="\\cdot",Ue.verbatimLatex=void 0,z.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(le)||/\.\d$/.test(le)||/\([\d+\-.]$/.test(le))return nf(z,1),!0;if(/\([a-z][,;]$/.test(le))return nf(z,2),!0;if(/[\d+\-=><*|]$/.test(ne))return U0(z),!0}else{if(y==="[Space]")return y0(z,void 0,ce=>/[a-z][:,;.]$/.test(ce.value)),!0;if(/[a-zA-Z]{3,}$/.test(le)&&!/(dxd|abc|xyz|uvw)$/.test(le))return y0(z,void 0,ce=>/[a-zA-Z]/.test(ce.value)),!0;if(/(^|\W)(if)$/i.test(le))return y0(z,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(le)&&!/(αβγ)$/.test(le))return y0(z,void 0,ce=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(ce.value)),!0;if(ne==="?"||ne==="."&&!/[\d-+]\.$/.test(le))return!0}return!1}function tv(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=qh(),z=a.element.getBoundingClientRect();b.style.left=`${z.left}px`,b.style.top=`${z.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(O0(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 nv(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=qh();y.innerHTML=""}else{const y=t0("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function qh(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(Va("keystroke-caption"),Va("core"),t0("mathlive-keystroke-caption-panel"))}function rv(){document.getElementById("mathlive-keystroke-caption-panel")&&(T0("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function $h(a,y){var b,z,ne;const{model:le}=a,ce=Dh(y);if(y.isTrusted){Up(y);const xn=If();a.keyboardLayout!==xn.id&&(a.keyboardLayout=xn.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,tv(a,ce),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let Be,Ue="",Xe;const ft=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(le.mode==="math")if(ce==="[Backspace]")ft.pop();else if(!qf(y))a.flushInlineShortcutBuffer();else{const xn=df(y),On=[...(z=(b=ft[ft.length-1])==null?void 0:b.keystrokes)!=null?z:[],xn];ft.push({state:le.getState(),keystrokes:On,leftSiblings:iv(a)});let Fr=0,oa="";for(;!Be&&Fr<On.length;)Xe=ft.length-(On.length-Fr),oa=On.slice(Fr).join(""),Be=Wu(ft[Xe].leftSiblings,oa,a.options.inlineShortcuts),!Be&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(oa)&&(Be=a.options.onInlineShortcut(a,oa)),Fr+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(Be?a.switchMode("math"):ev(a,ce,y)&&(a.switchMode({math:"text",text:"math"}[le.mode]),Ue=""))}if(!Be){if(Ue||(Ue=$p(a.keybindings,le.mode,y)),!Ue&&(ce==="[Enter]"||ce==="[Return]")){let xn=!1;return le.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(xn=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),xn||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),le.contentDidChange({inputType:"insertLineBreak"})),xn}if((!Ue||ce==="[Space]")&&le.mode==="math"){if(ce==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return Jo.insert(le,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),Ue="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const xn=le.at(le.position+1),On=le.at(le.position-1);if((xn==null?void 0:xn.mode)==="text"||(On==null?void 0:On.mode)==="text")return Jo.insert(le," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ne=le.at(le.position))!=null&&ne.isDigit()&&window.MathfieldElement.decimalSeparator===","&&df(y)===","&&(Ue="insertDecimalSeparator")}}if(!Be&&!Ue){if(le.mathfield.smartFence){if(Y0(le,df(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:xn}=le.at(le.position);if(xn instanceof zo&&xn.rightDelim==="?"&&le.at(le.position).isLastSibling&&/^[)}\]|]$/.test(ce))return a.snapshot(),xn.isDirty=!0,xn.rightDelim=ce,le.position+=1,le.selectionDidChange(),le.contentDidChange({data:df(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!le.selectionIsCollapsed){const On=df(y);if(On==="("||On==="{"||On==="["){const Fr={"(":"(","{":"\\lbrace","[":"\\lbrack"}[On],oa={"(":")","{":"\\rbrace","[":"\\rbrack"}[On],[Mr,Ci]=uu(le.selection);return a.snapshot(),le.position=Ci,Jo.insert(le,oa,{format:"latex"}),le.position=Mr,Jo.insert(le,Fr,{format:"latex"}),le.setSelection(Mr+1,Ci+1),le.contentDidChange({data:On,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const Ot=le.at(Math.max(le.position,le.anchor)),{parent:qt}=Ot;if(Ue==="moveAfterParent"&&(qt==null?void 0:qt.type)==="leftright"&&Ot.isLastSibling&&a.options.smartFence&&Y0(le,".",a.defaultStyle)&&(Ue="",cu(a)),a.keyboardDelegate.cancelComposition(),Ue)a.executeCommand(Ue);else if(Be){const xn=a.effectiveStyle;le.setState(ft[Xe].state);const On=ft[ft.length-1].keystrokes;for(const Fr of On)Jo.insert(le,Fr,{silenceNotifications:!0,style:xn});a.snapshot("insert-shortcut"),le.setState(ft[Xe].state),le.deferNotifications({content:!0,selection:!0,data:Be,type:"insertText"},()=>(Jo.insert(le,Be,{format:"latex",style:xn}),U0(a.model),Be.endsWith(" ")&&(a.switchMode("text"),Jo.insert(le," ",{style:xn,mode:"text"})),a.snapshot(),le.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,le.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function G0(a,y,b){const{model:z}=a;if(!a.isSelectionEditable){z.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 ne=ju(y);const le=window.mathVirtualKeyboard;if(le!=null&&le.isShifted&&(ne=typeof ne=="string"?ne.toUpperCase():ne.map(Ue=>Ue.toUpperCase())),b.simulateKeystroke){let Ue=!0;for(const Xe of ne)$h(a,new KeyboardEvent("keypress",{key:Xe}))&&(Ue=!1);if(Ue)return}const ce=z.at(z.position),Be=be(be({},ce.computedStyle),a.defaultStyle);if(z.selectionIsCollapsed||(z.deleteAtoms(uu(z.selection)),a.snapshot("delete")),z.mode==="latex")z.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{e0(a);for(const Ue of ne)Jo.insert(z,Ue);a.snapshot("insert-latex"),_f(a)});else if(z.mode==="text"){for(const Ue of ne)Jo.insert(z,Ue,{style:Be});a.snapshot("insert-text")}else if(z.mode==="math")for(const Ue of ne)av(a,Ue,Be,ce);a.dirty=!0,a.scrollIntoView()}function iv(a){const y=a.model,b=[];let z=y.at(Math.min(y.position,y.anchor));for(;z.type!=="first";)b.push(z),z=z.leftSibling;return b}function av(a,y,b,z){const ne=a.model;let le={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(le=["insert",a.options.mathModeSpace]),le){a.executeCommand(le);return}if(/\d/.test(y)&&a.options.smartSuperscript&&z.parentBranch==="superscript"&&z.parent.type!=="mop"&&z.parent.type!=="operator"&&z.parent.type!=="extensible-symbol"&&z.hasNoSiblings){ov(ne),Jo.insert(ne,y,{style:b}),a.snapshot(),Yh(ne),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const ce=a.adoptStyle==="left"?z:z.parent?z.rightSibling:null;(ce==null?void 0:ce.type)==="mord"&&/[a-zA-Z0-9]/.test(ce.value)&&(b=be({},b),ce.style.variant&&(b.variant=ce.style.variant),ce.style.variantStyle&&(b.variantStyle=ce.style.variantStyle))}Jo.insert(ne,y,{style:b}),a.snapshot(`insert-${ne.at(ne.position).type}`)}function ov(a){a.selectionIsCollapsed||(a.deleteAtoms(uu(a.selection)),a.mathfield.snapshot("delete"))}function Y0(a,y,b){if(!y||a.mode!=="math")return!1;const z=a.at(a.position),{parent:ne}=z,le={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!le)return!1;const ce=re[le],Be=ie[le];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[Ue,Xe]=uu(a.selection),ft=a.extractAtoms([Ue,Xe]),Ot=ne.addChildrenAfter([new zo("left...right",ft,{leftDelim:le,rightDelim:Be})],a.at(Ue));return a.setSelection(a.offsetOf(Ot.firstChild),a.offsetOf(Ot.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:le,inputType:"insertText"}),!0}if(le==="|"){const Ue=ne instanceof zo?ne.leftDelim+ne.rightDelim:"";if(Ue==="\\lbrace\\rbrace"||Ue==="\\{\\}"||Ue==="\\lbrace?")return a.mathfield.snapshot(),Jo.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:le,inputType:"insertText"}),!0}if(Be){if(ne instanceof zo&&ne.firstChild===z&&(ne.leftDelim==="?"||ne.leftDelim==="."))return ne.leftDelim=le,ne.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ne instanceof zo)){let Ot=z;for(;Ot&&!(Ot.type==="mclose"&&Ot.value===Be);)Ot=Ot.rightSibling;if(Ot){a.mathfield.snapshot();const qt=a.extractAtoms([a.offsetOf(z),a.offsetOf(Ot)]);return qt.pop(),ne.addChildrenAfter([new zo("left...right",qt,{leftDelim:le,rightDelim:Be})],z),a.position=a.offsetOf(ne.firstChild)+1,a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const Ue=a.offsetOf(z.lastSibling);let Xe;for(Xe=a.position;Xe<=Ue;Xe++){const Ot=a.at(Xe);if(Ot instanceof zo&&(Ot.leftDelim==="?"||Ot.leftDelim===".")&&em(le,Ot.rightDelim))break}const ft=a.at(Xe);if(Xe<=Ue&&ft instanceof zo){ft.leftDelim=le,a.mathfield.snapshot();let Ot=a.extractAtoms([a.position,Xe-1]);return Ot=Ot.filter(qt=>qt.type!=="first"),ft.addChildren(Ot,ft.parentBranch),a.position+=1,a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ne instanceof zo&&(ne.leftDelim==="?"||ne.leftDelim===".")&&em(le,ne.rightDelim)){ne.isDirty=!0,ne.leftDelim=le,a.mathfield.snapshot();const Ot=a.extractAtoms([a.offsetOf(z.firstSibling),a.position]);for(const qt of Ot)ne.parent.addChildBefore(qt,ne);return a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ne instanceof zo&&ne.leftDelim==="|")){if(a.mathfield.snapshot(),Jo.insert(a,`\\left${le}\\right?`,{format:"latex",style:b}),z.lastSibling.type!=="first"){const Ot=a.offsetOf(z.lastSibling),qt=a.extractAtoms([a.position,Ot]);a.at(a.position).body=qt,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(ce){let Ue=z;for(;Ue;){if(Ue.type==="mopen"&&Ue.value===ce){a.mathfield.snapshot();const xn=Ue.leftSibling,On=a.extractAtoms([a.offsetOf(Ue.leftSibling),a.offsetOf(z)]);On.shift();const Fr=new zo("left...right",On,{leftDelim:ce,rightDelim:le});return ne.addChildrenAfter([Fr],xn),a.position=a.offsetOf(Fr),a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}Ue=Ue.leftSibling}if(ne instanceof zo&&z.isLastSibling&&Q0(ne.leftDelim,le))return a.mathfield.snapshot(),ne.isDirty=!0,ne.rightDelim=le,a.position+=1,a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const Xe=a.offsetOf(z.firstSibling);let ft;for(ft=a.position;ft>=Xe;ft--){const xn=a.at(ft);if(xn instanceof zo&&(xn.rightDelim==="?"||xn.rightDelim===".")&&Q0(xn.leftDelim,le))break}const Ot=a.at(ft);if(ft>=Xe&&Ot instanceof zo)return a.mathfield.snapshot(),Ot.rightDelim=le,Ot.addChildren(a.extractAtoms([ft,a.position]),Ot.parentBranch),a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ne instanceof zo&&(ne.rightDelim==="?"||ne.rightDelim===".")&&Q0(ne.leftDelim,le))return a.mathfield.snapshot(),ne.isDirty=!0,ne.rightDelim=le,ne.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(z.lastSibling)]),ne.parentBranch),a.position=a.offsetOf(ne),a.contentDidChange({data:le,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const qt=ne.parent;return qt instanceof zo&&(qt.rightDelim==="?"||qt.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(qt),Y0(a,le,b)):!1}return!1}function Q0(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ie[a]===y:!0}function em(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):re[y]===a:!0}Mc({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:nv,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,z)=>(a.switchMode(y,b,z),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(G0(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 z=a.getPrompts();let ne="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),le=0;for(;z.includes(ne)&&le<100;){if(le===99)return console.error("could not find a unique ID after 100 tries"),!1;ne="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),le++}return a.insert(`\\placeholder[${y!=null?y:ne}]{}`,b),!0}}),Mc({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"}),Mc({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})&&(_f(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),cu(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function lv(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=J0(a,y),{model:z}=a;return z.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=be(be({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{z.selection.ranges.forEach(ne=>Z0(z,ne,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Mc({applyStyle:lv},{target:"mathfield",canUndo:!0,changeContent:!0});function J0(a,y){var b,z,ne,le,ce,Be,Ue,Xe,ft,Ot;const qt={};if(typeof y.color=="string"){const On=(z=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?z:"none";On!==y.color&&(qt.verbatimColor=(ne=y.verbatimColor)!=null?ne:y.color),qt.color=On}if(typeof y.backgroundColor=="string"){const On=(ce=a.backgroundColorMap((le=y.backgroundColor)!=null?le:y.verbatimBackgroundColor))!=null?ce:"none";On!==y.backgroundColor&&(qt.verbatimBackgroundColor=(Be=y.verbatimBackgroundColor)!=null?Be:y.backgroundColor),qt.backgroundColor=On}typeof y.fontFamily=="string"&&(qt.fontFamily=y.fontFamily),typeof y.series=="string"&&(qt.fontSeries=y.series),typeof y.fontSeries=="string"&&(qt.fontSeries=y.fontSeries.toLowerCase()),qt.fontSeries&&(qt.fontSeries=(Ue={bold:"b",medium:"m",normal:"m"}[qt.fontSeries])!=null?Ue:qt.fontSeries),typeof y.shape=="string"&&(qt.fontShape=y.shape),typeof y.fontShape=="string"&&(qt.fontShape=y.fontShape.toLowerCase()),qt.fontShape&&(qt.fontShape=(Xe={italic:"it",up:"n",upright:"n",normal:"n"}[qt.fontShape])!=null?Xe:qt.fontShape),y.variant&&(qt.variant=y.variant.toLowerCase()),y.variantStyle&&(qt.variantStyle=y.variantStyle.toLowerCase());const xn=(ft=y.size)!=null?ft:y.fontSize;return typeof xn=="number"?qt.fontSize=Math.max(1,Math.min(10,xn)):typeof xn=="string"&&(qt.fontSize=(Ot={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[xn.toLowerCase()])!=null?Ot:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[xn]),qt}function X0(a){let[y,b]=uu(a.selection);if(y=tm(a,y,"backward"),b=tm(a,b,"forward"),y===b){const z=a.at(y);if(z.type==="leftright")return a.setSelection(a.offsetOf(z.firstChild)-1,b);if(z.type==="first"&&(z.parent.type==="leftright"||z.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(z.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function tm(a,y,b){var z,ne,le;let ce=a.at(y);if(!ce)return y;const Be=b==="forward"?1:-1;if(ce.mode==="text"){for(;ce&&!(ce.mode!=="text"||!ye.test(ce.value));)y+=Be,ce=a.at(y);return b==="backward"?y-1:y}if(ce.mode==="latex"){if(/[a-zA-Z\*]/.test(ce.value))if(b==="backward")for(;ce&&ce.mode==="latex"&&ce.value!=="\\"&&/[a-zA-Z]/.test(ce.value);)y+=Be,ce=a.at(y);else for(;ce&&ce.mode==="latex"&&/[a-zA-Z\*]/.test(ce.value);)y+=Be,ce=a.at(y);else if(ce.value==="{"){if(b==="forward"){for(;ce&&ce.mode==="latex"&&ce.value!=="}";)y+=Be,ce=a.at(y);return y}return y-1}else if(ce.value==="}"){if(b==="backward"){for(;ce&&ce.mode==="latex"&&ce.value!=="{";)y+=Be,ce=a.at(y);return y-1}return y}return y-1}if(ce.mode==="math"){if(ce.isDigit()){for(;(z=a.at(y+Be))!=null&&z.isDigit();)y+=Be;return b==="backward"?y-1:y}if(ce.style.variant||ce.style.variantStyle){let Ue=(ne=a.at(y))==null?void 0:ne.style;for(;Ue&&Ue.variant===ce.style.variant&&Ue.variantStyle===ce.style.variantStyle;)Ue=(le=a.at(y+Be))==null?void 0:le.style,y+=Be;return b==="backward"?y-1:y}return y}return y}Mc({selectGroup:a=>{const y=X0(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>hd(a,"forward",{extend:!0}),extendSelectionBackward:a=>hd(a,"backward",{extend:!0}),extendToNextWord:a=>vf(a,"forward",{extend:!0}),extendToPreviousWord:a=>vf(a,"backward",{extend:!0}),extendSelectionUpward:a=>hd(a,"upward",{extend:!0}),extendSelectionDownward:a=>hd(a,"downward",{extend:!0}),extendToNextBoundary:a=>vf(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>vf(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 rf=null,jf=0,b0=class Qc{static start(y,b,z,ne){var le;Qc.element=y,(le=Qc.controller)==null||le.abort(),Qc.controller=new AbortController;const ce={signal:Qc.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",z,ce),y.addEventListener("pointerup",ne,ce),y.addEventListener("pointercancel",ne,ce),q0(b)&&(Qc.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",z,ce),window.addEventListener("blur",ne,ce),window.addEventListener("mouseup",ne,ce))}static stop(){var y;(y=Qc.controller)==null||y.abort(),Qc.controller=void 0,typeof Qc.pointerId=="number"&&(Qc.element.releasePointerCapture(Qc.pointerId),Qc.pointerId=void 0)}};function q0(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function nm(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const z=a;let ne,le=!1,ce=!1,Be="none",Ue=!1,Xe=!1;const ft=y.clientX,Ot=y.clientY,qt=Date.now(),xn=z.field,On=setInterval(()=>{Ue?xn.scroll({top:0,left:xn.scrollLeft-16}):Xe&&xn.scroll({top:0,left:xn.scrollLeft+16})},32);function Fr(){b0.stop(),le=!1,clearInterval(On),a.element.classList.remove("tracking"),y&&y.preventDefault()}function oa(Ci){if(!z.hasFocus()){Fr();return}const ca=Ci.clientX,Ri=Ci.clientY,uo=q0(Ci)&&Ci.pointerType==="touch"?20:5;if(Date.now()<qt+500&&Math.abs(ft-ca)<uo&&Math.abs(Ot-Ri)<uo){Ci.preventDefault(),Ci.stopPropagation();return}const Fo=xn.getBoundingClientRect();Xe=ca>Fo.right,Ue=ca<Fo.left;let Eo=ne;q0(Ci)&&(Ci.isPrimary||(Eo=Zf(z,Ci.clientX,Ci.clientY,{bias:0})));const ql=Zf(z,ca,Ri,{bias:ca<=ft?ca===ft?0:-1:1});Eo>=0&&ql>=0&&(z.model.extendSelectionTo(Eo,ql),cu(a)),ce&&X0(z.model)}rf&&Math.abs(rf.x-ft)<5&&Math.abs(rf.y-Ot)<5&&Date.now()<rf.time+500?(jf+=1,rf.time=qt):(rf={x:ft,y:Ot,time:qt},jf=1);const Mr=xn.getBoundingClientRect();if(ft>=Mr.left&&ft<=Mr.right&&Ot>=Mr.top&&Ot<=Mr.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ne=Zf(a,ft,Ot,{bias:0}),ne>=0){if(a.element.classList.add("tracking"),y.shiftKey){const Ci=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ne),Fh(a.model)||Ci?Be="all":Be="selection"}else a.model.at(ne).type==="placeholder"?(a.model.setSelection(ne-1,ne),Be="selection"):((b=a.model.at(ne).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ne,ne+1),Be="selection"):(a.model.position=ne,Fh(a.model)?Be="all":Be="selection");a.defaultStyle={},y.detail===3||jf>2?(Fr(),(y.detail===3||jf===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},Be="all")):le||(le=!0,b0.start(xn,y,oa,Fr),(y.detail===2||jf===2)&&(ce=!0,X0(a.model),Be="all"))}a.hasFocus()||(Be="none",a.focus({preventScroll:!0}))}else rf=null;a.stopCoalescingUndo(),Be!=="none"&&(a.model.selectionIsCollapsed&&(Be="all"),cu(a)),y.preventDefault()}function sv(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const z=a-(b.left+b.right)/2,ne=y-(b.top+b.bottom)/2;return z*z+ne*ne}function rm(a,y,b,z,ne){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const le=ud(a,b);if(!le)return[1/0,null];let ce=[1/0,null];if(b.hasChildren&&!b.captureSelection&&z>=le.left&&z<=le.right)for(const Be of b.children){const Ue=rm(a,y,Be,z,ne);Ue[0]<=ce[0]&&(ce=Ue)}return ce[1]||(ce=[sv(z,ne,le),b]),y.set(b.id,ce),ce}function uv(a,y,b){const[,z]=rm(a,new Map,a.model.root,y,b);return z}function Zf(a,y,b,z){var ne;const le=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!le)return 0;if(y>le.right||b>le.bottom+8)return a.model.lastOffset;if(y<le.left||b<le.top-8)return 0;z=z!=null?z:{},z.bias=(ne=z.bias)!=null?ne:0;let ce=uv(a,y,b);const Be=[];let Ue=ce;for(;Ue;)Be.unshift(Ue),Ue=Ue.parent;for(const ft of Be)if(ft.captureSelection){ce=ft;break}let Xe=a.model.offsetOf(ce);if(Xe<0)return-1;if(ce.leftSibling)if(z.bias===0&&ce.type!=="placeholder"){const ft=ud(a,ce);ft&&y<(ft.left+ft.right)/2&&(Xe=a.model.offsetOf(ce.leftSibling))}else z.bias<0&&(Xe=a.model.offsetOf(ce.leftSibling));return Xe}var cv=class extends Jo{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="",z="auto",ne=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ne)try{const le=JSON.parse(ne);if(le&&Array.isArray(le)){a.snapshot();const ce=Nd(le),{model:Be}=a;Be.selectionIsCollapsed||Be.deleteAtoms(uu(Be.selection));const Ue=Be.at(Be.position);if(Ue.parent instanceof yn){console.assert(Ue.parentBranch!==void 0);const Xe=[];let ft=[];ce[0].type==="first"&&ce.shift(),ce[ce.length-1].type==="first"&&ce.pop();for(const On of ce)On.type==="first"&&ft.length>0?(Xe.push(ft),ft=[On]):ft.push(On);ft.length>0&&Xe.push(ft);let Ot=Number(Ue.parentBranch[0]),qt=Number(Ue.parentBranch[1]);const xn=Ue.parent.maxColumns;for(;Ue.parent.colCount-qt<Xe.length&&Ue.parent.colCount<xn;)Ue.parent.addColumn();Ue.parent.addChildrenAfter(Xe[0],Ue);for(let On=1;On<Xe.length;On++)qt++,qt>=xn&&(qt=0,Ue.parent.addRowAfter(Ot),Ot++),Ue.parent.setCell(Ot,qt,Xe[On])}else Ue.parent.addChildrenAfter(ce.filter(Xe=>Xe.type!=="first"),Ue);return Be.position=Be.offsetOf(ce[ce.length-1]),Be.contentDidChange({inputType:"insertFromPaste"}),cu(a),!0}}catch(le){}if(ne=typeof y!="string"?y.getData("application/json"):"",ne&&window.MathfieldElement.computeEngine)try{const le=JSON.parse(ne);if(typeof le=="object"&&"latex"in le&&le.latex&&(b=le.latex),!b){const ce=window.MathfieldElement.computeEngine.box(le);ce&&!ce.has("Error")&&(b=ce.latex)}b||(z="latex")}catch(le){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(z="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let le;return[le,b]=mu(b),z==="auto"&&le&&(z="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:z})&&(a.startRecording(),a.snapshot("paste"),cu(a)),a.startRecording(),!0}return!1}insert(a,y,b){var z,ne;const le=typeof y=="string"?y:(ne=(z=window.MathfieldElement.computeEngine)==null?void 0:z.box(y).latex)!=null?ne:"";if(!b.silenceNotifications&&!a.contentWillChange({data:le,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:ce}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const Be=a.silenceNotifications;a.silenceNotifications=!0;const Ue={"?":"\\placeholder{}","@":"\\placeholder{}"};Ue[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(uu(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 Xe=-1;Ue[0]?Ue["@"]=Ue[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(Xe=fv(a),Xe>=0&&(Ue["@"]=a.getValue(Xe,a.position,"latex"))),Ue[0]||(Ue[0]=Ue["?"]);let ft=!1;const Ot=ca=>(ft=!0,Ue[ca]);let[qt,xn]=im(a,y,Ot,b);if(!xn)return!1;const On=xn.length===1&&xn[0].type==="genfrac";On&&Xe>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(Ue["@"]=Ue["?"],ft=!1,[qt,xn]=im(a,y,Ot,b)):Xe>=0&&a.deleteAtoms([Xe,a.position]);const{parent:Fr}=a.at(a.position),oa=Fr.hasEmptyBranch("body");if(On&&qt!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Fr instanceof zo&&Fr.leftDelim==="("&&oa){const ca=Fr.parent,Ri=Fr.parentBranch;ca.removeChild(Fr),ca.setChildren(xn,Ri)}const Mr=a.at(a.position);Mr.parent.addChildrenAfter(xn,Mr),qt==="latex"&&typeof y=="string"&&(Fr==null?void 0:Fr.type)==="root"&&oa&&!ft&&(Fr.verbatimLatex=y),a.silenceNotifications=Be;const Ci=xn[xn.length-1];if(b.selectionMode==="placeholder"){const ca=xn.flatMap(Ri=>[Ri,...Ri.children]).find(Ri=>Ri.type==="placeholder");if(ca){const Ri=a.offsetOf(ca);a.setSelection(Ri-1,Ri),a.announce("move")}else Ci&&(a.position=a.offsetOf(Ci))}else b.selectionMode==="before"||(b.selectionMode==="after"?Ci&&(a.position=a.offsetOf(Ci)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(Ci)));return a.contentDidChange({data:le,inputType:"insertText"}),a.silenceNotifications=ce,!0}};function im(a,y,b,z){var ne;let le,ce=[];if(typeof y!="string"||z.format==="math-json"){const Be=window.MathfieldElement.computeEngine;if(!Be)return["math-json",[]];[le,y]=["latex",Be.box(y).latex],ce=Wi(y,{context:a.mathfield.context})}else typeof y=="string"&&z.format==="ascii-math"?([le,y]=fo(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),ce=Wi(y,{context:a.mathfield.context}),le!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&x0(ce)):(z.format==="auto"||(ne=z.format)!=null&&ne.startsWith("latex"))&&(z.format==="auto"&&([le,y]=fo(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),z.format==="latex"&&([,y]=mu(y)),ce=Wi(y,{context:a.mathfield.context,args:b}),z.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&x0(ce));return zd(ce,z.style),[le!=null?le:"latex",ce]}function dv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof zo&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function x0(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof zo&&b.leftDelim==="("){let z=0,ne=0,le=0;for(let ce=0;b.body[ce];ce++)b.body[ce].type==="genfrac"&&(z++,ne=ce),le++;le===0&&z===1&&(a[y]=b.body[ne])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){x0(y.branch(b));const z=dv(y.branch(b));z&&y.setChildren(z,b)}if(y instanceof yn)for(const b of y.cells)x0(b)}}}function fv(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 z=!1;if(y.type==="mclose"){const ne=re[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ne);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),z=!0}else y.type==="leftright"&&(y=y.leftSibling,z=!0);if(z)for(;!y.isFirstSibling&&(y.isFunction||am(y));)y=y.leftSibling;else{const ne=[];for(;!y.isFirstSibling&&(am(y)||ne.length>0);)y.type==="mclose"&&ne.unshift(y.value),y.type==="mopen"&&ne.length>0&&y.value===re[ne[0]]&&ne.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function am(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new cv;var hv=class extends Jo{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"),cu(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:z}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ne=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(uu(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 le=mv(y,a.mathfield.context);if(zd(le,b.style),!le)return!1;const ce=a.at(a.position),Be=ce.parent.addChildrenAfter(le,ce);return a.silenceNotifications=ne,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(Be)):Be&&(a.position=a.offsetOf(Be))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=z,!0}};function mv(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 "),Wi(a,{context:y,parseMode:"text"})}new hv;function md(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var Gs=4,Ec=20,Mu=2*(Ec+Gs),E0=(a,y)=>`
|
|
|
<line x1="${a+Ec}" y1="${y+Ec}"
|
|
|
x2="${a>y?a+Ec:7*Ec+10*Gs}"
|
|
|
y2="${a<y?y+Ec:7*Ec+10*Gs}"/>
|
|
|
<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>`,om=(a,y)=>`
|
|
|
<line x1="${a+Ec}" y1="${y+Ec}"
|
|
|
x2="${a>y?a+Ec:7*Ec+10*Gs}"
|
|
|
y2="${a<y?y+Ec:7*Ec+10*Gs}"/>
|
|
|
<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>`,C0=(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>`,pv=`
|
|
|
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
viewBox=
|
|
|
"-2 -2 ${8*Ec+10*Gs+5} ${8*Ec+10*Gs+5}">
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background rows"
|
|
|
x="0"
|
|
|
y="${Mu+Gs}"
|
|
|
height="${3*Mu}"
|
|
|
width="${Mu}"
|
|
|
rx="${Mu/2}"/>
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background columns"
|
|
|
x="${Mu+Gs}"
|
|
|
y="0"
|
|
|
height="${Mu}"
|
|
|
width="${3*Mu}"
|
|
|
rx="${Mu/2}"/>
|
|
|
<g data-command='"moveDown"'>
|
|
|
${C0(2*(Gs+Mu),2*Gs+3*Mu,0)}
|
|
|
</g>
|
|
|
<g data-command='"moveUp"'>
|
|
|
${C0(2*(Gs+Mu),2*Gs+Mu,180)}
|
|
|
</g>
|
|
|
<g data-command='"moveToNextWord"'>
|
|
|
${C0(2*Gs+3*Mu,2*(Gs+Mu),-90)}
|
|
|
</g>
|
|
|
<g data-command='"moveToPreviousWord"'>
|
|
|
${C0(2*Gs+Mu,2*(Gs+Mu),90)}
|
|
|
</g>
|
|
|
<g>
|
|
|
|
|
|
<g data-command='"addColumnBefore"'>
|
|
|
${E0(2*Gs+Mu,Gs)}
|
|
|
</g>
|
|
|
<g data-command='"removeColumn"'>
|
|
|
${om(2*Gs+2*Mu,Gs)}
|
|
|
</g>
|
|
|
<g data-command='"addColumnAfter"'>
|
|
|
${E0(2*Gs+3*Mu,Gs)}
|
|
|
</g>
|
|
|
<g data-command='"addRowBefore"'>
|
|
|
${E0(Gs,2*Gs+Mu)}
|
|
|
</g>
|
|
|
<g data-command='"removeRow"'>
|
|
|
${om(Gs,2*Gs+2*Mu)}
|
|
|
</g>
|
|
|
<g data-command='"addRowAfter"'>
|
|
|
${E0(Gs,2*Gs+3*Mu)}
|
|
|
</g>
|
|
|
</svg>`,gv=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>`,vv=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>`,lm=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>`,yv=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>`,bv=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>`,xv=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>`,Ev=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>`,Cv=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>`,$0={matrix:gv,pmatrix:vv,bmatrix:yv,Bmatrix:lm,vmatrix:bv,Vmatrix:xv},eh={cases:Ev,rcases:Cv,Bmatrix:lm};function wv(a){var y,b;const z=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!z)return;let ne=0;z.forEach(On=>{(!ne||On.length>ne)&&(ne=On.length)});let le=document.getElementById("mathlive-environment-popover");le||(le=t0("mathlive-environment-popover"),Va("environment-popover"),Va("core"),le.setAttribute("aria-hidden","true"));let ce;const Be=le.querySelector(".MLEP__environment-controls");Be?ce=Be:(ce=document.createElement("div"),le.innerHTML="",le.appendChild(ce)),ce.className="MLEP__environment-controls",ce.style.display="flex",ce.style.width="100%",ce.style.height="100%",ce.style.boxSizing="border-box",ce.innerHTML=pv;let Ue=[],Xe="";const ft=a.model.parentEnvironment.environmentName;if(So(ft)){const On=Av(ft);Xe=$0[On]("active");const Fr=$0,{[On]:oa}=Fr,Mr=rt(Fr,[He(On)]);Ue=Object.values(Mr).map(Ci=>Ci("inactive"))}else if(pl(ft)){const On=Dv(ft);Xe=eh[On]("active");const Fr=eh,{[On]:oa}=Fr,Mr=rt(Fr,[He(On)]);Ue=Object.values(Mr).map(Ci=>Ci("inactive"))}else ho(ft)&&(Xe=$0.matrix("active"),Ue=Object.values(eh).map(On=>On("inactive")));const Ot=document.createElement("div");Ot.className="MLEP__environment-delimiter-controls",Ot.style.display="flex",Ot.style.flexDirection="column",Ot.innerHTML=`
|
|
|
<div class='MLEP__array-delimiter-options'>
|
|
|
${Xe}
|
|
|
${Ue.join("")}
|
|
|
</div>`,Xe&&ce.appendChild(Ot),ce.querySelectorAll("[data-command]").forEach(On=>{const Fr=On.dataset.command;let oa=Fr;try{oa=JSON.parse(Fr)}catch(Mr){}On.addEventListener("mousedown",Mr=>Mr.preventDefault()),oa&&On.addEventListener("click",()=>a.executeCommand(oa))});const xn=(b=a.field)==null?void 0:b.getBoundingClientRect();xn&&(le.style.top=`${window.scrollY+(xn.top-le.clientHeight-15)}px`,le.style.left=`${xn.left+20}px`,le.classList.add("is-visible"))}function th(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function Sv(){document.getElementById("mathlive-environment-popover")&&(T0("mathlive-environment-popover"),x("environment-popover"),x("core"))}function w0(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&Oo(b.environmentName)){const z=a.options.environmentPopoverPolicy;y=z==="auto"||z==="on"}}y?wv(a):th()}function Av(a){return a.replace("*","")}function Dv(a){return a==="dcases"?"cases":a}function sm(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function um(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function nh(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="rtl"||b==="end"&&z==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function Bv(a,y,b,z){return b==="middle"?a-y/2:b==="start"&&z==="ltr"||b==="end"&&z==="rtl"||b==="top"||b==="right"?a:a-y}function Mv(a,y){var b,z,ne;const le=(b=sm(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 ce=a.getBoundingClientRect(),Be=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let Ue=Math.min(Be,(z=y.height)!=null?z:ce.height),Xe=nh(y.location.y,Ue,y.verticalPos,le);Xe+Ue>window.innerHeight-8&&(y.alternateLocation?(Xe=nh(y.alternateLocation.y,Ue,y.verticalPos,le),Xe+Ue>window.innerHeight-8&&(Xe=void 0)):Xe=void 0),Number.isFinite(Xe)||(Xe=Math.max(8,window.innerHeight-8-Ue),8+Ue>window.innerHeight-8&&(a.style.bottom="8px")),Ue=Math.min(Xe+Ue,window.innerHeight-8)-Xe;const ft=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let Ot=Math.min(ft,(ne=y.width)!=null?ne:ce.width),qt=nh(y.location.x,Ot,y.horizontalPos,le);qt+Ot>window.innerWidth-8&&(y.alternateLocation?(qt=Bv(y.alternateLocation.x,Ot,y.verticalPos,le),qt+Ot>window.innerWidth-8&&(qt=void 0)):qt=void 0),Number.isFinite(qt)||(qt=Math.max(8,window.innerWidth-8-Ot),8+Ot>window.innerWidth-8&&(a.style.right="8px")),Ot=Math.min(qt+Ot,window.innerWidth-8)-qt,le==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-qt-Ot).toString()}px`:a.style.left=`${Math.ceil(qt).toString()}px`,a.style.top=`${Math.ceil(Xe).toString()}px`,Ue!==ce.height&&(a.style.height=`${Math.ceil(Ue).toString()}px`),Ot!==ce.width&&(a.style.width=`${Math.ceil(Ot).toString()}px`)}function Fv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function yf(a){return"submenu"in a}function pd(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function rh(a){return"type"in a&&a.type==="divider"}function ih(a){return"type"in a&&a.type==="heading"}var cm={};function ah(a){let y=cm[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 z=document.createElement("template");z.innerHTML=b,cm[a]=z,y=z}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var dm=80,fm=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,yf(a)?(this.type="submenu",this.submenu=new hm(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=pd(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,z;const ne=this._declaration;if(rh(ne)){this.enabled=!1,this.checked=!1;return}ih(ne)&&(this.enabled=!1,this.checked=!1,this.visible=!0),pd(ne)&&(this.checked=pd(ne)&&((y=bf(ne.checked,a))!=null?y:!1)),(pd(ne)||yf(ne))&&(this.enabled=(b=bf(ne.enabled,a))!=null?b:!0,this.visible=(z=bf(ne.visible,a))!=null?z:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(pd(ne)||ih(ne)||yf(ne))&&(this.label=bf(ne.label,a),this.tooltip=bf(ne.tooltip,a),this.ariaLabel=bf(ne.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(ah("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(ah("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),pd(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=O0(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(ah("trailing-chevron"))}get element(){if(this._element)return this._element;if(rh(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,(pd(this._declaration)||ih(this._declaration)||yf(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(!pd(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()},dm)},dm)}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(),z=sm(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:um(b,"trailing",z),y:b.top-4},alternateLocation:{x:um(b,"leading",z),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 z=a.clientX-y.clientX;if(kv(z,y.clientY-a.clientY,b)<=.2)return!1;let le="right";if(this.submenu.element){const ce=this.submenu.element.getBoundingClientRect(),Be=this.element.getBoundingClientRect();ce.left<Be.left+Be.width/2&&(le="left")}return le==="right"?z>0:z<0}};function kv(a,y,b){return Math.hypot(a,y)/b}function bf(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var hm=class Bf{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var z,ne;this.parentMenu=(z=b==null?void 0:b.parentMenu)!=null?z:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ne=b==null?void 0:b.columnCount)!=null?ne: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(z=>z.onCreate?z.onCreate(z,this):new fm(z,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,z,ne;this._menuItems.forEach(Xe=>Xe.updateState(y));const le=this.hasCheck;this.hasCheck=this._menuItems.some(Xe=>Xe.visible&&Xe.hasCheck),this.hasCheck!==le&&this._menuItems.forEach(Xe=>Xe.updateState(y));let ce,Be=0;for(const Xe of this._menuItems)Xe.type==="heading"?(ce&&Be===0&&(ce.visible=!1),ce=Xe,Be=0):Xe.type==="divider"&&ce?(ce.visible=Be>0,ce=void 0,Be=0):ce&&Xe.visible&&(Be+=1);ce&&(ce.visible=Be>0);let Ue=!0;for(const Xe of this._menuItems)Xe.type==="divider"?(Xe.visible=!Ue,Ue=!0):Xe.visible&&(Ue=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((z=this.activeMenuItem)!=null&&z.enabled)&&((ne=this.activeMenuItem)==null?void 0:ne.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:z}of this._menuItems)b&&z&&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,z,ne,le;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const ce=this.activeMenuItem;ce.active=!1,(b=ce.submenu)==null||b.hide()}if(!((z=y==null?void 0:y.visible)==null||z)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(ne=y.element)==null||ne.focus({preventScroll:!0}):(le=this._element)==null||le.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const z=this._menuItems;for(;!b&&y<=z.length-1;){const ne=z[y];b=ne.type!=="divider"&&ne.visible&&ne.enabled,y+=1}return b?z[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,z=!1;for(;!z&&b>=0;){const ne=y[b];z=ne.type!=="divider"&&ne.visible&&ne.enabled,b-=1}return z?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),z=this._menuItems.indexOf(this.lastMenuItem);let ne=this._menuItems.indexOf(this._activeMenuItem),le=1;for(;ne>=b&&ne<=z;){ne+=y>0?1:-1;const ce=this._menuItems[ne];if(!ce)break;if(ce.visible&&ce.enabled){if(le===Math.abs(y))return this._menuItems[ne];le+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const z=this._menuItems.filter(ne=>ne.visible&&ne.enabled).indexOf(y);return z<0?-1:z%this.columnCount}static get collator(){return Bf._collator||(Bf._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),Bf._collator}findMenuItem(y){var b;this.updateIfDirty();const z=this._menuItems.filter(Be=>Be.type!=="divider"&&Be.visible&&Be.enabled);if(z.length===0)return null;const ne=Math.max(...z.map(Be=>Be.label.length))-y.length;if(ne<0)return null;let le=null,ce=0;for(;ce<ne&&!le;)le=(b=z.find(Be=>Bf.collator.compare(y,Be.label.substring(ce,y.length))===0))!=null?b:null,ce++;return le}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),et()&&(this.element.popover="manual",this.element.showPopover()),y.location&&Mv(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,z,ne,le;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),et()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(z=(b=this.parentMenu)==null?void 0:b.element)==null||z.focus(),(le=(ne=this._element)==null?void 0:ne.parentNode)==null||le.removeChild(this._element)}set openSubmenu(y){var b,z,ne,le;const ce=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((z=this.activeMenuItem.element)==null||z.setAttribute("aria-expanded",ce.toString())),(le=(ne=this.activeMenuItem)==null?void 0:ne.element)==null||le.classList.toggle("is-submenu-open",ce),this.isSubmenuOpen=ce}},mm=class bp extends hm{constructor(y,b){var z;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(z=b==null?void 0:b.host)!=null?z:null,this.isDynamic=y.some(pm),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){Qp(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=Qd(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,z,ne;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=Qd(y));let le=!0;const ce=this.activeSubmenu,Be=ce.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":Be==null||Be.select(Qd(y));break;case"ArrowRight":if((Be==null?void 0:Be.type)==="submenu")Be.select(Qd(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!Be)ce.activeMenuItem=ce.firstMenuItem;else{const Ue=(b=ce.getMenuItemColumn(Be))!=null?b:-1;if(Ue>=0&&Ue<((z=ce.columnCount)!=null?z:1)-1){const Xe=ce.nextMenuItem(1);Xe&&(ce.activeMenuItem=Xe)}}break;case"ArrowLeft":if(ce===this.rootMenu)Be||(ce.activeMenuItem=ce.firstMenuItem);else if((Be&&(ne=ce.getMenuItemColumn(Be))!=null?ne:-1)<=0||!Be){ce.hide();const Xe=ce.parentMenu.activeMenuItem;if(Xe){const{element:ft}=Xe;ft==null||ft.focus(),ft==null||ft.classList.remove("is-submenu-open")}}else{const Xe=ce.nextMenuItem(-1);Xe&&(ce.activeMenuItem=Xe)}break;case"ArrowDown":ce.activeMenuItem=ce.nextMenuItem(ce.columnCount);break;case"ArrowUp":ce.activeMenuItem=ce.nextMenuItem(-ce.columnCount);break;case"Home":case"PageUp":ce.activeMenuItem=ce.firstMenuItem;break;case"End":case"PageDown":ce.activeMenuItem=ce.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const Ue=ce.findMenuItem(this.typingBuffer);Ue&&(ce.activeMenuItem=Ue),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(qf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const Ue=ce.findMenuItem(this.typingBuffer);Ue&&(ce.activeMenuItem=Ue),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else le=!1}le&&(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 dd.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),dd.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),dd.state==="open"&&dd.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(Fe(be({},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,dd.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=bp.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};mm.SUBMENU_DELAY=120;var Pv=mm;function pm(a){return rh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(pd(a)||yf(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||pd(a)&&typeof a.checked=="function"?!0:yf(a)?a.submenu.some(pm):!1}var S0=class{};S0.DELAY=300,S0.MAX_DISTANCE=10;function Lv(a){return new Promise((y,b)=>{const z=Xf(a);z||y(!1);let ne=z;const le=setTimeout(()=>{ce.abort(),y(Fv(ne,z)<S0.MAX_DISTANCE)},S0.DELAY),ce=new AbortController,Be=ce.signal;for(const Ue of["pointermove","pointerup","pointercancel"])window.addEventListener(Ue,Xe=>{if(Xe.type==="pointerup"||Xe.type==="pointercancel")clearTimeout(le),ce.abort(),y(!1);else if(Xe.type==="pointermove"){const ft=Xf(Xe);ft&&(ne=ft)}},{passive:!0,signal:Be})})}function gm(a,y,b){return Zd(this,null,function*(){if(a.type==="contextmenu"){const z=a;if(b.show({target:y,location:Xf(z),modifiers:Qd(z)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const z=a;if(z.code==="ContextMenu"||z.code==="F10"&&z.shiftKey){const ne=y==null?void 0:y.getBoundingClientRect();if(ne&&b.show({target:y,location:{x:Math.ceil(ne.left+ne.width/2),y:Math.ceil(ne.top+ne.height/2)},modifiers:Qd(z)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let z=a.target;for(;z&&y!==z;)z=z.parentNode;if(!z||!b.visible)return!1;const ne=Xf(a);if(yield Lv(a))return b.state!=="closed"?!1:(b.show({target:y,location:ne}),!0)}return!1})}var vm={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};_t(Object.keys(vm),"{body:auto}",{createAtom:a=>new E(Fe(be({},a),{body:at(a.args[0]),accentChar:vm[a.command.slice(1)]}))}),_t(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=yt(at(a.args[0]));return new E(Fe(be({},a),{body:at(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),_t(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new E(Fe(be({},a),{body:at(a.args[0]),svgAccent:"overarc"}))}),_t(["underarc","underparen"],"{body:auto}",{createAtom:a=>new mc(Fe(be({},a),{body:at(a.args[0]),svgBelow:"underarc"}))}),_t("utilde","{body:auto}",{createAtom:a=>{const y=at(a.args[0]),b=yt(y),z="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new mc(Fe(be({},a),{body:y,svgBelow:z,boxType:Sc(y)}))}}),_t("^","{:string}",{createAtom:a=>{var y;return new ri(Fe(be({},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:"^"}))}}),_t("`","{:string}",{createAtom:a=>{var y;return new ri(Fe(be({},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:"`"}))}}),_t("'","{:string}",{createAtom:a=>{var y;return new ri(Fe(be({},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:"'"}))}}),_t('"',"{:string}",{createAtom:a=>{var y,b;return new ri(Fe(be({},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]:'"'}))}}),_t(".","{:string}",{createAtom:a=>{var y,b;return new ri(Fe(be({},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]:"."}))}}),_t("=","{:string}",{createAtom:a=>{var y,b;return new ri(Fe(be({},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]:"="}))}}),_t("~","{:string}",{createAtom:a=>{var y;return new ri(Fe(be({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"}))}}),_t("c","{:string}",{createAtom:a=>{var y;return new ri(Fe(be({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),_t("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const z=a.args,ne={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(z[1]){const ce=z[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const Be of ce){const Ue=Be.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(Ue)ne.strokeWidth=Ue[1],ne.strokeStyle=Ue[2],ne.strokeColor=Ue[3];else{const Xe=Be.match(/\s*([a-z]*)\s*=\s*"(.*)"/);Xe&&(Xe[1]==="mathbackground"?ne.backgroundcolor=Xe[2]:Xe[1]==="mathcolor"?ne.strokeColor=Xe[2]:Xe[1]==="padding"?ne.padding=Xe[2]:Xe[1]==="shadow"&&(ne.shadow=Xe[2]))}}ne.strokeStyle==="dashed"?ne.svgStrokeStyle="5,5":ne.strokeStyle==="dotted"&&(ne.svgStrokeStyle="1,5")}ne.borderStyle=`${ne.strokeWidth} ${ne.strokeStyle} ${ne.strokeColor}`;const le={};return((b=z[0])!=null?b:"").split(/[, ]/).filter(ce=>ce.length>0).forEach(ce=>{le[ce.toLowerCase()]=!0}),new go(a.command,at(z[2]),le,ne)}}),_t("cancel","{body:auto}",{createAtom:a=>{var y;return new go(a.command,at(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:{}})}}),_t("bcancel","{body:auto}",{createAtom:a=>{var y;return new go(a.command,at(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:{}})}}),_t("xcancel","{body:auto}",{createAtom:a=>{var y;return new go(a.command,at(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:{}})}}),_t(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new mc(Fe(be({},a),{body:at((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),_t("overbrace","{:auto}",{createAtom:a=>new mc(Fe(be({},a),{body:at(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),_t(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new mc(Fe(be({},a),{body:at(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),_t(["underbrace"],"{:auto}",{createAtom:a=>new mc(Fe(be({},a),{body:at(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),_t(["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,z,ne,le;return new mc(Fe(be({},a),{svgBody:a.command.slice(1),above:((b=at((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:at((z=a.args)==null?void 0:z[1]),below:(le=at((ne=a.args)==null?void 0:ne[0]))!=null?le: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)}`}),_t(["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 Gu(a.command.slice(1),Fe(be({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),_t(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new Gu({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],Fe(be({},a),{limits:"over-under",variant:"main"}))}),_t(["lim","mod"],"",{ifMode:"math",createAtom:a=>new Gu(a.command.slice(1),Fe(be({},a),{limits:"over-under",variant:"main"}))}),_t(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new Gu(a.command.slice(1),Fe(be({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),_t(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new ri(Fe(be({},a),{body:at(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),z=b.caret;b.caret=void 0;const ne=new Xi("\xB0",{style:Fe(be({},a.style),{variant:"normal",variantStyle:"up"})});return new Xi([b,ne],{type:"inner",isSelected:a.isSelected,caret:z})}}),_t("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new Td(Fe(be({},a),{body:at(a.args[1]),index:a.args[0]?at(a.args[0]):void 0}))}),_t(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=be({},a),b=a.command,z=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 rc(z[0]?at(z[0]):[new ii],z[1]?at(z[1]):[new ii],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),z=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(z)?`${a.command}${b}${z}`:rs(a.command,b,z)}}),_t(["brace","brack"],"",{infix:!0,createAtom:a=>new rc(at(a.args[0]),at(a.args[1]),Fe(be({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>ml([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),_t(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const z=a.args;return a.command==="\\choose"&&(y="(",b=")"),new rc(at(z[0]),at(z[1]),Fe(be({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>ml([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),_t(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const z=a.args;return new rc(at(z[0]),at(z[1]),Fe(be({},a),{leftDelim:(y=z[2])!=null?y:".",rightDelim:(b=z[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),_t("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new rc(at(a.args[0]),at(a.args[1]),Fe(be({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),_t(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new Is({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)],Fe(be({},a),{limits:"auto",variant:"main"}))}),_t("smallint","",{ifMode:"math",createAtom:a=>new Gu("\u222B",Fe(be({},a),{limits:"adjacent",variant:"main"}))});var ym={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"};_t(Object.keys(ym),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=ym[y.slice(1)];return new Is(b,Fe(be({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),_t(["Re","Im"],"",{ifMode:"math",createAtom:a=>new Gu({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],Fe(be({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),_t("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new Ya(Fe(be({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),_t("the","{:value}",{createAtom:a=>new ri(Fe(be({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const z=new Fl({parent:y},a.style);let ne="";a.isSelected&&(ne+=" ML__selected");const le=z.evaluate(a.args[0]);return new Xi(((b=Ls(le))!=null?b:"").split("").map(ce=>new Xi(ce,{type:"ord",classes:ne,mode:a.mode,isSelected:a.isSelected,style:be({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ne}).wrap(z)},serialize:a=>{var y;return`\\the${(y=Ls(a.args[0]))!=null?y:"\\relax"}`}}),_t("mathtip","{:auto}{:math}",{createAtom:a=>new Uu(Fe(be({},a),{body:at(a.args[0]),tooltip:at(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${ri.serialize([a.tooltip],Fe(be({},y),{defaultMode:"math"}))}}`}),_t("texttip","{:auto}{:text}",{createAtom:a=>new Uu(Fe(be({},a),{body:at(a.args[0]),tooltip:at(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${ri.serialize([a.tooltip],Fe(be({},y),{defaultMode:"text"}))}}`}),_t("error","{:math}",{createAtom:a=>new ri(Fe(be({},a),{body:at(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),_t("ensuremath","{:math}",{createAtom:a=>new ri(Fe(be({},a),{body:at(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(Fe(be({},y),{defaultMode:"math"}))}}`}),_t("color","{:value}",{applyStyle:(a,y,b)=>{var z,ne;return{verbatimColor:(z=Ls(y[0]))!=null?z:void 0,color:b.toColor((ne=y[0])!=null?ne:{string:"red"})}}}),_t("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var z,ne;return{verbatimColor:(z=Ls(y[0]))!=null?z:void 0,color:b.toColor((ne=y[0])!=null?ne:{string:"red"})}}}),_t("boxed","{content:math}",{createAtom:a=>new ja(Fe(be({},a),{body:at(a.args[0]),framecolor:{string:"black"}}))}),_t("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var z,ne;return{verbatimBackgroundColor:(z=Ls(y[0]))!=null?z:void 0,backgroundColor:b.toBackgroundColor((ne=y[0])!=null?ne:{string:"yellow"})}}}),_t("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new ja(Fe(be({},a),{body:at(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,z;return y.skipStyles?a.bodyToLatex(Fe(be({},y),{defaultMode:"text"})):rs(a.command,(b=Ls(a.framecolor))!=null?b:"",(z=Ls(a.backgroundcolor))!=null?z:"",a.bodyToLatex(Fe(be({},y),{defaultMode:"text"})))}}),_t("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],z=at(a.args[1]);return b?new ja(Fe(be({},a),{body:z,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new ja(Fe(be({},a),{body:z}))},serialize:(a,y)=>{var b,z;if(y.skipStyles)return a.bodyToLatex(y);let ne=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const le=[];a.padding&&le.push((b=Ls(a.padding))!=null?b:""),a.border&&le.push(`border: ${a.border}`),a.backgroundcolor&&le.push((z=Ls(a.backgroundcolor))!=null?z:""),ne+=`[${le.join(",")}]`}return rs(ne,a.bodyToLatex(y))}}),_t(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new ri(Fe(be({},a),{body:at(a.args[0])})),render:(a,y)=>{const b=new Fl({parent:y,mathstyle:a.command.slice(1)},a.style),z=ri.createBox(b,a.body,{type:"lift"});return a.caret&&(z.caret=a.caret),a.bind(y,z)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${ml([a.command,a.bodyToLatex(y)])}}`}),_t(["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]})}),_t("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),_t("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),_t("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),_t("selectfont","",{ifMode:"text",applyStyle:()=>({})}),_t("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),_t(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new ri(Fe(be({},a),{body:at(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),_t("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),_t("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),_t("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),_t("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),_t("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),_t("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),_t("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),_t("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),_t("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),_t("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),_t("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),_t("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),_t("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),_t("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),_t("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),_t("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),_t("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),_t("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),_t("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),_t("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),_t("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),_t("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),_t("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),_t("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),_t("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),_t("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),_t("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),_t(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),_t(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),_t("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),_t("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),_t("mbox","{:text}",{ifMode:"math",createAtom:a=>new ri(Fe(be({},a),{type:"mord",body:at(a.args[0]),mode:"math"})),serialize:(a,y)=>rs("\\mbox",a.bodyToLatex(Fe(be({},y),{defaultMode:"text"})))}),_t("text","{:text}",{ifMode:"math",applyMode:"text"}),_t(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new ri(Fe(be({},a),{body:at(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:""})}}),_t(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new ri(Fe(be({},a),{body:at(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 z=a.createBox(y);return z.cssId=(b=a.args[0])!=null?b:"",z}}),_t("htmlData","{data:string}{content:auto}",{createAtom:a=>new ri(Fe(be({},a),{body:at(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 z=a.createBox(y);return z.htmlData=(b=a.args[0])!=null?b:"",z}}),_t(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new ri(Fe(be({},a),{body:at(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 z=a.createBox(y);return z.htmlStyle=(b=a.args[0])!=null?b:"",z}}),_t("em","{:rest}",{createAtom:a=>new ri(Fe(be({},a),{body:at(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"})}),_t("emph","{:auto}",{createAtom:a=>new ri(Fe(be({},a),{body:at(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 bm={"\\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}};_t(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new Ba(Fe(be({},a),{delim:(y=a.args[0])!=null?y:".",size:bm[a.command].size,delimType:bm[a.command].mclass}))}}),_t(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new Dd(Fe(be({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),_t(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new Dd(Fe(be({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),_t("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new ri(a),render:(a,y)=>{let b=0;const z=y.mathstyle.id;(z===Pc||z===$u)&&(b=1),(z===ec||z===nu)&&(b=2),(z===bu||z===Us)&&(b=3);const ne=at(a.args[b]);return ri.createBox(y,ne)},serialize:(a,y)=>`\\mathchoice{${ri.serialize(a.args[0],y)}}{${ri.serialize(a.args[1],y)}}{${ri.serialize(a.args[2],y)}}{${ri.serialize(a.args[3],y)}}`}),_t("mathop","{:auto}",{createAtom:a=>new ri(Fe(be({},a),{type:"mop",body:at(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let z=ri.createBox(y,a.body);if(a.superscript||a.subscript){const ne=(b=a.subsupPlacement)!=null?b:"auto";z=ne==="over-under"||ne==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return new Xi(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[rs(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)),ml(b)}}),_t(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new ri(Fe(be({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:at(a.args[0])}))}),_t(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=at(a.args[0]).map(b=>{var z;return b.type!=="first"&&(b.type="mord",b.value=(z={"\u2217":"*","\u2212":"-"}[b.value])!=null?z:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new ri(Fe(be({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let z=ri.createBox(y,a.body);if(a.superscript||a.subscript){const ne=(b=a.subsupPlacement)!=null?b:"auto";z=ne==="over-under"||ne==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:z}):a.attachSupsub(y,{base:z})}return a.caret&&(z.caret=a.caret),new Xi(a.bind(y,z),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[rs(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)),ml(b)}}),_t(["char","unicode"],"{charcode:value}",{createAtom:a=>new ri(Fe(be({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Ls((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)}}),_t("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new ri(a),render:(a,y)=>{var b,z,ne;const le=new Fl({parent:y,mathstyle:"textstyle"},a.style),ce=le.toEm((b=a.args[0])!=null?b:{dimension:0}),Be=le.toEm((z=a.args[1])!=null?z:{dimension:10}),Ue=le.toEm((ne=a.args[2])!=null?ne:{dimension:10}),Xe=new Xi(null,{classes:"rule",type:"ord"});return Xe.width=Be,Xe.height=Ue+ce,Xe.depth=-ce,Xe.setStyle("border-right-width",Be,"em"),Xe.setStyle("border-top-width",Ue,"em"),Xe.setStyle("border-color",a.style.color),Xe.setStyle("vertical-align",ce,"em"),a.isSelected&&Xe.setStyle("opacity","50%"),a.bind(le,Xe),a.caret&&(Xe.caret=a.caret),Xe.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Ls(a.args[0])}]`:""}{${Ls(a.args[1])}}{${Ls(a.args[2])}}`}),_t(["overline","underline"],"{:auto}",{createAtom:a=>new ri(Fe(be({},a),{body:at(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),z=new Fl({parent:y,mathstyle:"cramp"},a.style),ne=ri.createBox(z,a.body);if(!ne)return null;const le=z.metrics.defaultRuleThickness/z.scalingFactor,ce=new Xi(null,{classes:b+"-line"});ce.height=le,ce.maxFontSize=le*1.125*z.scalingFactor;let Be;return b==="overline"?Be=new ss({shift:0,children:[{box:ne},3*le,{box:ce},le]}):Be=new ss({top:ne.height,children:[le,{box:ce},3*le,{box:ne}]}),a.caret&&(Be.caret=a.caret),new Xi(Be,{classes:b,type:"ignore"})}}),_t("overset","{:auto}{base:auto}",{createAtom:a=>{const y=at(a.args[1]);return new mc(Fe(be({},a),{above:at(a.args[0]),body:y,skipBoundary:!1,boxType:Sc(y)}))},serialize:(a,y)=>rs(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),_t("underset","{:auto}{base:auto}",{createAtom:a=>{const y=at(a.args[1]);return new mc(Fe(be({},a),{below:at(a.args[0]),body:y,skipBoundary:!1,boxType:Sc(y)}))},serialize:(a,y)=>rs(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),_t("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=at(a.args[2]);return new mc(Fe(be({},a),{above:at(a.args[0]),below:at(a.args[1]),body:y,skipBoundary:!1,boxType:Sc(y)}))},serialize:(a,y)=>rs(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),_t(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new mc(Fe(be({},a),{body:at(a.args[2]),above:at(a.args[1]),below:at(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>rs(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),_t("smash","[:string]{:auto}",{createAtom:a=>{var y,b,z,ne;return new Ad(Fe(be({},a),{body:at(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ne=(z=a.args[0])==null?void 0:z.includes("b"))!=null?ne:!0}))}}),_t(["vphantom"],"{:auto}",{createAtom:a=>new Ad(Fe(be({},a),{body:at(a.args[0]),isInvisible:!0,smashWidth:!0}))}),_t(["hphantom"],"{:auto}",{createAtom:a=>new Ad(Fe(be({},a),{body:at(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),_t(["phantom"],"{:auto}",{createAtom:a=>new Ad(Fe(be({},a),{body:at(a.args[0]),isInvisible:!0}))}),_t("not","{:math}",{createAtom:a=>{const y=at(a.args[0]);return y.length===0?new ri(Fe(be({},a),{type:"mrel",value:"\uE020"})):new ri(Fe(be({},a),{body:[new id(Fe(be({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],z=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?z?`\\not{${ri.serialize(b.group,y)}}`:`\\not${ri.serialize(b,y)}`:z?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const z=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":Sc(at(a.args[0])),ne=ri.createBox(y,a.body,{type:z});return a.caret&&(ne.caret=a.caret),a.bind(y,ne)}}),_t(["ne","neq"],"",{createAtom:a=>new ri(Fe(be({},a),{type:"mrel",body:[new id(Fe(be({},a),{body:"\uE020",align:"right",boxType:"rel"})),new ri(Fe(be({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),_t("rlap","{:auto}",{createAtom:a=>new id(Fe(be({},a),{body:at(a.args[0]),align:"right"}))}),_t("llap","{:auto}",{createAtom:a=>new id(Fe(be({},a),{body:at(a.args[0]),align:"left"}))}),_t("mathrlap","{:math}",{createAtom:a=>new id(Fe(be({},a),{body:at(a.args[0]),align:"left"}))}),_t("mathllap","{:math}",{createAtom:a=>new id(Fe(be({},a),{body:at(a.args[0]),align:"left"}))}),_t("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new ja(Fe(be({},a),{body:at(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return rs("\\raisebox",(b=Ls(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),_t("raise","{:value}{:auto}",{createAtom:a=>{var y;return new ja(Fe(be({},a),{body:at(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return rs("\\raise",(b=Ls(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),_t("lower","{:value}{:auto}",{createAtom:a=>{var y;return new ja(Fe(be({},a),{body:at(a.args[1]),padding:{dimension:0},offset:(y=ku(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,z;return rs("\\lower",(z=Ls(ku((b=a.offset)!=null?b:{dimension:0},-1)))!=null?z:"0pt",a.bodyToLatex(y))}}),$e("0123456789/@.?!"),wt(65,90),wt(97,122),$e([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),$e([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),$e([["\\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]]),$e([["\\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"),$e([["\\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"]]),$e([["\\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"]]),$e([["\\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"),$e([["+",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"),$e([["\\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"),$e([["\\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]]),$e([["=",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"),$e([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),$e([["\\wp",8472],["\\aleph",8501]]),$e([["\\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"),$e([["\\ ",160],["~",160]],"space"),_t(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new Dd(a)}),_t("space","",{createAtom:a=>new Dd(a)}),$e([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),$e([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),$e([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var xm="<mo>⁡</mo>",A0="<mo>⁢</mo>";function D0(a){return a.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Os(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Iv(a,y,b){var z,ne,le,ce,Be,Ue,Xe,ft,Ot,qt,xn;let On=!1;y=y!=null?y:a.atoms.length;let Fr="",oa="",Mr=a.atoms[a.index];const Ci=(ne=(z=Mr.style)==null?void 0:z.variant)!=null?ne:"",ca=(ce=(le=Mr.style)==null?void 0:le.variantStyle)!=null?ce:"";let Ri="";if(Ci||ca){const Fo=zt(Mr.value,(Be=Mr.style)==null?void 0:Be.variant,(Ue=Mr.style)==null?void 0:Ue.variantStyle);if(Fo!==Mr.value)return a.index+=1,Fr=`<mi${Os(Mr.id,b)}>${Fo}</mi>`,Md(Fr,a,b)||(a.mathML+=Fr,a.lastType="mi"),!0;Ri=(Xe={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"}[ca+Ci])!=null?Xe:"",Ri=` mathvariant="${Ri}"`}const uo={"\\exponentialE":"ⅇ","\\imaginaryI":"ⅈ","\\differentialD":"ⅆ","\\capitalDifferentialD":"ⅅ","\\alpha":"α","\\pi":"π","\\infty":"∞","\\forall":"∀","\\nexists":"∄","\\exists":"∃","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(Mr.command==="!")return a.index+=1,Fr="<mo>!</mo>",Md(Fr,a,b)||(a.mathML+=Fr,a.lastType="mo"),!0;if(uo[Mr.command]){a.index+=1;let Fo=`<mi${Os(Mr.id,b)}${Ri}>${uo[Mr.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(Fo=A0+Fo),Md(Fo,a,b)||(a.mathML+=Fo,a.lastType="mi"),!0}if(Mr.command==="\\operatorname")oa=xf(Mr.body),a.index+=1;else if(Ci||ca)for(;a.index<y&&(Mr.type==="mord"||Mr.type==="macro")&&!Mr.isDigit()&&Ci===((Ot=(ft=Mr.style)==null?void 0:ft.variant)!=null?Ot:"")&&ca===((xn=(qt=Mr.style)==null?void 0:qt.variantStyle)!=null?xn:"");)oa+=xf([Mr]),a.index+=1,Mr=a.atoms[a.index];else(Mr.type==="mord"||Mr.type==="macro")&&!Mr.isDigit()&&(oa+=xf([Mr]),a.index+=1);if(oa.length>0){On=!0,Fr=`<mi${Ri}>${oa}</mi>`;const Fo=a.lastType;Fr.endsWith(">f</mi>")||Fr.endsWith(">g</mi>")?(Fr+=xm,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Fr)?"mo":"mi",Md(Fr,a,b)||((Fo==="mi"||Fo==="mn"||Fo==="mtext"||Fo==="fence")&&(Fr=A0+Fr),a.mathML+=Fr)}return On}function Ov(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function _v(a){let y=-1,b=a.index,z=!1,ne=!1;for(;b<a.atoms.length&&!z&&!ne;){const le=a.atoms[b];z=!le.isDigit(),ne=!z&&le.superscript!==void 0,b++}return ne&&(y=b-1),y}function Md(a,y,b){var z;let ne=y.atoms[y.index-1];if(!ne)return!1;if(!ne.superscript&&!ne.subscript)if(((z=y.atoms[y.index])==null?void 0:z.type)==="subsup")ne=y.atoms[y.index],y.index+=1;else return!1;const le=y.lastType;y.lastType="";const ce=ys(ne.superscript,b);y.lastType="";const Be=ys(ne.subscript,b);if(y.lastType=le,!ce&&!Be)return!1;let Ue="";return ce&&Be?Ue=`<msubsup>${a}${Be}${ce}</msubsup>`:ce?Ue=`<msup>${a}${ce}</msup>`:Be&&(Ue=`<msub>${a}${Be}</msub>`),y.mathML+=Ue,y.lastType="",!0}function Tv(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let ne="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ne+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ne.length>0?(a.mathML+=`<mtext ${Os(a.atoms[z].id,b)}>${ne}</mtext>`,a.lastType="mtext",!0):!1}function Nv(a,y,b){y=y!=null?y:a.atoms.length;const z=a.index;let ne="",le=_v(a);for(le>=0&&le<y&&(y=le);a.index<y&&a.atoms[a.index].isDigit();)ne+=a.atoms[a.index].asDigit(),a.index+=1;return ne.length<=0?!1:(ne="<mn"+Os(a.atoms[z].id,b)+">"+ne+"</mn>",le<0&&Ov(a)&&(le=a.index,a.index+=1),Md(ne,a,b)||(a.mathML+=ne,a.lastType="mn"),!0)}function Rv(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let ne="",le="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let ce=!1,Be=0;const Ue=a.index;let Xe=-1,ft=Ue+1;for(;ft<y&&!ce;)a.atoms[ft].type==="mopen"?Be+=1:a.atoms[ft].type==="mclose"&&(Be-=1),Be===-1&&(ce=!0,Xe=ft),ft+=1;ce&&(ne="<mrow>",ne+=af(a.atoms[Ue],b),ne+=ys(a.atoms,b,Ue+1,Xe),ne+=af(a.atoms[Xe],b),ne+="</mrow>",a.index=Xe+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=A0),Md(ne,a,b)&&(z=!0,a.lastType="",ne=""),le="fence")}return ne.length>0&&(z=!0,a.mathML+=ne,a.lastType=le),z}function zv(a,y,b){let z=!1;y=y!=null?y:a.atoms.length;let ne="",le="";const ce=a.atoms[a.index];if(!ce)return!1;const Be={"\\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(Be[ce.command]){a.index+=1;const Ue=`<mo${Os(ce.id,b)}>${Be[ce.command]}</mo>`;return Md(Ue,a,b)||(a.mathML+=Ue,a.lastType="mo"),!0}if(a.index<y&&(ce.type==="mbin"||ce.type==="mrel"))ne+=oh(a.atoms[a.index],b),a.index+=1,le="mo";else if(a.index<y&&(ce.type==="mop"||ce.type==="operator"||ce.type==="extensible-symbol")){if(ce.subsupPlacement==="over-under"&&(ce.superscript||ce.subscript)){const Ue=af(ce,b);return ce.superscript&&ce.subscript?(ne+="<munderover>"+Ue,ne+=ys(ce.subscript,b),ne+=ys(ce.superscript,b),ne+="</munderover>"):ce.superscript?(ne+="<mover>"+Ue,ne+=ys(ce.superscript,b),ne+="</mover>"):ce.subscript&&(ne+="<munder>"+Ue,ne+=ys(ce.subscript,b),ne+="</munder>"),a.mathML+=ne,a.lastType="mo",a.index+=1,!0}{const Ue=a.atoms[a.index],Xe=Ue.value==="\\operatorname",ft=Xe?'<mi class="MathML-Unit"'+Os(Ue.id,b)+">"+xf(Ue.value)+"</mi>":af(Ue,b);ne+=ft,!Xe&&!/^<mo>(.*)<\/mo>$/.test(ft)?(ne+=xm,le="applyfunction"):le=Xe?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ne)&&(ne=A0+ne),a.index+=1}return ne.length>0&&(z=!0,Md(ne,a,b)||(a.mathML+=ne,a.lastType=le)),z}function ys(a,y,b,z){y!=null||(y={});const ne={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ne.mathML=a.toString();else if(typeof a=="string")ne.mathML=a;else if(a instanceof ri)ne.mathML=oh(a,y);else if(Array.isArray(a)){ne.atoms=a;let le=0;for(z=z||(a?a.length:0);ne.index<z;)if(Tv(ne,z,y)||Nv(ne,z,y)||Iv(ne,z,y)||zv(ne,z,y)||Rv(ne,z,y))le+=1;else if(ne.index<z){let ce=oh(ne.atoms[ne.index],y);ne.lastType==="mn"&&ce.length>0&&ne.atoms[ne.index].type==="genfrac"&&(ce="<mo>⁤</mo>"+ce),ne.atoms[ne.index].type==="genfrac"?ne.lastType="mfrac":ne.lastType="",ne.index+=1,Md(ce,ne,y)?le+=1:ce.length>0&&(ne.mathML+=ce,le+=1)}le>1&&(ne.mathML="<mrow>"+ne.mathML+"</mrow>")}return ne.mathML}function af(a,y){let b="";const z=xf(a.value);return z&&(b="<mo"+Os(a.id,y)+">"+z+"</mo>"),b}function xf(a){if(!a)return"";if(typeof a=="string")return D0(a);if(!Array.isArray(a)&&typeof a.body=="string")return D0(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return D0(y)}function oh(a,y){var b,z,ne,le,ce,Be,Ue,Xe,ft,Ot,qt,xn,On,Fr,oa,Mr,Ci,ca,Ri,uo,Fo,Eo;if(a.mode==="text")return`<mi${Os(a.id,y)}>${a.value}</mi>`;const ql={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"},Bs={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let Sa="",Nc="",vd,Yc,Nu,Rc,Cc,_s;const{command:vu}=a;if(a.command==="\\error")return`<merror${Os(a.id,y)}>${ys(a.body,y)}</merror>`;const Ru={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},yd={"\\vec":"⃗","\\acute":"´","\\grave":"`","\\dot":"˙","\\ddot":"¨","\\tilde":"~","\\bar":"¯","\\breve":"˘","\\check":"ˇ","\\hat":"^"};switch(a.type){case"first":break;case"group":case"root":Sa=ys(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(Sa+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(Sa+="<mo>"+(Ru[a.leftDelim]||a.leftDelim)+"</mo>")),Sa+="<mtable",a.colFormat){for(Sa+=' columnalign="',Nu=0;Nu<a.colFormat.length;Nu++)a.colFormat[Nu].align&&(Sa+={l:"left",c:"center",r:"right"}[a.colFormat[Nu].align]+" ");Sa+='"'}for(Sa+=">",Yc=0;Yc<a.array.length;Yc++){for(Sa+="<mtr>",vd=0;vd<a.array[Yc].length;vd++)Sa+="<mtd>"+ys(a.array[Yc][vd],y)+"</mtd>";Sa+="</mtr>"}Sa+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(Sa+="<mo>"+(Ru[a.leftDelim]||a.rightDelim)+"</mo>"),Sa+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(Sa+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(Sa+="<mo"+Os(a.id,y)+">"+(Ru[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(Sa+="<mfrac>",Sa+=ys(a.above,y)||"<mi> </mi>",Sa+=ys(a.below,y)||"<mi> </mi>",Sa+="</mfrac>"):(Sa+="<mtable"+Os(a.id,y)+">",Sa+="<mtr>"+ys(a.above,y)+"</mtr>",Sa+="<mtr>"+ys(a.below,y)+"</mtr>",Sa+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(Sa+="<mo"+Os(a.id,y)+">"+(Ru[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(Sa+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(Sa+="<msqrt"+Os(a.id,y)+">",Sa+=ys(a.body,y),Sa+="</msqrt>"):(Sa+="<mroot"+Os(a.id,y)+">",Sa+=ys(a.body,y),Sa+=ys(a.above,y),Sa+="</mroot>");break;case"leftright":const bd=a,xd=bd.leftDelim;Sa="<mrow>",xd&&xd!=="."&&(Sa+=`<mo${Os(a.id,y)}>${(b=Ru[xd])!=null?b:xd}</mo>`),a.body&&(Sa+=ys(a.body,y));const Ed=bd.matchingRightDelim();Ed&&Ed!=="."&&(Sa+=`<mo${Os(a.id,y)}>${(z=Ru[Ed])!=null?z:Ed}</mo>`),Sa+="</mrow>";break;case"sizeddelim":case"delim":Sa+=`<mo${Os(a.id,y)}>${Ru[a.value]||a.value}</mo>`;break;case"accent":Sa+='<mover accent="true"'+Os(a.id,y)+">",Sa+=ys(a.body,y),Sa+="<mo>"+(yd[vu]||a.accent)+"</mo>",Sa+="</mover>";break;case"line":case"overlap":break;case"overunder":Cc=a.above,Rc=a.below,(a.svgAbove||Cc)&&(a.svgBelow||Rc)?_s=a.body:Cc&&Cc.length>0?(_s=a.body,(le=(ne=a.body)==null?void 0:ne[0])!=null&&le.below?(Rc=a.body[0].below,_s=a.body[0].body):((Be=(ce=a.body)==null?void 0:ce[0])==null?void 0:Be.type)==="first"&&((Xe=(Ue=a.body)==null?void 0:Ue[1])!=null&&Xe.below)&&(Rc=a.body[1].below,_s=a.body[1].body)):Rc&&Rc.length>0&&(_s=a.body,(Ot=(ft=a.body)==null?void 0:ft[0])!=null&&Ot.above?(Cc=a.body[0].above,_s=a.body[0].body):((xn=(qt=a.body)==null?void 0:qt[0])==null?void 0:xn.type)==="first"&&((Fr=(On=a.body)==null?void 0:On[1])!=null&&Fr.above)&&(Cc=a.body[1].overscript,_s=a.body[1].body)),(a.svgAbove||Cc)&&(a.svgBelow||Rc)?(Sa+=`<munderover ${Os(a.id,y)}>`,Sa+=(oa=ql[a.svgBody])!=null?oa:ys(_s,y),Sa+=(Mr=ql[a.svgBelow])!=null?Mr:ys(Rc,y),Sa+=(Ci=ql[a.svgAbove])!=null?Ci:ys(Cc,y),Sa+="</munderover>"):a.svgAbove||Cc?(Sa+=`<mover ${Os(a.id,y)}>`+((ca=ql[a.svgBody])!=null?ca:ys(_s,y)),Sa+=(Ri=ql[a.svgAbove])!=null?Ri:ys(Cc,y),Sa+="</mover>"):(a.svgBelow||Rc)&&(Sa+=`<munder ${Os(a.id,y)}>`+((uo=ql[a.svgBody])!=null?uo:ys(_s,y)),Sa+=(Fo=ql[a.svgBelow])!=null?Fo:ys(Rc,y),Sa+="</munder>");break;case"placeholder":Sa+="?";break;case"mord":{Sa=typeof a.value=="string"?a.value:vu,vu==="\\char"?Sa="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":Sa.length>0&&Sa.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?Sa="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?Sa=a.value.charAt(0):(console.error("Did not expect this"),Sa=""));const od=/\d/.test(Sa)?"mn":"mi";Sa=`<${od}${Os(a.id,y)}>${D0(Sa)}</${od}>`;break}case"mbin":case"mrel":case"minner":Sa=af(a,y);break;case"mpunct":Sa='<mo separator="true"'+Os(a.id,y)+">"+vu+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(Sa="<mo"+Os(a.id,y)+">",Sa+=vu==="\\operatorname"?a.body:vu||a.body,Sa+="</mo>");break;case"box":Sa='<menclose notation="box"',a.backgroundcolor&&(Sa+=' mathbackground="'+a.backgroundcolor+'"'),Sa+=Os(a.id,y)+">"+ys(a.body,y)+"</menclose>";break;case"spacing":Sa+='<mspace width="'+((Eo=Bs[vu])!=null?Eo:0)+'em"/>';break;case"enclose":Sa='<menclose notation="';for(const od in a.notation)Object.prototype.hasOwnProperty.call(a.notation,od)&&a.notation[od]&&(Sa+=Nc+od,Nc=" ");Sa+=Os(a.id,y)+'">'+ys(a.body,y)+"</menclose>";break;case"prompt":Sa='<menclose notation="roundexbox""">'+ys(a.body,y)+"</menclose>";break;case"space":Sa+=" ";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":Sa+=af(a,y);break;case"mclose":Sa+=af(a,y);break;case"macro":{const od=a.command+xf(a.macroArgs);od&&(Sa+=`<mo ${Os(a.id,y)}>${od}</mo>`)}break;case"latexgroup":Sa+=ys(a.body,y);break;case"latex":Sa+="<mtext"+Os(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":Sa+=ys(a.body,y);break;case"text":Sa+=`<mtext ${Os(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${Os(a.id,y)} displaystyle="true">${ys(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${Os(a.id,y)} displaystyle="false">${ys(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return Sa}var Ef={"\\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"},lh={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 Hv(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function Kf(a){let y=0;if(Ae(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function jv(a){if(Ae(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function Em(a){let y="";if(Ae(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Zv(a){return a?a.map(y=>y.value).join(""):""}function Kl(a,y){var b,z,ne,le,ce;function Be(ft){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(ft)?` <say-as interpret-as="character">${ft}</say-as>`:/[A-Z]/.test(ft)?`capital <say-as interpret-as="character">${ft.toLowerCase()}</say-as>`:ft:/[a-z]/.test(ft)?" '"+ft.toUpperCase()+"'":/[A-Z]/.test(ft)?" 'capital "+ft.toUpperCase()+"'":ft}function Ue(ft){return"<emphasis>"+ft+"</emphasis>"}if(!y)return"";let Xe="";if(Ae(y)){let ft=!1,Ot=!1;for(let qt=0;qt<y.length;qt++)y[qt].type!=="first"&&(y[qt].mode!=="text"&&(Ot=!1),qt<y.length-2&&y[qt].type==="mopen"&&y[qt+2].type==="mclose"&&y[qt+1].type==="mord"?(Xe+=" of ",Xe+=Ue(Kl(a,y[qt+1])),qt+=2):y[qt].mode==="text"?Ot?Xe+=(b=y[qt].value)!=null?b:" ":(Ot=!0,Xe+=Kl("text",y[qt])):y[qt].isDigit()?ft?Xe+=y[qt].asDigit():(ft=!0,Xe+=Kl(a,y[qt])):(ft=!1,Xe+=Kl(a,y[qt])))}else if(y.mode==="text")y.id&&a==="math"&&(Xe+='<mark name="'+y.id.toString()+'"/>'),Xe+=y.value;else{y.id&&a==="math"&&(Xe+='<mark name="'+y.id.toString()+'"/>');let ft="",Ot="",qt="",xn=!1;const{command:On}=y;switch(On){case"\\vec":return"vector "+Kl(a,y.body);case"\\acute":return Kl(a,y.body)+" acute";case"\\grave":return Kl(a,y.body)+" grave";case"\\dot":return"dot over"+Kl(a,y.body);case"\\ddot":return"double dot over"+Kl(a,y.body);case"\\mathring":return"ring over"+Kl(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Kl(a,y.body);case"\\bar":return Kl(a,y.body)+" bar";case"\\breve":return Kl(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Kl(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Kl(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Kl(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Kl(a,y.body)}switch(y.type){case"prompt":const Fr=y.body.length>1?'start input . <break time="500ms"/> '+Kl(a,y.body)+'. <break time="500ms"/> end input':"blank";Xe+=' <break time="300ms"/> '+Fr+'. <break time="700ms"/>'+((z=y.correctness)!=null?z:"")+' . <break time="700ms"/> ';break;case"array":const oa=y.array,Mr=y.environmentName;if(Object.keys(lh).includes(Mr)){Xe+=` begin ${lh[Mr]} `;for(let Ri=0;Ri<oa.length;Ri++){Ri>0&&(Xe+=","),Xe+=` row ${Ri+1} `;for(let uo=0;uo<oa[Ri].length;uo++)uo>0&&(Xe+=","),Xe+=` column ${uo+1}: `,Xe+=Kl("math",oa[Ri][uo])}Xe+=` end ${lh[Mr]} `}break;case"group":On==="\\ne"?Xe+=" not equal ":(On==="\\not"&&(Xe+=" not "),Xe+=Kl("math",y.body));break;case"root":Xe+=Kl("math",y.body);break;case"genfrac":if(ft=Kl("math",y.above),Ot=Kl("math",y.below),Kf(y.above)&&Kf(y.below)){const uo={"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 "}[Em(y.above)+"/"+Em(y.below)];uo?Xe=uo:Xe+=ft+" over "+Ot}else Xe+=' the fraction <break time="150ms"/>'+ft+' over <break time="150ms"/>'+Ot+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(qt=Kl("math",y.body),y.hasEmptyBranch("above"))Xe+=Kf(y.body)?" the square root of "+qt+" , ":' the square root of <break time="200ms"/>'+qt+'. <break time="200ms"/> End square root';else{let Ri=Kl("math",y.above);Ri=Ri.trim();const uo=Ri.replace(/<mark([^/]*)\/>/g,"");uo==="3"?Xe+=' the cube root of <break time="200ms"/>'+qt+'. <break time="200ms"/> End cube root':uo==="n"?Xe+=' the nth root of <break time="200ms"/>'+qt+'. <break time="200ms"/> End root':Xe+=' the root with index: <break time="200ms"/>'+Ri+', of <break time="200ms"/>'+qt+'. <break time="200ms"/> End root'}break;case"leftright":{const Ri=y;Xe+=(ne=Ri.leftDelim?Ef[Ri.leftDelim]:void 0)!=null?ne:Ri.leftDelim,Xe+=Kl("math",y.body),Xe+=(le=Ri.rightDelim?Ef[Ri.rightDelim]:void 0)!=null?le:Ri.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const Ci=On.replace(/^\\/g,""),ca=wn()[Ci];ca&&(ca!=null&&ca.expand?Xe+=Kl("math",y.body):Xe+=`${Ci} `);break;case"placeholder":Xe+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(On==="\\mathbin"||On==="\\mathrel"||On==="\\mathopen"||On==="\\mathclose"||On==="\\mathpunct"||On==="\\mathord"||On==="\\mathinner"){Xe=Kl(a,y.body);break}let Ri=y.isDigit()?y.asDigit():y.value,uo=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(uo=y.value,Ri=uo),a==="text")Xe+=Ri;else{if(y.type==="mbin"&&(Xe+='<break time="150ms"/>'),Ri){const Fo=Ef[Ri]||(uo?Ef[uo.trim()]:"");if(Fo)Xe+=" "+Fo;else{const Eo=uo?Hv(uo.trim()):"";Xe+=Eo||Be(Ri)}}else Xe+=Kl("math",y.body);y.type==="mbin"&&(Xe+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const Ri=y.command;if(Ri==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let uo=Kl("math",y.superscript);uo=uo.trim();let Fo=Kl("math",y.subscript);Fo=Fo.trim(),Xe+=' the summation from <break time="200ms"/>'+Fo+'<break time="200ms"/> to <break time="200ms"/>'+uo+'<break time="200ms"/> of <break time="150ms"/>',xn=!0}else if(y.hasEmptyBranch("subscript"))Xe+=" the summation of";else{let uo=Kl("math",y.subscript);uo=uo.trim(),Xe+=' the summation from <break time="200ms"/>'+uo+'<break time="200ms"/> of <break time="150ms"/>',xn=!0}else if(Ri==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let uo=Kl("math",y.superscript);uo=uo.trim();let Fo=Kl("math",y.subscript);Fo=Fo.trim(),Xe+=' the product from <break time="200ms"/>'+Fo+'<break time="200ms"/> to <break time="200ms"/>'+uo+'<break time="200ms"/> of <break time="150ms"/>',xn=!0}else if(y.hasEmptyBranch("subscript"))Xe+=" the product of ";else{let uo=Kl("math",y.subscript);uo=uo.trim(),Xe+=' the product from <break time="200ms"/>'+uo+'<break time="200ms"/> of <break time="150ms"/>',xn=!0}else if(Ri==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let uo=Kl("math",y.superscript);uo=uo.trim();let Fo=Kl("math",y.subscript);Fo=Fo.trim(),Xe+=' the integral from <break time="200ms"/>'+Ue(Fo)+'<break time="200ms"/> to <break time="200ms"/>'+Ue(uo)+' <break time="200ms"/> of ',xn=!0}else Xe+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const uo=(ce=Ef[y.value])!=null?ce:y.command?Ef[y.command]:void 0;Xe+=uo||" "+y.value}else y.command&&(y.command==="\\mathop"?Xe+=Kl("math",y.body):y.command==="\\operatorname"?Xe+=Zv(y.body):Xe+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":qt=Kl("math",y.body),Xe+=" crossed out "+qt+". End crossed out.";break;case"space":case"spacing":break}if(!xn&&!y.hasEmptyBranch("superscript")){let Fr=Kl(a,y.superscript);Fr=Fr.trim();const oa=Fr.replace(/<[^>]*>/g,"");if(Kf(y.superscript)){if(a==="math"){const Mr=jv(y.superscript);Mr&&(Xe+='<mark name="'+Mr+'"/>')}oa==="\u2032"?Xe+=" prime ":oa==="2"?Xe+=" squared ":oa==="3"?Xe+=" cubed ":Number.isNaN(Number.parseInt(oa))?Xe+=" to the "+Fr+"; ":Xe+=' to the <say-as interpret-as="ordinal">'+oa+"</say-as> power; "}else Number.isNaN(Number.parseInt(oa))?Xe+=" raised to the "+Fr+"; ":Xe+=' raised to the <say-as interpret-as="ordinal">'+oa+"</say-as> power; "}if(!xn&&!y.hasEmptyBranch("subscript")){let Fr=Kl("math",y.subscript);Fr=Fr.trim(),Xe+=Kf(y.subscript)?" sub "+Fr:" subscript "+Fr+". End subscript. "}}return Xe}function Cf(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ne=ys(a);if(ne){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=Fe(be({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=Fe(be({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=Fe(be({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const le=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&le.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let ce="";try{ce=le.toSpeech(ne)}catch(Be){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",Be)}return ce}return""}let z=Kl("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ne="";window.MathfieldElement.speechEngineRate&&(ne='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),z='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+ne+"<p><s>"+z+"</s></p>"+(ne?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&&ke()==="macos"?z=z.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,""):z=z.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return z}var Wf={"\\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"},Vf={"\\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 Kv(a){let y="";for(const b of a){const z=y[y.length-1];z!==void 0&&/\d/.test(z)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function gu(a){var y,b,z,ne,le,ce,Be,Ue,Xe,ft,Ot,qt,xn;if(!a)return"";if(Ae(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(gu).join("");if(a[0].mode==="text"){let ca=0,Ri="";for(;((y=a[ca])==null?void 0:y.mode)==="text";)Ri+=a[ca].body?gu(a[ca].body):a[ca].value,ca++;return`"${Ri}" ${gu(a.slice(ca))}`}let Mr=0;const Ci=[];for(;a[Mr]&&a[Mr].mode==="math";){let ca="";for(;a[Mr]&&a[Mr].type==="mord"&&/\d/.test(a[Mr].value);)ca+=a[Mr++].value;ca?Ci.push(ca):Ci.push(gu(a[Mr++]))}return Ci.push(gu(a.slice(Mr))),Kv(Ci)}if(a.mode==="text")return`"${a.value}"`;let On="";const{command:Fr}=a;let oa;if(Fr==="\\placeholder")return`(${gu(a.body)})`;switch(a.type){case"accent":const Mr={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Fr];On=`${Mr!=null?Mr:""} ${gu(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Eo=>Eo.value).join("");case"group":case"root":On=(b=Wf[Fr])!=null?b:gu(a.body);break;case"genfrac":{const Eo=a;(Eo.leftDelim||Eo.rightDelim)&&(On=Eo.leftDelim==="."||!Eo.leftDelim?"{:":Eo.leftDelim),Eo.hasBarLine?(On+="(",On+=gu(Eo.above),On+=")/(",On+=gu(Eo.below),On+=")"):(On+="("+gu(Eo.above)+"),",On+="("+gu(Eo.below)+")"),(Eo.leftDelim||Eo.rightDelim)&&(On+=Eo.rightDelim==="."||!Eo.rightDelim?"{:":Eo.rightDelim)}break;case"surd":On+=a.hasEmptyBranch("above")?"sqrt("+gu(a.body)+")":"root("+gu(a.above)+")("+gu(a.body)+")";break;case"latex":On=a.value;break;case"leftright":{const Eo=a,ql=Eo.leftDelim;On+=ql==="."||!ql?"{:":ql,On+=gu(Eo.body);const Bs=Eo.matchingRightDelim();On+=Bs==="."||!Bs?":}":Bs}break;case"sizeddelim":case"delim":On=a.value;break;case"overlap":break;case"overunder":break;case"mord":On=(ne=(z=Wf[Fr])!=null?z:Fr)!=null?ne:typeof a.value=="string"?a.value:"",On.startsWith("\\")&&(On+=" "),oa=Fr?Fr.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,oa?On=String.fromCodePoint(Number.parseInt("0x"+oa[1])):On.length>0&&On.startsWith("\\")&&(On=typeof a.value=="string"?a.value.charAt(0):a.command),On=Wv(On,a.style);break;case"mbin":case"mrel":case"minner":On=(ce=(le=Wf[Fr])!=null?le:Vf[Fr])!=null?ce:a.value;break;case"mopen":case"mclose":On=a.value;break;case"mpunct":On=(Be=Vf[Fr])!=null?Be:Fr;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(Vf[Fr]?On=Vf[Fr]:On=Fr==="\\operatorname"?gu(a.body):(Ue=a.value)!=null?Ue:Fr,On+=" ");break;case"array":const Ci=a.array,ca=a.environmentName,Ri=(Xe={bmatrix:["[","]"],"bmatrix*":["[","]"]}[ca])!=null?Xe:["(",")"],uo=[];for(const Eo of Ci){const ql=[];for(const Bs of Eo)ql.push(Ri[0]+gu(Bs)+Ri[1]);uo.push(ql.join(","))}const Fo=(ft={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[ca])!=null?ft:["(",")"];On=Fo[0]+uo.join(",")+Fo[1];break;case"box":break;case"spacing":On=(Ot=Wf[Fr])!=null?Ot:" ";break;case"enclose":On="("+gu(a.body)+")";break;case"space":On=" ";break;case"subsup":On="";break;case"macro":On=(xn=(qt=Wf[Fr])!=null?qt:Vf[Fr])!=null?xn:gu(a.body);break}if(!a.hasEmptyBranch("subscript")){On+="_";const Mr=gu(a.subscript);On+=Mr.length!==1?`(${Mr})`:Mr}if(!a.hasEmptyBranch("superscript")){On+="^";const Mr=gu(a.superscript);On+=Mr.length!==1?`(${Mr})`:Mr}return On}function Wv(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 Tu(a,y){var b,z;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ne=new Fl({from:Fe(be({},ld()),{renderPlaceholder:()=>new Xi(160,{maxFontSize:1}),letterShapeStyle:(z=y==null?void 0:y.letterShapeStyle)!=null?z:"tex"}),mathstyle:y.mathstyle}),ce=new ri({mode:"math",type:"root",body:Wi(a,{context:ne,parseMode:"math",mathstyle:y.mathstyle})}).render(ne);return ce?(Ac(Ll(ce,ne)),Wc(ce,{classes:"ML__latex"}).toMarkup()):""}function N1(a){return is(a,{context:ld()})}function Vv(a,y={}){return ys(Wi(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Uv(a){const y=Wi(a,{parseMode:"math",mathstyle:"displaystyle"});return Cf(y)}var B0;function Gv(a){var y,b;if(!B0){const z=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;z?B0=new z: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=B0==null?void 0:B0.box(a).latex)!=null?b:""}function R1(a,y="math"){return gu(new ri({type:"root",body:Wi(a,{parseMode:y})}))}function z1(a){return fo(a,{format:"ascii-math"})[1]}function sh(a){if(typeof a=="string"){const y=Yv(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Jv(a):"a"in a?Cm(a):a}function wf(a){return a<0?0:a>255?255:Math.round(a)}function Yv(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 uh(a){const[y,b,z]=[a.L,a.C,a.H],ne=z*Math.PI/180,le={L:y,a:b*Math.cos(ne),b:b*Math.sin(ne)};return a.alpha!==void 0&&(le.alpha=a.alpha),le}function Qv(a){const[y,b,z]=[a.L,a.a,a.b],ne=Math.sqrt(b*b+z*z),ce=Math.atan2(z,b)*180/Math.PI,Be={L:y,C:ne,H:ce};return a.alpha!==void 0&&(Be.alpha=a.alpha),Be}function ch(a){const[y,b,z]=[a.L,a.a,a.b],ne=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*z,3),le=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*z,3),ce=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*z,3),Be=4.076741661347994*ne-3.307711590408193*le+.230969928729428*ce,Ue=-1.2684380040921763*ne+2.6097574006633715*le-.3413193963102197*ce,Xe=-.004196086541837188*ne-.7034186144594493*le+1.7076147009309444*ce,ft=Ot=>{const qt=Math.abs(Ot);return qt<=.0031308?Ot*12.92:(Math.sign(Ot)||1)*(1.055*Math.pow(qt,1/2.4)-.055)};return[ft(Be),ft(Ue),ft(Xe)]}function dh(a){const[y,b,z]=a;return y>=0&&y<=1&&b>=0&&b<=1&&z>=0&&z<=1}function fh(a,y){let[b,z,ne]=a;return b=wf(b*255),z=wf(z*255),ne=wf(ne*255),y!==void 0?{r:b,g:z,b:ne,alpha:y}:{r:b,g:z,b:ne}}function Cm(a){let[y,b,z]=ch(a);if(dh([y,b,z]))return fh([y,b,z],a.alpha);const ne=Qv(a);if(ne.C=0,[y,b,z]=ch(uh(ne)),!dh([y,b,z]))return fh([y,b,z],a.alpha);let le=0,ce=a.L,Be=(le+ce)/2;ne.C=Be;const Ue=.36/Math.pow(2,12);for(;ce-le>Ue;)Be=(le+ce)/2,ne.C=Be,[y,b,z]=ch(uh(ne)),dh([y,b,z])?le=Be:ce=Be;return fh([y,b,z],a.alpha)}function Jv(a){return Cm(uh(a))}function wm(a,y){const b=sh(a),z=sh(y),ne=.56,le=.57,ce=.62,Be=.65,Ue=.022,Xe=1.414,ft=.1,Ot=5e-4,qt=1.14,xn=.027,On=1.14,Fr=.027;function oa(Eo){return Eo>=Ue?Eo:Eo+Cd(Ue-Eo,Xe)}function Mr(Eo){return(Eo<0?-1:1)*Math.pow(Math.abs(Eo),2.4)}const Ci=oa(Mr(z.r/255)*.2126729+Mr(z.g/255)*.7151522+Mr(z.b/255)*.072175),ca=oa(Mr(b.r/255)*.2126729+Mr(b.g/255)*.7151522+Mr(b.b/255)*.072175);let Ri,uo,Fo;return Math.abs(ca-Ci)<Ot?uo=0:ca>Ci?(Ri=Cd(ca,ne)-Cd(Ci,le),uo=Ri*qt):(Ri=Cd(ca,Be)-Cd(Ci,ce),uo=Ri*On),Math.abs(uo)<ft?Fo=0:uo>0?Fo=uo-Fr:Fo=uo+xn,Fo*100}function Sm(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const z=wm(a,b),ne=wm(a,y);return Math.abs(z)>Math.abs(ne)?b:y}function Xv(a){const y=sh(a);let b=((1<<24)+(wf(y.r)<<16)+(wf(y.g)<<8)+wf(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 $s(a){const y=Am(a);let b="";for(const z of y){if(typeof z.value!="string")return"";b+=z.value}return b}function Am(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function qv(a,y){const b=Am(a);if(b.length!==1)return!1;const z=P0[y];return z?!!z.test(b[0].value):!1}function $v(a,y){return $s(a).length>0}function e1(a){return[hh(a,"double-struck","mathbb","tooltip.blackboard"),hh(a,"fraktur","mathfrak","tooltip.fraktur"),hh(a,"calligraphic","mathcal","tooltip.caligraphic"),mh(a,"up","mathrm","tooltip.roman-upright"),mh(a,"bold","mathbf","tooltip.bold"),mh(a,"italic","mathit","tooltip.italic")]}function t1(a){return[{label:()=>Tu(`\\vec{${$s(a)}}`),visible:()=>$s(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\overrightarrow{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\overleftarrow{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\dot{${$s(a)}}`),visible:()=>$s(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\ddot{${$s(a)}}`),visible:()=>$s(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\bar{${$s(a)}}`),visible:()=>$s(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\overline{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\overgroup{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\overbrace{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\underline{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\undergroup{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\underbrace{${$s(a)}}`),visible:()=>$s(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function n1(a){return[{label:()=>Tu(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>Tu(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function r1(a){const y=[];for(const b of Object.keys(Re))y.push({class:(Xv(Sm(Re[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Re[b]} "></span>`,ariaLabel:()=>{var z;return(z=Oe(b))!=null?z:b},checked:()=>{var z;return{some:"mixed",all:!0}[(z=a.queryStyle({backgroundColor:b}))!=null?z:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function i1(a){const y=[];for(const b of Object.keys(Le))y.push({class:(Sm(Le[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${Le[b]} "></span>`,ariaLabel:()=>{var z;return(z=Oe(b))!=null?z:b},checked:()=>{var z;return{some:"mixed",all:!0}[(z=a.queryStyle({color:b}))!=null?z:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var a1=class extends fm{constructor(a,y,b,z){super(a,y),this.row=b,this.col=z}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 o1(a){const y=[];for(let b=1;b<=5;b++)for(let z=1;z<=5;z++)y.push({onCreate:(ne,le)=>new a1(ne,le,b,z),label:"\u2610",tooltip:()=>Oe("tooltip.row-by-col",b,z),data:{row:b,col:z},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(z).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function l1(a){return[{label:()=>Oe("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>of(a)},{label:()=>Oe("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>of(a)},{label:()=>Oe("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>of(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,z]=u1(a);return b<y.maxColumns}},{label:()=>Oe("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>of(a)},{type:"divider"},{label:()=>Oe("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>of(a)},{label:()=>Oe("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>of(a)},{type:"divider"},{label:()=>Oe("menu.borders"),visible:()=>(s1(a)||of(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>Uf(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>Uf(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>Uf(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>Uf(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>Uf(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>Oe("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:o1(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>Oe("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>Oe("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{ff(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>Oe("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{ff(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>Oe("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>Oe("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:e1(a),submenuClass:"variant-submenu"},{label:()=>Oe("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:i1(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Oe("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:r1(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>Oe("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:t1(a),submenuClass:"variant-submenu"},{label:()=>Oe("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&$s(a).length>0,submenu:n1(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>Oe("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=c1(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:()=>Oe("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const z=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!z){a.model.announce("plonk");return}a.insert(`=${z.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!z){a.model.announce("plonk");return}a.insert(z.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?Oe("menu.solve-for",Tu(b)):Oe("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,z=b==null?void 0:b.unknowns[0],ne=(y=b.solve(z))==null?void 0:y.map(le=>{var ce;return(ce=le.simplify().latex)!=null?ce:""});if(!ne){a.model.announce("plonk");return}a.insert(`${z}=${ne.length===1?ne[0]:"\\left\\lbrace"+(ne==null?void 0:ne.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>Oe("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>Oe("menu.copy"),id:"copy",submenu:[{label:()=>Oe("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>Jo.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>Oe("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>Jo.copyToClipboard(a,"ascii-math")},{label:()=>Oe("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>Jo.copyToClipboard(a,"math-ml")}]},{label:()=>Oe("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>Oe("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function of(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function s1(a){return a.model.at(a.model.position).type==="array"}function u1(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((z,ne)=>Math.max(z,ne.length),0)]:[0,0]}function Uf(a,y){e0(a),a.flushInlineShortcutBuffer(),Wh(a.model,y),cu(a)}function c1(a){var y,b;let z;if(a.model.selectionIsCollapsed?z=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):z=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!z)return"";let ne=z.evaluate();return ne.isSame(z)&&(ne=z.N()),ne.latex}function hh(a,y,b,z){return{label:()=>Tu(`\\${b}{${$s(a)}}`),tooltip:()=>{var ne;return(ne=Oe(z))!=null?ne:z},visible:()=>qv(a,y),checked:()=>{var ne;return{some:"mixed",all:!0}[(ne=a.queryStyle({variant:y}))!=null?ne:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function mh(a,y,b,z){return{label:()=>Tu(`\\${b}{${$s(a)}}`),tooltip:()=>{var ne;return(ne=Oe(z))!=null?ne:z},visible:()=>$v(a,y),checked:()=>{var ne;return{some:"mixed",all:!0}[(ne=a.queryStyle({variantStyle:y}))!=null?ne:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Sf(a,y){return a+Cf(y)}Mc({speak:(a,y,b)=>d1(a,y,b)},{target:"mathfield"});function d1(a,y,b){var z,ne;b=b!=null?b:{withHighlighting:!1};const{model:le}=a;function ce(ft){let Ot=null;switch(ft){case"all":Ot=le.root;break;case"selection":Ot=le.getAtoms(le.selection);break;case"left":{Ot=le.getAtoms(le.offsetOf(le.at(le.position).leftSibling),le.position);break}case"right":{Ot=le.getAtoms(le.position,le.offsetOf(le.at(le.position).rightSibling));break}case"group":Ot=le.getAtoms(le.getSiblingsRange(le.position));break;case"parent":{const{parent:qt}=le.at(le.position);qt!=null&&qt.parent?Ot=qt:Ot=le.root;break}default:Ot=le.root}return Ot}function Be(ft){let Ot="";switch(ft){case"all":console.log("Internal failure: speak all failed");break;case"selection":Ot="no selection";break;case"left":Ot="at start";break;case"right":Ot="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":Ot="no parent";break;default:console.log('unknown speak_ param value: "'+ft+'"');break}return Ot}const Ue=ce(y);if(Ue===null)return(ne=(z=window.MathfieldElement).speakHook)==null||ne.call(z,Be(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const Xe=Cf(Ue);return we()&&b.withHighlighting?(jd().readAloudMathfield=a,Jd(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,Xe)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(Xe),!1}function f1(a){var y,b;if(!we()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const z=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(z)}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 z=new window.AWS.Polly({apiVersion:"2016-06-10"}),ne={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"};z.synthesizeSpeech(ne,(le,ce)=>{if(le)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${le}`);else if(ce!=null&&ce.AudioStream){const Be=new Uint8Array(ce.AudioStream),Ue=new Blob([Be.buffer],{type:"audio/mpeg"}),Xe=URL.createObjectURL(Ue);new Audio(Xe).play().catch(Ot=>console.log(Ot))}else console.log("polly.synthesizeSpeech():",ce)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function Dm(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 h1(a,y,b,z){let ne="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ne=Sf("deleted: ",z);else if(y==="focus"||y.includes("move"))ne=m1(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+p1(a.model);else if(y==="replacement")ne=Sf("",a.model.at(a.model.position));else if(y==="line"){const le=Sf("",a.model.root);a.keyboardDelegate.setAriaLabel(le)}else ne=z?Sf(y+" ",z):y;if(ne){const le=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ne+le}}function m1(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let z="",ne=b.parent;const le=a.at(a.position).parent;for(;ne!==a.root&&ne!==le;)z+=`out of ${Dm(ne)};`,ne=ne.parent;return z}function p1(a){if(!a.selectionIsCollapsed)return Sf("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),z=Dm(b);return b.isFirstSibling&&(y=(z?"start of "+z:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=z?"end of "+z:"unknown"):y+=Sf("",b),y}var g1=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 z=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let ne={};if((y==null?void 0:y.type)==="undo"&&(ne={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ne={inputType:"historyRedo"}),this.contentWillChange(ne)){const le=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=Nd(a.content),this.selection=a.selection,this.silenceNotifications=le,this.contentDidChange(ne)}this.silenceNotifications=z}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,z,ne;const le=this.normalizeSelection(a,y);if(le===void 0)throw new TypeError("Invalid selection");if(le.ranges.length===1&&le.ranges[0][0]===le.ranges[0][1]){const ft=le.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(ft))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((z=this.at(ft-1))!=null&&z.parentPrompt){this._anchor=this.normalizeOffset(ft-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ne=this.at(ft+1))!=null&&ne.parentPrompt){this._anchor=this.normalizeOffset(ft+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=ft,this._position=ft,this._selection=le;return}const ce=uu(le);le.direction==="backward"?[this._position,this._anchor]=ce:[this._anchor,this._position]=ce;const Be=this.at(ce[0]+1),Ue=this.at(ce[1]),Xe=ri.commonAncestor(Be,Ue);(Xe==null?void 0:Xe.type)==="array"&&Be.parent===Xe&&Ue.parent===Xe?this._selection={ranges:[ce],direction:le.direction}:this._selection={ranges:[ce],direction:le.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 Cu&&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 z=y.parent.branch(y.parentBranch);return[this.offsetOf(z[0]),this.offsetOf(z[z.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 z=b!=null?b:{};if(Lc(a)){if(z=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((Xe,ft)=>[...Xe,...this.getAtoms(ft,z)],[]);a=a.ranges[0]}let ne,le;if(Dc(a)){if(ne=a,!Dc(y))return[];le=y}else[ne,le]=a,z=y!=null?y:{};if(!Number.isFinite(ne))return[];z.includeChildren===void 0&&(z.includeChildren=!1),ne<0&&(ne=this.lastOffset-ne+1),le<0&&(le=this.lastOffset-le+1);const ce=Math.min(ne,le)+1,Be=Math.max(ne,le);if(!z.includeChildren&&ce===1&&Be===this.lastOffset)return[this.root];let Ue=[];for(let Xe=ce;Xe<=Be;Xe++){const ft=this.atoms[Xe];Bm(this,ft,ce,Be)&&Ue.push(ft)}return z.includeChildren||(Ue=Ue.filter(Xe=>{let ft=!1,{parent:Ot}=Xe;for(;Ot&&!ft;)ft=Bm(this,Ot,ce,Be),Ot=Ot.parent;return!ft})),Ue}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let z=a;z<=b;z++)y.push(this.atoms[z]);for(let z=0;z<a;z++)y.push(this.atoms[z]);return y}findAtom(a,y=0,b="forward"){let z;const ne=this.lastOffset;if(b==="forward"){for(let le=y;le<=ne;le++)if(z=this.atoms[le],a(z))return z;for(let le=0;le<y;le++)if(z=this.atoms[le],a(z))return z;return}for(let le=y;le>=0;le--)if(z=this.atoms[le],a(z))return z;for(let le=ne;le>y;le--)if(z=this.atoms[le],a(z))return z}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 ri({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 ri.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 ys(a);if(b==="spoken")return Cf(a);if(b==="spoken-text"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ne=Cf(a);return window.MathfieldElement.textToSpeechMarkup=z,ne}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const z=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ne=Cf(a);return window.MathfieldElement.textToSpeechMarkup=z,ne}return b==="ascii-math"?gu(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 z,ne;if(Dc(a)&&Dc(y)?(z=[this.normalizeRange([a,y])],ne=b):td(a)?(z=[this.normalizeRange(a)],ne=y):Lc(a)?(z=a.ranges,ne=y):(z=[this.normalizeRange([0,-1])],ne=a),ne!=null||(ne="latex"),ne==="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 le=this.getValue({ranges:z},"latex-unstyled");try{const ce=window.MathfieldElement.computeEngine.parse(le);return JSON.stringify(ce.json)}catch(ce){return JSON.stringify(["Error",`'${ce.toString()}'`])}}if(ne.startsWith("latex")){const le={expandMacro:ne==="latex-expanded",skipStyles:ne==="latex-unstyled",skipPlaceholders:ne==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return ml(z.map(ce=>ri.serialize(this.getAtoms(ce),le)))}return z.map(le=>this.getAtoms(le).map(ce=>this.atomToString(ce,ne)).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[z,ne]=b,{parent:le}=this.at(ne);if(le&&(le.type==="genfrac"||le.type==="subsup"))for(;le!==this.root&&ph(this,le,[z,ne]);)ne=this.offsetOf(le),le=le.parent;for(le=this.at(z).parent;le!==this.root&&ph(this,le,[z,ne]);)z=this.offsetOf(le.leftSibling),le=le.parent;if(le=this.at(ne).parent,(le==null?void 0:le.type)==="genfrac")for(;le!==this.root&&ph(this,le,[z,ne]);)ne=this.offsetOf(le),console.assert(ne>=0),le=le.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[z,ne]],direction:"none"}})}announce(a,y,b=[]){var z,ne;((ne=(z=this.mathfield.host)==null?void 0:z.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?ne:!0)&&h1(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,z=this._anchor,ne=this._position,le=this.silenceNotifications;this.silenceNotifications=!0;const ce=this.root.changeCounter;y();const Be=this.root.changeCounter!==ce,Ue=z!==this._anchor||ne!==this._position||Uc(this._selection,b)==="different";return this.silenceNotifications=le,a.content&&Be&&this.contentDidChange({inputType:a.type}),a.selection&&Ue&&this.selectionDidChange(),Be||Ue}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 z;if(Dc(a)){const ne=this.normalizeOffset(a);if(Dc(y)){const le=this.normalizeOffset(y);z=ne<=le?{ranges:[[ne,le]],direction:"none"}:{ranges:[[le,ne]],direction:"backward"}}else z={ranges:[[ne,ne]],direction:"none"}}else if(td(a)){const ne=this.normalizeOffset(a[0]),le=this.normalizeOffset(a[1]);z=ne<=le?{ranges:[[ne,le]],direction:"none"}:{ranges:[[le,ne]],direction:"backward"}}else Lc(a)&&(z={ranges:a.ranges.map(ne=>this.normalizeRange(ne)),direction:(b=a.direction)!=null?b:"none"});return console.assert(z!==void 0),z}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(md(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",Fe(be({},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(md(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function Bm(a,y,b,z){const ne=a.offsetOf(y);if(ne<b||ne>z)return!1;if(!y.hasChildren)return!0;const le=a.offsetOf(y.firstChild);if(le>=b&&le<=z){const ce=a.offsetOf(y.lastChild);if(ce>=b&&ce<=z)return!0}return!1}function ph(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[z,ne]=b,le=a.offsetOf(y.firstChild),ce=a.offsetOf(y.lastChild);return le>=z&&le<=ne&&ce>=le&&ce<=ne}function Gf(a,y,b,z){var ne,le,ce,Be,Ue,Xe;const ft=b.parent;if(ft&&b instanceof zo){const Ot=!z&&y==="forward"||z==="body"&&y==="backward";let qt=Ot?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return Ot?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(ft.addChildrenAfter(b.removeBranch("body"),b),ft.removeChild(b),qt--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(ft.addChildrenAfter(b.removeBranch("body"),b),ft.removeChild(b),qt--),a.position=qt,!0}if(ft&&b.type==="surd"){if(y==="forward"&&!z||y==="backward"&&z==="body"){const Ot=b.leftSibling;b.hasChildren&&ft.addChildrenAfter(b.removeBranch("body"),b),ft.removeChild(b),a.position=a.offsetOf(Ot)}else y==="forward"&&z==="body"?a.position=a.offsetOf(b):!z&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),ft.removeChild(b)):z==="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(ft&&(b.type==="box"||b.type==="enclose")){const Ot=z&&y==="backward"||!z&&y==="forward"?b.leftSibling:b.lastChild;return ft.addChildrenAfter(b.removeBranch("body"),b),ft.removeChild(b),a.position=a.offsetOf(Ot),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!z)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 Ot=Yf.fractionNavigationOrder==="numerator-denominator"?"above":"below",qt=Ot==="above"?"below":"above";if(ft&&(y==="forward"&&z===Ot||y==="backward"&&z===qt)){const xn=b.removeBranch(Ot),On=b.removeBranch(qt);return ft.addChildrenAfter([...xn,...On],b),ft.removeChild(b),a.position=a.offsetOf(xn.length>0?xn[xn.length-1]:On[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!z&&y==="forward")return!1;if(!z){if(b.subscript||b.superscript){const Ot=y==="forward"?(ce=(ne=b.superscript)==null?void 0:ne[0])!=null?ce:(le=b.subscript)==null?void 0:le[0]:(Xe=(Be=b.subscript)==null?void 0:Be[0].lastSibling)!=null?Xe:(Ue=b.superscript)==null?void 0:Ue[0].lastSibling;return Ot&&(a.position=a.offsetOf(Ot)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const Ot=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=Ot,!0}if(z==="superscript")if(y==="backward"){const Ot=a.offsetOf(b.firstChild)-1;console.assert(Ot>=0),a.position=Ot}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else z==="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(z&&b.hasEmptyBranch(z)&&(b.removeBranch(z),b.type==="subsup"&&!b.subscript&&!b.superscript)){const Ot=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=Ot}return!0}if((ft==null?void 0:ft.type)==="genfrac"&&!z&&b.type!=="first"){let Ot=a.offsetOf(b.leftSibling);return ft.removeChild(b),ft.hasEmptyBranch("above")&&ft.hasEmptyBranch("below")?(Ot=a.offsetOf(ft.leftSibling),ft.parent.removeChild(ft),a.announce("delete",void 0,[ft]),a.position=Ot,!0):(a.announce("delete",void 0,[b]),a.position=Ot,!0)}if(y==="backward"&&((ft==null?void 0:ft.command)==="\\ln"||(ft==null?void 0:ft.command)==="\\log")&&b.parentBranch!=="body"){const Ot=a.offsetOf(ft.leftSibling);return ft.parent.removeChild(ft),a.announce("delete",void 0,[ft]),a.position=Ot,!0}return!1}function v1(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&&Gf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(Gf(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])}}):gd(a,uu(a.selection),"deleteContentBackward")}function y1(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let z=a.at(a.position).rightSibling;if(z&&Gf(a,"forward",z))return;if(z){if(a.at(a.position).isLastSibling&&Gf(a,"forward",z.parent,z.parentBranch))return}else{if(z=a.at(a.position),z.isLastSibling&&Gf(a,"forward",z.parent,z.parentBranch))return;z=void 0}if(a.position===a.lastOffset||!z){a.announce("plonk");return}z.parent.removeChild(z);let ne=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ne==null?void 0:ne.type)==="subsup";)ne.parent.removeChild(ne),ne=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[z])}):gd(a,uu(a.selection),"deleteContentForward")}function gd(a,y,b){const z=a.getAtoms(y);if(z.length>0&&z[0].parent){let ne=z[0].parent.firstChild;ne.type==="first"&&(ne=ne.rightSibling);const le=z[z.length-1].parent.lastChild;let ce=z[0];ce.type==="first"&&(ce=ce.rightSibling);const Be=z[z.length-1];if(ce===ne&&Be===le){const Ue=z[0].parent;Ue.parent&&Ue.type!=="prompt"&&(y=[a.offsetOf(Ue.leftSibling),a.offsetOf(Ue)])}if(z.length===1&&z[0].type==="placeholder"&&z[0].parent.type==="genfrac"){const Ue=z[0].parent,Xe=z[0].parentBranch==="below"?"above":"below",ft=a.offsetOf(Ue.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var Ot,qt;const xn=Ue.removeBranch(Xe);if(xn.length===1&&xn[0].type==="placeholder")(qt=Ue.parent)==null||qt.removeChild(Ue),a.position=Math.max(0,ft);else{const On=Ue.parent.addChildrenAfter(xn,Ue);(Ot=Ue.parent)==null||Ot.removeChild(Ue),a.position=a.offsetOf(On)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Mc({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&gd(a,[0,-1],"deleteContent"),deleteForward:a=>y1(a),deleteBackward:a=>v1(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&gd(a,[a.anchor,W0(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&gd(a,[a.anchor,W0(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&gd(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&gd(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&gd(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&gd(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var b1=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${Oe("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>`,x1=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${Oe("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>`,E1=class{constructor(a,y){this.focusBlurInProgress=!1;var b,z,ne;this.options=be(Fe(be({},d0()),{macros:wn(),registers:sc()}),c0(y)),this.eventController=new AbortController;const le=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 ce=(z=(b=y.value)!=null?b:this.element.textContent)!=null?z:"";ce=ce.trim();const Be=jh(this.options),Ue=new ri({type:"root",mode:Be,body:Wi(ce,{context:this.context})});this.model=new g1(this,Be,Ue),this.undoManager=new Ug(this.model);const Xe=[];if(Xe.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>"),Xe.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),Xe.push("<span part=content class=ML__content>"),Xe.push(Ih(this)),Xe.push("</span>"),window.mathVirtualKeyboard&&(Xe.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">`),Xe.push(b1),Xe.push("</div>")),Xe.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),Xe.push(x1),Xe.push("</div>"),Xe.push("</span>"),Xe.push("<span class=ML__sr-only>"),Xe.push("<span role=status aria-live=assertive aria-atomic=true></span>"),Xe.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(Xe.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=Ke.subscribe(()=>Ke.update(this.element)),Ke.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",Ot=>Ot.stopImmediatePropagation(),{capture:!1,signal:le}),this.field.addEventListener("wheel",this,{passive:!1,signal:le}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:le}):this.field.addEventListener("mousedown",this,{signal:le}),(ne=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ne.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(md(this)))},{signal:le}),this._menu=new Pv(l1(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:le});const ft=this.element.querySelector("[part=menu-toggle]");ft==null||ft.addEventListener("pointerdown",Ot=>{if(Ot.currentTarget!==ft||this._menu.state!=="closed")return;this.element.classList.add("tracking");const qt=ft.getBoundingClientRect();this._menu.modifiers=Qd(Ot),this._menu.show({target:ft,location:{x:qt.left,y:qt.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),Ot.preventDefault(),Ot.stopPropagation()},{signal:le}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(ft.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=Xp(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:le}),document.addEventListener("scroll",this,{signal:le}),this.resizeObserver=new ResizeObserver(()=>cu(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:le}),Lf&&!Ke.locale.startsWith(Lf.locale)&&Gp(Ke.locale),Tc!=="ready"&&document.fonts.ready.then(()=>a0(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(md(this)),w0(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,th())}showMenu(a){var y,b;const z=(b=(y=a==null?void 0:a.location)!=null?y:Vu(this.field))!=null?b:void 0,ne=a==null?void 0:a.modifiers,le=this.element.querySelector("[part=container]");return this._menu.show({target:le,location:z,modifiers:ne})}get colorMap(){return a=>{var y,b,z;return(z=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?z:ze(a)}}get backgroundColorMap(){return a=>{var y,b,z,ne,le,ce;return(ce=(le=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?le:(ne=(z=this.options).colorMap)==null?void 0:ne.call(z,a))!=null?ce:Te(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=ri.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=be({},a[0].style);for(const b of a)for(const[z,ne]of Object.entries(b.style))y[z]!==ne&&delete y[z];return y}queryStyle(a){const y=J0(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 Ue of Object.keys(y)){const Xe=this.queryStyle({[Ue]:y[Ue]});if(Xe==="none")return"none";if(Xe==="some")return"some"}return"all"}const z=Object.keys(y)[0],ne=y[z];if(this.model.selectionIsCollapsed)return this.effectiveStyle[z]===ne?"all":"none";const le=this.model.getAtoms(this.model.selection,{includeChildren:!0});let ce=le.length;if(ce===0)return"none";let Be=0;for(const Ue of le){if(Ue.type==="first"){ce-=1;continue}Ue.style[z]===ne&&(Be+=1)}return Be===0?"none":Be===ce?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,z]=ng(this.options.keybindings,(a=If())!=null?a:Yp());return((y=If())==null?void 0:y.score)>0&&(this._keybindings=b,z.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",z)),b}get menu(){return this._menu}setOptions(a){var y;this.options=be(be({},this.options),c0(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 z=ri.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==z)&&Jo.insert(this.model,z,{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)&&cu(this)}getOptions(a){return qd(this.options,a)}getOption(a){return qd(this.options,a)}handleEvent(a){return Zd(this,null,function*(){var y;if(hc(this)){if(H0(a)){if(!ae(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 z=a.data.command;if(mf(z)==="virtual-keyboard")return;this.executeCommand(z)}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"&&nm(this,a);break;case"pointerdown":this.userSelect!=="none"&&(nm(this,a),a.shiftKey===!1&&(yield gm(a,this.element.querySelector("[part=container]"),this._menu))&&b0.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield gm(a,this.element.querySelector("[part=container]"),this._menu))&&b0.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&w0(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>hc(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>hc(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!hc(this))return;Ke.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,rv(),sg(),Sv()}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 mf(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(md(this))),!1):pg(this,a)}get errors(){return is(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=sd(this.model,this.model.position))!=null?b:"math");const z=this.undoManager.canUndo();Jo.insert(this.model,a,y)&&(cu(this),z||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 z=window.mathVirtualKeyboard.boundingRect,ne=this.host.getBoundingClientRect();ne.bottom>z.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ne.bottom-z.top+8))}}this.dirty&&Jd(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Vu(this.field);else{const z=Ud(this);if(z.length>0){let ne=-1/0,le=-1/0;for(const ce of z)ce.right>ne&&(ne=ce.right),ce.top<le&&(le=ce.top);b={x:ne+y.left-this.field.scrollLeft,y:le+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const z=this.host.getBoundingClientRect(),ne=b.y;let le=this.host.scrollTop;ne<z.top?le=ne-z.top+this.host.scrollTop:ne>z.bottom&&(le=ne-z.bottom+this.host.scrollTop+b.height),this.host.scroll({top:le,left:0})}if(b){const z=b.x-window.scrollX;let ne=this.field.scrollLeft;z<y.left?ne=z-y.left+this.field.scrollLeft-20:z>y.right&&(ne=z-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ne})}}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&&Ne()&&navigator.vibrate(Oh),window.MathfieldElement.playSound("keypress")),a==="\\\\"?Zh(this.model):a==="&"?Kh(this.model):this.model.selectionIsCollapsed?Jo.insert(this.model,a,be({style:this.model.at(this.model.position).computedStyle},y)):Jo.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),cu(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var z;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const ne=this.model.mode;if(this.model.mode=a,!((z=this.host)!=null&&z.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=ne;return}const le=this.model.mode,{model:ce}=this;ce.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let Be=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const Ue=Wi(y,{context:this.context,parseMode:a});ce.collapseSelection("forward");const Xe=ce.at(ce.position);ce.position=ce.offsetOf(Xe.parent.addChildrenAfter(Ue,Xe)),Be=!0}if(this.model.mode=a,a==="latex"){let Ue=ce.selectionIsCollapsed;ff(this,"accept");let Xe,ft=ce.at(ce.position);if(Ue)Xe="\\";else{const qt=uu(ce.selection);Xe=this.model.getValue(qt,"latex");const xn=this.model.extractAtoms(qt);xn.length===1&&xn[0].type==="placeholder"&&(Xe=y,Ue=!0),ft=ce.at(qt[0])}const Ot=new Gd(Xe);ft.parent.addChildAfter(Ot,ft),Ue?ce.position=ce.offsetOf(Ot.lastChild):ce.setSelection(ce.offsetOf(Ot.firstChild),ce.offsetOf(Ot.lastChild))}else Of(ce).forEach(Ue=>{Ue.isError=!1});if(b){const Ue=Wi(b,{context:this.context,parseMode:le});ce.collapseSelection("forward");const Xe=ce.at(ce.position);ce.position=ce.offsetOf(Xe.parent.addChildrenAfter(Ue,Xe)),Be=!0}return cu(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),Be}),this.model.mode=a,window.mathVirtualKeyboard.update(md(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,z;const ne={operation:"set",silenceNotifications:!1};td(y)?ne.range=y:(y.operation==="toggle"&&(ne.operation="toggle"),ne.range=y.range,ne.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const le=J0(this,a),ce=(z=ne.operation)!=null?z:"set";if(ne.range===void 0&&this.model.selectionIsCollapsed){if(ce==="set"){this.defaultStyle=be(be({},this.defaultStyle),le);return}const Be=be({},this.defaultStyle);for(const Ue of Object.keys(le))Be[Ue]===le[Ue]?(Ue==="color"&&delete Be.verbatimColor,Ue==="backgroundColor"&&delete Be.verbatimBackgroundColor,delete Be[Ue]):Be[Ue]=le[Ue];this.defaultStyle=Be;return}this.model.deferNotifications({content:!ne.silenceNotifications,type:"insertText"},()=>{if(ne.range===void 0)for(const Be of this.model.selection.ranges)Z0(this.model,Be,le,{operation:ce});else Z0(this.model,ne.range,le,{operation:ce})}),cu(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=Vu(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=Zf(this,a,y,{bias:0});if(b<0)return!1;const z=this.model.position;return this.model.position=b,this.model.announce("move",z),cu(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 z=this.model.offsetOf(b.firstChild),ne=this.model.offsetOf(b.lastChild);return this.model.getValue(z,ne,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 z=this.getPrompt(a);if(!z){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const ne=this.model.getBranchRange(this.model.offsetOf(z),"body");this.model.setSelection(ne),this.insert(y,Fe(be({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),cu(this)}setPromptState(a,y,b){const z=this.getPrompt(a);if(!z){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?z.correctness=void 0:typeof y=="string"&&(z.correctness=y),typeof b=="boolean"&&(z.locked=b,z.captureSelection=b),cu(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(md(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(md(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(md(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 z=b.at(b.position),ne=(a=z.mode)!=null?a:jh(this.options);this.model.mode!==ne&&(this.model.mode==="latex"?(ff(this,"accept",{mode:ne}),b.position=b.offsetOf(z)):this.switchMode(ne))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(md(this)),w0(this)}onContentWillChange(a){var y,b,z;return(z=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",Fe(be({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?z:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),Jd(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="",hf(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})),cu(this),this.focusBlurInProgress=!1,th();const z=new AbortController,ne=z.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{hc(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ne})},{once:!0,signal:ne}),setTimeout(()=>z.abort(),100)}onInput(a){G0(this,a)}onKeystroke(a){return $h(this,a)}onCompositionStart(a){this.model.deleteAtoms(uu(this.model.selection));const y=Vu(this.field);y&&requestAnimationFrame(()=>{Jd(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Ng(this.model,a),cu(this)}onCompositionEnd(a){Rg(this.model),G0(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),Jo.onCopy(this,a),gd(this.model,uu(this.model.selection),"deleteByCut"),this.snapshot("cut"),cu(this))}onCopy(a){Jo.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=Jo.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(),n0(this),w0(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=>an(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function Mm(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)Mm(y)}function gh(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(z=>{z instanceof HTMLElement&&gh(z)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(z=>{z instanceof HTMLElement&&gh(z,y)})))}function C1(a,y){var b;if(!we())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 z=new window.AWS.Polly({apiVersion:"2016-06-10"}),ne={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};jd().readAloudElement=a,z.synthesizeSpeech(ne,(le,ce)=>{if(le){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${le}`);return}if(!(ce!=null&&ce.AudioStream)){console.log("polly.synthesizeSpeech():",ce);return}const Be=new TextDecoder("utf-8").decode(new Uint8Array(ce.AudioStream));jd().readAloudMarks=Be.split(`
|
|
|
`).map(Ue=>Ue?JSON.parse(Ue):{}),jd().readAloudTokens=[];for(const Ue of jd().readAloudMarks)Ue.value&&jd().readAloudTokens.push(Ue.value);jd().readAloudCurrentMark="",ne.OutputFormat="mp3",ne.SpeechMarkTypes=[],z.synthesizeSpeech(ne,(Ue,Xe)=>{if(Ue){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${Ue}`);return}if(!(Xe!=null&&Xe.AudioStream))return;const ft=new Uint8Array(Xe.AudioStream),Ot=new Blob([ft.buffer],{type:"audio/mpeg"}),qt=URL.createObjectURL(Ot),xn=jd();xn.readAloudAudio?xn.readAloudAudio.pause():(xn.readAloudAudio=new Audio,xn.readAloudAudio.addEventListener("ended",()=>{const On=xn.readAloudMathfield;xn.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),On?(Jd(On),xn.readAloudElement=null,xn.readAloudMathfield=null,xn.readAloudTokens=[],xn.readAloudMarks=[],xn.readAloudCurrentMark=""):Mm(xn.readAloudElement)}),xn.readAloudAudio.addEventListener("timeupdate",()=>{let On="";const Fr=xn.readAloudAudio.currentTime*1e3+100;for(const oa of xn.readAloudMarks)oa.time<Fr&&(On=oa.value);xn.readAloudCurrentMark!==On&&(xn.readAloudCurrentToken=On,On&&On===xn.readAloudFinalToken?xn.readAloudAudio.pause():(xn.readAloudCurrentMark=On,gh(xn.readAloudElement,xn.readAloudCurrentMark)))})),xn.readAloudAudio.src=qt,xn.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),xn.readAloudAudio.play()})})}we()||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 us=new WeakMap,w1=.5,Hd={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 = ..."},Yu=class lf extends HTMLElement{static get formAssociated(){return Af()}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,dg())}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,z,ne;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:(z=y.return)!=null?z:y.default,delete:(ne=y.delete)!=null?ne: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 Ke.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),Ke.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 Ke.strings}static set strings(y){Ke.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 z=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!z)return null;this._computeEngine=new z,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 Zd(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 z=this.soundsDirectory;if(!(z==null||z==="null"||b==="none"||b==="null"))try{const le=yield(yield fetch(yield Lh(`${z}/${b}`))).arrayBuffer(),ce=yield this.audioContext.decodeAudioData(le);this.audioBuffers[y]=ce}catch(ne){}})}static playSound(y){return Zd(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 z=this.audioContext.createGain();z.gain.value=w1,b.connect(z).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const z of Object.keys(y))if(Hd[z])if(Hd[z].startsWith("mf."))if(Hd[z].startsWith(`mf.${z}`))b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${Hd[z]}`);else{const ne=Hd[z].match(/([a-zA-Z]+) =/);b.push(`Option \`${z}\` has been renamed \`${ne[1]}\``)}else b.push(`Option \`${z}\` cannot be used as a constructor option. Use ${Hd[z]}`);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 z of b)console.warn(z);console.groupEnd()}}if(Af()&&(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=[Ha("core"),Ha("mathfield"),Ha("mathfield-element"),Ha("ui"),Ha("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>"+ao("core")+ao("mathfield")+ao("mathfield-element")+ao("ui")+ao("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const z=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=z==null?void 0:z.assignedNodes().map(ne=>ne.nodeType===3?ne.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?z:!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 z,ne;return(ne=(z=this._mathfield)==null?void 0:z.getPromptValue(y,b))!=null?ne:""}setPromptValue(y,b,z){var ne;(ne=this._mathfield)==null||ne.setPromptValue(y,b,z)}getPromptRange(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?z:null}getPrompts(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?z:[]}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,z;if(!this._mathfield)return;const ne=(z=(b=lf.computeEngine)==null?void 0:b.box(y).latex)!=null?z:null;ne!==null&&this._mathfield.setValue(ne),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?qd(this._mathfield.options,y):us.has(this)?be({},qd(be(be({},d0()),c0(us.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?qd(this._mathfield.options,y):us.has(this)?qd(be(be({},d0()),c0(us.get(this).options)),y):null}reflectAttributes(){const y=d0(),b=this._getOptions();Object.keys(lf.optionsAttributes).forEach(z=>{const ne=Fd(z);lf.optionsAttributes[z]==="on/off"?y[ne]!==b[ne]?this.setAttribute(z,b[ne]?"on":"off"):this.removeAttribute(z):y[ne]!==b[ne]&&(lf.optionsAttributes[z]==="boolean"?b[ne]?this.setAttribute(z,""):this.removeAttribute(z):(typeof b[ne]=="string"||typeof b[ne]=="number")&&this.setAttribute(z,b[ne].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(us.has(this)){const b=be(be({},us.get(this).options),y);us.set(this,Fe(be({},us.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else us.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))Hd[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${Hd[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?z:!1}getValue(y,b,z){var ne,le;if(this._mathfield)return this._mathfield.model.getValue(y,b,z);if(us.has(this)){let ce,Be,Ue;if(Lc(y)?([ce,Be]=y.ranges[0],Ue=b):td(y)?([ce,Be]=y,Ue=b):Dc(y)&&Dc(b)?(ce=y,Be=b,Ue=z):(ce=0,Be=-1,Ue=y),(Ue===void 0||Ue==="latex")&&ce===0&&Be===-1)return(le=(ne=us.get(this).value)!=null?ne:this.textContent)!=null?le:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(us.has(this)){const ne=us.get(this).options;us.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ne,menuItems:void 0});return}const z=Qf(this);us.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:z,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 z,ne;return(ne=(z=this._mathfield)==null?void 0:z.insert(y,b))!=null?ne:!1}applyStyle(y,b){var z;return(z=this._mathfield)==null?void 0:z.applyStyle(y,b)}queryStyle(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?z:"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 z,ne;return(ne=(z=this._mathfield)==null?void 0:z.setCaretPoint(y,b))!=null?ne:!1}offsetFromPoint(y,b,z){return this._mathfield?Zf(this._mathfield,y,b,z):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const z=ud(this._mathfield,b);return z?new DOMRect(z.left,z.top,z.right-z.left,z.bottom-z.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,z,ne,le;dd.state==="closed"&&((z=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:z.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((ne=this._mathfield)==null||ne.focus()),y.type==="blur"&&((le=this._mathfield)==null||le.blur()))}connectedCallback(){var y,b,z,ne;const le=window.getComputedStyle(this),ce=this.shadowRoot,Be=le.userSelect!=="none";if(Be)ce.host.addEventListener("pointerdown",this,!0);else{const ft=ce.querySelector("span");ft.style.pointerEvents="none"}ce.host.addEventListener("focus",this,!0),ce.host.addEventListener("blur",this,!0),Af()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),Be&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const Ue=ce.querySelector("slot:not([name])");if(Ue)try{this._style=Ue.assignedElements().filter(ft=>ft.tagName.toLowerCase()==="style").map(ft=>ft.textContent).join("")}catch(ft){console.error(ft)}if(this._style){const ft=document.createElement("style");ft.textContent=this._style,ce.appendChild(ft)}let Xe="";if(this.hasAttribute("value")?Xe=this.getAttribute("value"):Xe=(y=Ue==null?void 0:Ue.assignedNodes().map(ft=>ft.nodeType===3?ft.textContent:"").join("").trim())!=null?y:"",this._mathfield=new E1(ce.querySelector(":host > span"),Fe(be({},(z=(b=us.get(this))==null?void 0:b.options)!=null?z:Qf(this)),{eventSink:this,value:Xe})),!us.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const ft of Object.keys(lf.optionsAttributes))this.upgradeProperty(Fd(ft))}if(!((ne=this._mathfield)!=null&&ne.model)){this._mathfield=null;return}if(us.has(this)){const ft=this._mathfield,Ot=us.get(this),qt=Ot.menuItems;ft.model.deferNotifications({content:!1,selection:!1},()=>{const xn=Ot.value;xn!==void 0&&ft.setValue(xn),ft.model.selection=Ot.selection,us.delete(this)}),qt&&(this.menuItems=qt)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),i0()}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 z=qd(this._mathfield.options,Object.keys(lf.optionsAttributes).map(ne=>Fd(ne)));us.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:z}),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,z){if(b===z)return;const ne=z!==null;switch(y){case"contenteditable":cu(this._mathfield);break;case"disabled":this.disabled=ne;break;case"read-only":case"readonly":this.readOnly=ne;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),Af()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(Af()?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 z=!!y;z?this.setAttribute("disabled",""):this.removeAttribute("disabled"),Af()?this._internals.ariaDisabled=z?"true":"false":this.setAttribute("aria-disabled",z?"true":"false"),z&&((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,z)=>{if(typeof z=="string")return y._getOption("registers")[z]},set(b,z,ne){return typeof z!="string"?!1:(y._setOptions({registers:Fe(be({},y._getOption("registers")),{[z]:ne})}),!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,z;return this._mathfield?(y=this._mathfield.menu._menuItems.map(ne=>ne.menuItem))!=null?y:[]:(z=(b=us.get(this))==null?void 0:b.menuItems)!=null?z:[]}set menuItems(y){var b;if(this._mathfield){const z=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");z&&(z.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}us.has(this)?us.set(this,Fe(be({},us.get(this)),{menuItems:y})):us.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:Qf(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,z){var ne;(ne=this._mathfield)==null||ne.setPromptState(y,b,z)}getPromptState(y){var b,z;return(z=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?z:[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:us.has(this)?us.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,cu(this._mathfield);return}if(us.has(this)){us.set(this,Fe(be({},us.get(this)),{selection:y}));return}us.set(this,{value:void 0,selection:y,options:Qf(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:us.has(this)?us.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,cu(this._mathfield)),us.has(this)){us.set(this,Fe(be({},us.get(this)),{selection:{ranges:[[y,y]]}}));return}us.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:Qf(this),menuItems:void 0})}getOffsetDepth(y){var b,z;return this._mathfield?((z=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?z:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};Yu.version="0.98.5",Yu._fontsDirectory="./fonts",Yu._soundsDirectory="./sounds",Yu.keypressVibration=!0,Yu._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Yu._plonkSound="plonk.wav",Yu.audioBuffers={},Yu.createHTML=a=>a,Yu._speechEngineRate="100%",Yu._speechEngineVoice="Joanna",Yu._textToSpeechMarkup="",Yu._textToSpeechRules="mathlive",Yu._textToSpeechRulesOptions={},Yu.speakHook=f1,Yu.readAloudHook=C1,Yu._decimalSeparator=".",Yu.fractionNavigationOrder="numerator-denominator",Yu._isFunction=a=>{var y,b;const z=window.MathfieldElement.computeEngine;return(b=(y=z==null?void 0:z.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var Yf=Yu;function Fd(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function Qf(a){const y={readOnly:!1},b=Yf.optionsAttributes;return Object.keys(b).forEach(z=>{if(a.hasAttribute(z)){const ne=a.getAttribute(z);z==="placeholder"?y.contentPlaceholder=ne!=null?ne:"":b[z]==="boolean"?y[Fd(z)]=!0:b[z]==="on/off"?ne==="on"?y[Fd(z)]=!0:ne==="off"?y[Fd(z)]=!1:y[Fd(z)]=void 0:b[z]==="number"?y[Fd(z)]=Number.parseFloat(ne!=null?ne:"0"):y[Fd(z)]=ne}}),y}function Af(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var Fm=Yf,km,Pm,Lm,Im;if(we()&&!((km=window.customElements)!=null&&km.get("math-field"))){(Lm=window[Pm=Symbol.for("io.cortexjs.mathlive")])!=null||(window[Pm]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=Yf,(Im=window.customElements)==null||Im.define("math-field",Yf)}function S1(a,y,b){let z=b,ne=0;const le=a.length;for(;z<y.length;){const ce=y[z];if(ne<=0&&y.slice(z,z+le)===a)return z;ce==="\\"?z++:ce==="{"?ne++:ce==="}"&&ne--,z++}return-1}function M0(a,y,b,z,ne="latex"){const le=[];for(const ce of a)if(ce.type==="text"){const Be=ce.data;let Ue=!0,Xe=0,ft;ft=Be.indexOf(y),ft!==-1&&(Xe=ft,Xe>0&&le.push({type:"text",data:Be.slice(0,Xe)}),Ue=!1);let Ot=!1;for(;!Ot;){if(Ue){if(ft=Be.indexOf(y,Xe),ft===-1){Ot=!0;break}Xe!==ft&&le.push({type:"text",data:Be.slice(Xe,ft)}),Xe=ft}else{if(ft=S1(b,Be,Xe+y.length),ft===-1){Ot=!0;break}let qt=Be.slice(Xe+y.length,ft);ne==="ascii-math"&&([,qt]=fo(qt,{format:"ascii-math"})),le.push({type:"math",data:qt,rawData:Be.slice(Xe,ft+b.length),mathstyle:z}),Xe=ft+b.length}Ue=!Ue}Xe<Be.length&&le.push({type:"text",data:Be.slice(Xe)})}else le.push(ce);return le}function Om(a,y,b){let z=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ne,le])=>{z=M0(z,ne,le,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ne,le])=>{z=M0(z,ne,le,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ne,le])=>{z=M0(z,ne,le,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ne,le])=>{z=M0(z,ne,le,"displaystyle","ascii-math")}),z}function A1(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const z="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(z)}catch(z){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${z}`),b.textContent=a}return b.className="ML__sr-only",b}function D1(a,y,b,z){try{const ne=y.renderToMarkup(a,{mathstyle:b,format:"html"}),le=document.createElement("span");return le.dataset.latex=a,le.style.display=b==="displaystyle"?"flex":"inline-flex",le.setAttribute("aria-hidden","true"),le.setAttribute("translate","no"),le.innerHTML=window.MathfieldElement.createHTML(ne),le}catch(ne){if(console.error("Could not parse'"+a+"' with ",ne),z)return document.createTextNode(a)}return null}function Df(a,y,b,z){var ne;const le=D1(a,b,y||"textstyle",z),ce=(ne=b.renderAccessibleContent)!=null?ne:"";if(le&&/\b(mathml|speakable-text)\b/i.test(ce)){const Be=document.createElement("span");if(/\bmathml\b/i.test(ce)&&b.renderToMathML&&Be.append(A1(a,b)),/\bspeakable-text\b/i.test(ce)&&b.renderToSpeakableText){const Ue=document.createElement("span");Ue.setAttribute("translate","no");const Xe=b.renderToSpeakableText(a);Ue.innerHTML=window.MathfieldElement.createHTML(Xe),Ue.className="ML__sr-only",Be.append(Ue)}return Be.append(le),Be}return le}function B1(a,y){var b,z,ne;let le=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){le=document.createDocumentFragment();const ce=Df(a,"",y,!0);ce&&le.appendChild(ce)}else{if(!a.trim())return null;const ce=Om(a,(z=y.TeX)==null?void 0:z.delimiters,(ne=y.asciiMath)==null?void 0:ne.delimiters);if(ce.length===1&&ce[0].type==="text")return null;le=document.createDocumentFragment();for(const Be of ce)if(Be.type==="text")le.appendChild(document.createTextNode(Be.data));else{const Ue=Df(Be.data,Be.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Ue&&le.appendChild(Ue)}}return le}function _m(a,y){var b,z,ne,le,ce,Be,Ue,Xe,ft,Ot,qt,xn,On,Fr,oa,Mr;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Ci=(b=a.childNodes[0].textContent)!=null?b:"";if((z=y.TeX)!=null&&z.processEnvironments&&/^\s*\\begin/.test(Ci)){a.textContent="";const Ri=Df(Ci,"",y,!0);Ri&&a.append(Ri);return}const ca=Om(Ci,(ne=y.TeX)==null?void 0:ne.delimiters,(le=y.asciiMath)==null?void 0:le.delimiters);if(ca.length===1&&ca[0].type==="math"){a.textContent="";const Ri=Df(ca[0].data,ca[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Ri&&a.append(Ri);return}if(ca.length===1&&ca[0].type==="text")return}for(let Ci=a.childNodes.length-1;Ci>=0;Ci--){const ca=a.childNodes[Ci];if(ca.nodeType===3){const Ri=B1((ce=ca.textContent)!=null?ce:"",y);Ri&&(Ci+=Ri.childNodes.length-1,ca.replaceWith(Ri))}else if(ca.nodeType===1){const Ri=ca,uo=ca.nodeName.toLowerCase();if(uo==="script"){const Fo=ca;let Eo;if((Be=y.processScriptTypePattern)!=null&&Be.test(Fo.type))Eo=(Ue=Fo.textContent)!=null?Ue:"";else if((Xe=y.processMathJSONScriptTypePattern)!=null&&Xe.test(Fo.type))try{Eo=(Ot=y.serializeToLatex)==null?void 0:Ot.call(y,JSON.parse((ft=Fo.textContent)!=null?ft:""))}catch(ql){console.error(ql)}if(Eo){let ql="textstyle";for(const Sa of Fo.type.split(";")){const[Nc,vd]=Sa.toLowerCase().split("=");Nc.trim()==="mode"&&(ql=vd.trim()==="display"?"displaystyle":"textstyle")}const Bs=Df(Eo,ql,y,!0);Bs&&Fo.parentNode.replaceChild(Bs,Fo)}}else if(((xn=(qt=y.processClassPattern)==null?void 0:qt.test(Ri.className))!=null?xn:!1)||!((Fr=(On=y.skipTags)==null?void 0:On.includes(uo))!=null&&Fr||(Mr=(oa=y.ignoreClassPattern)==null?void 0:oa.test(Ri.className))!=null&&Mr))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Eo=a.textContent;a.textContent="";const ql=Df(Eo!=null?Eo:"","displaystyle",y,!0);ql&&a.append(ql)}else _m(Ri,y)}}}var M1={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 F1(a,y){var b,z,ne,le;try{const ce=be(be({},M1),y);ce.ignoreClassPattern=new RegExp((b=ce.ignoreClass)!=null?b:""),ce.processClassPattern=new RegExp((z=ce.processClass)!=null?z:""),ce.processScriptTypePattern=new RegExp((ne=ce.processScriptType)!=null?ne:""),ce.processMathJSONScriptTypePattern=new RegExp((le=ce.processMathJSONScriptType)!=null?le:""),i0(),Va("core"),_m(a,ce)}catch(ce){ce instanceof Error?console.error("renderMathInElement(): "+ce.message):console.error("renderMathInElement(): Could not render math for element",a)}}function k1(a,y){const b=Rd.singleton;return b?(b.show(),Nf(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function P1(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Mc({switchKeyboardLayer:k1,toggleVirtualKeyboard:P1,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function jd(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function H1(){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 j1(a){I1(document.body,a)}function L1(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 I1(a,y){var b,z,ne,le;const ce=L1(a);if(!ce)return;const Be=y!=null?y:{};(b=Be.renderToMarkup)!=null||(Be.renderToMarkup=Tu),(z=Be.renderToMathML)!=null||(Be.renderToMathML=Vv),(ne=Be.renderToSpeakableText)!=null||(Be.renderToSpeakableText=Uv),(le=Be.serializeToLatex)!=null||(Be.serializeToLatex=Gv),F1(ce,Be)}var Z1={mathlive:"0.98.5"}},16722:function(tn,kt,te){"use strict";te.d(kt,{Z:function(){return be}});const ee=Fe=>typeof Fe=="object"&&Fe!=null&&Fe.nodeType===1,de=(Fe,He)=>(!He||Fe!=="hidden")&&Fe!=="visible"&&Fe!=="clip",Ce=(Fe,He)=>{if(Fe.clientHeight<Fe.scrollHeight||Fe.clientWidth<Fe.scrollWidth){const rt=getComputedStyle(Fe,null);return de(rt.overflowY,He)||de(rt.overflowX,He)||(Ae=>{const ge=(we=>{if(!we.ownerDocument||!we.ownerDocument.defaultView)return null;try{return we.ownerDocument.defaultView.frameElement}catch(Se){return null}})(Ae);return!!ge&&(ge.clientHeight<Ae.scrollHeight||ge.clientWidth<Ae.scrollWidth)})(Fe)}return!1},We=(Fe,He,rt,Ae,ge,we,Se,Ne)=>we<Fe&&Se>He||we>Fe&&Se<He?0:we<=Fe&&Ne<=rt||Se>=He&&Ne>=rt?we-Fe-Ae:Se>He&&Ne<rt||we<Fe&&Ne>rt?Se-He+ge:0,xe=Fe=>{const He=Fe.parentElement;return He==null?Fe.getRootNode().host||null:He},Ee=(Fe,He)=>{var rt,Ae,ge,we;if(typeof document=="undefined")return[];const{scrollMode:Se,block:Ne,inline:ke,boundary:Ye,skipOverflowHiddenElements:et}=He,Ke=typeof Ye=="function"?Ye:ut=>ut!==Ye;if(!ee(Fe))throw new TypeError("Invalid target");const Oe=document.scrollingElement||document.documentElement,_e=[];let me=Fe;for(;ee(me)&&Ke(me);){if(me=xe(me),me===Oe){_e.push(me);break}me!=null&&me===document.body&&Ce(me)&&!Ce(document.documentElement)||me!=null&&Ce(me,et)&&_e.push(me)}const Re=(Ae=(rt=window.visualViewport)==null?void 0:rt.width)!=null?Ae:innerWidth,Le=(we=(ge=window.visualViewport)==null?void 0:ge.height)!=null?we:innerHeight,{scrollX:Pe,scrollY:De}=window,{height:ze,width:Te,top:xt,right:Ze,bottom:vt,left:ot}=Fe.getBoundingClientRect(),{top:mt,right:Lt,bottom:It,left:Qe}=(ut=>{const tt=window.getComputedStyle(ut);return{top:parseFloat(tt.scrollMarginTop)||0,right:parseFloat(tt.scrollMarginRight)||0,bottom:parseFloat(tt.scrollMarginBottom)||0,left:parseFloat(tt.scrollMarginLeft)||0}})(Fe);let Me=Ne==="start"||Ne==="nearest"?xt-mt:Ne==="end"?vt+It:xt+ze/2-mt+It,st=ke==="center"?ot+Te/2-Qe+Lt:ke==="end"?Ze+Lt:ot-Qe;const zt=[];for(let ut=0;ut<_e.length;ut++){const tt=_e[ut],{height:at,width:Nt,top:on,right:Ht,bottom:Fn,left:Qt}=tt.getBoundingClientRect();if(Se==="if-needed"&&xt>=0&&ot>=0&&vt<=Le&&Ze<=Re&&(tt===Oe&&!Ce(tt)||xt>=on&&vt<=Fn&&ot>=Qt&&Ze<=Ht))return zt;const Ut=getComputedStyle(tt),Wt=parseInt(Ut.borderLeftWidth,10),Ie=parseInt(Ut.borderTopWidth,10),he=parseInt(Ut.borderRightWidth,10),ue=parseInt(Ut.borderBottomWidth,10);let ve=0,ye=0;const se="offsetWidth"in tt?tt.offsetWidth-tt.clientWidth-Wt-he:0,$e="offsetHeight"in tt?tt.offsetHeight-tt.clientHeight-Ie-ue:0,wt="offsetWidth"in tt?tt.offsetWidth===0?0:Nt/tt.offsetWidth:0,lt="offsetHeight"in tt?tt.offsetHeight===0?0:at/tt.offsetHeight:0;if(Oe===tt)ve=Ne==="start"?Me:Ne==="end"?Me-Le:Ne==="nearest"?We(De,De+Le,Le,Ie,ue,De+Me,De+Me+ze,ze):Me-Le/2,ye=ke==="start"?st:ke==="center"?st-Re/2:ke==="end"?st-Re:We(Pe,Pe+Re,Re,Wt,he,Pe+st,Pe+st+Te,Te),ve=Math.max(0,ve+De),ye=Math.max(0,ye+Pe);else{ve=Ne==="start"?Me-on-Ie:Ne==="end"?Me-Fn+ue+$e:Ne==="nearest"?We(on,Fn,at,Ie,ue+$e,Me,Me+ze,ze):Me-(on+at/2)+$e/2,ye=ke==="start"?st-Qt-Wt:ke==="center"?st-(Qt+Nt/2)+se/2:ke==="end"?st-Ht+he+se:We(Qt,Ht,Nt,Wt,he+se,st,st+Te,Te);const{scrollLeft:Je,scrollTop:Pt}=tt;ve=lt===0?0:Math.max(0,Math.min(Pt+ve/lt,tt.scrollHeight-at/lt+$e)),ye=wt===0?0:Math.max(0,Math.min(Je+ye/wt,tt.scrollWidth-Nt/wt+se)),Me+=Pt-ve,st+=Je-ye}zt.push({el:tt,top:ve,left:ye})}return zt},fe=Fe=>Fe===!1?{block:"end",inline:"nearest"}:(He=>He===Object(He)&&Object.keys(He).length!==0)(Fe)?Fe:{block:"start",inline:"nearest"};function be(Fe,He){if(!Fe.isConnected||!(ge=>{let we=ge;for(;we&&we.parentNode;){if(we.parentNode===document)return!0;we=we.parentNode instanceof ShadowRoot?we.parentNode.host:we.parentNode}return!1})(Fe))return;const rt=(ge=>{const we=window.getComputedStyle(ge);return{top:parseFloat(we.scrollMarginTop)||0,right:parseFloat(we.scrollMarginRight)||0,bottom:parseFloat(we.scrollMarginBottom)||0,left:parseFloat(we.scrollMarginLeft)||0}})(Fe);if((ge=>typeof ge=="object"&&typeof ge.behavior=="function")(He))return He.behavior(Ee(Fe,He));const Ae=typeof He=="boolean"||He==null?void 0:He.behavior;for(const{el:ge,top:we,left:Se}of Ee(Fe,fe(He))){const Ne=we-rt.top+rt.bottom,ke=Se-rt.left+rt.right;ge.scroll({top:Ne,left:ke,behavior:Ae})}}}}]);
|
|
|
}()); |